]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update kernel-features.h files for Linux 5.1.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5f161b23
JM
12019-05-16 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
5 0x050100].
6 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
7 Likewise.
8 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9 (__ASSUME_STATX): Likewise.
10
ec255a97
FW
112019-05-16 Florian Weimer <fweimer@redhat.com>
12
13 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
14 flags argument.
15 (LINE_PARSER): Do not map IPv4 addresses.
16 (internal_nis_gethostent_r): Remove flags argument. Adjust call
17 to parse_line.
18 (_nss_nis_gethostent_r): Always pass AF_INET to
19 internal_nis_gethostent_r.
20 (internal_gethostbyname2_r): Remove flags argument. Adjust call
21 to parse_line.
22 (_nss_nis_gethostbyname2_r): Adjust call to
23 internal_nis_gethostent_r.
24 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
25 call to internal_nis_gethostent_r.
26 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
27 from parse_line.
28 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
29 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
30 Remove flags argument. Do not map IPv4 addresses.
31 (internal_nisplus_gethostent_r): Adjust call to
32 _nss_nisplus_parse_hostent.
33 (internal_gethostbyname2_r): Remove flags argument. Adjust call
34 to _nss_nisplus_parse_hostent.
35 (_nss_nisplus_gethostbyname2_r): Adjust call to
36 internal_gethostbyname2_r.
37 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
38 Adjust call to internal_gethostbyname2_r.
39 (_nss_nisplus_gethostbyaddr_r): Adjust call to
40 _nss_nisplus_parse_hostent.
41 (_nss_nisplus_gethostbyname4_r): Adjust call to
42 internal_gethostbyname2_r.
43
9c02d078
FW
442019-05-16 Florian Weimer <fweimer@redhat.com>
45
46 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
47 Remove flags.
48 (LINE_PARSER): Remove address mapping.
49 (EXTRA_ARGS_VALUE): Remove flags argument.
50 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
51 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
52 gethostbyname3_multi.
53 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
54 _nss_files_gethostbyname3_r.
55 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
56
85b0e1e8
FW
572019-05-16 Florian Weimer <fweimer@redhat.com>
58
59 * support/support_test_compare_blob.c (report_blob): Report
60 incorrect NULL blobs.
61
11b451c8
MW
622019-05-15 Mark Wielaard <mark@klomp.org>
63
64 [BZ# 24476]
65 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
66 __libc_once_get (once) and static_buf == NULL.
67 (__dlerror): Check we have a valid key, set result to static_buf
68 otherwise.
69
32ff3975
AS
702019-05-15 Andreas Schwab <schwab@suse.de>
71
72 [BZ #20568]
73 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
74 __codecvt_do_length.
75 * libio/Makefile (tests): Add tst-wfile-sync.
76 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
77 * libio/tst-wfile-sync.c: New file.
78 * libio/tst-wfile-sync.input: New file.
79
a9368c34
FW
802019-05-15 Florian Weimer <fweimer@redhat.com>
81
82 nss: Turn __nss_database_lookup into a compatibility symbol.
83 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
84 __nss_database_lookup.
85 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
86 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
87 __nss_database_lookup.
88 (__nss_next): Move to …
89 * nss/compat-lookup.c (nss_next): … here. Change it to fail
90 unconditionally.
91 (__nss_database_lookup): New function.
92 * nss/Versions (GLIBC_2.0): Update comment.
93 (GLIBC_PRIVATE): Export __nss_database_lookup2.
94 * grp/initgroups.c (internal_getgrouplist): Call
95 __nss_database_lookup2 instead of __nss_database_lookup.
96 * nscd/aicache.c (addhstaiX): Likewise.
97 * nscd/initgrcache.c (addinitgroupsX): Likewise.
98 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
99 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
100 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
101 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
102 Likewise.
103 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
104 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
106
d50f0918 1072019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 108
d50f0918
AH
109 * support/support.h (support_install_rootsbindir): New variable.
110 * support/support_paths.c: Likewise.
111 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
112
7ac6fad9
FW
1132019-05-15 Florian Weimer <fweimer@redhat.com>
114
115 * iconv/gconv.h (__gconv_transliterate): Move declaration …
116 * iconv/gconv_int.h (__gconv_transliterate): … here.
117 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
118 * iconv/skeleton.c: Likewise.
119
04b261bd
FW
1202019-05-14 Florian Weimer <fweimer@redhat.com>
121
122 Linux: Add the tgkill function.
123 * bits/signal_ext.h: New file.
124 * manual/signal.texi (Signaling Another Process): Document tgkill.
125 * signal/Makefile (headers): Add bits/signal_ext.h.
126 * signal/signal.h: Include <bits/signal_ext.h>.
127 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
128 (tst-tgkill): Link with libpthread.
129 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
130 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
131 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
132 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
133 tgkill.
134 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
135 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
136 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
137 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
138 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
139 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
140 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
141 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
142 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
143 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
144 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
145 Likewise.
146 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
147 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
148 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
150 Likewise.
151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
152 Likewise.
153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
154 Likewise.
155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
156 Likewise.
157 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
158 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
159 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
160 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
161 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
162 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
163 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
164 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
165
6807f47b
CD
1662019-05-14 Carlos O'Donell <carlos@redhat.com>
167
168 * manual/search.texi (Tree Search Function): Adjust twalk_r
169 documentation.
170
fdb8a0be
AZ
1712019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
172
da2b83ef
AZ
173 [BZ #24544]
174 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
175 pre-defined value.
176
c7ac9caa
AZ
177 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
178 * support/support.h (support_bindir_prefix): New variable.
179 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
180
91f043ae
AZ
181 * config.make.in (bindir): New variable.
182
c50e1c26
AZ
183 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
184 (lll_trylock): Call __lll_trylock.
185 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
186 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
187 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
188 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
189 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
190 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
191 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
192 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
193 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
194 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
195 lowlevellock-futex.h.
196
959aff9f
AZ
197 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
198 initialization for LLL_LOCK_INITIALIZER different than 0.
199 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
200 Assume LLL_LOCK_INITIALIZER being 0.
201 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
202 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
203 Likewise.
204 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
205 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
206
d7e4c642
AZ
207 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
208 Optimize futex call and add systemtap probe.
209
fdb8a0be
AZ
210 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
211 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
212 __libc_disable_asynccancel, __librt_enable_asynccancel,
213 __libc_disable_asynccancel, __librt_enable_asynccancel,
214 __librt_disable_asynccancel): Move to ...
215 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
216 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
217 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
218 * sysdeps/generic/single-thread.h: New file.
219 * sysdeps/unix/sysdep.h: Include single-thread.h.
220 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
221 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
222
f6efec90
MF
2232019-05-08 Mike FABIAN <mfabian@redhat.com>
224
225 [BZ #24535]
226 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
227 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
228 Unicode 12.1.0.
229 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
230 * localedata/unicode-gen/PropList.txt: Likewise.
231 * localedata/unicode-gen/UnicodeData.txt: Likewise.
232 * localedata/charmaps/UTF-8: Regenerate.
233 * localedata/locales/i18n_ctype: Likewise.
234 * localedata/locales/tr_TR: Likewise.
235 * localedata/locales/translit_circle: Likewise.
236 * localedata/locales/translit_cjk_compat: Likewise.
237 * localedata/locales/translit_combining: Likewise.
238 * localedata/locales/translit_compat: Likewise.
239 * localedata/locales/translit_font: Likewise.
240 * localedata/locales/translit_fraction: Likewise.
241
5ad533e8
WD
2422019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
243
244 [BZ #24531]
245 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
246 (do_set_tcache_count): Only update if count is small enough.
247 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
248
4aee85f9
FW
2492019-05-10 Florian Weimer <fweimer@redhat.com>
250
251 * nptl/sem_close.c (struct walk_closure): Define.
252 (walker): Adjust for __twalk_r.
253 (sem_close): Call __twalk_r.
254
eb669ff5
AZ
2552019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
256
257 * support/timespec.c (test_timespec_before_impl,
258 test_timespec_equal_or_after_impl): print timespec member as intmax_t
259 insted of long int.
260
51983996
MC
2612019-05-09 Mike Crowe <mac@mcrowe.com>
262
44ac6ee9
MC
263 * nptl/tst-abstime.c: Use libsupport.
264
495514ee
MC
265 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
266 small bug where only tv.tv_usec was checked which could cause an
267 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
268 than a second.
269
270 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
271 libsupport.
272
40d0816f
MC
273 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
274 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
275
d8e0b901
MC
276 * nptl/tst-cond11.c: Use libsupport.
277
51983996
MC
278 * support/timespec.h: New file. Provide timespec helper functions
279 along with macros in the style of those in check.h.
280 * support/timespec.c: New file. Implement check functions declared
281 in support/timespec.h.
282 * support/timespec-add.c: New file from gnulib containing
283 timespec_add implementation that handles overflow.
284 * support/timespec-sub.c: New file from gnulib containing
285 timespec_sub implementation that handles overflow.
286 * support/README: Mention timespec.h.
287
18aa51ee
SN
2882019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
289
290 [BZ #24537]
291 * nptl/Makefile: Move tst-eintr1 to xtests.
292
252296c6
AZ
2932019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
294
ae45cf84
AZ
295 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
296 TRUNC handling.
297 (round_mode): Add definition for TRUNC.
298 * sysdeps/powerpc/fpu/s_trunc.c: New file.
299 * sysdeps/powerpc/fpu/s_truncf.c: New file.
300 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
301 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
302 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
303 Likewise.
304 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
305 Likewise.
306 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
307 Likewise.
308 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
309 Likewise.
310 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
311 file.
312 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
313 Likewise.
314 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
315 Likewise.
316 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
317 Likewise.
318 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
319 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
320 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
321 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
322 s_truncf-power5+, and s_truncf-ppc64.
323 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
324 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
325 file.
326 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
328 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
329 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
330 file.
331 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
332 Likewise.
333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
334 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
336 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
337 s_truncf-power5+, and s_truncf-ppc64.
338 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
339 file.
340 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
341 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
342 Likewise.
343 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
344 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
345 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
346 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
347 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
348
a1cb1888
AZ
349 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
350 ROUND handling.
351 (round_mode): Add definition for ROUND.
352 (round_to_integer_float): Likewise.
353 * sysdeps/powerpc/fpu/s_round.c: New file.
354 * sysdeps/powerpc/fpu/s_roundf.c: New file.
355 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
356 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
357 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
358 Likewise.
359 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
360 Likewise.
361 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
362 Likewise.
363 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
364 Likewise.
365 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
366 file.
367 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
368 Likewise.
369 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
370 Likewise.
371 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
372 Likewise.
373 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
374 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
375 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
376 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
377 s_roundf-power5+, and s_roundf-ppc64.
378 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
379 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
380 file.
381 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
383 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
384 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
385 file.
386 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
387 Likewise.
388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
389 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
390 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
391 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
392 s_roundf-power5+, and s_roundf-ppc64.
393 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
394 file.
395 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
396 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
397 Likewise.
398 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
399 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
400 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
401 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
402 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
403
252296c6
AZ
404 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
405 Add FLOOR option.
406 (round_mode): Add definition for FLOOR.
407 * sysdeps/powerpc/fpu/s_floor.c: New file.
408 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
409 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
410 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
412 Remove file.
413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
414 Likewise
415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
416 Likewise.
417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
418 Likewise.
419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
420 New file.
421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
422 Likewise.
423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
424 Likewise.
425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
426 Likewise.
427 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
428 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
429 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
430 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
431 s_floorf-power5+, and s_floorf-ppc64.
432 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
433 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
434 file.
435 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
437 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
438 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
439 file.
440 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
441 Likewise.
442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
443 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
444 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
445 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
446 s_floorf-power5+, and s_floorf-ppc64.
447 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
448 file.
449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
450 file.
451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
452 Likewise.
453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
454 Likewise.
455 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
456 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
457 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
458 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
459
33647a72
MC
4602019-05-08 Mike Crowe <mac@mcrowe.com>
461
462 * support/xclock_gettime.c (xclock_gettime): New file. Provide
463 clock_gettime wrapper for use in tests that fails the test rather
464 than returning failure.
465
466 * support/xtime.h: New file to declare xclock_gettime.
467
468 * support/Makefile: Add xclock_gettime.c.
469
470 * support/README: Mention xtime.h.
471
b2f601ba
FW
4722019-05-08 Florian Weimer <fweimer@redhat.com>
473
474 malloc/tst-mallocfork2: Use process-shared barriers.
475 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
476 (signal_count, sigusr1_sender_pid): Remove.
477 (iterations): Define constant.
478 (shared): New variable.
479 (sigusr1_received): Update comment.
480 (sigusr1_handler): Do not send SIGSTOP to the sender process.
481 (signal_sender): Optional use barriers to avoid sending signals
482 during irrelevant times.
483 (do_it): Initialize variable shared. Use xfork for error
484 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
485 the iteration count, independent of signal delivery. Check for
486 deadlocks in fork. Introduce barriers for reducing signal
487 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
488 replaced by the barriers. Count signals during fork/free/malloc
489 and report them.
490 * malloc/Makefile (tst-mallocfork): Link with libpthread.
491
c4a392cf
JM
4922019-05-07 Joseph Myers <joseph@codesourcery.com>
493
7621676f
JM
494 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
495 version to 5.1.
496 (clock_adjtime64) New syscall.
497 (clock_getres_time64) Likewise.
498 (clock_gettime64) Likewise.
499 (clock_nanosleep_time64) Likewise.
500 (clock_settime64) Likewise.
501 (futex_time64) Likewise.
502 (io_pgetevents_time64) Likewise.
503 (io_uring_enter) Likewise.
504 (io_uring_register) Likewise.
505 (io_uring_setup) Likewise.
506 (mq_timedreceive_time64) Likewise.
507 (mq_timedsend_time64) Likewise.
508 (pidfd_send_signal) Likewise.
509 (ppoll_time64) Likewise.
510 (pselect6_time64) Likewise.
511 (recvmmsg_time64) Likewise.
512 (rt_sigtimedwait_time64) Likewise.
513 (sched_rr_get_interval_time64) Likewise.
514 (semtimedop_time64) Likewise.
515 (timer_gettime64) Likewise.
516 (timer_settime64) Likewise.
517 (timerfd_gettime64) Likewise.
518 (timerfd_settime64) Likewise.
519 (utimensat_time64) Likewise.
520
c4a392cf
JM
521 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
522 version to 9 branch.
523
32e902a9
AY
5242019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
525
526 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
527 __memmove_thunderx2 to the list of implementations
528 * sysdeps/aarch64/multiarch/memmove.c: Likewise
529 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
530 (__memmove_thunderx2): Rewritten using SIMD ld/st
531 (__memcpy_thunderx2): Fixed handling overlapping cases.
532 Used ldp/stp instead of ldr/str if possible. Made loops
533 tails branchless.
534
ac3da35d
FW
5352019-05-03 Florian Weimer <fweimer@redhat.com>
536
537 * misc/tst-tsearch.c (walk_tree): Add more error checking.
538
b2af6fb2
AZ
5392019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
540
7dfde28a 541 [BZ #24506]
b2af6fb2
AZ
542 * elf/tst-pldd.c (in_str_list): New function.
543 (do_test): Add default names for ld and libc as one option.
544
7b807a35
FW
5452019-05-02 Florian Weimer <fweimer@redhat.com>
546
547 misc: Add twalk_r function.
548 * include/search.h (__twalk_r): Declare.
549 * manual/examples/twalk.c: New file.
550 * manual/search.texi (Tree Search Function): Document twalk_r.
551 * misc/Versions (2.30): Export twalk_r.
552 (GLIBC_PRIVATE): Export __twalk_r.
553 * misc/search.h [__USE_GNU] (twalk_r): Declare.
554 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
555 (twalk_r): Add weak alias.
556 * misc/tst-tsearch.c (struct walk_trace_element): Define.
557 (walk_trace): New variable.
558 (struct twalk_with_twalk_r_closure): Define.
559 (twalk_with_twalk_r_action): New function.
560 (twalk_with_twalk_r): Likewise.
561 (walk_action): Call walk_trace_add.
562 (walk_tree_with): Rename from walk_tree. Add walk argument.
563 (walk_tree): New function.
564 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
565 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
566 Likewise.
567 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
568 Likewise.
569 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
570 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
571 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
572 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
573 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
574 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
575 Likewise.
576 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
577 Likewise.
578 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
579 Likewise.
580 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
581 (GLIBC_2.30): Likewise.
582 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
583 (GLIBC_2.30): Likewise.
584 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
585 (GLIBC_2.30): Likewise.
586 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
587 (GLIBC_2.30): Likewise.
588 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
589 Likewise.
590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
591 (GLIBC_2.30): Likewise.
592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
593 (GLIBC_2.30): Likewise.
594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
595 (GLIBC_2.30): Likewise.
596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
597 (GLIBC_2.30): Likewise.
598 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
599 Likewise.
600 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
601 Likewise.
602 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
603 Likewise.
604 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
605 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
606 Likewise.
607 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
608 Likewise.
609 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
610 Likewise.
611 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
612 Likewise.
613
20aa5819
PE
6142019-04-30 Paul Eggert <eggert@cs.ucla.edu>
615
616 Make mktime etc. compatible with __time64_t
617 Keep these functions compatible with Gnulib while adding
618 __time64_t support. The basic idea is to move private API
619 declarations from include/time.h to time/mktime-internal.h, since
620 the former file cannot easily be shared with Gnulib whereas the
621 latter can.
622 Also, do some other minor cleanup while in the neighborhood.
623 * include/time.h: Include stdbool.h, time/mktime-internal.h.
624 (__mktime_internal): Move this prototype to time/mktime-internal.h,
625 since Gnulib needs it.
626 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
627 Move these macros to time/mktime-internal.h, since Gnulib needs them.
628 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
629 (in_time_t_range): New static function.
630 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
631 so that glibc users are not tempted to use __time64_t.
632 * time/mktime-internal.h: Rewrite so that it does both glibc
633 and Gnulib work. Include time.h if not _LIBC.
634 (mktime_offset_t) [!_LIBC]: Define for gnulib.
635 (__time64_t): New type or macro, moved here from
636 posix/bits/types.h.
637 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
638 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
639 from include/time.h.
640 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
641 New macros, taken from GNulib.
642 (__mktime_internal): New prototype, moved here from include/time.h.
643 * time/mktime.c (mktime_min, mktime_max, convert_time)
644 (ranged_convert, __mktime_internal, __mktime64):
645 * time/timegm.c (__timegm64):
646 Use __time64_t, not time_t.
647 * time/mktime.c: Stop worrying about whether time_t is floating-point.
648 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
649 Rename from mktime.
650 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
651 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
652 for libc_hidden_def.
653 Include errno.h.
654 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
655 Rename from timegm.
656 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
657
87c266d7
MR
6582019-04-30 Maciej W. Rozycki <macro@wdc.com>
659
660 [BZ #19444]
661 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
662 from `-Wmaybe-uninitialized'.
663 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
664
c4c0848b
AZ
6652019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
666
6cac323c
AZ
667 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
668 function.
669 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
670 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
671 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
672 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
673 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
675 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
677 Remove file.
678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
679 Likewise.
680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
681 Likewise.
682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
683 Likewise.
684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
685 New file.
686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
687 Likewise.
688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
689 Likewise.
690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
691 Likewise.
692 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
693 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
694 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
695 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
696 Likewise.
697 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
698 Likewise.
699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
700 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
701 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
702 file.
703 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
704 Likewise.
705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
706 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
707 * here.
708 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
709 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
710 s_ceilf-power5+, and s_ceilf-ppc64.
711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
712 file.
713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
716 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
717 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
718 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
719 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
720
c4c0848b
AZ
721 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
722 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
723 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
724
f492fc99
YD
7252019-04-29 Yann Droneaud <ydroneaud@opteya.com>
726
727 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
728 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
729 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
730 (sem_getvalue): Likewise.
731
c57afec0
FW
7322019-04-26 Florian Weimer <fweimer@redhat.com>
733
734 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
735 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
736
a8ff215e
FW
7372019-04-26 Florian Weimer <fweimer@redhat.com>
738
739 Makeconfig: Move -Wl,-rpath-link options before library references.
740 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
741 (link-libc): Remove $(link-libc-rpath-link).
742
7432019-04-25 Florian Weimer <fweimer@redhat.com>
744
745 * Makeconfig (+link-pie-before-libc): Remove $(CC).
746 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
747 (+link-static-before-libc): Remove $(CC).
748 (+link-static, +link-static-tests): Add $(CC).
749 (+link-before-libc): Remove $(CC).
750 (+link, +link-pie, +link-pie-printers): Add $(CC).
751
e30fb31c
FW
7522019-04-26 Florian Weimer <fweimer@redhat.com>
753
754 * Makeconfig (+link-pie-before-libc): Remove $(CC).
755 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
756 (+link-static-before-libc): Remove $(CC).
757 (+link-static, +link-static-tests): Add $(CC).
758 (+link-before-libc): Remove $(CC).
759 (+link, +link-pie, +link-pie-printers): Add $(CC).
760
deacca00
DA
7612019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
762
763 [BZ#24484]
764 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
765
b5ffdc48
FW
7662019-04-25 Florian Weimer <fweimer@redhat.com>
767
768 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
769 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
770 (bench-link-targets): New variable.
771 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
772
94a4e9e4
FW
7732019-04-25 Florian Weimer <fweimer@redhat.com>
774
775 Also enable BIND_NOW for programs if --enable-bind-now.
776 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
777 (+link-pie): Use $(link-extra-flags).
778 (+link-static): Likewise.
779 [! $(build-pie-default)] (+link): Likewise.
780 * manual/install.texi (Configuring and compiling): Update
781 --enable-bind-now description.
782 * INSTALL: Regenerated.
783
fe92a91f
WD
7842019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
785
786 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
787 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
788
f9b645b4
MF
7892019-04-24 Mike Frysinger <vapier@gentoo.org>
790
791 [BZ #18465]
792 * malloc/Makefile (others): Add memusagestat.
793 ($(objpfx)memusagestat): Delete rule.
794 (LDLIBS-memusagestat): New variable.
795
439bf534
FW
7962019-04-24 Florian Weimer <fweimer@redhat.com>
797
798 * locale/Makefile (tests-special): Guard setting by
799 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
800 to run while cross-compiling.
801
1a4c2735
AZ
8022019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
803
804 [BZ #18035]
805 * elf/Makefile (tests-container): Add tst-pldd.
806 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
807 (E(find_maps)): Avoid use alloca, use default read file operations
808 instead of explicit LFS names, and fix infinite loop.
809 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
810 (get_process_info): Use _Static_assert instead of assert, use default
811 directory operations instead of explicit LFS names, and free some
812 leadek pointers.
813 * elf/tst-pldd.c: New file.
814
2d398aa2
L
8152019-04-23 H.J. Lu <hongjiu.lu@intel.com>
816
817 * malloc/arena.c (do_set_mallopt_check): Removed.
818
e485b2b6
FW
8192019-04-23 Florian Weimer <fweimer@redhat.com>
820
821 locale: Add LOCPATH diagnostics to the locale program.
822 * locale/programs/locale.c (setlocale_failed): New variable.
823 (try_setlocale): New function.
824 (quote_string): Likewise.
825 (setlocale_diagnostics): Likewise.
826 (main): Call try_setlocale instead of setlocale. Call
827 setlocale_diagnostics.
828 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
829 (tst-locale-locpath.out): New target.
830 * locale/tst-locale-locpath.sh: New file.
831
25f7a3c9
AZ
8322019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
833
834 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
835 to 2.30 notes.
836
9bf8e29c
AZ
8372019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
838
839 [BZ #23741]
840 * malloc/hooks.c (malloc_check, realloc_check): Use
841 __builtin_add_overflow on overflow check and adapt to
842 checked_request2size change.
843 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
844 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
845 allocation size to PTRDIFF_MAX.
846 (REQUEST_OUT_OF_RANGE): Remove macro.
847 (checked_request2size): Change to inline function and limit maximum
848 requested size to PTRDIFF_MAX.
849 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
850 maximum allocation size to PTRDIFF_MAX.
851 (_mid_memalign): Use _int_memalign call for overflow check.
852 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
853 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
854 limit maximum requested size to PTRDIFF_MAX.
855 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
856 valloc, pvalloc): Add __attribute_alloc_size__.
857 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
858 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
859 larger than PTRDIFF_MAX.
860 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
861 around tests of malloc with negative sizes.
862 * malloc/tst-posix_memalign.c (do_test): Likewise.
863 * malloc/tst-pvalloc.c (do_test): Likewise.
864 * malloc/tst-valloc.c (do_test): Likewise.
865 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
866 with resulting size allocation larger than PTRDIFF_MAX with
867 reallocarray_nowarn.
868 (reallocarray_nowarn): New function.
869 * NEWS: Mention the malloc function semantic change.
870
0e169691
AZ
8712019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
872
52faba65
AZ
873 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
874 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
875
3a16dd78
AZ
876 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
877 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
878 * sysdeps/powerpc/fpu/s_fma.c: New file.
879 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
880
1dac8bd6
AZ
881 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
882 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
883
a3ae315a
AZ
884 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
885 the magic flag store.
886 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
887 Likewise.
888 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
889 Likewise.
890 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
891 Remove rt_sigreturn call.
892
ffe8a9a8
AZ
893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
894 Remove rt_sigreturn call.
895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
896 Likewise.
897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
899
0e169691
AZ
900 * support/Makefile (libsupport-routines): Add support_subprocess,
901 xposix_spawn, xposix_spawn_file_actions_addclose, and
902 xposix_spawn_file_actions_adddup2.
903 (tst-support_capture_subprocess-ARGS): New rule.
904 * support/capture_subprocess.h (support_capture_subprogram): New
905 prototype.
906 * support/support_capture_subprocess.c (support_capture_subprocess):
907 Refactor to use support_subprocess and support_capture_poll.
908 (support_capture_subprogram): New function.
909 * support/tst-support_capture_subprocess.c (write_mode_to_str,
910 str_to_write_mode, test_common, parse_int, handle_restart,
911 do_subprocess, do_subprogram, do_multiple_tests): New functions.
912 (do_test): Add support_capture_subprogram tests.
913 * support/subprocess.h: New file.
914 * support/support_subprocess.c: Likewise.
915 * support/xposix_spawn.c: Likewise.
916 * support/xposix_spawn_file_actions_addclose.c: Likewise.
917 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
918 * support/xspawn.h: Likewise.
919
bae8cf0e
MG
9202019-04-17 Mike Gerow <gerow@google.com>
921
922 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
923 groups limit.
924
e3f454ba
FW
9252019-04-11 Florian Weimer <fweimer@redhat.com>
926
927 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
928 domain with empty string.
929 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
930
32d85c11
FW
9312019-04-11 Florian Weimer <fweimer@redhat.com>
932
933 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
934 comment.
935 (alloc_buffer_next): Change return type to non-const. Update
936 comment.
937
221710af
FW
9382019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
939
940 * manual/time.texi (Formatting Calendar Time): Add missing percent
941 sign to conversion specifier.
942
e621246e
CD
9432019-04-09 Carlos O'Donell <carlos@redhat.com>
944 Kwok Cheung Yeung <kcy@codesourcery.com>
945
946 [BZ #16573]
947 * malloc/mtrace.c: Define prototypes for all hooks.
948 (set_default_hooks): New function.
949 (set_trace_hooks): Likewise.
950 (save_default_hooks): Likewise.
951 (tr_freehook): Use new s*_hooks functions.
952 (tr_mallochook): Likewise.
953 (tr_reallochook): Likewise.
954 (tr_memalignhook): Likewise.
955 (mtrace): Likewise.
956 (muntrace): Likewise.
957
648279f4
WD
9582019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
959
960 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
961 (generic_stpcpy): New function.
962 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
963 (generic_stpncpy): New function.
964 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
965 (generic_strcat): New function.
966 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
967 (generic_strcpy): New function.
968 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
969 (STUPID_STRNCAT): Remove function.
970 (generic_strncat): New function.
971 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
972 (STUPID_STRNCPY): Remove function.
973 (generic_strncpy): New function.
974 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
975 (generic_strnlen): New function.
976 (memchr_strnlen): New function.
977 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
978 (memchr_strlen): Likewise.
979
93eebae5
WD
9802019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
981
982 * benchtests/bench-strstr.c (input): Add realistic input text.
983 (stupid_strstr): Remove function.
984 (basic_strstr): Add function.
985 (twoway_strstr): Add function.
986 (do_one_test): Add result checking.
987 (do_test): Use new input text. Remove accidental early matches.
988 (test_main): Improve range of tests, reduce unaligned cases.
989
a173d09f
WD
9902019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
991
992 * benchtests/bench-memmem.c (simple_memmem): Remove function.
993 (basic_memmem): Add function.
994 (twoway_memmem): Add function.
995
6103c0a8
WD
9962019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
997
998 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
999 * benchtests/bench-malloc-thread.c: Likewise.
1000 * benchtests/bench-skeleton.c: Likewise.
1001 * benchtests/bench-strtod.c: Likewise.
1002 * benchtests/bench-timing.h: Likewise.
1003
33322186
FW
10042019-04-08 Florian Weimer <fweimer@redhat.com>
1005
1006 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1007 definitions.
1008 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1009 RES_INSECURE2 security checks.
1010 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1011 RES_INSECURE2 handling.
1012
3f8b44be
FW
10132019-04-08 Florian Weimer <fweimer@redhat.com>
1014
1015 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1016 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1017 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1018 GETHOSTBYNAME.
1019 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1020 (tests-internal): Update justification for tst-resolv-res_init,
1021 tst-resolv-res_init-thread.
1022 (tst-res_use_inet6): Remove target.
1023 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1024 * resolv/res_debug.c (p_option): Remove "inet6" support.
1025 * resolv/res_init.c (res_setoptions): Likewise.
1026 * resolv/res_use_inet6.h: Remove file.
1027 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1028 definition.
1029 (res_use_inet6): Always return false.
1030 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1031 * resolv/resolv_context.h: Adjust file comment.
1032 (struct resolv_context): Update comment on __next field.
1033 (__resolv_context_put): Update comment.
1034 * resolv/tst-res_use_inet6.c: Remove file.
1035 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1036 "inet6" support.
1037 (test_cases): Adjust test case.
1038 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1039 (thread_byname2_af_inet6): Use old byname_inet6 code.
1040 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1041 (gai): Remove do_inet6 argument.
1042 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1043 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1044 (thread_gai_unspec_inet6): Remove functions.
1045 (do_test): Adjust thread_funcs.
1046 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1047 RES_USE_INET6 flag.
1048 (gaih_inet): Do not disable RES_USE_INET6 flag.
1049
6b5c8607 10502019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
1051
1052 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1053 and remove redundant code.
1054
e3fd0b0e
AZ
10552019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1056
f82ed45d
AZ
1057 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1058 New rule.
1059 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1060 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1061 Likewise.
1062 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1063 Likewise.
1064 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1065 Likewise.
1066 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1067 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1068 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1069 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1070 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1071 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1072 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1073 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1074 wcsrchr-power7.
1075 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1076 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1077 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1078 Remove wcsrchr optimizations.
1079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1080
662c2cc4
AZ
1081 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1082 the loop unroll.
1083
421e3005
AZ
1084 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1085 New rule.
1086 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1087 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1088 Likewise.
1089 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1090 Likewise.
1091 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1092 Likewise.
1093 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1094 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1095 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1096 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1097 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1098 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1100 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1101 wcschr-power7.
1102 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1103 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1104 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1105 Remove wcschr optimizations.
1106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1107
7ba0100c
AZ
1108 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1109 the loop unroll.
1110
447a1306
AZ
1111 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1112 New rule.
1113 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1114 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1115 Likewise.
1116 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1117 Likewise.
1118 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1119 Likewise.
1120 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1121 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1122 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1123 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1124 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1125 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1126 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1127 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1128 wcscpy-power7.
1129 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1130 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1131 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1132 Remove wcscpy optimizations.
1133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1134
e3fd0b0e
AZ
1135 * include/loop_unroll.h: New file.
1136 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1137 besides generic implementation.
1138
8260f236
DD
11392019-04-03 DJ Delorie <dj@redhat.com>
1140
1141 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1142 snprintf truncating output.
1143
0bd545ee
DD
11442019-04-02 DJ Delorie <dj@redhat.com>
1145
1146 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1147 warning.
1148
466afec3
TS
11492019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1150
1151 [BZ #22964]
1152 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1153 era.
1154 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1155 (mkreftable): Add rules for the new Japanese era and the new dates.
1156
2f1d6155
TS
11572019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1158 Rafal Luzynski <digitalfreak@lingonborough.com>
1159
1160 * time/tst-strftime2.c (date_t): Explicitly define the type.
1161 (dates): Use natural month and year numbers to express a date.
1162 (is_before): New function to compare dates.
1163 (mkreftable): Minor improvements to simplify maintenance.
1164 (do_test): Reflect the changes in dates array.
1165
84aea169
TS
1166 [BZ #24293]
1167 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1168 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1169 * time/tst-strftime2.c (locales): Likewise.
1170 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1171 2010-04-01, and 2011-04-01.
1172 (mkreftable): Add rules for the new locales and the new dates.
1173
62449176
CD
11742019-04-01 Carlos O'Donell <carlos@redhat.com>
1175
1176 * localedata/locales/ja_JP: Add comments to era entries.
1177
e0e4c321
DD
11782019-04-01 DJ Delorie <dj@redhat.com>
1179
1180 [BZ #24394]
1181 * time/strptime_l.c (%Ey): Fix fencepost error.
1182 * time/tst-strftime3.c: New.
1183 * time/Makefile (tests): Add tst-strftime3.
1184
6b5c8607 11852019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
1186
1187 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1188 conditional branch to DIVBYZERO. Fix unwind info.
1189 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1190 excb after conditional branch to $powerof2. Add missing unop
1191 instructions and .align directives and reorder instructions to
1192 match __divqu.
1193
d5ecee82
RH
11942019-04-01 Richard Henderson <rth@twiddle.net>
1195
1196 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1197 Do not redefine.
1198 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1199 Do not redefine.
1200
656dd306
MR
12012019-03-30 Maciej W. Rozycki <macro@wdc.com>
1202
1203 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1204 $libc_cv_riscv_float_abi in `test' invocation.
1205 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1206
10cce669
PC
12072019-03-29 Paul A. Clarke <pc@us.ibm.com>
1208
1209 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1210 asm with builtin.
1211 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1212 Likewise.
1213 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1214 (_GET_SI_FPSCR): Likewise.
1215 (_SET_SI_FPSCR): Likewise.
1216
5e67e4bf 12172019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
1218
1219 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1220 clang 2.8.
1221 (signbit): Use builtin for clang 3.3.
1222 (isinf): Use builtin for clang 3.7.
1223
01963891
AZ
12242019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1225
1226 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1227
67112f7a
AH
12282019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1229
1230 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1231 quote in printf.
1232
7a773abf
MC
12332019-03-25 Mike Crowe <mac@mcrowe.com>
1234
82849fde
MC
1235 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1236 pthread_rwlock_timedrdlock with calls to
1237 pthread_rwlock_timedwrlock to ensure that the latter is tested
1238 too. Use new function name in diagnostic messages too.
1239
7a773abf
MC
1240 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1241 (do_test) Use libsupport test macros rather than hand-coded
1242 conditionals and error messages. Ensure that sem_init returns zero
1243 rather than not -1. Use <support/test-driver.c> rather than
1244 test-skeleton.c.
1245
1246 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1247 test macros rather than hand-coded conditionals and error messages.
1248 Use <support/test-driver.c> rather than test-skeleton.c.
1249
9ac2de69
JM
12502019-03-25 Joseph Myers <joseph@codesourcery.com>
1251
d7563e62
JM
1252 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1253
9ac2de69
JM
1254 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1255 (NT_MIPS_MSA): Likewise.
1256
38cc11da
AZ
12572019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1258
7621e38b
WD
1259 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1260 * benchtests/README: Update description.
1261 * benchtests/bench-timing.h: Default to hp-timing.
1262 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1263 HP_TIMING_PRINT): Remove.
1264 (HP_TIMING_NOW): Add generic implementation.
1265 (hp_timing_t): Change to uint64_t.
1266
1e372ded
AZ
1267 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1268 HP_TIMING_INLINE.
1269 * nptl/descr.h: Likewise.
1270 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1271 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1272 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1273 Abstract hp-timing usage with RTLD_* macros.
1274 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1275 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1276 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1277 HP_TIMING_NONAVAIL): Likewise.
1278 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1279 Likewise.
1280 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1281 HP_SMALL_TIMING_AVAIL): Likewise.
1282 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1283 HP_SMALL_TIMING_AVAIL): Likewise.
1284 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1285 HP_SMALL_TIMING_AVAIL): Likewise.
1286 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1287 HP_SMALL_TIMING_AVAIL): Likewise.
1288 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1289 Likewise.
1290 * sysdeps/generic/hp-timing-common.h: Update comment with
1291 HP_TIMING_AVAIL removal.
1292
359653aa
AZ
1293 * include/random-bits.h: New file.
1294 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1295 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1296 random_bits.
1297 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1298 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1299 Likewise.
1300
6e8ba7fd
AZ
1301 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1302 * rt/Makefile (clock-routines): Remove get_clockfreq.
1303 * rt/get_clockfreq.c: Remove file.
1304 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1305 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1306 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1307 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1308 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1309
77b6f553
AZ
1310 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1311 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1312 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1313 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1314 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1315
38cc11da
AZ
1316 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1317 pthread_clock_settime.
1318 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1319 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1320 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1321 * elf/rtld.c (_dl_start_final): Likewise.
1322 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1323 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1324 Remove.
1325 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1326 (_dl_cpuclock_offset): Remove.
1327 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1328 cpuclock_offset_ununsed.
1329 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1330 cpuclock_offset set.
1331 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1332 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1333 * nptl/pthread_clock_gettime.c: Remove file.
1334 * nptl/pthread_clock_settime.c: Likewise.
1335 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1336 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1337 and CLOCK_PROCESS_CPUTIME_ID support.
1338 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1339 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1340 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1341 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1342 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1343 Likewise.
1344 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1345
421749d6
SL
13462019-03-22 Stefan Liebler <stli@linux.ibm.com>
1347
1348 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1349 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1350 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1351 New defines.
1352 * sysdeps/s390/memmem-arch13.S: New file.
1353 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1354 if it is only used as fallback.
1355 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1356 * sysdeps/s390/multiarch/ifunc-impl-list.c
1357 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1358
6f47401b
SL
13592019-03-22 Stefan Liebler <stli@linux.ibm.com>
1360
1361 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1362 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1363 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1364 New defines.
1365 * sysdeps/s390/multiarch/ifunc-impl-list.c
1366 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1367 * sysdeps/s390/strstr-arch13.S: New file.
1368 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1369 if it is only used as fallback.
1370 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1371
96fbb9a3
SL
13722019-03-22 Stefan Liebler <stli@linux.ibm.com>
1373
1374 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1375 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1376 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1377 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1378 ifunc selector.
1379 * sysdeps/s390/multiarch/ifunc-impl-list.c
1380 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1381 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1382 S390_IS_ARCH13_MIE3): New defines.
1383
a899a551
SL
13842019-03-22 Stefan Liebler <stli@linux.ibm.com>
1385
1386 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1387 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1388 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1389 * sysdeps/s390/configure: Regenerated.
1390
1a7df49c
SL
13912019-03-22 Stefan Liebler <stli@linux.ibm.com>
1392
1393 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1394 Add vxe2, vxp, dflt, sort flags.
1395 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1396 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1397 capabilities.
1398 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1399 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1400 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1401 HWCAP_S390_DFLT): Define.
1402
5e67e4bf 14032019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
1404
1405 [BZ #24372]
1406 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1407 of compiler warning.
1408 * locale/programs/ld-collate.c (collate_output): Likewise.
1409
ac64195c
DD
14102019-03-21 DJ Delorie <dj@redhat.com>
1411
1412 [BZ #24372]
1413 * iconv/iconvconfig.c (write_output): Replace floating point math
1414 with integer math to avoid imprecise results.
1415 * locale/programs/ld-collate.c (collate_output): Likewise.
1416
61f5e947
SL
14172019-03-21 Stefan Liebler <stli@linux.ibm.com>
1418
1419 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1420 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1421
57ada43c 14222019-03-20 mansayk <6688000@gmail.com>
1423
1424 [BZ #24296]
1425 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1426 (abday): Likewise, but remove the trailing dots.
1427
a2e57f89
JM
14282019-03-19 Joseph Myers <joseph@codesourcery.com>
1429
1430 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1431 macro.
1432 (HWCAP_PACA): Likewise.
1433 (HWCAP_PACG): Likewise.
1434 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1435 Increase to 32.
1436 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1437
e87d8ada
ST
14382019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1439
1440 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1441 should be handled.
1442
477e739b
JM
14432019-03-15 Joseph Myers <joseph@codesourcery.com>
1444
1445 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1446 version to 5.0.
1447 (old_getpagesize): New syscall.
1448
238d60a1
FY
14492019-03-15 Felix Yan <felixonmars@archlinux.org>
1450
1451 [BZ #24293]
1452 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1453 * localedata/locales/cmn_TW (era): Likewise.
1454 * localedata/locales/hak_TW (era): Likewise.
1455 * localedata/locales/lzh_TW (era): Likewise.
1456 * localedata/locales/nan_TW (era): Likewise.
1457
5dde9ef7
DD
14582019-03-14 Adam Maris <amaris@redhat.com>
1459
1460 * malloc/malloc.c (_int_malloc): Check for large bin list
1461 corruption when inserting unsorted chunk.
1462
a0a0dc83
FW
14632019-03-14 Florian Weimer <fweimer@redhat.com>
1464
1465 Remove obsolete, never-implemented XSI STREAMS declarations.
1466 * manual/terminal.texi (Allocation): Remove portability note and
1467 adjust example.
1468 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1469 _SC_STREAMS.
1470 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1471 * sysdeps/unix/inet/Subdirs (streams): Remove.
1472 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1473 (conformtest-headers-UNIX98): Likewise.
1474 (conformtest-headers-XOPEN2K): Likewise.
1475 (conformtest-headers-POSIX2008): Likewise.
1476 * posix/compat-streams.c: New file.
1477 * posix/Makefile (routines): Add it.
1478 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1479 getpmsg, isastream, putmsg, putpmsg.
1480 (GLIBC_2.30): New section.
1481 * bits/stropts.h: Remove file.
1482 * bits/xtitypes.h: Likewise.
1483 * conform/data/stropts.h-data: Likewise.
1484 * include/stropts.h: Likewise.
1485 * include/sys/stropts.h: Likewise.
1486 * include/xtitypes.h: Likewise.
1487 * streams/Makefile: Likewise.
1488 * streams/fattach.c: Likewise.
1489 * streams/fdetach.c: Likewise.
1490 * streams/getmsg.c: Likewise.
1491 * streams/getpmsg.c: Likewise.
1492 * streams/isastream.c: Likewise.
1493 * streams/putmsg.c: Likewise.
1494 * streams/putpmsg.c: Likewise.
1495 * streams/stropts.h: Likewise.
1496 * streams/sys/stropts.h: Likewise.
1497 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1498 * sysdeps/s390/bits/xtitypes.h: Likewise.
1499 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1500 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1501 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1502 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1503 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1504 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1505 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1506 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1507 * sysdeps/x86/bits/xtitypes.h: Likewise.
1508
081bdf94
FW
15092019-03-14 Florian Weimer <fweimer@redhat.com>
1510
1511 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1512 libnss_files.
1513 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1514 but not with libnss_files.
1515 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1516
97f8225d
ZW
15172019-03-14 Zack Weinberg <zackw@panix.com>
1518
1519 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1520 Specify encoding="utf-8" when opening headers to check.
1521
0c1041ee
JM
15222019-03-13 Joseph Myers <joseph@codesourcery.com>
1523
1524 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1525 version to 5.0.
1526 (Context.checkout_tar): Handle variable major version for Linux
1527 kernel.
1528
043440e7
FW
15292019-03-13 Florian Weimer <fweimer@redhat.com>
1530
1531 [BZ #24047]
1532 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1533
29218b26
ZW
15342019-03-13 Zack Weinberg <zackw@panix.com>
1535
1536 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1537 Move to stdlib.
1538 * include/inttypes.h: Adjust to match.
1539 * include/stdint.h: New wrapper.
1540
711a322a
ZW
15412019-03-13 Zack Weinberg <zackw@panix.com>
1542
1543 * scripts/check-obsolete-constructs.py: New test script.
1544 * scripts/check-installed-headers.sh: Remove tests for
1545 obsolete typedefs, superseded by check-obsolete-constructs.py.
1546 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1547 as a special test. Update commentary.
1548 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1549 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1550 Update commentary.
1551 * posix/sys/types.h (__u_intN_t): Remove.
1552 (u_int8_t): Typedef using __uint8_t.
1553 (u_int16_t): Typedef using __uint16_t.
1554 (u_int32_t): Typedef using __uint32_t.
1555 (u_int64_t): Typedef using __uint64_t.
1556
7c651308
SL
15572019-03-13 Stefan Liebler <stli@linux.ibm.com>
1558
1559 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1560 call _dl_procinfo.
1561 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1562 Ignore types other than AT_HWCAP.
1563 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1564 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1565 Likewise.
1566 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1567 in the case of falling back to generic output mechanism.
1568 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1569 Likewise.
1570
38b52865
FW
15712019-03-12 Florian Weimer <fweimer@redhat.com>
1572
1573 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1574
08504de7
FW
15752019-03-12 Florian Weimer <fweimer@redhat.com>
1576
1577 [BZ #24047]
1578 resolv: Enable full ICMP errors for UDP DNS sockets
1579 * resolv/res_enable_icmp.c: New file.
1580 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1581 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1582 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1583 socket.
1584
5fbcd763
MH
15852019-03-11 Mao Han <han_mao@c-sky.com>
1586
1587 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1588 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1589
c4e5f34b
MH
15902019-03-11 Mao Han <han_mao@c-sky.com>
1591
1592 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1593 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1594 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1595
827e30f3
MH
15962019-03-11 Mao Han <han_mao@c-sky.com>
1597
1598 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1599 directly.
1600 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1601 definition.
1602
6229c9bf
MH
16032019-03-11 Mao Han <han_mao@c-sky.com>
1604
1605 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1606 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1607 in mcontext_t
1608
86bdd49d
MF
16092019-03-08 Mike FABIAN <mfabian@redhat.com>
1610
1611 [BZ #24307]
1612 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1613 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1614 Unicode 12.0.0.
1615 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1616 * localedata/unicode-gen/PropList.txt: Likewise.
1617 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1618 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1619 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1620 * localedata/charmaps/UTF-8: Regenerate.
1621 * localedata/locales/i18n_ctype: Likewise.
1622 * localedata/locales/tr_TR: Likewise.
1623 * localedata/locales/translit_circle: Likewise.
1624 * localedata/locales/translit_cjk_compat: Likewise.
1625 * localedata/locales/translit_combining: Likewise.
1626 * localedata/locales/translit_compat: Likewise.
1627 * localedata/locales/translit_font: Likewise.
1628 * localedata/locales/translit_fraction: Likewise.
1629
c5f65462
JM
16302019-03-07 Joseph Myers <joseph@codesourcery.com>
1631
1632 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1633 than after operators.
1634 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1635 (setitimer_locked): Likewise.
1636 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1637 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1638 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1639 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1640 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1641 (PPC_CPU_SUPPORTED): Likewise.
1642 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1643 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1644 (stat_overflow): Likewise.
1645 (statfs_overflow): Likewise.
1646 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1647 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1648 (eq_ttyname_r): Likewise.
1649 (run_chroot_tests): Likewise.
1650
27a2f2f3
FW
16512019-03-07 Florian Weimer <fweimer@redhat.com>
1652
1653 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1654 header check.
1655
ae514971 16562019-03-07 Martin Liska <mliska@suse.cz>
1657
1658 * math/Makefile: Change location where math-vector-fortran.h is
1659 installed.
1660 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1661 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1662 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1663 * scripts/check-installed-headers.sh: Skip Fortran header files.
1664 * scripts/check-wrapper-headers.py: Likewise.
1665
0ddb7ea8
AZ
16662019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1667
1668 * nptl/nptl-init.c (__have_futex_clock_realtime,
1669 __have_futex_clock_realtime): Remove definition.
1670 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1671 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1672 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1673 __ASSUME_FUTEX_CLOCK_REALTIME support.
1674 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1675 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1676 * sysdeps/unix/sysv/linux/kernel-features.h
1677 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1678 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1679 Adjust comment.
1680
590675c0
GG
16812019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1682
1683 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1684 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1685 __GI___wcscpy and wcscpy.
1686
de71ee7b
FW
16872019-03-04 Florian Weimer <fweimer@redhat.com>
1688
1689 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1690 declaration.
1691 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1692 defined.
1693
ce6ddae0
SL
16942019-03-04 Stefan Liebler <stli@linux.ibm.com>
1695
1696 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1697 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1698
31efface
TS
16992019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1700
1701 [BZ #24162]
1702 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1703 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1704
f0eaf862
GG
17052019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1706
1707 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1708 tests.
1709 (do_test): Likewise.
1710 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1711 (do_test_call_varg): Likewise.
1712 (do_test_call_rarg): Likewise.
1713 * sysdeps/ieee754/ldbl-opt/Makefile
1714 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1715 tst-nldbl-error.
1716 ($(objpfx)tst-nldbl-warn.c): New rule.
1717 ($(objpfx)tst-nldbl-error.c): Likewise.
1718 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1719 New variables.
1720
d11086a9
GG
17212019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1722
1723 [BZ #23984]
1724 * include/bits/error-ldbl.h: New file.
1725 * include/error.h: Include stdarg.h. Declare internal functions
1726 __error_internal and __error_at_line_internal.
1727 * misc/Makefile (headers): Add bits/error-ldbl.h.
1728 * misc/bits/error-ldbl.h: New file.
1729 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1730 avoid the inclusion of bits/error.h.
1731 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1732 and __nldbl_error_at_line.
1733 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1734 (__nldbl_error, __ndlbl_error_at_line): New functions.
1735 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1736 Redirect error and error_at_line.
1737 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1739 Likewise.
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1741 Likewise.
1742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1743 Likewise.
1744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1745 Likewise.
1746 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1747 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1748 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1749
90188e7d
GG
17502019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1751
1752 [BZ #23984]
1753 * include/bits/err-ldbl.h: New file.
1754 * include/err.h: Add prototypes for the internal functions:
1755 __vwarnx_internal and __vwarn_internal.
1756 * misc/Makefile (headers): Add bits/err-ldbl.h.
1757 * misc/bits/err-ldbl.h: New file.
1758 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1759 defined, i.e.: when -mlong-double-64 is in use.
1760 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1761 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1762 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1763 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1764 (VA_CALL): New macro.
1765 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1766 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1767 functions.
1768 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1769 declare prototypes for the new functions.
1770 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1772 Likewise.
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1774 Likewise.
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1776 Likewise.
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1778 Likewise.
1779 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1780 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1781 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1782
ea2d89d0
GG
17832019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1784
1785 * sysdeps/ieee754/ldbl-opt/Makefile
1786 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1787 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1788 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1789
6e1f6440
GG
17902019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1791
1792 [BZ #23983]
1793 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1794 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1795 * argp/bits/argp-ldbl.h: New file.
1796 * include/argp.h: Include stdarg.h. Add prototypes for internal
1797 functions: __argp_error_internal and __argp_failure_internal.
1798 * include/bits/argp-ldbl.h: New file.
1799 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1800 __nldbl_argp_error and __nldbl_argp_failure.
1801 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1802 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1803 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1804 Redirect argp_error and argp_failure calls.
1805 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1807 Likewise.
1808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1809 Likewise.
1810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1811 Likewise.
1812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1813 Likewise.
1814 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1815 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1816 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1817
c259196b
FW
18182019-03-01 Florian Weimer <fweimer@redhat.com>
1819
1820 [BZ #20419]
1821 * elf/tst-big-note-lib.S: Create a syntactically valid note.
1822 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
1823 code, to avoid creating an ABI tag note.
1824 (modules-names-nobuild): Add tst-big-note-lib.
1825
928b305d
SL
18262019-03-01 Stefan Liebler <stli@linux.ibm.com>
1827
1828 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
1829 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
1830
36f30c10
FW
18312019-03-01 Florian Weimer <fweimer@redhat.com>
1832
1833 [BZ #20271]
1834 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1835 (__netlink_assert_response): Add additional missing newlines.
1836
462e83a4
JM
18372019-02-28 Joseph Myers <joseph@codesourcery.com>
1838
1839 * sysdeps/powerpc/powerpc32/dl-machine.c
1840 (__elf_machine_fixup_plt): Use space before '('.
1841 (__process_machine_rela): Likewise.
1842 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
1843 Likewise.
1844 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
1845 Likewise.
1846 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
1847 Likewise.
1848 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
1849 (pattern): Likewise.
1850 (delta): Likewise.
1851 (check_result): Likewise.
1852 (check_excepts): Likewise.
1853 (check_op): Likewise.
1854 (fail_xr): Likewise.
1855 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
1856 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
1857 (SCNHSZ): Likewise.
1858 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
1859 Likewise.
1860 (ARGS): Likewise.
1861 (__makecontext): Likewise.
1862 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
1863 Likewise.
1864
cc3e573c
FW
18652019-02-28 Florian Weimer <fweimer@redhat.com>
1866
1867 [BZ #23937]
1868 elf: Add test with a local IFUNC resolver.
1869 * elf/ifuncmain9.c: New file.
1870 * elf/ifuncmain9pic.c: Likewise.
1871 * elf/ifuncmain9picstatic.c: Likewise.
1872 * elf/ifuncmain9pie.c: Likewise.
1873 * elf/ifuncmain9static.c: Likewise.
1874 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
1875 ifuncmain9static, ifuncmain9picstatic.
1876 * elf/Makefile [multi-arch && build-shared] (tests-internal):
1877 Add ifuncmain9, ifuncmain9pic.
1878 * elf/Makefile [multi-arch && build-shared && have-fpie]
1879 (ifunc-pie-tests): Add ifuncmain9pie.
1880 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
1881 (CFLAGS-ifuncmain9picstatic.c): Likewise.
1882 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
1883
92ad88fe
L
18842019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1885
1886 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
1887 * configure: Regenerated.
1888 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
1889
6bd4d02e
AZ
18902019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1891
1892 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
1893 symbol as __wcspcy instead of wcscpy.
1894
1b218417
ST
18952019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1896
1897 * include/stdio.h (__renameat2): New hidden prototype.
1898 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
1899 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
1900 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
1901 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
1902
c4f50205
JM
19032019-02-27 Joseph Myers <joseph@codesourcery.com>
1904
f627dd4d
JM
1905 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
1906 if statement.
1907
c4f50205
JM
1908 * benchtests/bench-strcpy.c (do_test): Use space before '('.
1909 * benchtests/bench-string.h (cmdline_process_function): Likewise.
1910 * benchtests/bench-strlen.c (do_test): Likewise.
1911 (test_main): Likewise.
1912 * catgets/gencat.c (read_old): Likewise.
1913 * elf/cache.c (load_aux_cache): Likewise.
1914 * iconvdata/bug-iconv8.c (do_test): Likewise.
1915 * math/test-tgmath-ret.c (do_test): Likewise.
1916 * nis/nis_call.c (rec_dirsearch): Likewise.
1917 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1918 * nptl/tst-audit-threads.c (do_test): Likewise.
1919 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
1920 * nss/nss_test1.c (init): Likewise.
1921 * nss/test-netdb.c (test_hosts): Likewise.
1922 * posix/execvpe.c (maybe_script_execute): Likewise.
1923 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1924 * stdio-common/tst-printf.c (do_test): Likewise.
1925 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1926 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1927 * stdlib/qsort.c (STACK_SIZE): Likewise.
1928 * stdlib/test-canon.c (do_test): Likewise.
1929 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1930 * string/memcmp.c (OPSIZ): Likewise.
1931 * string/test-strcpy.c (do_test): Likewise.
1932 (do_random_tests): Likewise.
1933 * string/test-strlen.c (do_test): Likewise.
1934 (test_main): Likewise.
1935 * string/test-strrchr.c (do_test): Likewise.
1936 (do_random_tests): Likewise.
1937 * string/tester.c (test_memrchr): Likewise.
1938 (test_memchr): Likewise.
1939 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1940 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1941 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1942 (read_encoded_value_with_base): Likewise.
1943 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1944 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1945 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1946 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1947 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1948 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1949 Likewise.
1950 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1951 Likewise.
1952 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1953 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1954 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1955 Likewise.
1956 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1957 Likewise.
1958 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1959 Likewise.
1960 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1961 Likewise.
1962 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1963 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1964 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1965 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1966 * time/test_time.c (main): Likewise.
1967
7b3fb620
AZ
19682019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1969
457208b1
AZ
1970 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1971
30a7e208
AZ
1972 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1973 wmemcpy.
1974
ddf21ec7
AZ
1975 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1976 wmemcpy.
1977
4d801563
AZ
1978 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1979
81a14439
AZ
1980 * include/wchar.h (__wcscpy): New prototype.
1981 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1982 (__wcscpy): Route internal symbol to generic implementation.
1983 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1984 Add internal __wcscpy alias.
1985 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1986 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1987 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1988 * wcsmbs/wcscpy.c (wcscpy): Add
1989 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1990 use generic implementation.
1991 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1992
39ef0744
AZ
1993 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1994 wmemset.
1995
7b3fb620
AZ
1996 * sysdeps/m68k/wcpcpy.c: Remove file.
1997 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1998
e0cb7b61
JM
19992019-02-26 Joseph Myers <joseph@codesourcery.com>
2000
aa0e4663
JM
2001 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2002 than after operators.
2003 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2004 * sysdeps/mach/hurd/getcwd.c
2005 (__hurd_canonicalize_directory_name_internal): Likewise.
2006 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2007 (pthread_mutex_consistent): Likewise.
2008 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2009 Likewise.
2010 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2011 (__pthread_mutex_transfer_np): Likewise.
2012 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2013 (__pthread_mutex_unlock): Likewise.
2014 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2015 (mtx_owned_p): Likewise.
2016 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2017 (pthread_mutexattr_getrobust): Likewise.
2018 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2019 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2020 Likewise.
2021 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2022 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2023 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2024 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2025 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2026 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2027 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2028 Likewise.
2029 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2030 Likewise.
2031 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2032 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2033 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2034 (____longjmp_chk): Likewise.
2035 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2036 Likewise.
2037 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2038 (INTERNAL_SYSCALL): Likewise.
2039 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2040 (INTERNAL_SYSCALL): Likewise.
2041 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2042 (__get_clockfreq_via_cpuinfo): Likewise.
2043
e0cb7b61
JM
2044 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2045 comments.
2046 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2047 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2048 (WORD_COPY_BWD): Likewise.
2049 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2050 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2051 Likewise.
2052 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2053 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2054 comment.
2055 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2056
a04549c1
JM
20572019-02-25 Joseph Myers <joseph@codesourcery.com>
2058
2059 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2060 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2061 rather than after operators.
2062 * elf/cache.c (print_cache): Likewise.
2063 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2064 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2065 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2066 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2067 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2068 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2069 (reauth_proc): Likewise.
2070 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2071 (__file_name_split_at): Likewise.
2072 (__directory_name_split_at): Likewise.
2073 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2074 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2075 * iconv/gconv_dl.c (do_print): Likewise.
2076 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2077 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2078 * locale/setlocale.c (new_composite_name): Likewise.
2079 * malloc/memusagestat.c (main): Likewise.
2080 * misc/fstab.c (fstab_convert): Likewise.
2081 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2082 Likewise.
2083 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2084 (getgrent_next_file): Likewise.
2085 (internal_getgrnam_r): Likewise.
2086 (internal_getgrgid_r): Likewise.
2087 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2088 Likewise.
2089 (internal_getgrent_r): Likewise.
2090 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2091 (getpwent_next_nss): Likewise.
2092 (getpwent_next_file): Likewise.
2093 (internal_getpwnam_r): Likewise.
2094 (internal_getpwuid_r): Likewise.
2095 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2096 Likewise.
2097 (getspent_next_nss): Likewise.
2098 (internal_getspnam_r): Likewise.
2099 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2100 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2101 * string/strchr.c (STRCHR): Likewise.
2102 * string/strchrnul.c (STRCHRNUL): Likewise.
2103 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2104 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2105 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2106 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2107 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2108 Likewise.
2109 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2110 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2111 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2112 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2113 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2114 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2115 (open_file): Likewise.
2116 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2117 (pthread_mutexattr_setprotocol): Likewise.
2118 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2119 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2120 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2121 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2122 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2123 Likewise.
2124 (elf_machine_rela): Likewise.
2125 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2126 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2127 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2128 * sysdeps/posix/rename.c (rename): Likewise.
2129 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2130 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2131 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2132 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2133 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2134 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2135 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2136 Likewise.
2137 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2138 Likewise.
2139 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2140 * time/tzfile.c (__tzfile_compute): Likewise.
2141
34a5a146
JM
21422019-02-22 Joseph Myers <joseph@codesourcery.com>
2143
2144 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2145 rather than after operators.
2146 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2147 * crypt/md5.c (md5_finish_ctx): Likewise.
2148 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2149 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2150 * elf/cache.c (load_aux_cache): Likewise.
2151 * elf/dl-load.c (open_verify): Likewise.
2152 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2153 * elf/readelflib.c (process_elf_file): Likewise.
2154 * elf/rtld.c (dl_main): Likewise.
2155 * elf/sprof.c (generate_call_graph): Likewise.
2156 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2157 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2158 * hurd/dtable.c (reauth_dtable): Likewise.
2159 * hurd/getdport.c (__getdport): Likewise.
2160 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2161 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2162 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2163 Likewise.
2164 * hurd/hurdioctl.c (fioctl): Likewise.
2165 * hurd/hurdselect.c (_hurd_select): Likewise.
2166 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2167 (STOPSIGS): Likewise.
2168 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2169 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2170 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2171 * hurd/msgportdemux.c (msgport_server): Likewise.
2172 * hurd/setauth.c (_hurd_setauth): Likewise.
2173 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2174 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2175 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2176 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2177 * login/tst-utmp.c (do_check): Likewise.
2178 (simulate_login): Likewise.
2179 * mach/lowlevellock.h (lll_lock): Likewise.
2180 (lll_trylock): Likewise.
2181 * math/test-fenv.c (ALL_EXC): Likewise.
2182 * math/test-fenvinline.c (ALL_EXC): Likewise.
2183 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2184 * nis/nis_call.c (__do_niscall3): Likewise.
2185 * nis/nis_callback.c (cb_prog_1): Likewise.
2186 * nis/nis_defaults.c (searchaccess): Likewise.
2187 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2188 * nis/nis_ismember.c (internal_ismember): Likewise.
2189 * nis/nis_local_names.c (nis_local_principal): Likewise.
2190 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2191 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2192 Likewise.
2193 * nis/ypclnt.c (yp_match): Likewise.
2194 (yp_first): Likewise.
2195 (yp_next): Likewise.
2196 (yp_master): Likewise.
2197 (yp_order): Likewise.
2198 * nscd/hstcache.c (cache_addhst): Likewise.
2199 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2200 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2201 (internal_getpwuid_r): Likewise.
2202 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2203 * posix/glob.h (__GLOB_FLAGS): Likewise.
2204 * posix/regcomp.c (peek_token): Likewise.
2205 (peek_token_bracket): Likewise.
2206 (parse_expression): Likewise.
2207 * posix/regexec.c (sift_states_iter_mb): Likewise.
2208 (check_node_accept_bytes): Likewise.
2209 * posix/tst-spawn3.c (do_test): Likewise.
2210 * posix/wordexp-test.c (testit): Likewise.
2211 * posix/wordexp.c (parse_tilde): Likewise.
2212 (exec_comm): Likewise.
2213 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2214 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2215 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2216 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2217 * stdio-common/tst-fileno.c (do_test): Likewise.
2218 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2219 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2220 * stdlib/strtod_l.c (round_and_return): Likewise.
2221 (____STRTOF_INTERNAL): Likewise.
2222 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2223 * string/strcspn.c (STRCSPN): Likewise.
2224 * string/test-memmem.c (simple_memmem): Likewise.
2225 * termios/tcsetattr.c (tcsetattr): Likewise.
2226 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2227 * time/asctime.c (asctime_internal): Likewise.
2228 * time/strptime_l.c (__strptime_internal): Likewise.
2229 * time/sys/time.h (timercmp): Likewise.
2230 * time/tzfile.c (__tzfile_compute): Likewise.
2231
b0b50fe0
PF
22322019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2233
b39d961c
TS
2234 [BZ #21915]
2235 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 2236
f43b8dd5
GG
22372019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2238
2239 * argp/argp-help.c (__argp_error_internal): New function,
2240 renamed from __argp_error, but that takes a 'mode_flags'
2241 parameter to control the format of long double parameters.
2242 (__argp_error): Converted into a call __argp_error_internal.
2243 (__argp_failure_internal): New function, renamed from
2244 __argp_failure, but that takes a 'mode_flags' parameter.
2245 (__argp_failure): Converted into a call __argp_failure_internal.
2246 * misc/err.c (__vwarnx_internal): New function, renamed from
2247 vwarnx, but that takes a 'mode_flags' parameter.
2248 (vwarnx): Converted into a call to __vwarnx_internal.
2249 (__vwarn_internal): New function, renamed from vwarn, but that
2250 takes a 'mode_flags' parameter.
2251 (vwarn): Converted into a call to __vwarn_internal.
2252 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2253 call to __vfxprintf with 'mode_flags'.
2254 (__error_internal): New function, renamed from error, but that
2255 takes a 'mode_flags' parameter.
2256 (error): Converted into a call to __error_internal.
2257 (__error_at_line_internal): New function, renamed from
2258 error_at_line, but that takes a 'mode_flags' parameter.
2259 (error_at_line): Converted into a call to
2260 __error_at_line_internal.
2261 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2262 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2263 Likewise.
2264
dc0afac3 22652019-02-20 Martin Liska <mliska@suse.cz>
2266
2267 * math/Makefile: Install math-vector-fortran.h.
2268 * bits/math-vector-fortran.h: New file.
2269 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2270
4a2dd41c
GG
22712019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2272
2273 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2274 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2275
04de9302
WS
22762019-02-19 Wolfram Sang <wsa@the-dreams.de>
2277
2278 * nptl/pthread_mutex_trylock.c: Fix comment.
2279
b026ce1e
CD
22802019-02-19 Carlos O'Donell <carlos@redhat.com>
2281
2282 * nptl/pthread_tryjoin.c: Fix comment.
2283
8c9289b6
JM
22842019-02-18 Joseph Myers <joseph@codesourcery.com>
2285
2286 [BZ #24231]
2287 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2288 after R_SPARC_H34 case.
2289
308e022f
FW
22902019-02-18 Florian Weimer <fweimer@redhat.com>
2291
2292 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2293 (getanswer): Do not call Dprintf.
2294 (res_gethostbyname2_context): Likewise.
2295 (res_gethostbyaddr_context): Likewise.
2296
a5406364
FW
22972019-02-18 Florian Weimer <fweimer@redhat.com>
2298
2299 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2300 declaration.
2301 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2302 Remove definitions.
2303 * libio/stdfiles.c: Update comment.
2304 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2305 set _IO_stdin, _IO_stdout, _IO_stderr.
2306 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2307 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2308 inline function.
2309 (_IO_deallocate_file): New inline function.
2310 * libio/iolibio.h (_IO_vprintf): Remove definition.
2311 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2312 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2313 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2314 _IO_legacy_file.
2315 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2316 __builtin_expect. Use _IO_legacy_file.
2317
6c29942c
SL
23182019-02-18 Stefan Liebler <stli@linux.ibm.com>
2319
2320 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2321 Initialize ctid with a known value and remove update of ctid
2322 after clone.
2323 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2324 as assumed current value of ctid_ptr.
2325
225d9445 23262019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
2327
2328 Check that non-sysdeps headers have wrapper headers.
2329 * scripts/check-wrapper-headers.py: New file.
2330 * Makefile (tests-special): Add check-wrapper-headers.out.
2331 (check-wrapper-headers.out): New target.
2332 * Rules (tests-special): Add check-wrapper-headers.out.
2333 (check-wrapper-headers.out): New target.
2334
225d9445 23352019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
2336
2337 Add missing header wrappers under include/.
2338 * include/ar.h: New file.
2339 * include/bits/mqueue2.h: Likewise.
2340 * include/bits/stdio.h: Likewise.
2341 * include/bits/stdio2.h: Likewise.
2342 * include/fstab.h: Likewise.
2343 * include/fts.h: Likewise.
2344 * include/lastlog.h: Likewise.
2345 * include/netinet/icmp6.h: Likewise.
2346 * include/netinet/igmp.h: Likewise.
2347 * include/netinet/ip6.h: Likewise.
2348 * include/re_comp.h: Likewise.
2349 * include/regexp.h: Likewise.
2350 * include/rpcsvc/bootparam.h: Likewise.
2351 * include/rpcsvc/yp_prot.h: Likewise.
2352 * include/sys/random.h: Likewise.
2353 * include/sys/stropts.h: Likewise.
2354 * include/sys/ttychars.h: Likewise.
2355 * include/sys/vfs.h: Likewise.
2356 * include/wait.h: Likewise.
2357
225d9445 23582019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
2359
2360 * nptl_db/proc_service.h: Move to ...
2361 * sysdeps/nptl/proc_service.h: ... here.
2362 * nptl_db/thread_db.h: Move to ...
2363 * sysdeps/nptl/thread_db.h: ... here.
2364 * nptl/descr.h: Include <thread_db.h>.
2365
e442e40d
AZ
23662019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2367
2368 * io/Makefile (tests): Add tst-lockf.
2369 * io/lockf.c (lockf): Use __fcntl and only define for
2370 !__OFF_T_MATCHES_OFF64_T.
2371 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2372 __OFF_T_MATCHES_OFF64_T case.
2373 * io/tst-lockf.c: New file.
2374 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2375 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2376 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2377 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2378 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2380 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2381 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2382 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2383
bc10e22c
FW
23842019-02-15 Florian Weimer <fweimer@redhat.com>
2385
2386 [BZ #24211]
2387 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2388 pd->result after the thread descriptor has been freed.
2389
365f05c7
JM
23902019-02-15 Joseph Myers <joseph@codesourcery.com>
2391
8a11f970
JM
2392 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2393 from function return type.
2394
365f05c7
JM
2395 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2396
6b5c8607 23972019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
2398
2399 * scripts/test_printers_common.py: Set TERM to a known harmless
2400 value.
2401
712182c8
JM
24022019-02-14 Joseph Myers <joseph@codesourcery.com>
2403
2404 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2405 (xdr_u_int): Likewise.
2406 (xdr_enum): Likewise.
2407 (xdr_bytes): Reword fall-through comment.
2408 (xdr_string): Likewise.
2409
eb76e5b4
AZ
24102019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2411
2412 [BZ #2421]
2413 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2414 (tests): Add tst-join8 tst-join9.
2415 * nptl/lll_timedwait_tid.c: Remove file.
2416 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2417 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2418 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2419 * nptl/pthread_join_common.c (timedwait_tid): New function.
2420 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2421 is set.
2422 * nptl/tst-join5.c (thread_join): New function.
2423 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2424 check.
2425 * nptl/tst-join8.c: New file.
2426 * nptl/tst-join9.c: Likewise.
2427 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2428 lll_futex_timed_wait_cancel): Add generic macros.
2429 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2430 Remove definitions.
2431 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2432 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2433 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2434 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2435 Remove function.
2436 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2437 Likewise.
2438 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2439 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2440 (lll_futex_timed_wait_cancel): New macro.
2441
3904fd85
WD
24422019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2443
2444 * benchtests/Makefile: Add malloc-simple benchmark.
2445 * benchtests/bench-malloc-simple.c: New benchmark.
2446
24ca04fe
SP
24472019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2448
2449 * benchtests/bench-memmove.c (do_one_test): Remove unused
2450 ORIG_SRC.
2451 (do_test): Adjust.
2452 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2453 ORIG_SRC.
2454 (do_test): Adjust.
2455
85bd1ddb
JW
24562019-01-13 Jim Wilson <jimw@sifive.com>
2457
2458 [BZ #24040]
2459 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2460 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2461 (func): New.
2462 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2463 call func directly.
2464 * nptl/Makefile (tests): Add tst-unwind-thread.
2465 (CFLAGS-tst-unwind-thread.c): Define.
2466 * nptl/tst-unwind-thread.c: New file.
2467 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2468 as undefined.
2469
86140c62
JM
24702019-02-13 Joseph Myers <joseph@codesourcery.com>
2471
10756268
JM
2472 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2473 comment wording.
2474 * nis/nis_call.c (__do_niscall3): Likewise.
2475
05383720
JM
2476 * catgets/gencat.c (normalize_line): Use braces around empty
2477 'else' body.
2478 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2479 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2480 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2481 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2482 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2483 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2484 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2485 definition.
2486
86140c62
JM
2487 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2488 execlp returns.
2489
16f87cfd
WD
24902019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2491
2492 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2493 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2494 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2495 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2496 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2497 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2498 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2499 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2500 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2501 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2502 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2503 * benchtests/bench-bcopy.c: Delete file.
2504 * benchtests/bench-bzero.c: Likewise.
2505 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2506 (simple_memccpy): Remove.
2507 (generic_memccpy): Add function.
2508 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2509 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2510 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2511 (generic_mempcpy): Add new function.
2512 * benchtests/bench-memset.c (simple_bzero): Remove.
2513 (builtin_bzero): Remove.
2514 (builtin_memset): Remove.
2515 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2516 (generic_rawmemchr): Add new function.
2517
0c6d82e9
FW
25182019-02-12 Florian Weimer <fweimer@redhat.com>
2519
2520 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2521
b3fbfe81
AZ
25222019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2523
2524 [BZ #24122]
2525 * elf/Makefile (tests): Add tst-audit13.
2526 (modules-names): Add tst-audit13mod1.
2527 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2528 rule.
2529 * elf/tst-audit13.c: New file.
2530 * elf/tst-audit13mod1.c: Likewise.
2531
3b856d09
FW
25322019-02-12 Florian Weimer <fweimer@redhat.com>
2533
2534 [BZ #24122]
2535 * elf/rtld.c (unload_audit_module): New function.
2536 (report_audit_module_load_error): Likewise.
2537 (load_audit_module): Likewise. Extracted from dl_main. Call
2538 _dl_close if the laversion symbol cannot be found. Use early
2539 returns for error handling. Add malloc error check. Check for a
2540 zero return value from la_version. Remove spurious comment about
2541 static TLS initialization. Remove useless casts.
2542 (notify_audit_modules_of_loaded_object): New function. Extracted
2543 from dl_main.
2544 (load_audit_module): Likewise.
2545 (dl_main): Call load_audit_modules.
2546
32db86d5
JM
25472019-02-12 Joseph Myers <joseph@codesourcery.com>
2548
2549 * elf/dl-exception.c (_dl_exception_create_format): Add
2550 fall-through comments.
2551 * elf/ldconfig.c (parse_conf_include): Likewise.
2552 * elf/rtld.c (print_statistics): Likewise.
2553 * locale/programs/charmap.c (parse_charmap): Likewise.
2554 * misc/mntent_r.c (__getmntent_r): Likewise.
2555 * posix/wordexp.c (parse_arith): Likewise.
2556 (parse_backtick): Likewise.
2557 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2558 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2559 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2560
a51bc4fe
PC
25612019-02-11 Paul A. Clarke <pc@us.ibm.com>
2562
2563 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2564 Use float instead of double.
2565
fb25b135
TS
25662019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2567
2568 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2569
32ea7299
JM
25702019-02-08 Joseph Myers <joseph@codesourcery.com>
2571
2572 * sysdeps/powerpc/bits/mathinline.h: Remove.
2573
eef4d4f8
FW
25742019-02-08 Florian Weimer <fweimer@redhat.com>
2575
2576 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2577 * math/bits/math-finite.h: Move to ...
2578 * bits/math-finite.h: ... here.
2579
fdfbd47d
FW
25802019-02-08 Florian Weimer <fweimer@redhat.com>
2581
2582 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2583 * bits/unistd_ext.h: here.
2584
11eb21c4
PF
25852019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2586
2587 [BZ #21915]
2588 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2589 * nss/tst-nss-files-hosts-long.c: New file.
2590 * nss/tst-nss-files-hosts-long.root: New directory.
2591 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2592 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2593
e47d82c9
FW
25942019-02-08 Florian Weimer <fweimer@redhat.com>
2595
2596 * include/bits/unistd_ext.h: Remove file.
2597 * posix/bits/unistd_ext.h: Move to ...
2598 * sysdeps/generic/bits/unistd_ext.h: ... here.
2599
8f89ab21
FW
26002019-02-08 Florian Weimer <fweimer@redhat.com>
2601
2602 * include/bits/unistd_ext.h: New file.
2603
144a794e
TS
26042019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2605
2606 * time/tst-strftime2.c: Use array_length macros instead of magic
2607 numbers.
2608
669ff911
FW
26092019-02-08 Florian Weimer <fweimer@redhat.com>
2610
2611 [BZ #24161]
2612 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2613 argument.
2614 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2615 locking if the new do_locking argument is true.
2616 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2617 __run_fork_handlers.
2618
d0bd87d4 26192019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
2620
2621 [BZ #6399]
2622 Linux: Add gettid system call wrapper.
2623 * posix/Makefile (headers): Add bits/unistd_ext.h.
2624 * posix/bits/unistd_ext.h: New file.
2625 * posix/unistd.h: Include it.
2626 * manual/process.texi (Process Identification): Document gettid.
2627 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2628 tst-gettid, tst-gettid-kill.
2629 (tst-gettid): Link with $(shared-thread-library).
2630 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2631 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2632 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2633 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2634 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2635 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2636 Add gettid.
2637 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2638 Likewise.
2639 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2640 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2641 Likewise.
2642 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2643 Likewise.
2644 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2645 Likewise.
2646 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2647 Likewise.
2648 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2649 Likewise.
2650 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2651 Likewise.
2652 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2653 Likewise.
2654 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2655 (GLIBC_2.30): Likewise.
2656 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2657 (GLIBC_2.30): Likewise.
2658 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2659 (GLIBC_2.30): Likewise.
2660 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2661 (GLIBC_2.30): Likewise.
2662 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2663 Likewise.
2664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2665 (GLIBC_2.30): Likewise.
2666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2667 (GLIBC_2.30): Likewise.
2668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2669 (GLIBC_2.30): Likewise.
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2671 (GLIBC_2.30): Likewise.
2672 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2673 Likewise.
2674 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2675 Likewise.
2676 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2677 Likewise.
2678 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2679 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2680 Likewise.
2681 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2682 Likewise.
2683 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2684 Likewise.
2685 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2686 Likewise.
2687 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2688
225d9445 26892019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
2690
2691 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2692 compatibility symbols.
2693
823624bd
SL
26942019-02-07 Stefan Liebler <stli@linux.ibm.com>
2695
2696 [BZ #24180]
2697 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2698 Add compiler barriers and comments.
2699
8311c83f
FW
27002019-02-07 Florian Weimer <fweimer@redhat.com>
2701
2702 * include/array_length.h (array_length): Do not use a statement
2703 expression and _Static_assert, so that array_length can be used at
2704 file scope and as a constant expression.
2705
94b63e66
FW
27062019-02-07 Florian Weimer <fweimer@redhat.com>
2707
2708 * support/xdlfcn.h (xdlmopen): Declare.
2709 * support/xdlmopen.c: New file.
2710 * support/Makefile (libsupport-routines): Add xdlmopen.
2711
c2d8f0b7
JM
27122019-02-06 Joseph Myers <joseph@codesourcery.com>
2713
2714 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2715 before return type, without separate inline.
2716 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2717 * elf/dl-tunables.h (tunable_is_name): Likewise.
2718 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2719 (do_set_top_pad): Likewise.
2720 (do_set_mmap_threshold): Likewise.
2721 (do_set_mmaps_max): Likewise.
2722 (do_set_mallopt_check): Likewise.
2723 (do_set_perturb_byte): Likewise.
2724 (do_set_arena_test): Likewise.
2725 (do_set_arena_max): Likewise.
2726 (do_set_tcache_max): Likewise.
2727 (do_set_tcache_count): Likewise.
2728 (do_set_tcache_unsorted_limit): Likewise.
2729 * nis/nis_subr.c (count_dots): Likewise.
2730 * nptl/allocatestack.c (advise_stack_range): Likewise.
2731 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2732 (do_sin): Likewise.
2733 (reduce_sincos): Likewise.
2734 (do_sincos): Likewise.
2735 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2736 (do_set_elision_enable): Likewise.
2737 (TUNABLE_CALLBACK_FNDECL): Likewise.
2738
3b935595
FW
27392019-02-06 Florian Weimer <fweimer@redhat.com>
2740
2741 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2742 (xdlsym): Use dlerror to detect a NULL symbol.
2743
b4333340
FW
27442019-02-06 Florian Weimer <fweimer@redhat.com>
2745
2746 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2747 <stap-probe.h>.
2748 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2749
b6d8a999
SL
27502019-02-06 Stefan Liebler <stli@linux.ibm.com>
2751
2752 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2753
94eeeec0
SL
27542019-02-06 Stefan Liebler <stli@linux.ibm.com>
2755
2756 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2757 __wmemcmp and weak alias to wmemcmp.
2758
bc79db3f
SL
27592019-02-06 Stefan Liebler <stli@linux.ibm.com>
2760
2761 [BZ #23403]
2762 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2763 TLS_TCB_AT_TP tls variant.
2764 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2765 Add alignment checks.
2766 * support/Makefile (libsupport-routines): Add xposix_memalign and
2767 xpthread_setstack.
2768 * support/support.h: Add xposix_memalign.
2769 * support/xthread.h: Add xpthread_attr_setstack.
2770 * support/xposix_memalign.c: New File.
2771 * support/xpthread_attr_setstack.c: Likewise.
2772
f1ac7455
FW
27732019-02-05 Florian Weimer <fweimer@redhat.com>
2774
2775 [BZ #24164]
2776 arm: Use "nr" constraint for Systemtap probes, to avoid the
2777 compiler using memory operands for constants, due to the "o"
2778 alternative in the default "nor" constraint.
2779 * include/stap-probe.h [USE_STAP_PROBE]: Include
2780 <stap-probe-machine.h>
2781 * sysdeps/generic/stap-probe-machine.h: New file.
2782 * sysdeps/arm/stap-probe-machine.h: Likewise.
2783
7a0dcfc6
JM
27842019-02-04 Joseph Myers <joseph@codesourcery.com>
2785
77dc0d86
JM
2786 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2787 with 0, not tcache->entries[tc_idx].
2788
7a0dcfc6
JM
2789 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2790 once.
2791
65f7767a
AS
27922019-02-04 Andreas Schwab <schwab@suse.de>
2793
2794 [BZ #16976]
2795 [BZ #17396]
2796 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2797 looking up collating elements match against (wide) character
2798 sequence instead of name. Correct alignment adjustment.
2799 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2800 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2801 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2802 (LOCALES): Add cs_CZ.ISO-8859-2.
2803 * posix/tst-fnmatch4.c: New file.
2804 * posix/tst-fnmatch5.c: New file.
2805 * include/wchar.h (__wmemcmp): Declare.
2806 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
2807 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2808 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2809 * sysdeps/s390/wmemcmp.c: Likewise.
2810
3f635fb4
L
28112019-02-04 H.J. Lu <hongjiu.lu@intel.com>
2812
2813 [BZ #24155]
2814 CVE-2019-7309
2815 * NEWS: Updated for CVE-2019-7309.
2816 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
2817 upper 32 bits of RDX register for x32. Use unsigned Jcc
2818 instructions, instead of signed.
2819 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
2820 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
2821
2ab5741b
FW
28222019-02-04 Florian Weimer <fweimer@redhat.com>
2823
2824 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
2825 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
2826 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
2827 Likewise.
2828 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
2829 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
2830 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
2831 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
2832 Likewise.
2833 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
2834 Likewise.
2835 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
2836 Likewise.
2837 (posix_spawn_file_actions_addopen): Likewise.
2838 (posix_spawn_file_actions_addclose): Likewise.
2839 (posix_spawn_file_actions_adddup2): Likewise.
2840 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
2841 qualifiers.
2842 (posix_spawn_file_actions_addfchdir_np): Likewise.
2843
8692ebdb
DN
28442019-02-04 David Newall <glibc@davidnewall.com>
2845
2846 elf: Implement --preload option for the dynamic linker.
2847 * elf/rtld.c (preloadarg): New variable.
2848 (handle_preload_list): Pass through “where” argument to
2849 do_preload.
2850 (dl_main): Handle "--preload" and add second call to
2851 handle_preload_list.
2852 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
2853 (tst-rtld-preload-OBJS): Set variable.
2854 (tst-rtld-preload.out): New target.
2855 * elf/tst-rtld-preload.sh: New file.
2856
5e10136b
MM
28572019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
2858
2859 * Makefile (testrun.sh): Exit in case of incorrect argument.
2860
221baae0
FW
28612019-02-04 Florian Weimer <fweimer@redhat.com>
2862
2863 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
2864 alignment gaps.
2865
b8c72381
FW
28662019-02-03 Florian Weimer <fweimer@redhat.com>
2867
2868 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
2869 implicit overflow checks.
2870
11f382ee
AJ
28712019-02-03 Aurelien Jarno <aurelien@aurel32.net>
2872
2873 * stdlib/isomac.c: Include <unistd.h>.
2874
77c7d55e
FW
28752019-02-03 Florian Weimer <fweimer@redhat.com>
2876
2877 * include/time.h (__tzfile_default): Use int, not long int, for
2878 the GMT offsets.
2879 * time/tzfile.c (struct ttinfo): Change type of the offset member
2880 to int.
2881 (__tzfile_read): Remove useless cast.
2882 (__tzfile_default): Adjust prototype.
2883 * time/tzset.c (tz_rule): Change type of the offset member to int.
2884 (parse_offset): Change the type of the sign variable to int.
2885
ee9941f9
FW
28862019-02-03 Florian Weimer <fweimer@redhat.com>
2887
2888 [BZ #24153]
2889 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
2890 * libio/getchar.c (getchar): Likewise.
2891 * libio/getchar_u.c (getchar_unlocked): Likewise.
2892 * libio/getwchar.c (getwchar): Likewise.
2893 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2894 * libio/iogets.c (_IO_gets): Likewise.
2895 * libio/vscanf.c (_IO_vscanf): Likewise.
2896 * libio/vwscanf.c (__vwscanf): Likewise.
2897 * libio/tst-bz24153.c: New file.
2898 * libio/Makefile (tests): Add it.
2899
c70824b9
FW
29002019-02-02 Florian Weimer <fweimer@redhat.com>
2901
2902 [BZ #14829]
2903 * manual/resource.texi (Basic Scheduling Functions): Add
2904 portability note. Change process to task throughout the section.
2905 Remove incorrect comment about sched_yield as it affects
2906 tasks/threads, not entire processes.
2907 * sysdeps/unix/sysv/linux/bits/posix_opt.h
2908 (_POSIX_PRIORITY_SCHEDULING): Update comment.
2909
4dcbbc3b
JM
29102019-02-01 Joseph Myers <joseph@codesourcery.com>
2911
2912 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
2913 * configure: Regenerated.
2914 * manual/install.texi (Tools for Compilation): Update minimum GCC
2915 version.
2916 * INSTALL: Regenerated.
2917
6175507c
FW
29182019-02-01 Florian Weimer <fweimer@redhat.com>
2919
2920 * support/support_test_compare_string.c
2921 (support_test_compare_string): Use "string" in error message.
2922 * support/tst-test_compare_string.c (do_test): Adjust.
2923
baef1943
FW
29242019-02-01 Florian Weimer <fweimer@redhat.com>
2925
2926 * support/support_format_address_family.c
2927 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2928
395599f0
FW
29292019-02-01 Florian Weimer <fweimer@redhat.com>
2930
2931 * manual/socket.texi (Internet Address Formats): Clarify the byte
2932 order of struct sockaddr_in, struct sockaddr_in6. Document
2933 sin6_flowinfo and sin6_scope_id.
2934
b06f4c00
WD
29352019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2936
2937 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2938 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2939 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2940 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2941 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2942 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2943
83d1cc42
FX
29442019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2945
2946 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2947 [!MEMCHR](MEMCHR): Set to __memchr.
2948 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2949 Add memchr_generic and memchr_nosimd.
2950 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2951 (__libc_ifunc_impl_list): Add memchr ifuncs.
2952 * sysdeps/aarch64/multiarch/memchr.c: New file.
2953 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2954 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2955
c7d3890f
FX
29562019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2957
2958 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2959 Add memset_emag.
2960 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2961 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2962 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2963 Add IS_EMAG check for ifunc dispatch.
2964 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2965 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2966
07c3d1ec
FX
29672019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2968
2969 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2970 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2971 Add emag.
2972 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2973 New macro.
2974
114f792e
SL
29752019-02-01 Stefan Liebler <stli@linux.ibm.com>
2976
2977 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2978
d5627550
VG
29792019-01-31 Vineet Gupta <vgupta@synopsys.com>
2980
2981 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2982 syscall-template file.
2983
5fc9ed4c
CD
29842019-01-31 Carlos O'Donell <carlos@redhat.com>
2985 Torvald Riegel <triegel@redhat.com>
2986 Rik Prohaska <prohaska7@gmail.com>
2987
2988 [BZ# 23844]
2989 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2990 tst-rwlock-trywrlock-stall.
2991 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2992 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2993 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2994 Set __wrphase_fute to 1 only if we started the write phase.
2995 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2996 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2997 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2998 * support/xpthread_rwlock_destroy.c: New file.
2999 * support/xthread.h: Declare xpthread_rwlock_destroy.
3000
932329a5
JM
30012019-02-01 Joseph Myers <joseph@codesourcery.com>
3002
3003 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3004 version to 4.0.2.
3005
5f10701f
PP
30062019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3007
3008 [BZ #24051]
3009 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3010 * libio/fileops.c (_IO_new_file_underflow): Likewise
3011 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3012 * libio/putchar.c (putchar): Likewise.
3013 * libio/putchar_u.c (putchar_unlocked): Likewise.
3014 * libio/putwchar.c (putchar): Likewise.
3015 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3016 * libio/tst-bz24051.c: New test.
3017 * libio/Makefile (tests): Add tst-bz24051
3018
583dd860
PE
30192019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3020
b626c5aa 3021 CVE-2019-9169
583dd860
PE
3022 regex: fix read overrun [BZ #24114]
3023 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3024 https://debbugs.gnu.org/34140
3025 * posix/regexec.c (proceed_next_node):
3026 Do not read past end of input buffer.
3027
2bac7daa
FW
30282019-01-31 Florian Weimer <fweimer@redhat.com>
3029
3030 [BZ #24059]
3031 * nss/nss_files/files-alias.c (get_next_alias): Handle
3032 continuation line without newline at the end.
3033 * nss/tst-nss-files-alias-truncated.c: New file.
3034 * nss/Makefile [$(build-shared)] (tests): Add
3035 tst-nss-files-alias-truncated.
3036 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3037 * support/namespace.h (struct support_chroot_configuration): Add
3038 aliases member.
3039 (struct support_chroot): Add path_aliases member.
3040 * support/support_chroot.c (support_chroot_create): Handle
3041 aliases.
3042 (support_chroot_free): Free path_aliases.
3043
330c9d0d
SP
30442019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3045
de44ab67
SP
3046 * version.h (RELEASE): Set to "development".
3047 (VERSION): Set to "2.29.9000".
3048 * NEWS: Add section for 2.30.
3049
56c86f5d
SP
3050 * version.h (RELEASE): Set to "stable".
3051 (VERSION): Set to "2.29".
3052 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3053
330c9d0d
SP
3054 * NEWS: Add the list of bugs fixed in 2.29.
3055 * manual/contrib.texi: Update contributors list with some more
3056 names.
3057 * manual/install.texi: Update latest versions of packages
3058 tested.
3059 * INSTALL: Regenerated.
3060
e1e47c91
SP
30612019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3062
3063 * po/be.po: Update translations.
3064 * po/bg.po: Likewise.
3065 * po/ca.po: Likewise.
3066 * po/cs.po: Likewise.
3067 * po/da.po: Likewise.
3068 * po/de.po: Likewise.
3069 * po/el.po: Likewise.
3070 * po/eo.po: Likewise.
3071 * po/es.po: Likewise.
3072 * po/fi.po: Likewise.
3073 * po/fr.po: Likewise.
3074 * po/gl.po: Likewise.
3075 * po/hr.po: Likewise.
3076 * po/hu.po: Likewise.
3077 * po/ia.po: Likewise.
3078 * po/id.po: Likewise.
3079 * po/it.po: Likewise.
3080 * po/ja.po: Likewise.
3081 * po/ko.po: Likewise.
3082 * po/lt.po: Likewise.
3083 * po/nb.po: Likewise.
3084 * po/nl.po: Likewise.
3085 * po/pl.po: Likewise.
3086 * po/pt_BR.po: Likewise.
3087 * po/ru.po: Likewise.
3088 * po/rw.po: Likewise.
3089 * po/sk.po: Likewise.
3090 * po/sl.po: Likewise.
3091 * po/sv.po: Likewise.
3092 * po/tr.po: Likewise.
3093 * po/uk.po: Likewise.
3094 * po/vi.po: Likewise.
3095 * po/zh_CN.po: Likewise.
3096 * po/zh_TW.po: Likewise.
3097
8d016826
UB
30982019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3099
3100 [BZ #24130]
3101 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3102 of $f3 register on $y_is_neg path.
3103
a0bb5abd
ST
31042019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3105
b96e22d0 3106 [BZ #24110]
a0bb5abd
ST
3107 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3108 sigaltstack.ss_flags.
3109
b22eed37
TS
31102019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3111
3112 [BZ #23758]
3113 * manual/time.texi (strftime): Document "%Ey".
3114 * time/strftime_l.c (__strftime_internal): Set the default width
3115 padding with zero of "%Ey" to 2.
3116
32f600a2
TS
3117 [BZ #24096]
3118 * manual/time.texi (strftime): Document "%EC" and "%EY".
3119 * time/Makefile (tests): Add tst-strftime2.
3120 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3121 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3122 override padding for "%Ey".
3123 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3124 "%Ey" in the subformat as if decorated with that flag.
3125 * time/tst-strftime2.c: New file.
3126
8e889c5d
AZ
31272019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3128
3367acdb
AZ
3129 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3130 are not defined.
3131
8e889c5d
AZ
3132 [BZ #24122]
3133 * elf/Makefile (tests): Add tst-audit13.
3134 (modules-names): Add tst-audit13mod1.
3135 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3136 rule.
3137 * elf/rtld.c (dl_main): Handle invalid audit module version.
3138 * elf/tst-audit13.c: New file.
3139 * elf/tst-audit13mod1.c: Likewise.
3140
a95dc01c
ST
31412019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3142
3143 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3144 returned by __hurd_at_flags.
ee4d7902
ST
3145 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3146 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3147 directly instead of __hurd_file_name_lookup.
a95dc01c 3148
712f1167
JM
31492019-01-21 Joseph Myers <joseph@codesourcery.com>
3150
3151 * scripts/build-many-glibcs.py (Context.checkout): Default
3152 binutils version to 2.32 branch.
3153
108bc404
FW
31542019-01-21 Florian Weimer <fweimer@redhat.com>
3155
3156 [BZ #20018]
3157 CVE-2016-10739
3158 resolv: Reject trailing characters in host names
3159 * include/arpa/inet.h (__inet_aton_exact): Declare.
3160 (inet_aton): Remove hidden prototype. No longer used internally.
3161 * nscd/gai.c (__inet_aton): Do not define.
3162 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3163 * nss/digits_dots.c (__inet_aton): Likewise.
3164 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3165 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3166 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3167 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3168 (tst-resolv-trailing): Likewise.
3169 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3170 libc.
3171 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3172 Make static. Add endp parameter.
3173 (__inet_aton_exact): New function.
3174 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3175 (__inet_addr): Call inet_aton_end.
3176 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3177 not just IPv6. Call __inet_aton_exact.
3178 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3179 (tests): Make const. Add additional test cases with trailing
3180 characters.
3181 (do_test): Use array_length.
3182 * resolv/tst-inet_aton_exact.c: New file.
3183 * resolv/tst-resolv-trailing.c: Likewise.
3184 * resolv/tst-resolv-nondecimal.c: Likewise.
3185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3186
5165de69
L
31872019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3188
3189 [BZ# 24097]
3190 CVE-2019-6488
3191 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3192 Clear the upper 32 bits of RSI register.
3193 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3194 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3195 and tst-size_t-wcsnlen.
3196 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3197 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3198
c7c54f65
L
31992019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3200
3201 [BZ# 24097]
3202 CVE-2019-6488
3203 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3204 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3205 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3206 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3207 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3208
ee915088
L
32092019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3210
3211 [BZ# 24097]
3212 CVE-2019-6488
3213 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3214 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3215 * sysdeps/x86_64/strcmp.S: Likewise.
3216 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3217 tst-size_t-strncmp and tst-size_t-wcsncmp.
3218 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3219 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3220 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3221
82d0b4a4
L
32222019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3223
3224 [BZ# 24097]
3225 CVE-2019-6488
3226 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3227 RDX_LP for length. Clear the upper 32 bits of RDX register.
3228 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3229 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3230 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3231 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3232
ecd8b842
L
32332019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3234
3235 [BZ# 24097]
3236 CVE-2019-6488
3237 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3238 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3239 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3240 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3241
231c5676
L
32422019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3243
3244 [BZ# 24097]
3245 CVE-2019-6488
3246 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3247 length. Clear the upper 32 bits of RDX register.
3248 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3249 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3250 Likewise.
3251 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3252 Likewise.
3253 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3254 tst-size_t-wmemchr.
3255 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3256
b304fc20
L
32572019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3258
3259 [BZ# 24097]
3260 CVE-2019-6488
3261 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3262 length. Clear the upper 32 bits of RDX register.
3263 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3264 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3265 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3266 tst-size_t-wmemcmp.
3267 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3268 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3269
97700a34
L
32702019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3271
3272 [BZ# 24097]
3273 CVE-2019-6488
3274 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3275 upper 32 bits of RDX register.
3276 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3277 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3278 tst-size_t-wmemchr.
3279 * sysdeps/x86_64/x32/test-size_t.h: New file.
3280 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3281 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3282
6ca53a24
FW
32832019-01-18 Florian Weimer <fweimer@redhat.com>
3284
3285 [BZ #24112]
3286 resolv: Do not send queries for non-host-names in nss_dns.
3287 * resolv/nss_dns/dns-host.c (check_name): New function.
3288 (_nss_dns_gethostbyname2_r): Use it.
3289 (_nss_dns_gethostbyname_r): Likewise.
3290 (_nss_dns_gethostbyname4_r): Likewise.
3291
5e30b8ef
FW
32922019-01-21 Florian Weimer <fweimer@redhat.com>
3293
3294 * resolv/inet_addr.c: Reformat to GNU style.
3295 (__inet_addr, __inet_aton): Update comment.
3296
71effcea
FW
32972019-01-18 Florian Weimer <fweimer@redhat.com>
3298
3299 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3300 ("malloc: Use current (C11-style) atomics for fastbin access").
3301 This commit introduces a substantial performance regression on
3302 POWER and Aarch64.
3303 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3304 (REMOVE_FB): Define.
3305 (_int_malloc): Use it and reindent.
3306 (_int_free): Use CAS loop with
3307 catomic_compare_and_exchange_val_rel.
3308 (malloc_consolidate): Use atomic_exchange_acq.
3309
3310
562f4362
L
33112019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3312
3313 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3314 -Wl,-z,now.
3315 (LDFLAGS-tst-minsigstksz-2): Likewise.
3316 (LDFLAGS-tst-minsigstksz-3): Likewise.
3317 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3318 (LDFLAGS-tst-minsigstksz-4): Likewise.
3319
80dfa298
TS
33202019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3321
3322 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3323 than "alternate".
3324
008b598e
PC
33252019-01-16 Paul A. Clarke <pc@us.ibm.com>
3326
3327 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3328
fbbc9a4e
ZW
33292019-01-16 Zack Weinberg <zackw@panix.com>
3330
6b5c8607
TS
3331 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3332 (xget_sigstack_location): New test support functions.
3333 * support/xsigstack.c: New file, implementing them.
3334 * support/tst-xsigstack.c: New test for them.
3335 * support/Makefile: Update.
fbbc9a4e 3336
6b5c8607
TS
3337 * signal/tst-minsigstksz-1.c
3338 * signal/tst-minsigstksz-2.c
3339 * signal/tst-minsigstksz-3.c
3340 * signal/tst-minsigstksz-3a.c
3341 * signal/tst-minsigstksz-4.c: New tests.
3342 * signal/Makefile: Run them.
fbbc9a4e 3343
5f1135e4
SP
33442019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3345
3346 * po/libc.pot: Regenerate.
3347
ecdacd34
TMQMF
33482019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3349
3350 * math/libm-test-fma.inc (fma_test_data): Set
3351 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3352
56054664
RA
33532019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3354
3355 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3356 (do_test): Changed __vector __int128_t to __vector unsigned int.
3357
1a153e47
LS
33582019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3359
3360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3361 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3362 stpcpy-avx2 and stpncpy-avx2.
3363 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3364 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3365 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3366 and __stpncpy_avx2.
3367 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3368 ifunc-strcpy.h}: rename header for a more generic name.
3369 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3370 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3371 AVX unaligned load is fast and vzeroupper is preferred.
3372 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3373 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3374 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3375 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3376 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3377 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3378
a1b02ae7
DL
33792019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3380
3381 * argp/argp-help.c: Fix typo in comment.
3382 * misc/sys/cdefs.h: Likewise.
3383 * posix/regexec.c (sift_states_iter_mb): Likewise.
3384 * socket/sockatmark.c: Likewise.
3385 * socket/sys/socket.h: Likewise.
3386 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3387 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3388 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3389 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3390 * sysdeps/unix/sockatmark.c: Likewise.
3391 * time/strptime_l.c: Likewise.
3392
5cbbf01e
TS
33932019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3394
3395 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3396 missing space after the cast of "_NL_CURRENT".
3397
0bc9bdf1
RA
33982019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3399
3400 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3401 ifdef to fix read of VSCR.
3402 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3403 tst-ucontext-ppc64-vscr.c to test list.
3404 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3405
5494af04
AH
34062019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3407
3408 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3409 fall-through.
3410
e17f63ff
JW
34112019-01-09 Jim Wilson <jimw@sifive.com>
3412
3413 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3414
02f440c1
WD
34152019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3416
3417 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3418 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3419 __memcpy_falkor for ares.
3420 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3421 Add new define.
3422 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3423 Add ares cpu.
3424
69da3c9e
L
34252019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3426
3427 [BZ #24066]
3428 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3429 4_FP_W_TYPEs are used for IEEE quad precision.
3430 * soft-fp/extendhftf2.c: Likewise.
3431 * soft-fp/extendsftf2.c: Likewise.
3432 * soft-fp/extendxftf2.c: Likewise.
3433 * soft-fp/trunctfdf2.c: Likewise.
3434 * soft-fp/trunctfhf2.c: Likewise.
3435 * soft-fp/trunctfsf2.c: Likewise.
3436 * soft-fp/trunctfxf2.c: Likewise.
3437 * sysdeps/alpha/ots_cvttx.c: Likewise.
3438 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3439 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3440 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3441 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3442 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3443 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3444 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3445 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3446 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3447 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3448 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3449 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3450 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3451 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3452 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3453 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3454 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3455
2ef42716
AJ
34562019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3457
3458 [BZ #24024]
3459 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3460 code with -fmath-errno.
3461 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3462 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3463 * string/test-strerror-errno.c: New file.
3464
7395f3a0
AJ
34652019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3466
3467 [BZ #24046]
3468 * localedata/locales/en_US (date_fmt): Add, set to
3469 "%a %d %b %Y %r %Z".
3470
010fe231
FW
34712019-01-07 Florian Weimer <fweimer@redhat.com>
3472
3473 [BZ #24063]
3474 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3475 instead of @var{errno}.
3476 (Parsing of Integers): Likewise.
3477 (Parsing of Floats): Likewise.
3478 * manual/filesys.texi (Working with Directory Trees): Likewise.
3479 (Temporary Files): Likewise.
3480 * manual/job.texi (Terminal Access Functions): Likewise.
3481 * manual/llio.texi (Synchronizing I/O): Likewise.
3482 * manual/math.texi (SVID Random): Likewise.
3483 * manual/message.texi (The catgets Functions): Likewise.
3484 (Translation with gettext): Likewise.
3485 (Locating gettext catalog): Likewise.
3486 (Charset conversion in gettext): Likewise.
3487 * manual/nss.texi (NSS Module Function Internals): Likewise.
3488 * manual/search.texi (Hash Search Function): Likewise.
3489 * manual/setjmp.texi (System V contexts): Likewise.
3490 * manual/time.texi (Sleeping): Likewise.
3491 * manual/users.texi (Lookup User): Likewise.
3492 (Lookup Group): Likewise.
3493
b79dc8d0
AZ
34942019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3495
3496 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3497 fix typo.
3498
890461fe 34992019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
3500
3501 [BZ #19444]
3502 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3503 __builtin_unreachable for default case in switch.
3504 (__ieee754_yn): Likewise.
3505 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3506 (__ieee754_ynl): Likewise.
3507 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3508 (__ieee754_ynl): Likewise.
3509 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3510 (__ieee754_ynl): Likewise.
3511
8b18d418
SN
35122019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3513
3514 * manual/maint.texi: Use @{ and @}.
3515
4392898d
FW
35162019-01-04 Florian Weimer <fweimer@redhat.com>
3517
3518 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3519 function.
3520 (do_in_chroot_1): Call it.
3521 (run_chroot_tests):
3522 Improve error reporting in case it is not possible to create a
3523 collision for the PTY name required by the test.
3524
17cc27d5
AZ
35252019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3526
ce7eb0e9
AZ
3527 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3528 lll_wait_tid with timeout.
3529 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3530 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3531 futex_reltimed_wait_cancelable for cancelabla mode.
3532 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3533 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3534 macros.
3535 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3536 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3537 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3538 SYSCALL_CANCEL_NCS): New macro.
3539 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3540 (lll_timedwait_tid): Remove macro.
3541 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3542 Likewise.
3543 (lll_timedwait_tid): Likewise.
3544 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3545 Likewise.
3546 (lll_timedwait_tid): Likewise.
3547 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3548 Likewise.
3549 (lll_timedwait_tid): Likewise.
3550 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3551 Use INTERNAL_SYSCALL_CANCEL.
3552 * sysdeps/unix/sysv/linux/futex-internal.h
3553 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3554 instead of __pthread_{enable,disable}_asynccancel.
3555 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3556 (lll_futex_wait_cancel): New macro.
3557
0b13e255
AZ
3558 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3559 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3560
85c828a4
AZ
3561 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3562 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3563
d0d7f85f
AZ
3564 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3565 in backtrace analysis.
3566 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3567 side-effects.
3568 (tf_send): Likewise.
3569
17cc27d5
AZ
3570 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3571 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3572 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3573 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3574 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3575 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3576 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3577 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3578 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3579 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3580 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3581 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3582 Likewise.
3583 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3584 tst-cancel-wrappers.sh.
3585 (generated): Remove tst-cancel-wrappers.out.
3586 (tst-cancel-wrappers.out): Remove rule.
3587 * nptl/tst-cancel-wrappers.sh: Remove file.
3588
7d7af8f1
SN
35892019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3590
3591 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3592 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3593 Update.
3594
805334b2
AZ
35952019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3596
3597 [BZ #23640]
3598 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3599 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3600 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3601 close-on-exec reset for adddup2 file action.
3602 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3603
03992356
ZW
36042019-01-03 Zack Weinberg <zackw@panix.com>
3605
3606 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3607 parameter. Only use deprecated scanf when __USE_GNU is defined
3608 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3609 than 201103L, whichever is relevant for the language being compiled.
3610
3611 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3612 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3613 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3614 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3615 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3616
3617 * libio/iovsscanf.c
3618 * libio/fwscanf.c
3619 * libio/iovswscanf.c
3620 * libio/swscanf.c
3621 * libio/vscanf.c
3622 * libio/vwscanf.c
3623 * libio/wscanf.c
3624 * stdio-common/fscanf.c
3625 * stdio-common/scanf.c
3626 * stdio-common/vfscanf.c
3627 * stdio-common/vfwscanf.c
3628 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3629 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3630 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3631 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3632 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3633 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3634 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3635 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3636 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3637 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3638 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3639 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3640 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3641 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3642 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3643
3644 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3645 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3646 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3647 not sscanf.
3648 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3649 with a preprocessor macro.
3650
3651 * stdio-common/bug21.c, stdio-common/scanf14.c:
3652 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3653 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3654 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3655 to xscanf, xfscanf, xsscanf.
3656
3657 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3658 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3659 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3660 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3661 xfscanf, xsscanf.
3662 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3663 override feature selection macros or provide definitions of u_char etc.
3664 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3665 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3666 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3667 with -std=gnu89.
3668
8083afa5
AZ
36692019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3670
6f343c1f
AZ
3671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3672 bits/termios-misc.h.
3673 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3674 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3675 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3676 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3677 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3678 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3679
51f4beb0
AZ
3680 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3681 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3682 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3683 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3684 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3685 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3686 termios-misc.h.
3687 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3688 (sysdep_headers): Add termios-misc.h.
3689
f69c5cb2
AZ
3690 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3691 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3692 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3693
3aa4a07e
AZ
3694 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3695 termios-tcflow.h.
3696 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3697 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3698 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3699 TCSAFLUSH): Move to termios-tcflow.h.
3700 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3701 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3702 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3703 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3704
22679ddf
AZ
3705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3706 termios-c_lflag.h.
3707 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3708 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3709 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3710 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3711 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3712 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3713 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3714 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3715 Likewise.
3716 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3717 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3718 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3719 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3720
72eb6ecc
AZ
3721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3722 termios-c_cflag.h.
3723 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3724 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3725 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3726 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3727 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3728 termios-c_cflag.h.
3729 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3730 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3731 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3732 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3733
9c5d0d02
AZ
3734 [BZ #23783]
3735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3736 termios-baud.h.
3737 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3738 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3739 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3740 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3741 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3742 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3743 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3744 __MAX_BAUD): Move to termios-baud.h.
3745 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3746 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3747 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3748 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3749 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3750
7b832018
AZ
3751 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3752 termios-c_oflag.h.
3753 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3754 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3755 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3756 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3757 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3758 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3759 termios-c_oflag.h.
3760 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3761 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3762 FFR1): Likewise.
3763 [USE_MISC] (XTABS): Likewise.
3764 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3765 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3766 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3767 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3768
3127003e
AZ
3769 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3770 termios-c_iflag.h.
3771 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3772 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3773 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3774 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3775 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3776 IUTF8): Move to termios-c_iflag.h.
3777 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3778 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3779 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3780 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3781
48c1dd96
AZ
3782 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3783 termios-cc.h.
3784 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3785 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3786 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3787 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3788 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3789 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3790 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3791 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3792 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3793 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3794 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3795 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3796
e5a50db3
AZ
3797 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3798 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3799 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3800 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3802 termios-struct.h.
3803 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3804 termios-struct.h.
3805 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
3806 Likewise.
3807 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
3808 Likewise.
3809 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
3810 Likewise.
3811 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
3812 Likewise.
3813 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
3814 _HAVE_C_OSPEED): Define.
3815 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
3816 _HAVE_C_OSPEED): Likewise.
3817 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
3818 _HAVE_C_OSPEED): Likewise.
3819 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
3820 (cfsetospeed): Check for define value instead of existence.
3821 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
3822 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3823 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
3824 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3825 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
3826
8083afa5
AZ
3827 [BZ #17783]
3828 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
3829 Define.
3830 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3831 (TIOCSER_TEMT): Likewise.
3832 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
3833 (TEOCSER_TEMT): Likewise.
3834
4d7d7dc6
P
38352019-01-02 PanderMusubi <pander@users.sourceforge.net>
3836
3837 [BZ #24011]
3838 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
3839
8e291a29
JM
38402019-01-02 Joseph Myers <joseph@codesourcery.com>
3841
3842 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3843
55137f7d
ST
38442019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3845
3846 * sysdeps/htl/pt-barrierattr-setpshared.c
3847 (pthread_barrierattr_setpshared): Add stub warning.
3848 * sysdeps/htl/pt-condattr-setpshared.c
3849 (pthread_condattr_setpshared): Likewise.
3850 * sysdeps/htl/pt-mutexattr-setpshared.c
3851 (pthread_mutexattr_setpshared): Likewise.
3852 * sysdeps/htl/pt-rwlockattr-setpshared.c
3853 (pthread_rwlockattr_setpshared): Likewise.
3854 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
3855 (pthread_mutexattr_setpshared): Likewise.
3856
2ce09e01
JM
38572019-01-02 Joseph Myers <joseph@codesourcery.com>
3858
acb55dcb
JM
3859 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
3860 constants to match with Linux 4.20.
3861
2ce09e01
JM
3862 * sysdeps/mips/mips32/libm-test-ulps: Update.
3863 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3864
fe20bb1d
AJ
38652019-01-02 Aurelien Jarno <aurelien@aurel32.net>
3866
3867 [BZ #24034]
3868 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
3869 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
3870 than __typeof (...) for the a_ptr variable.
3871
2d9837c1
GG
38722019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3873
3874 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
3875 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
3876 * libio/Makefile (tests): Add tst-sprintf-ub and
3877 tst-sprintf-chk-ub.
3878 (CFLAGS-tst-sprintf-ub.c): New variable.
3879 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
3880 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
3881 destination buffer and check for overflows in fortified mode.
3882 * libio/libioP.h (PRINTF_CHK): New macro.
3883 * libio/tst-sprintf-chk-ub.c: New file.
3884 * libio/tst-sprintf-ub.c: Likewise.
3885
d5c6df0b 38862019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
3887
3888 [BZ #24018]
3889 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
3890 failure.
3891
66081e38
FW
38922019-01-02 Florian Weimer <fweimer@redhat.com>
3893
3894 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
3895
04277e02
JM
38962019-01-01 Joseph Myers <joseph@codesourcery.com>
3897
6ef3d225
JM
3898 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
3899 macro.
3900
e3d4e292
JM
3901 * sysdeps/unix/sysv/linux/netpacket/packet.h
3902 (PACKET_IGNORE_OUTGOING): New macro.
3903
f4507797
JM
3904 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
3905 macro.
3906
47ad5e1a
JM
3907 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3908 version to 4.20.
3909 (riscv_flush_icache): New syscall.
3910
7628a1b0
JM
3911 * manual/texinfo.tex: Update to version 2018-12-28.17 with
3912 trailing whitespace removed.
3913 * scripts/config.guess: Update to version 2019-01-01.
3914 * scripts/config.sub: Update to version 2019-01-01.
3915 * scripts/move-if-change: Update from gnulib.
3916
c9123888
JM
3917 * NEWS: Update copyright dates.
3918 * catgets/gencat.c (print_version): Likewise.
3919 * csu/version.c (banner): Likewise.
3920 * debug/catchsegv.sh: Likewise.
3921 * debug/pcprofiledump.c (print_version): Likewise.
3922 * debug/xtrace.sh (do_version): Likewise.
3923 * elf/ldconfig.c (print_version): Likewise.
3924 * elf/ldd.bash.in: Likewise.
3925 * elf/pldd.c (print_version): Likewise.
3926 * elf/sotruss.sh: Likewise.
3927 * elf/sprof.c (print_version): Likewise.
3928 * iconv/iconv_prog.c (print_version): Likewise.
3929 * iconv/iconvconfig.c (print_version): Likewise.
3930 * locale/programs/locale.c (print_version): Likewise.
3931 * locale/programs/localedef.c (print_version): Likewise.
3932 * login/programs/pt_chown.c (print_version): Likewise.
3933 * malloc/memusage.sh (do_version): Likewise.
3934 * malloc/memusagestat.c (print_version): Likewise.
3935 * malloc/mtrace.pl: Likewise.
3936 * manual/libc.texinfo: Likewise.
3937 * nptl/version.c (banner): Likewise.
3938 * nscd/nscd.c (print_version): Likewise.
3939 * nss/getent.c (print_version): Likewise.
3940 * nss/makedb.c (print_version): Likewise.
3941 * posix/getconf.c (main): Likewise.
3942 * scripts/test-installation.pl: Likewise.
3943 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3944
04277e02
JM
3945 * All files with FSF copyright notices: Update copyright dates
3946 using scripts/update-copyrights.
3947 * locale/programs/charmap-kw.h: Regenerated.
3948 * locale/programs/locfile-kw.h: Likewise.
3949
e740e5b1
JM
39502018-12-31 Joseph Myers <joseph@codesourcery.com>
3951
3952 * timezone/zdump.c: Update from tzcode 2018i.
3953 * timezone/zic.c: Likewise.
3954
9b7f98b3
PE
39552018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3956
3957 regex: improve Gnulib port to AIX
3958 From the glibc point of view, this removes duplicate macro
3959 definitions and is obviously safe.
3960 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3961 * posix/regex_internal.h:
3962 (__attribute__, __attribute_warn_unused_result__):
3963 Remove; already defined elsewhere.
3964
b50dd3bc
FW
39652018-12-31 Florian Weimer <fw@deneb.enyo.de>
3966
3967 [BZ #24027]
3968 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3969 copying operation. (ncopies had the wrong type, resulting in an
3970 integer wraparound and too few elements being copied.)
3971
0b9c8490
L
39722018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3973
3974 [BZ #24022]
3975 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3976 <asm/syscalls.h> exists with __has_include__ before including it.
3977
01047fa6
JM
39782018-12-31 Joseph Myers <joseph@codesourcery.com>
3979
3980 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3981 version to 4.20.
3982
6b5c8607 39832018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
3984
3985 * hurd/lookup-retry: Include <unistd.h>.
3986 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3987 Release it on return. Handle "pid" magical lookup retry.
3988
989182c4
RL
39892018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3990
3991 [BZ #10496]
3992 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3993 (t_fmt_ampm): Likewise.
3994 * localedata/locales/aa_ER (t_fmt): Likewise.
3995 (t_fmt_ampm): Likewise.
3996 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3997 (t_fmt_ampm): Likewise.
3998 * localedata/locales/aa_ET (t_fmt): Likewise.
3999 (t_fmt_ampm): Likewise.
4000 * localedata/locales/am_ET (t_fmt): Likewise.
4001 (t_fmt_ampm): Likewise.
4002 * localedata/locales/byn_ER (t_fmt): Likewise.
4003 (t_fmt_ampm): Likewise.
4004 * localedata/locales/om_ET (t_fmt): Likewise.
4005 (t_fmt_ampm): Likewise.
4006 * localedata/locales/sid_ET (t_fmt): Likewise.
4007 (t_fmt_ampm): Likewise.
4008 * localedata/locales/so_DJ (t_fmt): Likewise.
4009 (t_fmt_ampm): Likewise.
4010 * localedata/locales/so_ET (t_fmt): Likewise.
4011 (t_fmt_ampm): Likewise.
4012 * localedata/locales/so_SO (t_fmt): Likewise.
4013 (t_fmt_ampm): Likewise.
4014 * localedata/locales/ti_ER (t_fmt): Likewise.
4015 (t_fmt_ampm): Likewise.
4016 * localedata/locales/ti_ET (t_fmt): Likewise.
4017 (t_fmt_ampm): Likewise.
4018 * localedata/locales/tig_ER (t_fmt): Likewise.
4019 (t_fmt_ampm): Likewise.
4020 * localedata/locales/wal_ET (t_fmt): Likewise.
4021 (t_fmt_ampm): Likewise.
4022
4023 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4024 * localedata/locales/ar_IN (t_fmt): Likewise.
4025 * localedata/locales/bhb_IN (t_fmt): Likewise.
4026 * localedata/locales/bho_IN (t_fmt): Likewise.
4027 * localedata/locales/bi_VU (t_fmt): Likewise.
4028 * localedata/locales/bn_BD (t_fmt): Likewise.
4029 * localedata/locales/bn_IN (t_fmt): Likewise.
4030 * localedata/locales/brx_IN (t_fmt): Likewise.
4031 * localedata/locales/doi_IN (t_fmt): Likewise.
4032 * localedata/locales/en_HK (t_fmt): Likewise.
4033 (t_fmt_ampm): Likewise.
4034 * localedata/locales/en_IN (t_fmt): Likewise.
4035 * localedata/locales/en_PH (t_fmt): Likewise.
4036 * localedata/locales/gu_IN (t_fmt): Likewise.
4037 * localedata/locales/hi_IN (t_fmt): Likewise.
4038 * localedata/locales/hif_FJ (t_fmt): Likewise.
4039 * localedata/locales/hne_IN (t_fmt): Likewise.
4040 * localedata/locales/kn_IN (t_fmt): Likewise.
4041 * localedata/locales/kok_IN (t_fmt): Likewise.
4042 * localedata/locales/ks_IN (t_fmt): Likewise.
4043 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4044 * localedata/locales/mag_IN (t_fmt): Likewise.
4045 * localedata/locales/mai_IN (t_fmt): Likewise.
4046 * localedata/locales/mjw_IN (t_fmt): Likewise.
4047 * localedata/locales/ml_IN (t_fmt): Likewise.
4048 * localedata/locales/mni_IN (t_fmt): Likewise.
4049 * localedata/locales/mr_IN (t_fmt): Likewise.
4050 * localedata/locales/ms_MY (t_fmt): Likewise.
4051 * localedata/locales/pa_IN (t_fmt): Likewise.
4052 * localedata/locales/raj_IN (t_fmt): Likewise.
4053 * localedata/locales/sa_IN (t_fmt): Likewise.
4054 * localedata/locales/sat_IN (t_fmt): Likewise.
4055 * localedata/locales/sd_IN (t_fmt): Likewise.
4056 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4057 * localedata/locales/tcy_IN (t_fmt): Likewise.
4058 * localedata/locales/the_NP (t_fmt): Likewise.
4059 * localedata/locales/to_TO (t_fmt): Likewise.
4060 * localedata/locales/ur_IN (t_fmt): Likewise.
4061
4062 * localedata/locales/hif_FJ (d_t_fmt): Set to
4063 "%A %d %b %Y %I:%M:%S %p".
4064 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4065
4066 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4067 * localedata/locales/ar_BH (t_fmt): Likewise.
4068 * localedata/locales/ar_DZ (t_fmt): Likewise.
4069 * localedata/locales/ar_EG (t_fmt): Likewise.
4070 * localedata/locales/ar_IQ (t_fmt): Likewise.
4071 * localedata/locales/ar_JO (t_fmt): Likewise.
4072 * localedata/locales/ar_KW (t_fmt): Likewise.
4073 * localedata/locales/ar_LB (t_fmt): Likewise.
4074 * localedata/locales/ar_LY (t_fmt): Likewise.
4075 * localedata/locales/ar_OM (t_fmt): Likewise.
4076 * localedata/locales/ar_QA (t_fmt): Likewise.
4077 * localedata/locales/ar_SD (t_fmt): Likewise.
4078 * localedata/locales/ar_SS (t_fmt): Likewise.
4079 * localedata/locales/ar_SY (t_fmt): Likewise.
4080 * localedata/locales/ar_TN (t_fmt): Likewise.
4081 * localedata/locales/ar_YE (t_fmt): Likewise.
4082
4083 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4084 (t_fmt_ampm): Likewise.
4085 * localedata/locales/gez_ET (t_fmt): Likewise.
4086 (t_fmt_ampm): Likewise.
4087
4088 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4089 (t_fmt_ampm): Likewise.
4090 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4091
4092 * localedata/locales/zh_HK (t_fmt):
4093 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4094
4095 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4096 because this locale does not use the 12-hour clock.
4097 (t_fmt): Set to "%Z %H:%M:%S".
4098 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4099
4100 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4101 because this locale does not use the 12-hour clock.
4102 (t_fmt): Set to "%H:%M:%S %Z".
4103 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4104
4105 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4106 because this locale does not use the 12-hour clock.
4107 (t_fmt): Set to "%T".
4108 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4109 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4110
4111 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4112 because this locale does not use the 12-hour clock.
4113 (t_fmt): Set to "%H:%M:%S %Z".
4114 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4115
4116 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4117 because this locale does not use the 12-hour clock.
4118 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4119 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4120
27841a7d
RL
41212018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4122
4123 [BZ #10496]
4124 [BZ #23724]
4125 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4126 (t_fmt_ampm): Likewise.
4127 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4128 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4129 (d_fmt): Set to "%-d.%-m.%y".
4130
0253580a
AZ
41312018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4132
4133 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4134 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4135 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4136 Likewise.
4137 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4138 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4139 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4140 function.
4141 * support/blob_repeat.c (check_mul_overflow_size_t,
4142 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4143
09104e5b
AJ
41442018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4145
4146 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4147
c0feb731
PE
41482018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4149
4150 regex: simplify Gnulib port
4151 This simplifies the code, by removing stuff intended for porting
4152 to Gnulib but no longer needed there.
4153 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4154 uses of libc_hidden_def, weak_alias.
4155 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4156 _Restrict_ except for public-facing headers.
4157 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4158 Remove; already defined elsewhere.
4159 * posix/regex.c, posix/regex_internal.h:
4160 Use __GNUC_PREREQ instead of rolling our own.
4161 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4162
5289f1f5
WD
41632018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4164
4165 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 4166 (memchr_strlen): New function.
5289f1f5 4167
ba4b8fab
L
41682018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4169
4170 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4171 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4172 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4173
9412979a
L
41742018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4175
4176 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4177
8700a785
L
41782018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4179
4180 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4181 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4182 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4183 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4184 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4185 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4186 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4187
57b3ff8e
JM
41882018-12-21 Joseph Myers <joseph@codesourcery.com>
4189
4190 [BZ #24023]
4191 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4192 PLT reference in libc.so.
4193 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4194 _Q_lltoq and _Q_qtod PLT references in libc.so.
4195
90d3320d
WD
41962018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4197
4198 * benchtests/bench-memchr.c: Cleanup defines.
4199 * benchtests/bench-memcmp.c: Likewise.
4200 * benchtests/bench-memset.c: Likewise.
4201 * benchtests/bench-memset-large.c: Likewise.
4202 * benchtests/bench-memset-walk.c: Likewise.
4203 * benchtests/bench-stpcpy.c: Likewise.
4204 * benchtests/bench-stpncpy.c: Likewise.
4205 * benchtests/bench-strcat.c: Likewise.
4206 * benchtests/bench-strchr.c: Likewise.
4207 * benchtests/bench-strcmp.c: Likewise.
4208 * benchtests/bench-strcpy.c: Likewise.
4209 * benchtests/bench-strcspn.c: Likewise.
4210 * benchtests/bench-string.h: Likewise.
4211 * benchtests/bench-strlen.c: Likewise.
4212 * benchtests/bench-strncat.c: Likewise.
4213 * benchtests/bench-strncmp.c: Likewise.
4214 * benchtests/bench-strncpy.c: Likewise.
4215 * benchtests/bench-strnlen.c: Likewise.
4216 * benchtests/bench-strpbrk.c: Likewise.
4217 * benchtests/bench-strrchr.c: Likewise.
4218 * benchtests/bench-strspn.c: Likewise.
4219
192963be
JM
42202018-12-21 Joseph Myers <joseph@codesourcery.com>
4221
5d025ea6
JM
4222 * stdlib/longlong.h: Update from GCC.
4223
192963be
JM
4224 [BZ #23993]
4225 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4226 * configure: Regenerated.
4227 * manual/install.texi (Tools for Compilation): Update minimum GCC
4228 version.
4229 * INSTALL: Regenerated.
4230
6b5c8607 42312018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
4232
4233 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4234
6b5c8607 42352018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
4236
4237 * malloc/malloc.c (mremap_chunk): Additional checks.
4238
5f72b005
MH
42392018-12-21 Mao Han <han_mao@c-sky.com>
4240
4241 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4242 * scripts/build-many-glibcs.py: Add C-SKY targets.
4243 * sysdeps/csky/Implies: New file.
4244 * sysdeps/csky/Makefile: Likewise.
4245 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4246 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4247 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4248 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4249 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4250 * sysdeps/csky/abiv2/memmove.S: Likewise.
4251 * sysdeps/csky/abiv2/memset.S: Likewise.
4252 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4253 * sysdeps/csky/abiv2/start.S: Likewise.
4254 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4255 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4256 * sysdeps/csky/abiv2/strlen.S: Likewise.
4257 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4258 * sysdeps/csky/abort-instr.h: Likewise.
4259 * sysdeps/csky/atomic-machine.h: Likewise.
4260 * sysdeps/csky/bits/endian.h: Likewise.
4261 * sysdeps/csky/bits/fenv.h: Likewise.
4262 * sysdeps/csky/bits/link.h: Likewise.
4263 * sysdeps/csky/bits/setjmp.h: Likewise.
4264 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4265 * sysdeps/csky/bsd-setjmp.S: Likewise.
4266 * sysdeps/csky/configure: Likewise.
4267 * sysdeps/csky/configure.ac: Likewise.
4268 * sysdeps/csky/dl-machine.h: Likewise.
4269 * sysdeps/csky/dl-procinfo.c: Likewise.
4270 * sysdeps/csky/dl-procinfo.h: Likewise.
4271 * sysdeps/csky/dl-sysdep.h: Likewise.
4272 * sysdeps/csky/dl-tls.h: Likewise.
4273 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4274 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4275 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4276 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4277 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4278 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4279 * sysdeps/csky/fpu/fegetround.c: Likewise.
4280 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4281 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4282 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4283 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4284 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4285 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4286 * sysdeps/csky/fpu/fesetround.c: Likewise.
4287 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4288 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4289 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4290 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4291 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4292 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4293 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4294 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4295 * sysdeps/csky/fpu_control.h: Likewise.
4296 * sysdeps/csky/gccframe.h: Likewise.
4297 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4298 * sysdeps/csky/ldsodefs.h: Likewise.
4299 * sysdeps/csky/libc-tls.c: Likewise.
4300 * sysdeps/csky/linkmap.h: Likewise.
4301 * sysdeps/csky/machine-gmon.h: Likewise.
4302 * sysdeps/csky/memusage.h: Likewise.
4303 * sysdeps/csky/nofpu/Implies: Likewise.
4304 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4305 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4306 * sysdeps/csky/nptl/Makefile: Likewise.
4307 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4308 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4309 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4310 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4311 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4312 * sysdeps/csky/nptl/tls.h: Likewise.
4313 * sysdeps/csky/preconfigure: Likewise.
4314 * sysdeps/csky/sfp-machine.h: Likewise.
4315 * sysdeps/csky/sotruss-lib.c: Likewise.
4316 * sysdeps/csky/stackinfo.h: Likewise.
4317 * sysdeps/csky/sysdep.h: Likewise.
4318 * sysdeps/csky/tininess.h: Likewise.
4319 * sysdeps/csky/tst-audit.h: Likewise.
4320 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4321 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4322 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4323 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4324 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4325 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4326 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4327 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4328 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4329 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4330 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4331 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4332 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4333 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4334 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4335 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4336 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4337 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4338 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4339 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4340 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4341 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4342 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4343 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4344 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4345 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4346 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4347 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4348 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4349 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4350 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4351 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4352 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4353 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4354 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4355 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4356 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4357 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4358 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4359 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4360 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4361 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4362 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4363 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4364
6b5c8607 43652018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
4366
4367 * include/time.h (__difftime64): Add.
4368 * time/difftime.c (subtract): convert to 64-bit time.
4369 * time/difftime.c (__difftime64): Add.
4370 * time/difftime.c (__difftime): Wrap around __difftime64.
4371
ab416931
L
43722018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4373
4374 * manual/examples/add.c: Remove redundant "if not".
4375 * manual/examples/argp-ex1.c: Likewise.
4376 * manual/examples/argp-ex2.c: Likewise.
4377 * manual/examples/argp-ex3.c: Likewise.
4378 * manual/examples/argp-ex4.c: Likewise.
4379 * manual/examples/atexit.c: Likewise.
4380 * manual/examples/db.c: Likewise.
4381 * manual/examples/dir.c: Likewise.
4382 * manual/examples/dir2.c: Likewise.
4383 * manual/examples/execinfo.c: Likewise.
4384 * manual/examples/filecli.c: Likewise.
4385 * manual/examples/filesrv.c: Likewise.
4386 * manual/examples/fmtmsgexpl.c: Likewise.
4387 * manual/examples/genpass.c: Likewise.
4388 * manual/examples/inetcli.c: Likewise.
4389 * manual/examples/inetsrv.c: Likewise.
4390 * manual/examples/isockad.c: Likewise.
4391 * manual/examples/longopt.c: Likewise.
4392 * manual/examples/memopen.c: Likewise.
4393 * manual/examples/memstrm.c: Likewise.
4394 * manual/examples/mkdirent.c: Likewise.
4395 * manual/examples/mkfsock.c: Likewise.
4396 * manual/examples/mkisock.c: Likewise.
4397 * manual/examples/mygetpass.c: Likewise.
4398 * manual/examples/pipe.c: Likewise.
4399 * manual/examples/popen.c: Likewise.
4400 * manual/examples/rprintf.c: Likewise.
4401 * manual/examples/search.c: Likewise.
4402 * manual/examples/select.c: Likewise.
4403 * manual/examples/setjmp.c: Likewise.
4404 * manual/examples/sigh1.c: Likewise.
4405 * manual/examples/sigusr.c: Likewise.
4406 * manual/examples/stpcpy.c: Likewise.
4407 * manual/examples/strdupa.c: Likewise.
4408 * manual/examples/strftim.c: Likewise.
4409 * manual/examples/subopt.c: Likewise.
4410 * manual/examples/swapcontext.c: Likewise.
4411 * manual/examples/termios.c: Likewise.
4412 * manual/examples/testopt.c: Likewise.
4413 * manual/examples/testpass.c: Likewise.
4414 * manual/examples/timeval_subtract.c: Likewise.
4415
515f463f
JM
44162018-12-19 Joseph Myers <joseph@codesourcery.com>
4417
da75c1b1
JM
4418 * sysdeps/x86/fpu/math_private.h: New file.
4419 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4420
515f463f
JM
4421 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4422 definition.
4423 (cosh): Likewise.
4424 (tanh): Likewise.
4425
1616d034
TMQMF
44262018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4427
4428 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4429 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4430 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4431 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4432 fields.
4433 (_dl_show_auxv): Give a special treatment to
4434 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4435 and AT_L3_CACHEGEOMETRY.
4436 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4437 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4438 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4439 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4440
61595e3d
AS
44412018-12-19 Andreas Schwab <schwab@suse.de>
4442
4443 * nscd/connections.c (check_use): Don't abort on invalid len.
4444
bbb7dc84
ST
44452018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4446
4447 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4448 values in the 64bit value cases.
4449
6b5c8607 44502018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 4451
c4c2836a
AA
4452 * include/time.h
4453 (__ctime64_r): Add.
4454 * time/ctime_r.c
4455 (__ctime64_r): Add.
4456 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4457
7755e504
AA
4458 * include/time.h
4459 (__ctime64): Add.
4460 * time/gmtime.c
4461 (__ctime64): Add.
4462 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4463
a1d346ce
AA
4464 * include/time.h
4465 (__gmtime64_r): Add.
4466 * time/gmtime.c
4467 (__gmtime64_r): Add.
4468 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4469
131db8b0
AA
4470 * include/time.h
4471 (__gmtime64): Add.
4472 * time/gmtime.c
4473 (__gmtime64): Add.
4474 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4475
64c2277d
AA
4476 * include/time.h
4477 (__localtime64_r): Add.
4478 * time/localtime.c
4479 (__localtime64_r): Add.
4480 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4481
56b98bf1
AZ
44822018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4483
64dd7a16
AZ
4484 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4485 kernel_sigction definition.
4486
8b1d5da5
AZ
4487 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4488
f9eabb19
AZ
4489 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4490
56b98bf1
AZ
4491 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4492 __syscall_rt_sigaction.
4493 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4494 (kernel_sigaction): Use Linux generic defintion.
4495 (STUB): Define.
4496 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4497 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4498 (__syscall_rt_sigaction): Remove implementation.
4499 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4500 hidden.
4501 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4502 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4503 INTERNAL_SYSCALL): Remove definitions.
4504 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4505 action and signal set size.
4506 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4507 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4508
43a45c2d
AZ
45092018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4510 James Clarke <jrtc27@jrtc27.com>
4511
dfa6216f 4512 [BZ #23967]
43a45c2d
AZ
4513 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4514 Define if SA_RESTORER is defined.
4515 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4516 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4517 already defined.
4518 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4519 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4520 definitions.
4521 (HAS_SA_RESTORER): Define.
4522 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4523 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4524 (HAS_SA_RESTORER): Define.
4525 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4526 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4527 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4528 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4529 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4530
646ce7e0
JM
45312018-12-18 Joseph Myers <joseph@codesourcery.com>
4532
4533 * sysdeps/unix/sysv/linux/kernel-features.h
4534 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4535 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4536 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4537 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4538 (__ASSUME_ST_INO_64_BIT): Likewise.
4539 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4540 <kernel-features.h>.
4541 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4542 Remove conditional code.
4543 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4544 <kernel-features.h>.
4545 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4546 Remove conditional code.
4547 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4548 <kernel-features.h>.
4549 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4550 Remove conditional code.
4551 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4552 <kernel-features.h>.
4553 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4554 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4555
80190d2b
SL
45562018-12-18 Stefan Liebler <stli@linux.ibm.com>
4557
4558 * sysdeps/s390/multiarch/ifunc-resolve.h
4559 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4560 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4561 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4562 Delete macro definition.
4563 (s390_libc_ifunc_init): Rename to
4564 s390_libc_ifunc_expr_stfle_init.
4565 * sysdeps/s390/bzero: Use
4566 s390_libc_ifunc_expr_stfle_init instead of
4567 s390_libc_ifunc_init.
4568 * sysdeps/s390/memcmp.c: Likewise.
4569 * sysdeps/s390/memcpy.c: Likewise.
4570 * sysdeps/s390/mempcpy.c: Likewise.
4571 * sysdeps/s390/memset.c: Likewise.
4572
12f0dcb8
SL
45732018-12-18 Stefan Liebler <stli@linux.ibm.com>
4574
4575 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4576 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4577
25654a8c
SL
45782018-12-18 Stefan Liebler <stli@linux.ibm.com>
4579
4580 * sysdeps/s390/multiarch/Makefile
4581 (sysdep_routines): Remove wmemcmp variants.
4582 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4583 * sysdeps/s390/multiarch/ifunc-impl-list.c
4584 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4585 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4586 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4587 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4588 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4589 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4590 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4591 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4592
d2a7436c
SL
45932018-12-18 Stefan Liebler <stli@linux.ibm.com>
4594
4595 * sysdeps/s390/multiarch/Makefile
4596 (sysdep_routines): Remove wmemset variants.
4597 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4598 * sysdeps/s390/multiarch/ifunc-impl-list.c
4599 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4600 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4601 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4602 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4603 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4604 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4605 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4606 * sysdeps/s390/ifunc-wmemset.h: New file.
4607
c62534ae
SL
46082018-12-18 Stefan Liebler <stli@linux.ibm.com>
4609
4610 * sysdeps/s390/multiarch/Makefile
4611 (sysdep_routines): Remove wmemchr variants.
4612 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4613 * sysdeps/s390/multiarch/ifunc-impl-list.c
4614 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4615 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4616 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4617 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4618 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4619 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4620 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4621 * sysdeps/s390/ifunc-wmemchr.h: New file.
4622
79b44cf6
SL
46232018-12-18 Stefan Liebler <stli@linux.ibm.com>
4624
4625 * sysdeps/s390/multiarch/Makefile
4626 (sysdep_routines): Remove wcscspn variants.
4627 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4628 * sysdeps/s390/multiarch/ifunc-impl-list.c
4629 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4630 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4631 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4632 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4633 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4634 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4635 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4636 * sysdeps/s390/ifunc-wcscspn.h: New file.
4637
8e87c1f6
SL
46382018-12-18 Stefan Liebler <stli@linux.ibm.com>
4639
4640 * sysdeps/s390/multiarch/Makefile
4641 (sysdep_routines): Remove wcspbrk variants.
4642 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4643 * sysdeps/s390/multiarch/ifunc-impl-list.c
4644 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4645 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4646 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4647 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4648 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4649 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4650 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4651 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4652
8507e831
SL
46532018-12-18 Stefan Liebler <stli@linux.ibm.com>
4654
4655 * sysdeps/s390/multiarch/Makefile
4656 (sysdep_routines): Remove wcsspn variants.
4657 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4658 * sysdeps/s390/multiarch/ifunc-impl-list.c
4659 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4660 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4661 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4662 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4663 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4664 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4665 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4666 * sysdeps/s390/ifunc-wcsspn.h: New file.
4667
4753713a
SL
46682018-12-18 Stefan Liebler <stli@linux.ibm.com>
4669
4670 * sysdeps/s390/multiarch/Makefile
4671 (sysdep_routines): Remove wcsrchr variants.
4672 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4673 * sysdeps/s390/multiarch/ifunc-impl-list.c
4674 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4675 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4676 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4677 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4678 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4679 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4680 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4681 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4682
c09c1b6f
SL
46832018-12-18 Stefan Liebler <stli@linux.ibm.com>
4684
4685 * sysdeps/s390/multiarch/Makefile
4686 (sysdep_routines): Remove wcschrnul variants.
4687 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4688 * sysdeps/s390/multiarch/ifunc-impl-list.c
4689 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4690 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4691 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4692 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4693 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4694 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4695 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4696 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4697
cf3ccc31
SL
46982018-12-18 Stefan Liebler <stli@linux.ibm.com>
4699
4700 * sysdeps/s390/multiarch/Makefile
4701 (sysdep_routines): Remove wcschr variants.
4702 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4703 * sysdeps/s390/multiarch/ifunc-impl-list.c
4704 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4705 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4706 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4707 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4708 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4709 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4710 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4711 * sysdeps/s390/ifunc-wcschr.h: New file.
4712
e9873e1d
SL
47132018-12-18 Stefan Liebler <stli@linux.ibm.com>
4714
4715 * sysdeps/s390/multiarch/Makefile
4716 (sysdep_routines): Remove wcsncmp variants.
4717 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4718 * sysdeps/s390/multiarch/ifunc-impl-list.c
4719 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4720 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4721 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4722 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4723 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4724 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4725 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4726 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4727
3459e23d
SL
47282018-12-18 Stefan Liebler <stli@linux.ibm.com>
4729
4730 * sysdeps/s390/multiarch/Makefile
4731 (sysdep_routines): Remove wcscmp variants.
4732 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4733 * sysdeps/s390/multiarch/ifunc-impl-list.c
4734 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4735 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4736 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4737 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4738 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4739 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4740 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4741 * sysdeps/s390/ifunc-wcscmp.h: New file.
4742
814a76e1
SL
47432018-12-18 Stefan Liebler <stli@linux.ibm.com>
4744
4745 * sysdeps/s390/multiarch/Makefile
4746 (sysdep_routines): Remove wcsncat variants.
4747 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4748 * sysdeps/s390/multiarch/ifunc-impl-list.c
4749 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4750 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4751 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4752 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4753 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4754 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4755 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4756 * sysdeps/s390/ifunc-wcsncat.h: New file.
4757
3389cae4
SL
47582018-12-18 Stefan Liebler <stli@linux.ibm.com>
4759
4760 * sysdeps/s390/multiarch/Makefile
4761 (sysdep_routines): Remove wcscat variants.
4762 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4763 * sysdeps/s390/multiarch/ifunc-impl-list.c
4764 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4765 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4766 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4767 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4768 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4769 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4770 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4771 * sysdeps/s390/ifunc-wcscat.h: New file.
4772
c3081bcb
SL
47732018-12-18 Stefan Liebler <stli@linux.ibm.com>
4774
4775 * sysdeps/s390/multiarch/Makefile
4776 (sysdep_routines): Remove wcpncpy variants.
4777 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4778 * sysdeps/s390/multiarch/ifunc-impl-list.c
4779 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4780 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4781 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4782 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4783 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4784 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4785 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4786 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4787
0966dd86
SL
47882018-12-18 Stefan Liebler <stli@linux.ibm.com>
4789
4790 * sysdeps/s390/multiarch/Makefile
4791 (sysdep_routines): Remove wcsncpy variants.
4792 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4793 * sysdeps/s390/multiarch/ifunc-impl-list.c
4794 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4795 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4796 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4797 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4798 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4799 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4800 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4801 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4802
0582e428
SL
48032018-12-18 Stefan Liebler <stli@linux.ibm.com>
4804
4805 * sysdeps/s390/multiarch/Makefile
4806 (sysdep_routines): Remove wcpcpy variants.
4807 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
4808 * sysdeps/s390/multiarch/ifunc-impl-list.c
4809 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
4810 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
4811 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
4812 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
4813 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
4814 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
4815 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
4816 * sysdeps/s390/ifunc-wcpcpy.h: New file.
4817
804f2e5c
SL
48182018-12-18 Stefan Liebler <stli@linux.ibm.com>
4819
4820 * sysdeps/s390/multiarch/Makefile
4821 (sysdep_routines): Remove wcscpy variants.
4822 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
4823 * sysdeps/s390/multiarch/ifunc-impl-list.c
4824 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
4825 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
4826 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
4827 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
4828 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
4829 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
4830 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
4831 * sysdeps/s390/ifunc-wcscpy.h: New file.
4832
c7e7cd26
SL
48332018-12-18 Stefan Liebler <stli@linux.ibm.com>
4834
4835 * sysdeps/s390/multiarch/Makefile
4836 (sysdep_routines): Remove wcsnlen variants.
4837 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
4838 * sysdeps/s390/multiarch/ifunc-impl-list.c
4839 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
4840 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
4841 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
4842 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
4843 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
4844 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
4845 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
4846 * sysdeps/s390/ifunc-wcsnlen.h: New file.
4847
2e02d0b7
SL
48482018-12-18 Stefan Liebler <stli@linux.ibm.com>
4849
4850 * sysdeps/s390/multiarch/Makefile
4851 (sysdep_routines): Remove wcslen variants.
4852 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
4853 * sysdeps/s390/multiarch/ifunc-impl-list.c
4854 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
4855 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
4856 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
4857 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
4858 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
4859 * sysdeps/s390/multiarch/wcslen.c: Move to ...
4860 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
4861 * sysdeps/s390/ifunc-wcslen.h: New file.
4862
89bfcbdf
SL
48632018-12-18 Stefan Liebler <stli@linux.ibm.com>
4864
4865 * sysdeps/s390/multiarch/Makefile
4866 (sysdep_routines): Remove memrchr variants.
4867 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
4868 * sysdeps/s390/multiarch/ifunc-impl-list.c
4869 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
4870 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
4871 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
4872 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
4873 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
4874 * sysdeps/s390/multiarch/memrchr.c: Move to ...
4875 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
4876 * sysdeps/s390/ifunc-memrchr.h: New file.
4877
196655ba
SL
48782018-12-18 Stefan Liebler <stli@linux.ibm.com>
4879
4880 * sysdeps/s390/multiarch/Makefile
4881 (sysdep_routines): Remove memccpy variants.
4882 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
4883 * sysdeps/s390/multiarch/ifunc-impl-list.c
4884 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
4885 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
4886 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
4887 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
4888 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
4889 * sysdeps/s390/multiarch/memccpy.c: Move to ...
4890 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
4891 * sysdeps/s390/ifunc-memccpy.h: New file.
4892
4c7b3cec
SL
48932018-12-18 Stefan Liebler <stli@linux.ibm.com>
4894
4895 * sysdeps/s390/multiarch/Makefile
4896 (sysdep_routines): Remove rawmemchr variants.
4897 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
4898 * sysdeps/s390/multiarch/ifunc-impl-list.c
4899 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
4900 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
4901 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
4902 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
4903 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
4904 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
4905 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
4906 * sysdeps/s390/ifunc-rawmemchr.h: New file.
4907
581a051c
SL
49082018-12-18 Stefan Liebler <stli@linux.ibm.com>
4909
4910 * sysdeps/s390/multiarch/Makefile
4911 (sysdep_routines): Remove memchr variants.
4912 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
4913 * sysdeps/s390/multiarch/ifunc-impl-list.c
4914 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
4915 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
4916 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
4917 * sysdeps/s390/multiarch/memchr.c: Move to ...
4918 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
4919 * sysdeps/s390/ifunc-memchr.h: New file.
4920 * sysdeps/s390/s390-64/memchr.S: Move to ...
4921 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
4922 for 31/64bit and ifunc handling.
4923 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4924 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4925 * sysdeps/s390/s390-32/memchr.S: Likewise.
4926
5d2ec20a
SL
49272018-12-18 Stefan Liebler <stli@linux.ibm.com>
4928
4929 * sysdeps/s390/multiarch/Makefile
4930 (sysdep_routines): Remove strcspn variants.
4931 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4932 * sysdeps/s390/multiarch/ifunc-impl-list.c
4933 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4934 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4935 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4936 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4937 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4938 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4939 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4940 * sysdeps/s390/ifunc-strcspn.h: New file.
4941
572cca93
SL
49422018-12-18 Stefan Liebler <stli@linux.ibm.com>
4943
4944 * sysdeps/s390/multiarch/Makefile
4945 (sysdep_routines): Remove strpbrk variants.
4946 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4947 * sysdeps/s390/multiarch/ifunc-impl-list.c
4948 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4949 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4950 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4951 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4952 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4953 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4954 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4955 * sysdeps/s390/ifunc-strpbrk.h: New file.
4956
483fc569
SL
49572018-12-18 Stefan Liebler <stli@linux.ibm.com>
4958
4959 * sysdeps/s390/multiarch/Makefile
4960 (sysdep_routines): Remove strspn variants.
4961 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4962 * sysdeps/s390/multiarch/ifunc-impl-list.c
4963 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4964 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4965 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4966 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4967 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4968 * sysdeps/s390/multiarch/strspn.c: Move to ...
4969 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4970 * sysdeps/s390/ifunc-strspn.h: New file.
4971
26ea8760
SL
49722018-12-18 Stefan Liebler <stli@linux.ibm.com>
4973
4974 * sysdeps/s390/multiarch/Makefile
4975 (sysdep_routines): Remove strrchr variants.
4976 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4977 * sysdeps/s390/multiarch/ifunc-impl-list.c
4978 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4979 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4980 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4981 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4982 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4983 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4984 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4985 * sysdeps/s390/ifunc-strrchr.h: New file.
4986
a1361e65
SL
49872018-12-18 Stefan Liebler <stli@linux.ibm.com>
4988
4989 * sysdeps/s390/multiarch/Makefile
4990 (sysdep_routines): Remove strchrnul variants.
4991 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4992 * sysdeps/s390/multiarch/ifunc-impl-list.c
4993 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4994 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4995 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4996 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4997 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4998 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4999 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5000 * sysdeps/s390/ifunc-strchrnul.h: New file.
5001
32f12653
SL
50022018-12-18 Stefan Liebler <stli@linux.ibm.com>
5003
5004 * sysdeps/s390/multiarch/Makefile
5005 (sysdep_routines): Remove strchr variants.
5006 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5007 * sysdeps/s390/multiarch/ifunc-impl-list.c
5008 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5009 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5010 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5011 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5012 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5013 * sysdeps/s390/multiarch/strchr.c: Move to ...
5014 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5015 * sysdeps/s390/ifunc-strchr.h: New file.
5016
316b8842
SL
50172018-12-18 Stefan Liebler <stli@linux.ibm.com>
5018
5019 * sysdeps/s390/multiarch/Makefile
5020 (sysdep_routines): Remove strncmp variants.
5021 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5022 * sysdeps/s390/multiarch/ifunc-impl-list.c
5023 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5024 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5025 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5026 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5027 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5028 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5029 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5030 * sysdeps/s390/ifunc-strncmp.h: New file.
5031
cdab85fe
SL
50322018-12-18 Stefan Liebler <stli@linux.ibm.com>
5033
5034 * sysdeps/s390/multiarch/Makefile
5035 (sysdep_routines): Remove strcmp variants.
5036 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5037 * sysdeps/s390/multiarch/ifunc-impl-list.c
5038 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5039 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5040 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5041 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5042 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5043 * sysdeps/s390/ifunc-strcmp.h: New file.
5044 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5045 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5046 for 31/64bit and ifunc handling.
5047 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5048 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5049 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5050
b9353351
SL
50512018-12-18 Stefan Liebler <stli@linux.ibm.com>
5052
5053 * sysdeps/s390/multiarch/Makefile
5054 (sysdep_routines): Remove strncat variants.
5055 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5056 * sysdeps/s390/multiarch/ifunc-impl-list.c
5057 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5058 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5059 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5060 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5061 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5062 * sysdeps/s390/multiarch/strncat.c: Move to ...
5063 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5064 * sysdeps/s390/ifunc-strncat.h: New file.
5065
8e5a0afb
SL
50662018-12-18 Stefan Liebler <stli@linux.ibm.com>
5067
5068 * sysdeps/s390/multiarch/Makefile
5069 (sysdep_routines): Remove strcat variants.
5070 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5071 * sysdeps/s390/multiarch/ifunc-impl-list.c
5072 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5073 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5074 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5075 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5076 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5077 * sysdeps/s390/multiarch/strcat.c: Move to ...
5078 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5079 * sysdeps/s390/ifunc-strcat.h: New file.
5080
25218822
SL
50812018-12-18 Stefan Liebler <stli@linux.ibm.com>
5082
5083 * sysdeps/s390/multiarch/Makefile
5084 (sysdep_routines): Remove stpncpy variants.
5085 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5086 * sysdeps/s390/multiarch/ifunc-impl-list.c
5087 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5088 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5089 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5090 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5091 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5092 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5093 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5094 * sysdeps/s390/ifunc-stpncpy.h: New file.
5095
d1bdbf38
SL
50962018-12-18 Stefan Liebler <stli@linux.ibm.com>
5097
5098 * sysdeps/s390/multiarch/Makefile
5099 (sysdep_routines): Remove strncpy variants.
5100 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5101 * sysdeps/s390/multiarch/ifunc-impl-list.c
5102 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5103 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5104 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5105 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5106 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5107 * sysdeps/s390/ifunc-strncpy.h: New file.
5108 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5109 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5110 and adjust ifunc handling.
5111 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5112 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5113 and adjust ifunc handling.
5114 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5115 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5116
97044931
SL
51172018-12-18 Stefan Liebler <stli@linux.ibm.com>
5118
5119 * sysdeps/s390/multiarch/Makefile
5120 (sysdep_routines): Remove stpcpy variants.
5121 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5122 * sysdeps/s390/multiarch/ifunc-impl-list.c
5123 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5124 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5125 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5126 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5127 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5128 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5129 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5130 * sysdeps/s390/ifunc-stpcpy.h: New file.
5131
914a4e05
SL
51322018-12-18 Stefan Liebler <stli@linux.ibm.com>
5133
5134 * sysdeps/s390/multiarch/Makefile
5135 (sysdep_routines): Remove strcpy variants.
5136 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5137 * sysdeps/s390/multiarch/ifunc-impl-list.c
5138 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5139 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5140 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5141 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5142 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5143 * sysdeps/s390/ifunc-strcpy.h: New file.
5144 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5145 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5146 for 31/64bit and ifunc handling.
5147 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5148 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5149 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5150
de10e44d
SL
51512018-12-18 Stefan Liebler <stli@linux.ibm.com>
5152
5153 * sysdeps/s390/multiarch/Makefile
5154 (sysdep_routines): Remove strnlen variants.
5155 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5156 * sysdeps/s390/multiarch/ifunc-impl-list.c
5157 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5158 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5159 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5160 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5161 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5162 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5163 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5164 * sysdeps/s390/ifunc-strnlen.h: New file.
5165
ff3ca374
SL
51662018-12-18 Stefan Liebler <stli@linux.ibm.com>
5167
5168 * sysdeps/s390/multiarch/Makefile
5169 (sysdep_routines): Remove strlen variants.
5170 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5171 * sysdeps/s390/multiarch/ifunc-impl-list.c
5172 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5173 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5174 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5175 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5176 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5177 * sysdeps/s390/multiarch/strlen.c: Move to ...
5178 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5179 * sysdeps/s390/ifunc-strlen.h: New file.
5180
d2c4c403
SL
51812018-12-18 Stefan Liebler <stli@linux.ibm.com>
5182
5183 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5184 * sysdeps/s390/multiarch/ifunc-impl-list.c
5185 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5186 * sysdeps/s390/ifunc-memmem.h: New file.
5187 * sysdeps/s390/memmem.c: Likewise.
5188 * sysdeps/s390/memmem-c.c: Likewise.
5189 * sysdeps/s390/memmem-vx.c: Likewise.
5190
8c25dddd
SL
51912018-12-18 Stefan Liebler <stli@linux.ibm.com>
5192
5193 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5194 * sysdeps/s390/multiarch/ifunc-impl-list.c
5195 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5196 * sysdeps/s390/ifunc-strstr.h: New file.
5197 * sysdeps/s390/strstr.c: Likewise.
5198 * sysdeps/s390/strstr-c.c: Likewise.
5199 * sysdeps/s390/strstr-vx.c: Likewise.
5200
cdd927d9
SL
52012018-12-18 Stefan Liebler <stli@linux.ibm.com>
5202
5203 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5204 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5205 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5206 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5207 New defines.
5208 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5209 * sysdeps/s390/memmove-c.c: New file.
5210 * sysdeps/s390/memmove.c: Likewise.
5211 * sysdeps/s390/multiarch/ifunc-impl-list.c
5212 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5213
2ee1bc57
SL
52142018-12-18 Stefan Liebler <stli@linux.ibm.com>
5215
5216 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5217 * sysdeps/s390/configure.ac: Add check for z13 support.
5218 * sysdeps/s390/configure: Regenerated.
5219
d097d976
SL
52202018-12-18 Stefan Liebler <stli@linux.ibm.com>
5221
5222 * sysdeps/s390/memcopy.h: New file.
5223
e099aab0
SL
52242018-12-18 Stefan Liebler <stli@linux.ibm.com>
5225
5226 * sysdeps/s390/s390-32/bcopy.S: Remove.
5227 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5228
18eb862d
SL
52292018-12-18 Stefan Liebler <stli@linux.ibm.com>
5230
5231 * sysdeps/s390/ifunc-memcpy.h: New File.
5232 * sysdeps/s390/memcpy.S: Move to ...
5233 * sysdeps/s390/memcpy-z900.S ... here.
5234 Move implementations from memcpy-s390x.s to here.
5235 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5236 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5237 Remove memcpy/mempcpy variants.
5238 * sysdeps/s390/Makefile (sysdep_routines):
5239 Add memcpy/mempcpy variants.
5240 * sysdeps/s390/multiarch/ifunc-impl-list.c
5241 (__libc_ifunc_impl_list): Adjust ifunc variants for
5242 memcpy and mempcpy.
5243 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5244 to ...
5245 * sysdeps/s390/memcpy.c: ... here.
5246 Adjust ifunc variants for memcpy.
5247 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5248 * sysdeps/s390/mempcpy.c: ... here.
5249 Adjust ifunc variants for mempcpy.
5250 * sysdeps/s390/mempcpy.S: Delete file.
5251
df3eb8de
SL
52522018-12-18 Stefan Liebler <stli@linux.ibm.com>
5253
5254 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5255 * sysdeps/s390/memcpy.S: ... here.
5256 Adjust to be usable for 31/64bit.
5257 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5258 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5259 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5260 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5261 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5262 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5263 Adjust to be usable for 31/64bit.
5264 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5265 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5266 * sysdeps/s390/multiarch/memcpy.c: ... here.
5267 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5268
b7e024a8
SL
52692018-12-18 Stefan Liebler <stli@linux.ibm.com>
5270
5271 * sysdeps/s390/ifunc-memcmp.h: New File.
5272 * sysdeps/s390/memcmp.S: Move to ...
5273 * sysdeps/s390/memcmp-z900.S ... here.
5274 Move implementations from memcmp-s390x.s to here.
5275 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5276 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5277 Remove memcmp variants.
5278 * sysdeps/s390/Makefile (sysdep_routines):
5279 Add memcmp variants.
5280 * sysdeps/s390/multiarch/ifunc-impl-list.c
5281 (__libc_ifunc_impl_list): Adjust ifunc variants for
5282 memcmp.
5283 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5284 to ...
5285 * sysdeps/s390/memcmp.c: ... here.
5286 Adjust ifunc variants for memcmp.
5287
6c6b8c74
SL
52882018-12-18 Stefan Liebler <stli@linux.ibm.com>
5289
5290 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5291 * sysdeps/s390/memcmp.S: ... here.
5292 Adjust to be usable for 31/64bit.
5293 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5294 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5295 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5296 Remove memcmp.
5297 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5298 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5299 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5300 Adjust to be usable for 31/64bit.
5301 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5302 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5303 * sysdeps/s390/multiarch/memcmp.c: ... here.
5304 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5305
07be3928
SL
53062018-12-18 Stefan Liebler <stli@linux.ibm.com>
5307
5308 * sysdeps/s390/s390-32/bzero.S: Delete file.
5309 * sysdeps/s390/s390-64/bzero.S: Likewise.
5310 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5311 * sysdeps/s390/bzero.c: New file.
5312 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5313 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5314 * sysdeps/s390/multiarch/ifunc-impl-list.c
5315 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5316
712a254a
SL
53172018-12-18 Stefan Liebler <stli@linux.ibm.com>
5318
5319 * sysdeps/s390/ifunc-memset.h: New File.
5320 * sysdeps/s390/memset.S: Move to ...
5321 * sysdeps/s390/memset-z900.S ... here.
5322 Move implementations from memset-s390x.s to here.
5323 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5324 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5325 Remove memset variants.
5326 * sysdeps/s390/Makefile (sysdep_routines):
5327 Add memset variants.
5328 * sysdeps/s390/multiarch/ifunc-impl-list.c
5329 (__libc_ifunc_impl_list): Adjust ifunc variants for
5330 memset.
5331 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5332 to ...
5333 * sysdeps/s390/memset.c: ... here.
5334 Adjust ifunc variants for memset.
5335
5f1743d1
SL
53362018-12-18 Stefan Liebler <stli@linux.ibm.com>
5337
5338 * sysdeps/s390/s390-64/memset.S: Move to ...
5339 * sysdeps/s390/memset.S: ... here.
5340 Adjust to be usable for 31/64bit.
5341 * sysdeps/s390/s390-32/memset.S: Delete File.
5342 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5343 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5344 Remove memset.
5345 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5346 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5347 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5348 Adjust to be usable for 31/64bit.
5349 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5350 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5351 * sysdeps/s390/multiarch/memset.c: ... here.
5352 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5353
e8023f26
SL
53542018-12-18 Stefan Liebler <stli@linux.ibm.com>
5355
5356 * sysdeps/s390/multiarch/ifunc-resolve.h
5357 (s390_libc_ifunc_init, s390_libc_ifunc,
5358 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5359
b8686c0d
SL
53602018-12-18 Stefan Liebler <stli@linux.ibm.com>
5361
5362 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5363 * sysdeps/s390/configure.ac: Add check for z10 support.
5364 * sysdeps/s390/configure: Regenerated.
5365
cd815050
L
53662018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5367
5368 * sysdeps/i386/atomic-machine.h: Merged with ...
5369 * sysdeps/x86_64/atomic-machine.h: To ...
5370 * sysdeps/x86/atomic-machine.h: This. New file.
5371
053c52b1
FW
53722018-12-18 Florian Weimer <fweimer@redhat.com>
5373
5374 Rewrite locale/gen-translit.pl in Python.
5375 * locale/Makefile (generated): Add C-translit.h.
5376 (before-compile): Add $(objpfx)C-translit.h.
5377 (C-translit.h): Move to $(objpfx). Create target directory.
5378 Build using Python script.
5379 * locale/gen-translit.py: New file.
5380 * locale/gen-translit.pl: Remove file.
5381 * locale/C-translit.h.in: Change comment character to '#' for
5382 easier parsing without a C preprocessor.
5383 * locale/C-translit.h: Remove generated file.
5384 * manual/install.texi (Tools for Compilation): Do not mention
5385 C-translit.h.
5386 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5387 Remove locale/C-translit.h.
5388 * scripts/update-copyrights: Likewise.
5389 * INSTALL: Regenerate.
5390
40e6c1ec
FW
53912018-12-18 Florian Weimer <fweimer@redhat.com>
5392
5393 [BZ #23995]
5394 * localedata/locales/bi_VU: Remove executable bit from file.
5395
6b5c8607 53962018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
5397
5398 * include/time.h
5399 (__localtime64): Add.
5400 * manual/maint.texi: Document Y2038 symbol handling.
5401 * time/localtime.c
5402 (__localtime64): Add.
bfb79db4 5403 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 5404
df648905
JM
54052018-12-17 Joseph Myers <joseph@codesourcery.com>
5406
551e81d9
JM
5407 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5408 Do not clobber r12.
5409
df648905
JM
5410 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5411 to allow extra macros from first or second sources.
5412 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5413 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5414 (tests-special): Add $(objpfx)tst-mman-consts.out.
5415 ($(objpfx)tst-mman-consts.out): New makefile target.
5416
6bbfc5c0
MH
54172018-12-17 Mao Han <han_mao@c-sky.com>
5418
5419 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5420 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5421 without stat64 system call support.
5422 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5423 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5424 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5425 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5426 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5427 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5428 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5429 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5430 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5431 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5432 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5433
ef202e53
PE
54342018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5435
5436 regex: fix storage-exhaustion error
5437 [BZ #18040]
5438 * posix/regexec.c (get_subexp):
5439 Do not continue if storage is exhausted.
5440
077caf61
AG
54412018-12-15 Assaf Gordon <assafgordon@gmail.com>
5442
5443 regex: fix heap-use-after-free error
5444 [BZ #18040]
5445 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5446 https://debbugs.gnu.org/32592
5447 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5448 call extend_buffers which reallocates the re_string_t internal buffer.
5449 Local variable 'buf' was not updated in such case, resulting in
5450 use-after-free.
5451 * posix/regexec.c (get_subexp): Update 'buf' after call to
5452 get_subexp_sub.
5453
0c1719e6
FW
54542018-12-15 Florian Weimer <fweimer@redhat.com>
5455
5456 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5457 (minimum_stride_size): Use it.
5458 (support_blob_repeat_allocate): Likewise.
5459
033a2c0a
JM
54602018-12-14 Joseph Myers <joseph@codesourcery.com>
5461
5462 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5463 definition.
5464 (acosh): Likewise.
5465 (atanh): Likewise.
5466
e361dc04
FW
54672018-12-14 Florian Weimer <fweimer@redhat.com>
5468
5469 * manual/process.texi (Process Creation Concepts): Remove
5470 documentation of process (ID) lifetime. List more process
5471 creation functions. Reference Process Identification section.
5472 (Process Identification): Add information about process ID
5473 lifetime. Describe Linux thread/task IDs.
5474 * manual/signal.texi (Signaling Another Process): Mention that the
5475 signal is always sent to the process.
5476
bd51ff5e
GG
54772018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5478
5479 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5480 and tst-ldbl-efgcvt.
5481 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5482 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5483 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5484 (fcvt_tests, output_error, output_r_error, do_test): Use the
5485 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5486 select the type of floating-point variables and arguments; to
5487 produce extra tests for double and conversion specifiers for
5488 printf; and to set the names of called functions.
5489 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5490 in tst-efgcvt-template.c.
5491 * misc/tst-ldbl-efgcvt.c: Likewise.
5492
268bb71e
SL
54932018-12-14 Stefan Liebler <stli@linux.ibm.com>
5494
5495 * nss/Makefile (tst-nss-test3.out): New rule.
5496
db6df070
JM
54972018-12-13 Joseph Myers <joseph@codesourcery.com>
5498
5499 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5500 clobber sp.
5501
ade8b817
CD
55022018-12-13 fanjinke <fanjinke@hygon.cn>
5503
5504 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5505 "HygonGenuine".
5506
3d265911
AS
55072018-12-13 Andreas Schwab <schwab@suse.de>
5508
f21e8f8c 5509 [BZ #23861]
3d265911 5510 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
5511 (__pthread_rwlock_rdlock_full): Update expected value for
5512 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5513 * nptl/tst-rwlock-pwn.c: New file.
5514 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 5515
bf8ae8c0
JM
55162018-12-12 Joseph Myers <joseph@codesourcery.com>
5517
5518 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5519 definition.
5520
de099757
LS
55212018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5522
5523 * benchtests/scripts/compare_bench.py (do_compare): write to
5524 stderr in casestat is not present.
5525 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5526 stderr in case timings field is not present. Also string showing
5527 the output filename goes into the stderr.
5528
1990185f
LS
55292018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5530
5531 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5532 and ZeroDivisorError exceptions.
5533 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5534 argument to loop through user provided statistics.
5535 * benchtests/scripts/compare_bench.py (main): Include the --stats
5536 argument.
5537
587426d4
LS
55382018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5539
5540 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5541 instead of return.
5542
46703efa
FW
55432018-12-12 Florian Weimer <fweimer@redhat.com>
5544
5545 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5546 clause to copyright header.
5547
1d880d4a
TMQMF
55482018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5549
5550 [BZ #23614]
5551 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5552 registers saved in the stack frame.
5553 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5554 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5555
1a502f52
GG
55562018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5557
5558 * include/bits/monetary-ldbl.h: New file.
5559 * include/bits/printf-ldbl.h: Likewise.
5560 * include/bits/stdio-ldbl.h: Likewise.
5561 * include/bits/stdlib-ldbl.h: Likewise.
5562 * include/bits/syslog-ldbl.h: Likewise.
5563 * include/bits/wchar-ldbl.h: Likewise.
5564
df682d1d
GG
55652018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5566
5567 * libio/libio.h: Remove redirection for _IO_vfprintf.
5568
c2c082c1
AS
55692018-12-11 Andreas Schwab <schwab@suse.de>
5570
5571 * Makerules: Remove all references to abilist-pattern.
5572 (update-all-abi): Simplify find expression.
5573
505b5b29
SN
55742018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5575
5576 [BZ #23961]
5577 * math/auto-libm-test-in: Add new test case.
5578 * math/auto-libm-test-out-pow: Regenerated.
5579 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5580
304c61a2
DD
55812018-12-10 DJ Delorie <dj@redhat.com>
5582
5583 [BZ #23948]
5584 * support/test-container.c: Move postclean step to before we
5585 change namespaces.
5586
a8110b72
JM
55872018-12-10 Joseph Myers <joseph@codesourcery.com>
5588
cb7be159
JM
5589 * scripts/gen-as-const.py (main): Handle --python option.
5590 * scripts/gen-py-const.awk: Remove.
5591 * Makerules (py-const-script): Use gen-as-const.py.
5592 ($(py-const)): Likewise.
5593 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5594 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5595 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5596 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5597 ~PTHREAD_MUTEX_NO_ELISION_NP.
5598 * manual/README.pretty-printers: Update reference to
5599 gen-py-const.awk.
5600
a8110b72
JM
5601 * scripts/glibcextract.py: New file.
5602 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5603 or tempfile. Import glibcexctract.
5604 (compute_c_consts): Remove. Moved to glibcextract.py.
5605 (gen_test): Update reference to compute_c_consts.
5606 (main): Likewise.
5607 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5608 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5609 * sysdeps/unix/sysv/linux/Makefile
5610 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5611 Redirect stderr as well as stdout.
5612
f9ba9eb8
RÁE
56132018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5614
5615 [BZ #19767]
5616 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
5617 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5618 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 5619 ALWAYS_USE_VSYSCALL.
b39d961c 5620 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
5621 ALWAYS_USE_VSYSCALL.
5622 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5623 ALWAYS_USE_VSYSCALL.
5624
8d20a2f4
FW
56252018-12-10 Florian Weimer <fweimer@redhat.com>
5626
5627 [BZ #23972]
5628 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5629 offset instead of count for clarity. Fix typo in comment.
5630 (__old_getdents64): Keep track of previous offset. Use it to call
5631 handle_overflow.
5632 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5633 that d_off is never zero.
5634
80472e2f
AS
56352018-12-10 Andreas Schwab <schwab@suse.de>
5636
5637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5638 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5640 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5641 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5642
0afcb29d
JM
56432018-12-10 Joseph Myers <joseph@codesourcery.com>
5644
5645 * timezone/private.h: Update from tzcode 2018g.
5646 * timezone/tzfile.h: Likewise.
5647 * timezone/tzselect.ksh: Likewise.
5648 * timezone/zdump.c: Likewise.
5649 * timezone/zic.c: Likewise.
5650
b93f4052
PP
56512018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5652
5653 [BZ #23490]
5654 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5655 (do_test): Adjust buffer size and fix format.
5656
7c9a7c68
DD
56572018-12-07 DJ Delorie <dj@redhat.com>
5658
5659 [BZ #23907]
5660 * malloc/tst-tcfree3.c: New.
5661 * malloc/Makefile: Add it.
5662
37caec3a
L
56632018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5664
5665 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5666
10446f5d
GG
56672018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5668
5669 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5670 used as a mask for the mode argument of __vfscanf_internal and
5671 __vfwscanf_internal.
5672 * stdio-common/vfscanf-internal.c
5673 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5674 (__strtof128_internal): Define to __wcstof128_internal.
5675 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5676 __strtof128_internal or __wcstof128_internal when the format of
5677 long double is the same as _Float128.
5678
45f33aac
ST
56792018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5680
5681 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5682 * posix/confstr.c (confstr): Rename to __confstr.
5683 (__confstr): Add hidden def.
5684 (confstr): Add weak alias for __confstr.
5685 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5686 confstr.
5687
a092ca94
L
56882018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5689
5690 * NEWS: Mention getcpu.
5691 * include/sched.h (__getcpu): New libc_hidden_proto.
5692 * manual/resource.texi: Document getcpu.
5693 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5694 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5695 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5696 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5697 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5698 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5699 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5700 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5701 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5702 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5703 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5704 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5705 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5706 Likewise.
5707 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5708 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5709 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5711 Likewise.
5712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5713 Likewise.
5714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5715 Likewise.
5716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5717 Likewise.
5718 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5719 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5720 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5721 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5722 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5723 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5724 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5725 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5726 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5727 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5728 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5729 Also check getcpu.
5730
7c857b6f
ST
57312018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5732
5733 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5734 functions.
5735 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5736
3a3fb755
FW
57372018-12-07 Florian Weimer <fweimer@redhat.com>
5738
5739 [BZ #17405]
5740 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5741 * posix/Versions (GLIBC_2.29): Export
5742 posix_spawn_file_actions_addfchdir_np.
5743 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5744 * posix/spawn_faction_destroy.c
5745 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5746 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5747 and the field action.fchdir_action.
5748 * posix/tst-spawn-chdir.c (add_chdir): New function.
5749 (do_test): Add do_fchdir loop. Call add_chdir.
5750 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5751 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5752 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5753 posix_spawn_file_actions_addfchdir_np.
5754 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5755 Likewise.
5756 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5757 Likewise.
5758 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5759 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5760 Likewise.
5761 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5762 Likewise.
5763 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5764 Likewise.
5765 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5766 Likewise.
5767 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5768 Likewise.
5769 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5770 Likewise.
5771 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5772 (GLIBC_2.29): Likewise.
5773 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5774 (GLIBC_2.29): Likewise.
5775 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5776 (GLIBC_2.29): Likewise.
5777 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5778 (GLIBC_2.29): Likewise.
5779 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5780 Likewise.
5781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5782 (GLIBC_2.29): Likewise.
5783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5784 (GLIBC_2.29): Likewise.
5785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5786 (GLIBC_2.29): Likewise.
5787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5788 (GLIBC_2.29): Likewise.
5789 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5790 Likewise.
5791 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5792 Likewise.
5793 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5794 Likewise.
5795 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5796 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5797 Likewise.
5798 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5799 Likewise.
5800 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5801 Likewise.
5802 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5803 Likewise.
5804
c37cd439
JM
58052018-12-06 Joseph Myers <joseph@codesourcery.com>
5806
5807 * manual/texinfo.tex: Update to version 2018-09-21.20 with
5808 trailing whitespace removed.
5809 * scripts/config.guess: Update to version 2018-11-28.
5810 * scripts/config.sub: Update to version 2018-11-28.
5811 * scripts/install-sh: Update to version 2018-03-11.20.
5812 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
5813 * scripts/move-if-change: Update to version 2018-03-07 03:47.
5814
899478c2
FW
58152018-12-07 Florian Weimer <fweimer@redhat.com>
5816
5817 [BZ #23927]
5818 CVE-2018-19591
5819 * inet/tst-if_index-long.c: New file.
5820 * inet/Makefile (tests): Add tst-if_index-long.
5821
f255336a
FW
58222018-12-07 Florian Weimer <fweimer@redhat.com>
5823
5824 * support/check.h (support_record_failure_is_failed): Declare.
5825 * support/descriptors.h: New file.
5826 * support/support_descriptors.c: Likewise.
5827 * support/tst-support_descriptors.c: Likewise.
5828 * support/support_record_failure.c
5829 (support_record_failure_is_failed): New function.
5830 * support/Makefile (libsupport-routines): Add support_descriptors.
5831 (tests): Add tst-support_descriptors.
5832
35caceb1
ZW
58332018-12-05 Zack Weinberg <zackw@panix.com>
5834 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5835
5836 * stdio-common/vfprintf-internal.c
5837 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
5838 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
5839 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
5840 and __no_long_double.
5841 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
5842 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
5843 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
5844 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
5845 and __nldbl_*syslog* functions.
5846 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
5847 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
5848 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
5849 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
5850 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
5851 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
5852 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
5853 (__nldbl_vwprintf, __nldbl_wprintf):
5854 Directly call the appropriate __v*printf_internal routine, passing
5855 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
5856 variable names.
5857 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
5858 (__nldbl___printf_chk, __nldbl___snprintf_chk)
5859 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
5860 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
5861 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
5862 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5863 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
5864 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
5865 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
5866 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
5867 Likewise, and also pass PRINTF_FORTIFY when appropriate.
5868 (__nldbl_syslog, __nldbl_vsyslog):
5869 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
5870 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5871 appropriate.
5872 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5873 appropriate.
5874
4e2f43f8
ZW
58752018-12-05 Zack Weinberg <zackw@panix.com>
5876 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5877
5878 [BZ #11319]
5879 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
5880 Moved here from debug/vsprintf_chk.c.
5881 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
5882 and completion logic for the strfile to match exactly what
5883 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
5884 _IO_str_init_static_internal instead of maxlen-1.
5885 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5886 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
5887 __vsprintf_internal.
5888
5889 * debug/vsprintf_chk.c (__vsprintf_chk)
5890 * debug/sprintf_chk.c (__sprintf_chk):
5891 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
5892 'flags' argument is positive, and slen as maxlen. No need to lock
5893 the FILE and/or construct a temporary FILE. Minimize and normalize
5894 header inclusions and variable names. Do not libc_hidden_def anything.
5895
5896 * debug/asprintf_chk.c (__asprintf_chk)
5897 * debug/dprintf_chk.c (__dprintf_chk)
5898 * debug/fprintf_chk.c (__fprintf_chk)
5899 * debug/fwprintf_chk.c (__fwprintf_chk)
5900 * debug/printf_chk.c (__printf_chk)
5901 * debug/snprintf_chk.c (__snprintf_chk)
5902 * debug/swprintf_chk.c (__swprintf_chk)
5903 * debug/vasprintf_chk.c (__vasprintf_chk)
5904 * debug/vdprintf_chk.c (__vdprintf_chk)
5905 * debug/vfprintf_chk.c (__vfprintf_chk)
5906 * debug/vfwprintf_chk.c (__vfwprintf_chk)
5907 * debug/vprintf_chk.c (__vprintf_chk)
5908 * debug/vsnprintf_chk.c (__vsnprintf_chk)
5909 * debug/vswprintf_chk.c (__vswprintf_chk)
5910 * debug/vwprintf_chk.c (__vwprintf_chk)
5911 * debug/wprintf_chk.c (__wprintf_chk):
5912 Directly call the corresponding vxxprintf_internal function, passing
5913 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
5914 the FILE and/or construct a temporary FILE. Minimize and normalize
5915 header inclusions and variable names. Do not libc_hidden_def anything.
5916
5917 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
5918 __obstack_vprintf_internal.
5919 (__obstack_vprintf_chk): Convert into a wrapper that calls
5920 __obstack_vprintf_internal (these two functions already had the
5921 same code) and move to new file...
5922 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
5923 file.
5924 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5925 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5926 * debug/Makefile (routines): Add vobprintf_chk.
5927
5928 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5929 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5930 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5931 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5932 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5933 (__nldbl___obstack_vfprintf_chk):
5934 Directly call the corresponding vxxprintf_internal function,
5935 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5936 duplicate comparison of slen with 0 or maxlen from the corresponding
5937 non-__nldbl function.
5938
5939 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5940 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5941 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5942 Remove libc_hidden_proto.
5943
5944 * stdio-common/vfprintf-internal.c
5945 (__vfprintf_internal, __vfwprintf_internal):
5946 Do not check _IO_FLAGS2_FORTIFY.
5947 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5948 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5949 a comment explaining why it has the maxlen argument.
5950 (_IO_acquire_lock_clear_flags2_fct): Remove.
5951 (_IO_acquire_lock_clear_flags2): Remove.
5952 (_IO_release_lock): Remove conditional statement which will
5953 now never execute.
5954 (_IO_acquire_lock): Remove variable which is now unused.
5955 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5956 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5957
5958 * stdio-common/Makefile (tests): Add tst-bz11319 and
5959 tst-bz11319-fortify2.
5960 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5961 * stdio-common/tst-bz11319-fortify2.c: New file.
5962 * stdio-common/tst-bz11319.c: Likewise.
5963
124fc732
ZW
59642018-12-05 Zack Weinberg <zackw@panix.com>
5965 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5966
5967 * misc/syslog.c: Include libioP.h, not iolibio.h.
5968 (__vsyslog_internal): New function with the former body of
5969 __vsyslog_chk; takes mode_flags argument same as
5970 __v*printf_internal. Call __vfprintf_internal directly.
5971
5972 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5973 Remove libc_hidden_def.
5974 (__syslog, __syslog_chk): Use __vsyslog_internal.
5975 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5976
5977 * include/sys/syslog.h: Add multiple inclusion guard.
5978 Add prototype for __vsyslog_internal.
5979 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5980
5981 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5982 Use __vsyslog_internal.
5983
698fb75b
ZW
59842018-12-05 Zack Weinberg <zackw@panix.com>
5985 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5986
5987 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5988 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5989 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5990 New functions.
5991 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5992 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5993
5994 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5995 Include wctype.h here if COMPILE_WPRINTF is defined.
5996 Define __vfprintf_internal or __vfwprintf_internal, depending
5997 on COMPILE_WPRINTF.
5998 Temporarily, on entry to this function, update mode_flags
5999 according to the environmental settings corresponding to
6000 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6001 Throughout, check mode_flags instead of __ldbl_is_dbl and
6002 _IO_FLAGS2_FORTIFY on the destination FILE.
6003 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6004 Include vfprintf-internal.c. Don't include wctype.h.
6005 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6006 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6007 and vfprintf.
6008 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6009 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6010 and vfwprintf.
6011 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6012
6013 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6014 and add mode_flags argument; use __vfprintf_internal.
6015 (__vdprintf): New function. Alias vdprintf to this.
6016 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6017 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6018 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6019 (__obstack_printf): Use __obstack_printf_internal.
6020 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6021 public aliases __vsnprintf and vsnprintf.
6022 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6023 called internally.
6024 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6025 public aliases _IO_vsprintf and vsprintf.
6026 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6027 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6028 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6029 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6030 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6031
6032 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6033 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6034 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6035 * stdio-common/printf.c: Use __vfprintf_internal.
6036
6037 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6038 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6039 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6040
6041 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6042 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6043 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6044 __vfwprintf_internal.
6045
6046 * libio/libio.h: Remove libc_hidden_proto and declaration for
6047 _IO_vfprintf.
6048 Remove declaration of _IO_vfwprintf.
6049 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6050 _IO_vsprintf.
6051 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6052 _IO_obstack_printf.
6053 * include/stdio.h: Add prototype for __vasprintf.
6054 (__vsnprintf): Remove declaration, because there are no more
6055 internal calls.
6056 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6057 declaration, because there are no more internal calls.
6058
6059 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6060 __vsnprintf_internal, instead of _IO_vsnprintf.
6061 * argp/argp-help.c (__argp_error, __argp_failure): Use
6062 __vasprintf_internal, instead of _IO_vasprintf.
6063 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6064 redefine, because there are no more internal calls.
6065
d91798b3
ZW
60662018-12-05 Zack Weinberg <zackw@panix.com>
6067 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6068
6069 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6070 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6071 Include libio/strfile.h instead of libioP.h.
6072 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6073 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6074 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6075 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6076 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6077 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6078 necessary. Do not set __no_long_double. Normalize variable names.
6079 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6080 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6081 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6082 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6083 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6084 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6085 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6086 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6087 Do not set __no_long_double. Normalize variable names.
6088
b87eb3f8
ZW
60892018-12-05 Zack Weinberg <zackw@panix.com>
6090 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6091
6092 * stdio-common/isoc99_scanf.c
6093 * stdio-common/isoc99_fscanf.c
6094 * stdio-common/isoc99_sscanf.c
6095 * stdio-common/isoc99_vscanf.c
6096 * stdio-common/isoc99_vfscanf.c
6097 * stdio-common/isoc99_vsscanf.c
6098 * wcsmbs/isoc99_wscanf.c
6099 * wcsmbs/isoc99_fwscanf.c
6100 * wcsmbs/isoc99_swscanf.c
6101 * wcsmbs/isoc99_vwscanf.c
6102 * wcsmbs/isoc99_vfwscanf.c
6103 * wcsmbs/isoc99_vswscanf.c:
6104 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6105 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6106 No need to lock and unlock the FILE passed to that function.
6107
6108 * stdio-common/vfscanf-internal.c
6109 (__vfscanf_internal, __vfwscanf_internal):
6110 Don't look at _IO_FLAGS2_SCANF_STD.
6111 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6112 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6113 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6114
349718d4
ZW
61152018-12-05 Zack Weinberg <zackw@panix.com>
6116 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6117
6118 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6119 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6120 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6121 * libio/strfile.h: Add multiple inclusion guard.
6122 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6123
6124 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6125 consistency with the other version of this file.
6126 (ldbl_compat_symbol): New macro.
6127 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6128 New macro.
6129
6130 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6131 Define __vfscanf_internal or __vfwscanf_internal, depending on
6132 COMPILE_WSCANF; don't define any other public symbols.
6133 Remove errval and code to set errp.
6134 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6135 as the mode_flags argument.
6136 (encode_error, conv_error, input_error): Don't set errval.
6137 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6138 Include vfscanf-internal.c.
6139 * stdio-common/vfscanf.c: New file defining the public entry
6140 point vfscanf, which calls __vfscanf_internal.
6141 * stdio-common/vfwscanf.c: New file defining the public entry
6142 point vfwscanf, which calls __vfwscanf_internal.
6143
6144 * stdio-common/iovfscanf.c: New file.
6145 * stdio-common/iovfwscanf.c: Likewise.
6146
6147 * stdio-common/Makefile (routines): Add vfscanf-internal,
6148 vfwscanf-internal, iovfscanf, iovfwscanf.
6149 * stdio-common/Versions: Mention GLIBC_2.29, so that
6150 it can be used in SHLIB_COMPAT expressions.
6151 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6152 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6153 Call __vfscanf_internal, instead of _IO_vfscanf.
6154 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6155 _IO_vfscanf.
6156 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6157 _IO_vfwscanf.
6158
6159 * libio/iovsscanf.c: Clean up includes, when possible. Use
6160 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6161 __vfscanf_internal or __vfwscanf_internal directly.
6162 * libio/iovswscanf.c: Likewise.
6163 * libio/swscanf.c: Likewise.
6164 * libio/vscanf.c: Likewise.
6165 * libio/vwscanf.c: Likewise.
6166 * libio/wscanf.c: Likewise.
6167 * stdio-common/isoc99_fscanf.c: Likewise.
6168 * stdio-common/isoc99_scanf.c: Likewise.
6169 * stdio-common/isoc99_sscanf.c: Likewise.
6170 * stdio-common/isoc99_vfscanf.c: Likewise.
6171 * stdio-common/isoc99_vscanf.c: Likewise.
6172 * stdio-common/isoc99_vsscanf.c: Likewise.
6173 * stdio-common/scanf.c: Likewise.
6174 * stdio-common/sscanf.c: Likewise.
6175 * wcsmbs/isoc99_fwscanf.c: Likewise.
6176 * wcsmbs/isoc99_swscanf.c: Likewise.
6177 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6178 * wcsmbs/isoc99_vswscanf.c: Likewise.
6179 * wcsmbs/isoc99_vwscanf.c: Likewise.
6180 * wcsmbs/isoc99_wscanf.c: Likewise.
6181
6b5c8607 61822018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
6183
6184 * include/time.h
6185 (__tz_compute): Replace time_t with __time64_t.
6186 (__tz_convert): Replace time_t* with __time64_t.
6187 (__offtime): Replace time_t* with __time64_t.
6188 * time/gmtime.c
6189 (__gmtime_r): Adjust call to __tz_convert.
6190 (gmtime): Likewise.
6191 * time/localtime.c
6192 (__localtime_r): Likewise.
6193 (localtime): Likewise.
6194 * time/offtime.c: Replace time_t with __time64_t.
6195 * time/tzset.c: Likewise.
6196
bd598da9
JM
61972018-12-04 Joseph Myers <joseph@codesourcery.com>
6198
6199 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6200 dynamic linker unless [$(run-built-tests) = yes].
6201
b2e93de0
DD
62022018-12-03 DJ Delorie <dj@delorie.com>
6203
6204 * support/test-container.c (check_for_unshare_hints): New.
6205 (main): Call it if unshare fails. Add support for "su" scriptlet
6206 command.
6207
477a02f6
JM
62082018-12-03 Joseph Myers <joseph@codesourcery.com>
6209
6210 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6211 'START' to indicate that start text should be output.
6212 (gen_test): Likewise.
6213 (main): Generate 'START' for first symbol or '--' line, or at end
6214 of input if not previously generated.
6215
6af956e5
RÁE
62162018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6217
6218 [BZ #19767]
6219 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6220 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6221 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6222 ALWAYS_USE_VSYSCALL.
6223
f5ec0ea9
AZ
62242018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6225
6226 [BZ #23913]
6227 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6228 new_argv by one.
6229
8cebd4ff
CD
62302018-12-03 Carlos O'Donell <carlos@redhat.com>
6231
6232 [BZ #23923]
6233 * locale/programs/localedef.c: Declare boolean hard_links default true.
6234 (options): Add --no-hard-links option.
6235 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6236 * locale/programs/localedef.h: Declare prototype for hard_links.
6237 * locale/programs/locfile.c (write_locale_data): Don't use hard
6238 links if hard_links is false.
6239
c22e4c2a
L
62402018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6241
6242 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6243 cpu_features_basic.
6244 (__cache_sysconf): Likewise.
6245 (init_cacheinfo): Likewise.
6246 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6247 populate COMMON_CPUID_INDEX_80000007 and
6248 COMMON_CPUID_INDEX_80000008.
6249 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6250 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6251 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6252 (init_cpu_features): Use _Static_assert on
6253 index_arch_Fast_Unaligned_Load.
6254 __get_cpuid_registers and __get_arch_feature. Updated for
6255 cpu_features_basic. Set stepping in cpu_features.
6256 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6257 (FEATURE_INDEX_2): New.
6258 (FEATURE_INDEX_MAX): Changed to enum.
6259 (COMMON_CPUID_INDEX_D_ECX_1): New.
6260 (COMMON_CPUID_INDEX_80000007): Likewise.
6261 (COMMON_CPUID_INDEX_80000008): Likewise.
6262 (cpuid_registers): Likewise.
6263 (cpu_features_basic): Likewise.
6264 (CPU_FEATURE_USABLE): Likewise.
6265 (bit_arch_XXX_Usable): Likewise.
6266 (cpu_features): Use cpuid_registers and cpu_features_basic.
6267 (bit_arch_XXX): Reweritten.
6268 (bit_cpu_XXX): Likewise.
6269 (index_cpu_XXX): Likewise.
6270 (reg_XXX): Likewise.
6271 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6272 <support/check.h>.
6273 (CHECK_CPU_FEATURE): New.
6274 (CHECK_CPU_FEATURE_USABLE): Likewise.
6275 (cpu_kinds): Likewise.
6276 (do_test): Print vendor, family, model and stepping. Check
6277 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6278 (TEST_FUNCTION): Removed.
6279 Include <support/test-driver.c> instead of
6280 "../../test-skeleton.c".
6281 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6282 Check POPCNT instead of POPCOUNT.
6283 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6284
7b36d26b
ST
62852018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6286
6287 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6288 there is no element in `consts'.
6289
02cd5c1a
FW
62902018-12-01 Florian Weimer <fweimer@redhat.com>
6291
6292 * support/support_capture_subprocess.c
6293 (support_capture_subprocess): Check that pipe descriptors have
6294 expected values. Close original pipe descriptors in subprocess.
6295
fc493bc9
ST
62962018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6297
6298 [BZ #23032]
6299 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6300 attr with __pthread_default_barrierattr.
6301 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6302 attr with __pthread_default_condattr.
6303 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6304 attr with __pthread_default_mutexattr.
6305 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6306 attr with __pthread_default_rwlockattr.
6307
6310e6be
KW
63082018-12-01 Kemi Wang <kemi.wang@intel.com>
6309
6310 * manual/tunables.texi (POSIX Thread Tunables): New node.
6311 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6312 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6313 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6314 __pthread_tunables_init.
6315 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6316 (max_adaptive_count): Define.
6317 * nptl/pthread_mutex_conf.c: New file.
6318 * nptl/pthread_mutex_conf.h: New file.
6319 * sysdeps/generic/adaptive_spin_count.h: New file.
6320 * sysdeps/nptl/dl-tunables.list: New file.
6321 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6322 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6323 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6324 Likewise.
6325
8e67b39e
PP
63262018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6327
6328 [BZ #20544]
6329 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6330 * stdlib/on_exit.c (__on_exit): Likewise.
6331 * stdlib/Makefile (tests): Add tst-bz20544.
6332 * stdlib/tst-bz20544.c: New test.
6333
15b8d67e
RÁE
63342018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6335
6336 [BZ #19767]
6337 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6338 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6339 New.
6340
5e63c240
FW
63412018-11-30 Florian Weimer <fweimer@redhat.com>
6342
6343 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6344 Extend error logging.
6345 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6346 symbol.
6347
71058602 63482018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 6349
5fb7fc96
AZ
6350 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6351 __sigismember instead of sigismember.
6352 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6353 cancel_handler): New definitions.
6354 (do_system): Use posix_spawn instead of fork and execl and remove
6355 reentracy code.
6356 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6357 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6358 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6359 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6360 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6361 * sysdeps/unix/sysv/linux/system.c: Likewise.
6362
14d0e87d
AZ
6363 [BZ #22834]
6364 [BZ #17490]
6365 * NEWS: Add new semantic for atfork with popen and system.
6366 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6367 fork and execl.
6368
e5d262ef
TMQMF
63692018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6370
6371 [BZ #23690]
6372 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6373 modification order when accessing reloc_result->addr.
6374 * include/link.h (reloc_result): Add field init.
6375 * nptl/Makefile (tests): Add tst-audit-threads.
6376 (modules-names): Add tst-audit-threads-mod1 and
6377 tst-audit-threads-mod2.
6378 Add rules to build tst-audit-threads.
6379 * nptl/tst-audit-threads-mod1.c: New file.
6380 * nptl/tst-audit-threads-mod2.c: Likewise.
6381 * nptl/tst-audit-threads.c: Likewise.
6382 * nptl/tst-audit-threads.h: Likewise.
6383
7e1d4240
JM
63842018-11-30 Joseph Myers <joseph@codesourcery.com>
6385
6386 * scripts/gen-as-const.py: New file.
6387 * scripts/gen-as-const.awk: Remove.
6388 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6389 gen-as-const.py.
6390 ($(objpfx)test-as-const-%.c): Likewise.
6391
ce7387cc
L
63922018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6393
6394 * elf/dl-exception.c: Include <_itoa.h>.
6395
c6a5bdc1
ST
63962018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6397
6398 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6399 returned by __f_setlk.
6400
a5275ba5
L
64012018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6402 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6403
6404 * elf/Makefile (tests-internal): Add tst-create_format1.
6405 * elf/dl-exception.c (_dl_exception_create_format): Support
6406 %x, %lx and %zx.
6407 * elf/tst-create_format1.c: New file.
6408
3a67e81d
CAC
64092018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6410
6411 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6412 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6413 gnulib.)
6414 * argp/argp-help.c (__argp_failure): Likewise.
6415
4975f0c3
MH
64162018-11-29 Mao Han <han_mao@c-sky.com>
6417
6418 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6419 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6420 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6421 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6422 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6423 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6424 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6425 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6426 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6427 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6428 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6429 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6430 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6431 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6432 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6433 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6434 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6435 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6436 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6437 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6438 (R_CKCORE_TLS_TPOFF32): New defines.
6439
250102c8
FW
64402018-11-29 Florian Weimer <fweimer@redhat.com>
6441
6442 * posix/Makefile (before-compile): Remove testcases.h and
6443 ptestcases.h.
6444 (generated): Add testcases.h and ptestcases.h.
6445 (testcases.h, ptestcases.h): Move to $(objpfx).
6446 (runtests.o): Add dependency on testcases.h.
6447 (runptests.o): Add dependency on ptestcases.h.
6448 * posix/testcases.h, posix/ptestcases.h: Remove files.
6449 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6450 not touch posix/testcases.h and posix/ptestcases.h.
6451
96cd0558
FW
64522018-11-28 Florian Weimer <fweimer@redhat.com>
6453
6454 support: Add signal support to support_capture_subprocess_check.
6455 * support/capture_subprocess.h (support_capture_subprocess_check):
6456 Adjust comment and rename parameter.
6457 * support/support_capture_subprocess_check.c
6458 (print_actual_status): New function.
6459 (support_capture_subprocess_check): Support negative
6460 status_or_signal. Call print_actual_status.
6461 * support/tst-support_capture_subprocess.c (do_test): Call
6462 support_capture_subprocess_check.
6463 * libio/tst-vtables-common.c (termination_status)
6464 (init_termination_status): Remove.
6465 (check_for_termination): Adjust support_capture_subprocess_check
6466 call.
6467 (do_test): Remove call to init_termination_status.
6468
530504e3
JM
64692018-11-28 Joseph Myers <joseph@codesourcery.com>
6470
6471 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6472 source directory instead of a copy.
6473 (CommandList.create_copy_dir): Remove.
6474
9a0b6970
SL
64752018-11-28 Stefan Liebler <stli@linux.ibm.com>
6476
6477 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6478
47d8d9a2
FW
64792018-11-28 Florian Weimer <fweimer@redhat.com>
6480
6481 * support/support.h (support_quote_string): Do not use str
6482 parameter name.
6483
b473b7d8
JM
64842018-11-27 Joseph Myers <joseph@codesourcery.com>
6485
6486 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6487 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6488
c74a91de
FW
64892018-11-27 Florian Weimer <fweimer@redhat.com>
6490
6491 * support/support.h (support_quote_string): Declare.
6492 * support/support_quote_string.c: New file.
6493 * support/tst-support_quote_string.c: Likewise.
6494 * support/Makefile (libsupport-routines): Add
6495 support_quote_string.
6496 (tests): Add tst-support_quote_string.
6497
d527c860
FW
64982018-11-27 Florian Weimer <fweimer@redhat.com>
6499
6500 [BZ #23927]
6501 CVE-2018-19591
6502 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6503 descriptor leak in case of ENODEV error.
6504
979cfed0
RÁE
65052018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6506
6507 [BZ #19767]
6508 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6509 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6510 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6511
ce035c6e
CD
65122018-11-26 Carlos O'Donell <carlos@redhat.com>
6513
6514 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6515 Error for unknown lines.
6516
2bd0bfcc
JM
65172018-11-26 Joseph Myers <joseph@codesourcery.com>
6518
6519 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6520 Touch additional files.
6521
affec03b
FW
65222018-11-26 Florian Weimer <fweimer@redhat.com>
6523
6524 [BZ #23907]
6525 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6526 double-frees.
6527
8ae74ead
RÁE
65282018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6529
6530 [BZ #19767]
6531 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6532 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6533 SHARED. Include sysdep.h.
6534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6535 ALWAYS_USE_VSYSCALL.
6536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6537 ALWAYS_USE_VSYSCALL.
6538
1e8bdc3a
RÁE
65392018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6540
6541 [BZ #19767]
6542 * nptl/Makefile (tests-static): Add tst-cond11-static.
6543 (tests): Likewise.
6544 * nptl/tst-cond11-static.c: New File.
6545 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6546 tst-affinity-static.
6547 (tests): Likewise.
6548 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6549 instead of SHARED.
6550 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6551 (USE_VSYSCALL): Likewise.
6552 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6553 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6554 instead of SHARED.
6555 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6556 SHARED.
6557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6558 New.
6559
1283c478
JM
65602018-11-23 Joseph Myers <joseph@codesourcery.com>
6561
6562 [BZ #23915]
6563 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6564 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6565 Undefine.
6566
c089fd80
L
65672018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6568
6569 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6570 (tst-cet-legacy-1a-ARGS): New.
6571 ($(objpfx)tst-cet-legacy-1a): New target.
6572 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6573
cc6c89fa
JM
65742018-11-22 Joseph Myers <joseph@codesourcery.com>
6575
95edd05c
JM
6576 * conform/conformtest.py (CompileSubTest.__init__): Set
6577 self.run_early to False.
6578 (ExecuteSubTest.__init__): Likewise.
6579 (HeaderTests.run): Try running all non-optional, non-XFAILed
6580 compilation tests in a single execution of the compiler.
6581
cc6c89fa
JM
6582 * conform/conformtest.py (CompileSubTest): New class.
6583 (ExecuteSubTest): Likewise.
6584 (ElementTest.run): Rename to gen_subtests. Append tests to
6585 self.subtests instead of running them.
6586 (ConstantTest.run): Likewise.
6587 (SymbolTest.run): Likewise.
6588 (TypeTest.run): Likewise.
6589 (TagTest.run): Likewise.
6590 (FunctionTest.run): Likewise.
6591 (VariableTest.run): Likewise.
6592 (MacroFunctionTest.run): Likewise.
6593 (MacroStrTest.run): Likewise.
6594 (HeaderTests.handle_test_line): Generate subtests for tests.
6595 (HeaderTests.run): Run subtests for tests.
6596
a502c529
SN
65972018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6598
6599 * math/Versions (GLIBC_2.29): Add pow.
6600 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6601 symbol.
6602 * math/w_pow.c: New file.
6603 * sysdeps/i386/fpu/w_pow.c: New file.
6604 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6605 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6606 and add necessary aliases.
6607 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6608 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6609 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6610 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6611 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6612 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6613 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6614 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6615 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6616 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6617 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6618 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6619 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6620 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6621 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6626 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6627 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6628 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6629 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6630 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6631 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6632 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6633 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6634 __pow.
6635 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6636 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6637 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6638
718d6542
SN
66392018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6640
6641 * math/Versions (GLIBC_2.29): Add log2.
6642 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6643 symbol.
6644 * math/w_log2.c: New file.
6645 * sysdeps/i386/fpu/w_log2.c: New file.
6646 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6647 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6648 and add necessary aliases.
6649 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6650 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6651 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6652 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6653 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6654 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6655 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6656 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6657 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6658 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6659 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6660 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6661 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6662 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6663 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6668 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6669 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6670 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6671 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6672 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6673 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6674 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6675
f29b7c49
SN
66762018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6677
6678 * math/Versions (GLIBC_2.29): Add log.
6679 * math/w_log_compat.c (__log_compat): Change to versioned compat
6680 symbol.
6681 * math/w_log.c: New file.
6682 * sysdeps/i386/fpu/w_log.c: New file.
6683 * sysdeps/ia64/fpu/e_log.S: Update.
6684 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6685 and add necessary aliases.
6686 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6687 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6688 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6689 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6690 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6691 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6692 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6693 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6694 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6695 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6696 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6697 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6698 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6699 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6700 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6705 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6706 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6707 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6708 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6709 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6710 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6711 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6712 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6713 __log.
6714 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6715 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6716 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6717 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6718
c20a1056
SN
67192018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6720
6721 * math/Versions (GLIBC_2.29): Add exp and exp2.
6722 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6723 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6724 * math/w_exp_compat.c (__exp_compat): Likewise.
6725 * math/w_exp.c: New file.
6726 * math/w_exp2.c: New file.
6727 * sysdeps/i386/fpu/w_exp.c: New file.
6728 * sysdeps/i386/fpu/w_exp2.c: New file.
6729 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6730 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6731 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6732 and add necessary aliases.
6733 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6734 and add necessary aliases.
6735 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6736 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6737 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6738 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6739 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6740 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6741 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6742 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6743 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6744 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6745 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6746 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6747 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6748 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6749 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6750 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6751 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6756 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6757 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6758 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6759 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6760 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6761 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6762 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6763 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6764 (__ieee754_exp): Rename to __exp.
6765 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6766 (__ieee754_exp): Rename to __exp.
6767 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6768 (__ieee754_exp): Rename to __exp.
6769 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6770 __exp.
6771 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6772
bcdaad21
DD
67732018-11-20 DJ Delorie <dj@redhat.com>
6774
6775 * malloc/malloc.c (tcache_entry): Add key field.
6776 (tcache_put): Set it.
6777 (tcache_get): Likewise.
6778 (_int_free): Check for double free in tcache.
6779 * malloc/tst-tcfree1.c: New.
6780 * malloc/tst-tcfree2.c: New.
6781 * malloc/Makefile: Run the new tests.
6782 * manual/probes.texi: Document memory_tcache_double_free probe.
6783
6784 * dlfcn/dlerror.c (check_free): Prevent double frees.
6785
5770c0ad
WD
67862018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6787
6788 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6789
9a62a939
JM
67902018-11-20 Joseph Myers <joseph@codesourcery.com>
6791
6792 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6793 in tests. Use names for format arguments.
6794 (ConstantTest.run): Likewise.
6795 (SymbolTest.run): Likewise.
6796 (TypeTest.run): Likewise.
6797 (TagTest.run): Likewise.
6798 (FunctionTest.run): Likewise.
6799 (VariableTest.run): Likewise.
6800 (MacroFunctionTest.run): Likewise.
6801 (MacroStrTest.run): Likewise.
6802 (HeaderTests.__init__): Set self.num_tests.
6803 (HeaderTests.handle_test_line): Set test.num. Increment
6804 self.num_tests.
6805
b15b1a95
ST
68062018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6807
6808 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
6809 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
6810 SEEK_SET.
6811
0c7f97ae
MH
68122018-11-19 Mao Han <han_mao@c-sky.com>
6813
6814 * scripts/config.guess: Update to version 2018-08-29.
6815 * scripts/config.sub: Update to version 2018-08-29.
6816
35e3fbc4
FW
68172018-11-19 Florian Weimer <fweimer@redhat.com>
6818
6819 support: Print timestamps in timeout handler.
6820 * support/support_test_main.c (print_timestamp): New function.
6821 (signal_handler): Use it to print the termination time and the
6822 time of the last write to standard output.
6823
c75772e3
ZW
68242018-11-16 Zack Weinberg <zackw@panix.com>
6825 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6826
6827 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
6828 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
6829 argument.
6830 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
6831 and add flags argument. Check flags instead of __ldbl_is_dbl when
6832 deciding whether to set is_long_double.
6833 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
6834 passing zero for flags argument.
6835 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
6836
6837 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6838 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
6839 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
6840 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
6841 variable names. Remove libc_hidden_def/libc_hidden_proto from
6842 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
6843 longer called from within the library.
6844 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
6845 for __nldbl___vstrfmon_l, declare it explicitly.
6846
6847 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
6848
346ef23f
ST
68492018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6850
6851 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
6852 macros
6853 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
6854 F_SETLK64, F_SETLKW64, respectively.
6855 * sysdeps/mach/hurd/f_setlk.c: New file.
6856 * sysdeps/mach/hurd/f_setlk.h: New file.
6857 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
6858 f_setlk.
6859 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
6860 (__libc_fcntl): Move non-flock operations to...
6861 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
6862 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
6863
de20b81a
PE
68642018-11-15 Paul Eggert <eggert@cs.ucla.edu>
6865
5d8af156
PE
6866 mktime: DEBUG_MKTIME cleanup
6867 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
6868 And it’s no longer needed now that glibc and Gnulib both have
6869 their own testing mechanisms for mktime.
6870 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
6871
86aece3b
PE
6872 mktime: fix non-EOVERFLOW errno handling
6873 [BZ#23789]
6874 mktime was not properly reporting failures when the underlying
6875 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
6876 them like EOVERFLOW failures, and set errno to EOVERFLOW.
6877 The problem could happen on non-glibc platforms, with Gnulib.
6878 * time/mktime.c (guess_time_tm): Remove, replacing with ...
6879 (tm_diff): ... this simpler function, which does not change errno.
6880 All callers changed to deal with errno themselves.
6881 (ranged_convert, __mktime_internal): Return failure immediately if
6882 the underlying function reports any failure other than EOVERFLOW.
6883 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
6884 gap code fails.
6885
f6b3331b
PE
6886 mktime: fix bug with Y2038 DST transition
6887 [BZ#23789]
6888 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
6889 mishandle a DST transition that jumps over the Y2038 boundary.
6890 No such DST transitions are known so this is only a theoretical
6891 bug, but we might as well do things right.
6892
efbdddc3
PE
6893 mktime: make more room for overflow
6894 [BZ#23789]
6895 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
6896 This is so that we can add tm_diff results to a previous guess,
6897 which will be useful in a later patch.
6898
6c90d759
PE
6899 mktime: simplify offset guess
6900 [BZ#23789]
6901 * time/mktime.c (__mktime_internal): Omit excess precision.
6902
32c12f3f
PE
6903 mktime: new test for mktime failure
6904 [BZ#23789]
6905 Based on a test suggested by Albert Aribaud in:
6906 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
6907 * time/Makefile (tests): Add bug-mktime4.
6908 * time/bug-mktime4.c: New file.
6909
de20b81a
PE
6910 mktime: fix EOVERFLOW bug
6911 [BZ#23789]
6912 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
6913 Include libc-config.h, not config.h, for __set_errno.
6914 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
6915
8c6c3fb0
ST
69162018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6917
6918 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
6919 __attribute_copy__ to copy attributes from name. Drop static qualifier
6920 to avoid warnings about leaf attribute not having effect on static
6921 functions.
6922
6923f6db
FW
69232018-11-13 Florian Weimer <fweimer@redhat.com>
6924
6925 * malloc/malloc.c (fastbin_push_entry): New function.
6926 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6927 (REMOVE_FB): Remove macro.
6928 (_int_malloc): Use fastbin_pop_entry and reindent.
6929 (_int_free): Use fastbin_push_entry.
6930 (malloc_consolidate): Use atomic_exchange_acquire.
6931
53f5c659
JM
69322018-11-13 Joseph Myers <joseph@codesourcery.com>
6933
0c096dcf
JM
6934 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6935 alias attribute, not with strong_alias.
6936
9c4b457e
JM
6937 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6938 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6939 with additional parameter thread.
6940 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6941 in terms of __hidden_ver2.
6942 (hidden_tls_def): New macro.
6943 (libc_hidden_tls_def): Likewise.
6944 (rtld_hidden_tls_def): Likewise.
6945 (libm_hidden_tls_def): Likewise.
6946 (libmvec_hidden_tls_def): Likewise.
6947 (libresolv_hidden_tls_def): Likewise.
6948 (librt_hidden_tls_def): Likewise.
6949 (libdl_hidden_tls_def): Likewise.
6950 (libnss_files_hidden_tls_def): Likewise.
6951 (libnsl_hidden_tls_def): Likewise.
6952 (libnss_nisplus_hidden_tls_def): Likewise.
6953 (libutil_hidden_tls_def): Likewise.
6954 (libutil_hidden_tls_def): Likweise.
6955 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6956 libc_hidden_tls_def.
6957 (__sim_disabled_exceptions_thread): Likewise.
6958 (__sim_round_mode_thread): Likewise.
6959
53f5c659
JM
6960 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6961 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6962 copy attributes from name.
6963
092dfde6
JM
69642018-11-12 Joseph Myers <joseph@codesourcery.com>
6965
f578f97b
JM
6966 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6967 Use __attribute_copy__ to copy attributes from name.
6968
9a7c643a
JM
6969 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6970 with __hidden_ver1 call.
6971 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6972 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6973 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6974 (__cosf): Do not declare here.
6975 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6976 (__sincosf): Do not declare here.
6977 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6978 (__sinf): Do not declare here.
6979
092dfde6
JM
6980 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6981 (__BIG_ENDIAN): Likewise.
6982 (__BYTE_ORDER): Likewise.
6983 (strong_alias): Likewise.
6984 (_strong_alias): Likewise.
6985
1ecba1fa
FW
69862018-11-12 Florian Weimer <fweimer@redhat.com>
6987
6988 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6989 function. Move after the definition of in_smallbin_range. Do not
6990 use __builtin_expect for paths that lead to a noreturn function.
6991 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6992 because it is unclear whether this is in fact an unlikely
6993 condition.
6994 (_int_malloc, _int_free): Adjust.
6995 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6996 variables.
6997 * malloc/arena.c (heap_trim): Likewise.
6998
434c34bd
ST
69992018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7000
7001 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7002 it, free it if needed.
7003 (reauthenticate): Test and use ccwdir.
7004 (child_init_port): In non-resetids case, test and use ccwdir.
7005 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
7006 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7007 * hurd/hurd/port.h (_hurd_port_move): New function.
7008 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7009 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
7010 * hurd/Versions (_hurd_port_move): Export function.
7011 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7012 symbol.
58bb655a
ST
7013 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7014 of dtablesize for allocating dtable_cloexec.
434c34bd 7015
1626a1cf
MS
70162018-11-09 Martin Sebor <msebor@redhat.com>
7017
7018 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7019 it's already defined.
7020 (_strong_alias): Use __attribute_copy__.
7021 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7022 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7023 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7024 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7025 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7026 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7027 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7028 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7029 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7030 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7031 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7032 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7033 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7034 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7035 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7036 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7037 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7038 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7039 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7040
968ed530
GG
70412018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7042
7043 * misc/tst-efgcvt.c: Include support/check.h and
7044 support/test-driver.c. Do not include test-skeleton.c.
7045 (error_count): Remove.
7046 (output_error): Replace increments to error_count with calls to
7047 support_record_failure.
7048 (output_r_error): Likewise.
7049 (special): Likewise.
7050 (do_test): Unconditionally return zero.
7051 (TEST_FUNCTION): Remove.
7052
c3ec0972
JM
70532018-11-09 Joseph Myers <joseph@codesourcery.com>
7054
91faaa93
JM
7055 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7056 not $(@D)/scratch.
7057 ($(linknamespace-header-tests)): Likewise.
7058
c3ec0972
JM
7059 * conform/conformtest.py: New file.
7060 * conform/conformtest.pl: Remove.
7061 * conform/GlibcConform.pm: Likewise.
7062 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7063 (KEYWORDS_C99): Likewise.
7064 (KEYWORDS): Likewise.
7065 * conform/Makefile ($(conformtest-header-tests)): Use
7066 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7067 option. Use --header instead of --headers.
7068 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7069 function entries.
7070 * conform/data/spawn.h-data: Likewise.
7071 * conform/data/fcntl.h-data (openat): Add space after function
7072 name.
7073 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7074 (wcscasecmp_l): Likewise.
7075 * conform/data/termios.h-data (c_cc): Add space after element
7076 name.
7077
43257c33
GG
70782018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7079
7080 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7081 instead of manually comparing and reporting mismatching strings.
7082 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7083 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7084
e5de3b5b
JM
70852018-11-08 Joseph Myers <joseph@codesourcery.com>
7086
7087 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7088 __ASSUME_SOCKETCALL.
7089 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7090 (__ASSUME_SOCKETCALL): Remove.
7091 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7092 (__ASSUME_SOCKETCALL): Likewise.
7093 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7094 (__ASSUME_SOCKETCALL): Likewise.
7095 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7096 (__ASSUME_SOCKETCALL): Likewise.
7097 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7098 (__ASSUME_SOCKETCALL): Likewise.
7099 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7100 (__ASSUME_SOCKETCALL): Likewise.
7101 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7102 (__ASSUME_SOCKETCALL): Likewise.
7103
d524fa6c
L
71042018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7105
7106 [BZ #23509]
7107 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7108 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7109 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7110 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7111 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7112 lc_unknown.
7113
ac806026
AH
71142018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7115
7116 [BZ #17630]
7117 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7118
596cc360
JM
71192018-11-07 Joseph Myers <joseph@codesourcery.com>
7120
7121 [BZ #23867]
7122 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7123 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7124 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7125 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7126
00c86a37
AZ
71272018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7128
7129 * support/support_test_compare_string.c
7130 (support_test_compare_string): Fix printf format.
7131
1df872fd
FW
71322018-11-07 Florian Weimer <fweimer@redhat.com>
7133
7134 Implement TEST_COMPARE_STRING.
7135 * support/check.h (TEST_COMPARE_STRING): Define.
7136 (support_test_compare_string): Declare.
7137 * support/Makefile (libsupport-routines): Add
7138 support_test_compare_string.
7139 (tests): Add tst-test_compare_string.
7140 * support/support_test_compare_string.c: New file.
7141 * support/tst-test_compare_string.c: Likewise.
7142
295132ff
AS
71432018-11-07 Andreas Schwab <schwab@suse.de>
7144
7145 [BZ #23864]
7146 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7147 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7148 Undef.
7149
e143ceba
JM
71502018-11-06 Joseph Myers <joseph@codesourcery.com>
7151
7152 [BZ #23862]
7153 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7154 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7155 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7156 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7157 Likewise.
7158
4a938cb2
FW
71592018-11-06 Florian Weimer <fweimer@redhat.com>
7160
7161 [BZ #17405]
7162 * posix/Makefile (routines): Add spawn_faction_addchdir.
7163 (tests): Add tst-spawn-chdir.
7164 * posix/Versions (GLIBC_2.29): Add
7165 posix_spawn_file_actions_addchdir_np.
7166 * posix/spawn_faction_addchdir.c: New file.
7167 * posix/spawn_faction_destroy.c
7168 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7169 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7170 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7171 chdir_action.
7172 * posix/tst-spawn-chdir.c: New file.
7173 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7174 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7175 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7176 posix_spawn_file_actions_addchdir_np.
7177 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7178 Likewise.
7179 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7180 Likewise.
7181 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7182 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7183 Likewise.
7184 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7185 Likewise.
7186 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7187 Likewise.
7188 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7189 Likewise.
7190 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7191 Likewise.
7192 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7193 Likewise.
7194 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7195 (GLIBC_2.29): Likewise.
7196 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7197 (GLIBC_2.29): Likewise.
7198 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7199 (GLIBC_2.29): Likewise.
7200 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7201 (GLIBC_2.29): Likewise.
7202 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7203 Likewise.
7204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7205 (GLIBC_2.29): Likewise.
7206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7207 (GLIBC_2.29): Likewise.
7208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7209 (GLIBC_2.29): Likewise.
7210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7211 (GLIBC_2.29): Likewise.
7212 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7213 Likewise.
7214 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7215 Likewise.
7216 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7217 Likewise.
7218 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7219 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7220 Likewise.
7221 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7222 Likewise.
7223 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7224 Likewise.
7225 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7226 Likewise.
7227
7597b0c7
GG
72282018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7229
7230 * misc/Makefile (tests): Add tst-ldbl-error.
7231 * misc/tst-ldbl-error.c: New file.
7232
9771e6cb
GG
72332018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7234
7235 * misc/Makefile (tests): Add tst-ldbl-warn.
7236 * misc/tst-ldbl-warn.c: New file.
7237
2c03961f
GG
72382018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7239
7240 * argp/Makefile (tests): Add tst-ldbl-argp.
7241 * argp/tst-ldbl-argp.c: New file.
7242
6d6ee046
AS
72432018-11-05 Arjun Shankar <arjun@redhat.com>
7244
7245 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7246 __gconv_path_elem and call __gconv_get_path unconditionally.
7247
bd3b0fba
AS
72482018-11-05 Andreas Schwab <schwab@suse.de>
7249
7250 [BZ #22927]
7251 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7252 creating the first helper thread failed.
7253
2e96e980
ST
72542018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7255
7256 * sysdeps/mach/hurd/msync.c: New file.
7257
6e36266c
FW
72582018-11-02 Florian Weimer <fweimer@redhat.com>
7259
7260 * support/shell-container.c (copy_func): Call
7261 support_copy_file_range instead of copy_file_range to support
7262 cross-device copies.
7263
599f7bee
FW
72642018-11-02 Florian Weimer <fweimer@redhat.com>
7265
7266 * support/test-container.c: Include <libc-pointer-arith.h> for
7267 ALIGN_UP.
7268
ff48ea67
ZL
72692018-11-01 Zong Li <zong@andestech.com>
7270
af1d5782
ZL
7271 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7272 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7273 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7274 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7275
ff48ea67
ZL
7276 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7277 variable to avoid overlap arguments.
7278
daea71c2
JM
72792018-11-01 Joseph Myers <joseph@codesourcery.com>
7280
eac4405a
JM
7281 * posix/bug-regex22.c (main): Use puts with distinct error
7282 messages for unexpected success of re_compile_pattern, not printf
7283 with NULL argument to %s.
7284
6f30e59f
JM
7285 * stdio-common/bug22.c: Include <libc-diag.h>.
7286 (do_test): Disable -Wformat-overflow= warnings around fprintf
7287 calls outputting more than INT_MAX characters.
7288 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7289 around printf call with NULL %s argument.
7290
daea71c2
JM
7291 [BZ #23848]
7292 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7293 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7294 Undefine.
7295 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7296 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7297 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7298 (__ASSUME_SENDTO_SYSCALL): Likewise.
7299 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7300 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7301 [!__arch64__].
7302 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7303 (__ASSUME_CONNECT_SYSCALL): Likewise.
7304 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7305 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7306 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7307 Define.
7308 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7309 Likewise.
7310 [__LINUX_KERNEL_VERSION >= 0x040400]
7311 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7312 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7313 Remove.
7314 (listen): Likewise.
7315 (setsockopt): Likewise.
7316
8e3c00db
FN
73172018-11-01 Fredrik Noring <noring@nocrew.org>
7318
7319 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7320 with the ISA override.
7321
9c3dbdbe
RAE
73222018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7323
7324 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7325 #endif.
7326
e3a88b3e
ST
73272018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7328
a67377e7 7329 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 7330 translate the error message.
a67377e7
ST
7331 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7332 printing trailing whitespaces refused by git.
7333 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7334 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 7335 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 7336
3ca235ed
JM
73372018-10-30 Joseph Myers <joseph@codesourcery.com>
7338
7339 * conform/linknamespace.py: New file.
7340 * conform/linknamespace.pl: Remove file.
7341 * conform/Makefile ($(linknamespace-header-tests)): Use
7342 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7343 option.
7344
60708030
FW
73452018-10-30 Florian Weimer <fweimer@redhat.com>
7346
7347 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7348 memory leaks.
7349
a91e9301
FW
73502018-10-30 Florian Weimer <fweimer@redhat.com>
7351
7352 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7353
07da99aa
FW
73542018-10-30 Florian Weimer <fweimer@redhat.com>
7355
7356 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7357 support_blob_repeat.
7358
f5e7e959
FW
73592018-10-30 Florian Weimer <fweimer@redhat.com>
7360
7361 Avoid spurious test failures in stdlib/test-bz22786.
7362 * support/Makefile (libsupport-routines): Add blob_repeat.
7363 (tests): Add tst-support_blob_repeat.
7364 * support/blob_repeat.h: New file.
7365 * support/blob_repeat.c: Likewise.
7366 * support/tst-support_blob_repeat.c: Likewise.
7367 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7368 support_blob_repeat_allocate.
7369
2dd12baa
AS
73702018-10-30 Andreas Schwab <schwab@suse.de>
7371
7372 [BZ #23125]
7373 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7374 Don't use tail call.
7375 * elf/tst-unwind-main.c: New file.
7376 * elf/Makefile (tests): Add tst-unwind-main.
7377 (CFLAGS-tst-unwind-main.c): Define.
7378
6b5c8607 73792018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
7380
7381 [BZ #23791]
7382 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7383 n_cs_precedes to 0.
7384 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7385
c6982f7e
JM
73862018-10-29 Joseph Myers <joseph@codesourcery.com>
7387
954cf3c2
JM
7388 * conform/glibcconform.py: Do not import shutil.
7389 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7390 of mkdtemp.
7391
c6982f7e
JM
7392 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7393 critic_missing for versions before 3.4.
7394 * configure: Regenerated.
7395 * manual/install.texi (Tools for Compilation): Document
7396 requirement for Python to build glibc.
7397 * INSTALL: Regenerated.
7398 * Rules [PYTHON]: Make code unconditional.
7399 * benchtests/Makefile [PYTHON]: Likewise.
7400 * conform/Makefile [PYTHON]: Likewise.
7401 * manual/Makefile [PYTHON]: Likewise.
7402 * math/Makefile [PYTHON]: Likewise.
7403
46a7f24c
ST
74042018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7405
7406 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 7407 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 7408 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
7409 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7410 _hurd_intr_rpc_msg_about_to global point to start of controlled
7411 assembly snippet. Make it check canceled flag.
7412 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7413 the _hurd_intr_rpc_msg_about_to point.
7414 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7415 issue, remove cancel flag check.
46a7f24c 7416
e5b8756d
JM
74172018-10-26 Joseph Myers <joseph@codesourcery.com>
7418
7419 * scripts/build-many-glibcs.py: Remove compatibility for missing
7420 os.cpu_count and re.fullmatch.
7421
ba5b14c7
SN
74222018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7423
7424 [BZ #23822]
7425 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7426 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7427 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7428
fe61f17c
JM
74292018-10-25 Joseph Myers <joseph@codesourcery.com>
7430
7431 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7432 macro.
7433
7c5e34d7
FW
74342018-10-25 Florian Weimer <fweimer@redhat.com>
7435
7436 [BZ #23562]
7437 [BZ #23821]
7438 XFAIL siginfo_t si_band conform test on sparc64.
7439 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7440 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7441 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7442 (conformtest-xfail-conds): Add sparc64-linux.
7443 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7444 sparc64.
7445 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7446
5b784e88
JM
74472018-10-25 Joseph Myers <joseph@codesourcery.com>
7448
7449 * elf/elf.h (NT_MIPS_DSP): New macro.
7450 (NT_MIPS_FP_MODE): Likewise.
7451
41432ebe
ZL
74522018-10-25 Zong Li <zong@andestech.com>
7453
7454 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7455 name by adding the file extension (.so).
7456
d026efea
ST
74572018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7458
7459 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7460 (test-xfail-ISO11/threads.h/linknamespace,
7461 test-xfail-ISO11/threads.h/conform): Add.
7462
b71ac2b9
JM
74632018-10-24 Joseph Myers <joseph@codesourcery.com>
7464
7465 * math/gen-libm-test.py: Import os.
7466 (ALL_FLOATS_MANUAL): New constant.
7467 (ALL_FLOATS_SUFFIX): Likewise.
7468 (Ulps.all_functions): New function.
7469 (real_all_ulps): Likewise.
7470 (generate_err_table_sub): Likewise.
7471 (generate_err_table): Likewise.
7472 (main): Handle -s and -m options.
7473 * manual/libm-err-tab.pl: Remove.
7474 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7475 instead of libm-err-tab.pl.
7476 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7477 != no].
7478 * manual/install.texi (Tools for Compilation): Document
7479 requirement for Python to build manual.
7480 * INSTALL: Regenerated.
7481
6b5c8607 74822018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
7483
7484 * bits/time64.h: New file.
7485 * include/time.h: Replace internal_time_t with __time64_t.
7486 * posix/bits/types (__time64_t): Add.
7487 * stdlib/Makefile: Add bits/time64.h to includes.
7488 * time/tzfile.c: Replace internal_time_t with __time64_t.
7489
97d91fcc 74902018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
7491
7492 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7493 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7494 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7495 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7496 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7497 prototype.
7498 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7499 * posix/spawn_faction_addclose.c
7500 (__posix_spawn_file_actions_addclose): Add hidden definition.
7501 * posix/spawn_faction_adddup2.c
7502 (__posix_spawn_file_actions_adddup2): Likewise.
7503 * posix/spawn_faction_destroy.c
7504 (__posix_spawn_file_actions_destroy): Likewise.
7505 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7506 Likewise.
7507 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7508 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7509 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7510 Likewise.
7511 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7512 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7513 Likewise.
7514
2954daf0
AS
75152018-10-24 Andreas Schwab <schwab@suse.de>
7516
7517 [BZ #18093]
7518 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7519 format cache.
7520 * elf/cache.c (print_cache): Likewise.
7521
6b5c8607 75222018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
7523
7524 * bits/timesize.h: New file.
7525 * stdlib/Makefile (headers): Add bits/timesize.h.
7526 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7527 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7528 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7529 (__SEM_PAD_AFTER_TIME): Likewise.
7530 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7531 (__SHM_PAD_AFTER_TIME): Likewise.
7532 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7533 (__MSQ_PAD_BEFORE_TIME): Likewise.
7534 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7535 (__SEM_PAD_BEFORE_TIME): Likewise.
7536 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7537 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7538 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
7539 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7540 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7541 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
7542 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7543 (__SEM_PAD_BEFORE_TIME): Likewise.
7544 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7545 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7546 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7547 (__MSQ_PAD_BEFORE_TIME): Likewise.
7548 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7549 (__SEM_PAD_BEFORE_TIME): Likewise.
7550 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7551 (__SHM_PAD_BEFORE_TIME): Likewise.
7552 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7553 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7554 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7555
7cc65773
L
75562018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7557
7558 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7559 USE_RDTSCP is defined.
7560 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7561 USE_RDTSCP is defined.
7562
c3d8dc45
AZ
75632018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7564
18ad0de6
AZ
7565 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7566 defined.
7567
c3d8dc45
AZ
7568 [BZ #23709]
7569 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7570 independently of other flags.
7571
f1034472
FW
75722018-10-23 Florian Weimer <fweimer@redhat.com>
7573
7574 * time/tst-mktime2.c (N_STRINGS): Remove.
7575 (set_timezone): New function.
7576 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7577 (mktime_test1): Report localtime failure and check errno value.
7578 Use TEST_COMPARE.
7579 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7580 (do_test): Remove alarm call. Use set_timezone and array_length.
7581
367d7cc2
AS
75822018-10-23 Andreas Schwab <schwab@suse.de>
7583
7584 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7585 (__start_context): Use END instead of PSEUDO_END.
7586
be8ff03f
JM
75872018-10-22 Joseph Myers <joseph@codesourcery.com>
7588
029ad711
JM
7589 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7590 version to 4.19.
7591
8190520f
JM
7592 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7593 version to 4.19.
7594
be8ff03f
JM
7595 [BZ #23793]
7596 * wcsmbs/c32rtomb.c: New file.
7597 * wcsmbs/mbrtoc32.c: Likewise.
7598 * wcsmbs/tst-c32-state.c: Likewise.
7599 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7600 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7601 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7602 (tests): Add tst-c32-state.
7603 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7604 $(gen-locales).
7605
2dd8e58c
L
76062018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7607
7608 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7609 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7610
d0a74159
JM
76112018-10-19 Joseph Myers <joseph@codesourcery.com>
7612
7613 [BZ #23794]
7614 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7615 pair and return 0 in that case, and use saved character to
7616 interpret following character.
7617 * wcsmbs/tst-c16-surrogate.c: New file.
7618 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7619 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7620 Depend on $(gen-locales)
7621
f997b4be
IYM
76222018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7623
7624 [BZ #23562]
7625 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7626 (struct siginfo_t): Use correct type for si_band.
7627
53b2bb87
FW
76282018-10-19 Florian Weimer <fweimer@redhat.com>
7629
7630 [BZ #23689]
7631 * resource/bits/types/struct_rusage.h (struct rusage): Update
7632 comment on struct. Remove extraneous field comment.
7633
0a271c8f
DM
76342018-10-18 David S. Miller <davem@davemloft.net>
7635
94a3a27f
DM
7636 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7637 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7638 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7639 sysdep_routines in subdir elf.
7640 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7641 version for __vdso_clock_gettime.
7642 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7643 Define.
7644 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7645 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7646
0a271c8f
DM
7647 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7648
72771e53
L
76492018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7650
7651 * sysdeps/i386/init-arch.h: Removed.
7652 * sysdeps/i386/i586/init-arch.h: Likewise.
7653 * sysdeps/i386/i686/init-arch.h: Likewise.
7654 * sysdeps/i386/i686/hp-timing.h: Likewise.
7655 * sysdeps/x86_64/hp-timing.h: Likewise.
7656 * sysdeps/i386/isa.h: New file.
7657 * sysdeps/i386/i586/isa.h: Likewise.
7658 * sysdeps/i386/i686/isa.h: Likewise.
7659 * sysdeps/x86_64/isa.h: Likewise.
7660 * sysdeps/x86/hp-timing.h: New file.
7661 * sysdeps/x86/init-arch.h: Include <isa.h>.
7662
c2b7ccad
JM
76632018-10-17 Joseph Myers <joseph@codesourcery.com>
7664
7665 * math/libm-test-pow.inc (pow_test_data): Do not allow
7666 divide-by-zero exception for pow(+/- 0, -Inf).
7667
26756e57
ZW
76682018-10-17 Zack Weinberg <zackw@panix.com>
7669
7670 * manual/job.texi (Job Control is Optional): Remove node, as
7671 job control has not been optional in quite some time.
7672 (Job Control): Mention briefly that systems older than
7673 POSIX.1-2001 might not support job control.
7674 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7675 defined on systems conforming to POSIX.1-2001.
7676
c5288d37
AS
76772018-10-17 Arjun Shankar <arjun@redhat.com>
7678
7679 [BZ #22062]
7680 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7681 indentation.
7682 * (__gconv_read_conf): Mark function static.
7683 * (once): New static variable.
7684 * (__gconv_load_conf): New function.
7685 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7686 * iconv/gconv_db.c (once): Remove static variable.
7687 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7688 __gconv_read_conf.
7689 * (__gconv_find_transform): Likewise.
7690 * iconv/tst-iconv-mt.c: New test.
7691 * iconv/Makefile: Add tst-iconv_mt.
7692
8c8d2a8a
JM
76932018-10-17 Joseph Myers <joseph@codesourcery.com>
7694
7695 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
7696 bits/shm-pad.h.
7697 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7698 (shmatt_t): Define as __syscall_ulong_t.
7699 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7700 and [__SHM_PAD_AFTER_TIME].
7701 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7702 Define shm_segsz and associated padding based on
7703 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7704 Use __syscall_ulong_t instead of unsigned long int.
7705 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7706 unsigned long int.
7707 [__USE_MISC] (struct shm_info): Likewise.
7708 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7709 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7710 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7711 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7712 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7713 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7714 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7715 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7716 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7717 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7718 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7719
7720 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
7721 bits/shmlba.h.
7722 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7723 (SHMLBA): Remove macro.
7724 (__getpagesize): Remove function declaration.
7725 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7726 <bits/shmlba.h>.
7727 (SHMLBA): Remove macro.
7728 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7729 <bits/shmlba.h>.
7730 (SHMLBA): Remove macro.
7731 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7732 <bits/shmlba.h>.
7733 (SHMLBA): Remove macro.
7734 (__getpagesize): Remove function declaration.
7735 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7736 <bits/shmlba.h>.
7737 (SHMLBA): Remove macro.
7738 (__getshmlba): Remove function declaration.
7739 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7740 (SHMLBA): Remove macro.
7741 (__getpagesize): Remove function declaration.
7742 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7743 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7744 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7745 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7746 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7747 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7748 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7749 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7750 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7751 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7752
403b4feb
SL
77532018-10-17 Stefan Liebler <stli@linux.ibm.com>
7754
7755 [BZ #23275]
7756 * nptl/tst-mutex10.c: New File.
7757 * nptl/Makefile (tests): Add tst-mutex10.
7758 (tst-mutex10-ENV): New variable.
7759 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7760 Ensure that elision path is used if elision is available.
7761 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7762 Likewise.
7763 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7764 Likewise.
7765 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7766 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7767 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7768 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7769 Likewise.
7770 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7771 (__pthread_mutex_cond_lock_adjust): Likewise.
7772 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7773 Likewise.
7774 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7775 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7776 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7777 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7778 Add comments.
7779 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7780 Use atomic_load_relaxed and atomic_store_relaxed.
7781 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7782 Use atomic_store_relaxed.
7783
ce5a7de6
AS
77842018-10-17 Andreas Schwab <schwab@suse.de>
7785
7786 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7787 * crypt/badsalttest.c (TIMEOUT): Likewise.
7788 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7789 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7790 * io/test-lfs.c (TIMEOUT): Likewise.
7791 * libio/tst-atime.c (TIMEOUT): Likewise.
7792 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7793 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7794 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7795 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7796 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7797 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7798 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7799 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7800 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7801 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7802 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7803 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7804 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7805 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7806 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
7807 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
7808 * nptl/tst-once2.c (TIMEOUT): Likewise.
7809 * nptl/tst-once3.c (TIMEOUT): Likewise.
7810 * nptl/tst-once4.c (TIMEOUT): Likewise.
7811 * nptl/tst-robust8.c (TIMEOUT): Likewise.
7812 * nptl/tst-robust9.c (TIMEOUT): Likewise.
7813 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
7814 * nptl/tst-sem14.c (TIMEOUT): Likewise.
7815 * nptl/tst-sem6.c (TIMEOUT): Likewise.
7816 * nptl/tst-signal3.c (TIMEOUT): Likewise.
7817 * nptl/tst-spin4.c (TIMEOUT): Likewise.
7818 * nptl/tst-tls3.c (TIMEOUT): Likewise.
7819 * nptl/tst-tls4.c (TIMEOUT): Likewise.
7820 * posix/tst-chmod.c (TIMEOUT): Likewise.
7821 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
7822 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
7823 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
7824 * posix/tst-regex2.c (TIMEOUT): Likewise.
7825 * posix/tst-waitid.c (TIMEOUT): Likewise.
7826 * rt/tst-aio.c (TIMEOUT): Likewise.
7827 * rt/tst-aio10.c (TIMEOUT): Likewise.
7828 * rt/tst-aio4.c (TIMEOUT): Likewise.
7829 * rt/tst-aio5.c (TIMEOUT): Likewise.
7830 * rt/tst-aio6.c (TIMEOUT): Likewise.
7831 * rt/tst-aio64.c (TIMEOUT): Likewise.
7832 * rt/tst-aio7.c (TIMEOUT): Likewise.
7833 * rt/tst-aio9.c (TIMEOUT): Likewise.
7834 * rt/tst-clock.c (TIMEOUT): Likewise.
7835 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
7836 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
7837 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
7838 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
7839 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
7840 * rt/tst-timer4.c (TIMEOUT): Likewise.
7841 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
7842 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
7843 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
7844 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
7845 * time/tst-ftime.c (TIMEOUT): Likewise.
7846 * timezone/tst-tzset.c (TIMEOUT): Likewise.
7847
6b5c8607 78482018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
7849
7850 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
7851 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
7852 for thunderX2.
7853
bcdb1bfa
JM
78542018-10-15 Joseph Myers <joseph@codesourcery.com>
7855
7856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7857 bits/sem-pad.h.
7858 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
7859 instead of <bits/wordsize.h>.
7860 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
7861 and [__SEM_PAD_AFTER_TIME].
7862 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
7863 __syscall_ulong_t instead of unsigned long int.
7864 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
7865 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
7866 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
7867 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
7868 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
7869 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
7870 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
7871 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
7872 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7873 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7874 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7875
f4efbdfb
PE
78762018-10-14 Paul Eggert <eggert@cs.ucla.edu>
7877
620a5d4c
PE
7878 regex: simplify by using intprops.h
7879 [BZ#23744]
7880 * posix/regex_internal.h [_LIBC]: Include intprops.h.
7881 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
7882 intprops.h defines them.
7883
f4efbdfb
PE
7884 regex: __builtin_expect → __glibc_unlikely
7885 [BZ#23744]
7886 This refactoring was prompted by a problem when the regex code is
7887 used as part of Gnulib and when the builder’s compiler does not grok
7888 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
7889 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
7890 Although this refactoring does not fix the problem directly,
7891 we might as well have Gawk use the now-preferred glibc style for when
7892 __builtin_expect is unavailable.
7893 * posix/regex_internal.h (BE): Remove.
7894 All uses replaced by __glibc_unlikely or __glibc_likely.
7895
9f9feb6d
JM
78962018-10-11 Joseph Myers <joseph@codesourcery.com>
7897
7898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7899 bits/msq-pad.h.
7900 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
7901 instead of <bits/wordsize.h>.
7902 (msgqnum_t): Define as __syscall_ulong_t.
7903 (msglen_t): Likewise.
7904 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
7905 and [__MSQ_PAD_AFTER_TIME].
7906 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
7907 __syscall_ulong_t instead of unsigned long int.
7908 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
7909 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
7910 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
7911 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
7912 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
7913 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
7914 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
7915 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
7916 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7917 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7918 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7919
b9c0f6c1
JM
79202018-10-10 Joseph Myers <joseph@codesourcery.com>
7921
2a4b25fa
JM
7922 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
7923 (struct shmid_ds): Condition padding after time fields on
7924 [__WORDSIZE == 32].
7925 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7926 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7927 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7928
19e62f26
JM
7929 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7930 (struct semid_ds): Condition padding after time fields on
7931 [__WORDSIZE == 32].
7932 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7933 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7934 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7935 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7936
b9c0f6c1
JM
7937 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7938 (struct msqid_ds): Condition padding after time fields on
7939 [__WORDSIZE == 32].
7940 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7941 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7942 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7943 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7944
97785a61
SN
79452018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7946
7947 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7948
ed643089
SN
79492018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7950
7951 * libio/tst-readline.c (TIMEOUT): Define.
7952
5a580643
PE
79532018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7954
7955 mktime fix for Gnulib + coreutils
7956 [BZ#23745]
7957 This fix affects only Gnulib. Problem discovered when
7958 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7959 * time/mktime.c:
7960 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7961 Do not define since it is not used. Defining an unused static
7962 function prompts a warning from GCC when Coreutils is configured
7963 with --enable-gcc-warnings.
7964
c892ae04
LS
79652018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7966
7967 * benchtests/scripts/compare_bench.py (main): set float type on
7968 threshold argument.
7969
a68ec8ea
RL
79702018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7971
7972 [BZ #23740]
7973 * localedata/locales/kl_GL (mon): Update, the relative case.
7974 (alt_mon): Add, fill with month names in the nominative case.
7975 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7976 (d_fmt): Set to "%b %d %Y".
7977
a1987621
JM
79782018-10-04 Joseph Myers <joseph@codesourcery.com>
7979
47c49251
JM
7980 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7981 <bits/mman-linux.h>.
7982 (PROT_READ): Don't define here.
7983 (PROT_WRITE): Likewise.
7984 (PROT_EXEC): Likewise.
7985 (PROT_NONE): Likewise.
7986 (PROT_GROWSDOWN): Likewise.
7987 (PROT_GROWSUP): Likewise.
7988 (MAP_SHARED): Likewise.
7989 (MAP_PRIVATE): Likewise.
7990 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7991 [__USE_MISC] (MAP_FILE): Likewise.
7992 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7993 [__USE_MISC] (MAP_ANON): Likewise.
7994 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7995 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7996 (MCL_CURRENT): Likewise.
7997 (MCL_FUTURE): Likewise.
7998 (MCL_ONFAULT): Likewise.
7999 [__USE_MISC] (MADV_NORMAL): Likewise.
8000 [__USE_MISC] (MADV_RANDOM): Likewise.
8001 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8002 [__USE_MISC] (MADV_WILLNEED): Likewise.
8003 [__USE_MISC] (MADV_DONTNEED): Likewise.
8004 [__USE_MISC] (MADV_FREE): Likewise.
8005 [__USE_MISC] (MADV_REMOVE): Likewise.
8006 [__USE_MISC] (MADV_DONTFORK): Likewise.
8007 [__USE_MISC] (MADV_DOFORK): Likewise.
8008 [__USE_MISC] (MADV_HWPOISON): Likewise.
8009 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8010 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8011 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8012 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8013 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8014 (__MAP_ANONYMOUS): New macro.
8015 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8016 <bits/mman-linux.h> inclusion.
8017 (MAP_FIXED): Likewise.
8018 (MS_SYNC): Likewise.
8019 (MS_ASYNC): Likewise.
8020 (MS_INVALIDATE): Likewise.
8021 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8022 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8023 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8024 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8025 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8026 [__USE_MISC] (MADV_DODUMP): Likewise.
8027 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8028 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8029
a1987621
JM
8030 [BZ #23735]
8031 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8032 Define.
8033 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8034 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8035 Add test-nldbl-redirect.
8036 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8037 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8038 $(objpfx)libnldbl_nonshared.a.
8039
e7624d70
SL
80402018-10-04 Stefan Liebler <stli@linux.ibm.com>
8041
8042 * support/support.h (support_objdir_elf_ldso): New variable.
8043 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8044 * support/Makefile (CFLAGS-support_paths.c): Add definition
8045 for OBJDIR_ELF_LDSO_PATH.
8046 * support/test-container.c (main): Search for the ld.so
8047 which is also used by the testsuite.
8048
dae3ed95
RL
80492018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8050
8051 [BZ #20209]
8052 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8053 should be "sap" rather than "sab".
8054 (day): Fix spelling of Sunday, should be "sapaat" rather than
8055 "sabaat".
8056
f346b5b3
JM
80572018-10-02 Joseph Myers <joseph@codesourcery.com>
8058
8059 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8060
4a06ceea
MJ
80612018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8062
8063 [BZ #19444]
8064 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8065 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8066 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8067
a06fc4a5
AZ
80682018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8069
8070 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8071
a1ccc065
L
80722018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8073
8074 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8075 Add -mrtm.
8076 (CFLAGS-elision-unlock.c): Likewise.
8077 (CFLAGS-elision-timed.c): Likewise.
8078 (CFLAGS-elision-trylock.c): Likewise.
8079 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8080
0b727ed4
AZ
80812018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8082
8083 [BZ #21037]
8084 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8085 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8086 new fd_to_filename interface.
8087 * libio/freopen64.c (freopen64): Likewise.
8088 * libio/tst-memstream.h: New file.
8089 * libio/tst-memstream4.c: Likewise.
8090 * libio/tst-wmemstream4.c: Likewise.
8091 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8092 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8093 and remove internal dynamic allocation.
8094
d0e91e8c
JM
80952018-10-01 Joseph Myers <joseph@codesourcery.com>
8096
8097 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8098 (MREMAP_MAYMOVE): Do not define here.
8099 [__USE_GNU] (MREMAP_FIXED): Likewise.
8100 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8101 (MREMAP_MAYMOVE): Define here instead.
8102 [__USE_GNU] (MREMAP_FIXED): Likewise.
8103 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8104 (MREMAP_MAYMOVE): Remove.
8105 [__USE_GNU] (MREMAP_FIXED): Likewise.
8106
c52944e8
JM
81072018-09-28 Joseph Myers <joseph@codesourcery.com>
8108
8109 * math/fromfp.h: Do not include <math_private.h>.
8110 * math/s_cacosh_template.c: Likewise.
8111 * math/s_casin_template.c: Likewise.
8112 * math/s_casinh_template.c: Likewise.
8113 * math/s_ccos_template.c: Likewise.
8114 * math/s_cproj_template.c: Likewise.
8115 * math/s_fdim_template.c: Likewise.
8116 * math/s_fmaxmag_template.c: Likewise.
8117 * math/s_fminmag_template.c: Likewise.
8118 * math/s_iseqsig_template.c: Likewise.
8119 * math/s_ldexp_template.c: Likewise.
8120 * math/s_nextdown_template.c: Likewise.
8121 * math/w_log1p_template.c: Likewise.
8122 * math/w_scalbln_template.c: Likewise.
8123 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8124 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8125 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8126 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8127 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8128 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8129 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8130 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8131 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8132 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8133 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8134 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8135 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8136 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8137 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8138 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8139 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8140 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8141 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8142 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8143 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8144 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8145 * sysdeps/ieee754/k_standardf.c: Likewise.
8146 * sysdeps/ieee754/k_standardl.c: Likewise.
8147 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8148 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8149 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8150 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8151 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8152 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8153 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8154 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8155 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8156 * sysdeps/ieee754/s_signgam.c: Likewise.
8157 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8158 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8159 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8160 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8161 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8162 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8163 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8164 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8165 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8166 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8167 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8168 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8169 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8170 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8171 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8172 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8173 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8174 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8175 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8176 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8177 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8178 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8179 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8180 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8181 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8182 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8183 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8184 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8185 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8186 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8187 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8188 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8189 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8190 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8191 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8192 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8193 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8194 <math_private.h>.
8195 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8196
7b1f9406
L
81972018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8198
8199 [BZ #23716]
8200 * sysdeps/i386/dl-cet.c: Removed.
8201 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8202 prototype.
8203 (_dl_runtime_profile_shstk): Likewise.
8204 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8205 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8206
7a16bdbb
AZ
82072018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8208
8209 [BZ #23579]
8210 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8211 do_test_with_invalid_iov): New tests.
8212 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8213 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8214 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8215 errno is ENOSYS.
8216 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8217 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8218 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8219
9755bc46
JM
82202018-09-27 Joseph Myers <joseph@codesourcery.com>
8221
81dca813
JM
8222 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8223 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8224 (MATH_REDIRECT_BINARY_ARGS): New macro.
8225 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8226 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8227 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8228 header inclusion.
8229 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8230 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8231 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8232 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8233 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8234 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8235 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8237 Likewise.
8238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8239 Likewise.
8240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8242 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8243 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8245 Likewise.
8246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8247 Likewise.
8248 * sysdeps/generic/math_private_calls.h
8249 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8250 Do not declare and define as an inline function.
8251 * math/divtc3.c (__divtc3): Use copysign functions instead of
8252 __copysign variants.
8253 * math/multc3.c (__multc3): Likewise.
8254 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8255 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8256 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8257 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8258 Likewise.
8259 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8260 (__ieee754_yn): Likewise.
8261 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8262 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8263 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8264 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8265 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8266 (__sin): Likewise.
8267 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8268 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8269 Likewise.
8270 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8271 Likewise.
8272 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8273 Likewise.
8274 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8275 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8276 Likewise.
8277 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8278 (__ieee754_ynf): Likewise.
8279 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8280 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8281 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8282 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8283 Likewise.
8284 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8285 (__ieee754_ynl): Likewise.
8286 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8287 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8288 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8289 Likewise.
8290 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8291 (__ieee754_ynl): Likewise.
8292 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8293 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8294 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8295 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8296 Likewise.
8297 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8298 (__ieee754_ynl)
8299 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8300 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8301 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8302 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8303 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8304
9755bc46
JM
8305 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8306 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8307 using MATH_REDIRECT.
8308 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8309 header inclusion.
8310 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8311 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8312 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8313 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8314 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8315 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8316 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8321 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8322 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8323 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8324 (round): Redirect to __round.
8325 (__roundl): Call round instead of __round.
8326 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8327 Remove macro.
8328 [_ARCH_PWR5X] (__roundf): Likewise.
8329 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8330 functions instead of __round variants.
8331 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8332 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8333 Likewise.
8334 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8335 Likewise.
8336 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8337 Likewise.
8338 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8339 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8340 __lroundl.
8341 (__ieee754_expl): Call roundl instead of __roundl.
8342
f841c97e
AS
83432018-09-27 Andreas Schwab <schwab@suse.de>
8344
8345 [BZ #23717]
8346 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8347 (do_test): Make st1 static.
8348
6ca8284e
AS
83492018-09-26 Andreas Schwab <schwab@suse.de>
8350
8351 [BZ #23707]
8352 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8353 * elf/Makefile (tests): Add tst-unwind-ctor.
8354 (modules-names): Add tst-unwind-ctor-lib.
8355 ($(objpfx)tst-unwind-ctor): Depend on
8356 $(objpfx)tst-unwind-ctor-lib.so.
8357
61d8b5fe
JM
83582018-09-26 Joseph Myers <joseph@codesourcery.com>
8359
8360 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8361 file. Most contents moved from ....
8362 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8363 and include <bits/mman-map-flags-generic.h>.
8364 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8365 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8366 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8367 <bits/mman-map-flags-generic.h>.
8368 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8369 macros defined in <bits/mman-map-flags-generic.h>.
8370 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8371 <bits/mman-map-flags-generic.h>.
8372 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8373 defined in <bits/mman-map-flags-generic.h>.
8374
46341286
AS
83752018-09-26 Andreas Schwab <schwab@suse.de>
8376
8377 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8378 output.
8379
b5c45e83
AZ
83802018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8381 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8382 Fangrui Song <maskray@google.com>
8383
8384 [BZ #20480]
8385 * config.make.in (have-textrel_ifunc): New define.
8386 * configure.ac: Add check if linker supports textrel relocation with
8387 ifunc.
8388 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8389 tst-ifunc-textrel.
8390 (CFLAGS-tst-ifunc-textrel.c): New rule.
8391 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8392 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8393 * elf/tst-ifunc-textrel.c: New file.
8394
8ea4d2b7
JM
83952018-09-25 Joseph Myers <joseph@codesourcery.com>
8396
d62f9ec0
JM
8397 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8398 <bits/procfs-prregset.h>.
8399 (prgregset_t): Define using __prgregset_t.
8400 (prfpregset_t): Define using __prfpregset_t.
8401 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8402 (sysdep_headers): Add bits/procfs-prregset.h.
8403 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8404 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8405 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8406 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8407
d0d8eb43
JM
8408 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8409 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8410 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8411 pr_uid and pr_gid.
8412 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8413 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8414 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8415 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8416 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8417 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8418 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8419 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8420 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8421 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8422 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8423 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8424 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8425 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8426 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8427 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8428 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8429 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8430 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8431 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8432 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8433 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8434 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8435 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8436
8ea4d2b7
JM
8437 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8438 AArch64 version. Include <bits/procfs.h>.
8439 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8440 (sysdep_headers): Add bits/procfs.h.
8441 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8442 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8443 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8444 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8445 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8446 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8447 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8448 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8449 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8450 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8451 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8452 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8453 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8454 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8455 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8456 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8457 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8458
c7027166
AZ
84592018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8460
8461 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8462 Use libsupport.
8463
335a3b0a
AS
84642018-09-25 Arjun Shankar <arjun@redhat.com>
8465
8466 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8467 (__gconv_max_path_elem_len): Likewise.
8468 (__gconv_nmodules): Likewise.
8469 (__gconv_get_path): Likewise.
8470 (path_elem): Move to ...
8471 * iconv/gconv_conf.c: ... here.
8472 (__gconv_get_path): Mark function static.
8473 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8474 * iconv/gconv_open.c: ... here.
8475
462d348c
AS
84762018-09-24 Andreas Schwab <schwab@suse.de>
8477
8478 * scripts/haveversions.awk: New file.
8479 * Makerules ($(common-objpfx)Versions.def)
8480 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8481 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8482 Move rules ...
8483 * Makeconfig ($(common-objpfx)Versions.def)
8484 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8485 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8486 ... here.
8487 ($(common-objpfx)Versions.mk): New rule. Include it.
8488 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8489 Emit error if build-obsolete-nsl = yes.
8490 * manual/install.texi (Configuring and compiling): Describe
8491 --enable-obsolete-nsl as unavaiable after version 2.28.
8492 * INSTALL: Regenerate.
8493
f0458cf4
AZ
84942018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8495
8496 * NEWS: Add note about new TLE support on powerpc64le.
8497 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8498 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8499 __ununsed1.
8500 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8501 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8502 * sysdeps/powerpc/powerpc32/sysdep.h,
8503 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8504 ABORT_TRANSACTION): Remove macros.
8505 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8506 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8507 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8509 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8510 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8511 usage.
8512 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8513
434d45fd
RL
85142018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8515
8516 [BZ #10425]
8517 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8518 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8519 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8520 which is the same as in it_IT.
8521 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8522 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8523
d90c9b1a
JM
85242018-09-20 Joseph Myers <joseph@codesourcery.com>
8525
7abf97be
JM
8526 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8527 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8528 using MATH_REDIRECT.
8529 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8530 header inclusion.
8531 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8532 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8533 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8534 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8535 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8536 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8541 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8542 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8543 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8544 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8545 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8546 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8547 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8548 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8549 (ceil): Redirect to __ceil.
8550 (floor): Redirect to __floor.
8551 (trunc): Redirect to __trunc.
8552 (__truncl): Call trunc instead of __trunc.
8553 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8554 Remove macro.
8555 [_ARCH_PWR5X] (__truncf): Likewise.
8556 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8557 trunc functions instead of __trunc variants.
8558 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8559 Likewise.
8560 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8561 Likewise.
8562 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8563 Likewise.
8564 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8565 Likewise.
8566
d90c9b1a
JM
8567 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8568 [__i586__ || __pentium__].
8569 [__i486__]: Handle explicitly.
8570 (HAS_CPUID): Define to 1 if above macros are undefined.
8571 (HAS_I586): Likewise.
8572 (HAS_I686): Likewise.
8573
db9a8ad4
FW
85742018-09-20 Florian Weimer <fweimer@redhat.com>
8575
8576 * misc/tst-gethostid.c: New file.
8577 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8578 (tst-gethostid): Link with -ldl.
8579
1214ba06
MY
85802018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8581
8582 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8583 value from gethostbyname_r.
8584
791b350d
CD
85852018-09-19 Carlos O'Donell <carlos@redhat.com>
8586
8587 * stdlib/tst-setcontext9.c (f1): Rename to...
8588 (f1a): ... this.
8589 (f1b): New function implementing lower half of f1 in alternate stack.
8590
8e6fd2bd
PE
85912018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8592
e1080e7e
PE
8593 Fix mktime localtime offset confusion
8594 [BZ #23603]
8595 * include/time.h (__mktime_internal): The localtime offset is now
8596 of type long int instead of time_t. This is the longstanding type
8597 in glibc, and it is more than enough to represent difference
8598 between localtime and gmtime even if it is 32 bits and time_t is
8599 64. Changing it now will let us avoid an unnecessary change when
8600 time_t is widened to 64 bits on 32-bit platforms.
8601 * time/mktime-internal.h (mktime_offset_t): Now long int.
8602
8e6fd2bd
PE
8603 Merge mktime, timegm from upstream Gnulib
8604 [BZ #23603][BZ #16346]
8605 This fixes some obscure problems with integer overflow.
8606 Although it looks scary, it is almost all a byte-for-byte copy
8607 from Gnulib, and the Gnulib code has been tested reasonably well.
8608 * include/intprops.h: New file, copied from Gnulib.
8609 * include/verify.h, time/mktime-internal.h:
8610 New tiny files, simplified from Gnulib.
8611 * time/mktime.c: Copy from Gnulib. This has the following changes:
8612 Do not include config.h if DEBUG_MKTIME is nonzero.
8613 Include stdbool.h, intprops.h, verify.h.
8614 Include string.h only if needed.
8615 Include stdlib.h on MS-Windows.
8616 Include mktime-internal.h.
8617 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8618 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8619 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8620 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8621 simplify later conditionals; default the others to zero. Use
8622 these conditionals to express only the code needed on the current
8623 platform. In uses of these conditionals, explicitly spell out how
8624 _LIBC affects things, so it’s easier to review from a glibc
8625 viewpoint.
8626 (WRAPV): Remove; no longer needed now that we have
8627 systematic overflow checking.
8628 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8629 compartmentalize tzset issues. Move system-dependent tzsettish
8630 code here from mktime.
8631 (verify): Remove; now done by verify.h. All uses changed.
8632 (long_int): Use a more-conservative definition, to avoid
8633 integer overflow.
8634 (SHR): Remove, replacing with ...
8635 (shr): New function, which means we needn’t worry about side
8636 effects in args, and conversion analysis is simpler.
8637 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8638 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8639 (time_t_avg, time_t_add_ok): Remove.
8640 (mktime_min, mktime_max): New constants.
8641 (leapyear, isdst_differ): Use bool for booleans.
8642 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8643 Use long_int, not time_t, for mktime differences.
8644 (long_int_avg): New function, replacing time_t_avg.
8645 INT_ADD_WRAPV replaces time_t_add_ok.
8646 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8647 All uses changed.
8648 (convert_time): New function.
8649 (ranged_convert): Use it.
8650 (__mktime_internal): Last arg now points to mktime_offset_t, not
8651 time_t. All uses changed. This is a no-op on glibc, where
8652 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8653 offset guess. Directly check for integer overflow instead of
8654 using a heuristic that works only 99.9...% of the time.
8655 Access *OFFSET only once, to avoid an unlikely race if the
8656 compiler delays a load and if this cascades into a signed integer
8657 overflow.
8658 (mktime): Move tzsettish code to my_tzset, and move
8659 localtime_offset to within mktime so that it doesn’t
8660 need a separate ifdef.
8661 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8662 instead of localtime.
8663 * time/timegm.c: Copy from Gnulib. This has the following changes:
8664 Include mktime-internal.h.
8665 [!_LIBC]: Include config.h and time.h. Do not include
8666 timegm.h or time_r.h. Make __mktime_internal a macro,
8667 and include mktime-internal.h to get its declaration.
8668 (timegm): Temporary is now mktime_offset_t, not time_t.
8669 This affects only Gnulib.
8670
83a552b0
WD
86712018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8672
8673 [BZ #23637]
8674 * string/test-strstr.c (pr23637): New function.
8675 (test_main): Add tests with longer needles.
8676 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8677 * string/strstr.c (AVAILABLE): Likewise.
8678
d7347278
SN
86792018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8680
8681 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8682
424c4f60
SN
86832018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8684
8685 * NEWS: Mention pow improvements.
8686 * math/Makefile (type-double-routines): Add e_pow_log_data.
8687 * sysdeps/generic/math_private.h (__exp1): Remove.
8688 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8689 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8690 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8691 contraction.
8692 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8693 (exp_inline): Remove.
8694 (__ieee754_exp): Only single double input is handled.
8695 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8696 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8697 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8698 (__pow_log_data): Define.
8699 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8700 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8701 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8702 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8703 contraction.
8704 (CFLAGS-e_pow-fma4.c): Likewise.
8705
e4e4fde5
PE
87062018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8707
dab9c348
PE
8708 Simplify tzfile fstat failure code
8709 [BZ #21716]
8710 * time/tzfile.c (__tzfile_read): Simplify slightly.
8711
e4e4fde5
PE
8712 Fix tzfile low-memory assertion failure
8713 [BZ #21716]
8714 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8715 when registering time zone abbreviations.
8716
50bc59ca
JM
87172018-09-18 Joseph Myers <joseph@codesourcery.com>
8718
d3a43e49
JM
8719 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8720 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8721 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8722 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8723 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8724 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8725 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8726 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8727 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8728
50bc59ca
JM
8729 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8730 __ceil.
8731 (__ceill): Call ceil instead of __ceil.
8732 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8733 __floor.
8734 (__floorl): Call floor instead of __floor.
8735
89983cb3
JM
87362018-09-17 Joseph Myers <joseph@codesourcery.com>
8737
71223ef9
JM
8738 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8739 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8740 using MATH_REDIRECT.
8741 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8742 header inclusion.
8743 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8744 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8745 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8746 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8747 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8749 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8750 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8755 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8756 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8759 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8760 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8761 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8762 Remove macro.
8763 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8764 functions instead of __ceil variants.
8765 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8766 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8767 Likewise.
8768 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8769 Likewise.
8770 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8771 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8772 Likewise.
8773 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8774 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8775
89983cb3
JM
8776 [BZ #21286]
8777 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8778 constant.
8779 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8780 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8781 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8782 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8783 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8784 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8785 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8786 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8787 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8788 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8789 (ILL_BADIADDR): Remove constant.
8790 (TRAP_BRANCH): Likewise.
8791 (TRAP_HWBKPT): Likewise.
8792
e44acb20
JM
87932018-09-14 Joseph Myers <joseph@codesourcery.com>
8794
3f7f1d18
JM
8795 [BZ #23656]
8796 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8797 Remove [_MIPS_SIM = _ABIN32] conditional case.
8798 (struct elf_prpsinfo): Likewise.
8799
d59f3e5e
JM
8800 [BZ #23649]
8801 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8802 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8803 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8804 Likewise.
8805 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8806 elf_prpsinfo): Likewise.
8807 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
8808 elf_prpsinfo): Likewise.
8809 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
8810 Likewise.
8811
f29b6f17
JM
8812 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8813 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
8814 using MATH_REDIRECT.
8815 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
8816 header inclusion.
8817 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
8818 * sysdeps/alpha/fpu/s_rint.c: Likewise.
8819 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
8820 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8821 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8822 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8823 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
8824 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8825 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8826 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8827 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
8828 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
8829 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
8830 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
8831 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
8832 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8833 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8834 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
8835 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
8837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
8838 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
8839 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
8840 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8841 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8842 * sysdeps/x86_64/fpu/math_private.h: Remove file.
8843 * math/e_scalb.c (invalid_fn): Use rint functions instead of
8844 __rint variants.
8845 * math/e_scalbf.c (invalid_fn): Likewise.
8846 * math/e_scalbl.c (invalid_fn): Likewise.
8847 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8848 Likewise.
8849 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8850 Likewise.
8851 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8852 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
8853 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8854 Likewise.
8855 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8856 Likewise.
8857 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8858 Likewise.
8859 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
8860 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
8861
e44acb20
JM
8862 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8863 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
8864 New macro.
8865 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8866 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
8867 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8868 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
8869 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8870 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
8871 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8872 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
8873 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8874 && !NO_MATH_REDIRECT] (floor): Likewise.
8875 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
8876 header inclusion.
8877 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
8878 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8880 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
8881 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8882 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8883 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8884 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
8885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
8886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
8887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
8888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
8889 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8890 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8891 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8892 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8893 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8894 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8895 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
8896 Remove macro.
8897 [_ARCH_PWR5X] (__floorf): Likewise.
8898 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
8899 inline function.
8900 [__SSE4_1__] (__floorf): Likewise.
8901 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
8902 instead of __floor variants.
8903 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
8904 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
8905 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
8906 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
8907 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
8908 * math/w_tgamma_compat.c (__tgamma): Likewise.
8909 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
8910 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
8911 * math/w_tgammal_compat.c (__tgammal): Likewise.
8912 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
8913 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8914 Likewise.
8915 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8916 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
8917 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8918 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8919 Likewise.
8920 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8921 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
8922 Likewise.
8923 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8924 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8925 Likewise.
8926 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8927 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8928 Likewise.
8929 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8930 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8931 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8932 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8933 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8934 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8935
221e4bab
JM
89362018-09-12 Joseph Myers <joseph@codesourcery.com>
8937
8938 * elf/Makefile (modules-names-tests): New variable.
8939
3e08ff54
SN
89402018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8941
8942 * NEWS: Mention log2 improvements.
8943 * math/Makefile (type-double-routines): Add e_log2_data.
8944 * sysdeps/i386/fpu/e_log2_data.c: New file.
8945 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8946 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8947 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8948 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8949 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8950 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8951
f41b0a43
SN
89522018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8953
8954 * NEWS: Mention log improvement.
8955 * math/Makefile (type-double-routines): Add e_log_data.
8956 * sysdeps/i386/fpu/e_log_data.c: New file.
8957 * sysdeps/ia64/fpu/e_log_data.c: New file.
8958 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8959 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8960 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8961 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8962 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8963 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8964
5a274db4
L
89652018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8966 Xuepeng Guo <xuepeng.guo@intel.com>
8967
8968 [BZ #23606]
8969 * sysdeps/i386/start.S: Include <sysdep.h>
8970 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8971 enabled. Add cfi_undefined (eip).
8972
b1176270
JM
89732018-09-11 Joseph Myers <joseph@codesourcery.com>
8974
4e7fbdd7
JM
8975 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8976 (MOVQ): Likewise.
8977 (EXTRACT_WORDS64): Likewise.
8978 (INSERT_WORDS64): Likewise.
8979 (GET_FLOAT_WORD): Likewise.
8980 (SET_FLOAT_WORD): Likewise.
8981
b1176270
JM
8982 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8983 argument.
8984 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8985 build, but not for second build if --full-gcc. Use
8986 --enable-languages=all for second build if --full-gcc.
8987 (get_parser): Add --full-gcc option.
8988 (main): Update call to Context.
8989
527f355e
RL
89902018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8991
8992 [BZ #10797]
8993 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8994 Single Quotation Mark).
8995 (thousands_sep): Likewise.
8996 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8997 * localedata/locales/it_IT (thousands_sep): Use ".".
8998 (grouping): Use "3;3".
8999
7244f13d
JM
90002018-09-10 Joseph Myers <joseph@codesourcery.com>
9001
9002 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9003 x86_64 and i686 configs using --enable-obsolete-rpc
9004 --enable-obsolete-nsl.
9005
38245425
SL
90062018-09-06 Stefan Liebler <stli@linux.ibm.com>
9007
9008 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9009
28669f86
SL
90102018-09-06 Stefan Liebler <stli@linux.ibm.com>
9011
9012 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9013 Increment size of new_argv by one.
9014
a33650d1
RL
90152018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9016
9017 [BZ #17426]
9018 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9019 * localedata/locales/ar_IN (d_fmt): Likewise.
9020 * localedata/locales/bhb_IN (d_fmt): Likewise.
9021 * localedata/locales/bho_IN (d_fmt): Likewise.
9022 * localedata/locales/bn_BD (d_fmt): Likewise.
9023 * localedata/locales/bn_IN (d_fmt): Likewise.
9024 * localedata/locales/doi_IN (d_fmt): Likewise.
9025 * localedata/locales/gu_IN (d_fmt): Likewise.
9026 * localedata/locales/hi_IN (d_fmt): Likewise.
9027 * localedata/locales/hne_IN (d_fmt): Likewise.
9028 * localedata/locales/kn_IN (d_fmt): Likewise.
9029 * localedata/locales/mag_IN (d_fmt): Likewise.
9030 * localedata/locales/mai_IN (d_fmt): Likewise.
9031 * localedata/locales/mjw_IN (d_fmt): Likewise.
9032 * localedata/locales/ml_IN (d_fmt): Likewise.
9033 * localedata/locales/mni_IN (d_fmt): Likewise.
9034 * localedata/locales/mr_IN (d_fmt): Likewise.
9035 * localedata/locales/pa_IN (d_fmt): Likewise.
9036 * localedata/locales/raj_IN (d_fmt): Likewise.
9037 * localedata/locales/sat_IN (d_fmt): Likewise.
9038 * localedata/locales/sd_IN (d_fmt): Likewise.
9039 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9040 * localedata/locales/ta_IN (d_fmt): Likewise.
9041 * localedata/locales/ta_LK (d_fmt): Likewise.
9042 * localedata/locales/tcy_IN (d_fmt): Likewise.
9043 * localedata/locales/ur_IN (d_fmt): Likewise.
9044
9045 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9046 * localedata/locales/ks_IN (d_fmt): Likewise.
9047 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9048
9049 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9050 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9051 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9052 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9053
d114e6a7
SN
90542018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9055
9056 * NEWS: Mention exp and exp2 improvements.
9057 * math/Makefile (libm-support): Remove t_exp.
9058 (type-double-routines): Add math_err and e_exp_data.
9059 * sysdeps/aarch64/libm-test-ulps: Update.
9060 * sysdeps/arm/libm-test-ulps: Update.
9061 * sysdeps/i386/fpu/e_exp_data.c: New file.
9062 * sysdeps/i386/fpu/math_err.c: New file.
9063 * sysdeps/i386/fpu/t_exp.c: Remove.
9064 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9065 * sysdeps/ia64/fpu/math_err.c: New file.
9066 * sysdeps/ia64/fpu/t_exp.c: Remove.
9067 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9068 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9069 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9070 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9071 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9072 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9073 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9074 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9075 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9076 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9077 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9078 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9079 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9080 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9082 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9083
b9d8c474
JM
90842018-09-05 Joseph Myers <joseph@codesourcery.com>
9085
b7cdc2ae
JM
9086 * sysdeps/alpha/fpu/math_private.h: Remove.
9087
b9d8c474
JM
9088 * sysdeps/generic/math_private.h
9089 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9090 Move this inline function ....
9091 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9092 * include/math.h [!_ISOMAC]: To here....
9093
418d99e6
JM
90942018-09-04 Joseph Myers <joseph@codesourcery.com>
9095
9096 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9097 code ....
9098 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9099 * include/fenv.h [!_ISOMAC]: ... to here.
9100 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9101 (feraiseexcept): Likewise.
9102 * math/fromfp.h: Do not include <fenv_private.h>.
9103 * math/s_cexp_template.c: Likewise.
9104 * math/s_csin_template.c: Likewise.
9105 * math/s_csinh_template.c: Likewise.
9106 * math/s_ctan_template.c: Likewise.
9107 * math/s_ctanh_template.c: Likewise.
9108 * math/s_iseqsig_template.c: Likewise.
9109 * math/w_acos_compat.c: Likewise.
9110 * math/w_acosf_compat.c: Likewise.
9111 * math/w_acosl_compat.c: Likewise.
9112 * math/w_asin_compat.c: Likewise.
9113 * math/w_asinf_compat.c: Likewise.
9114 * math/w_asinl_compat.c: Likewise.
9115 * math/w_j0_compat.c: Likewise.
9116 * math/w_j0f_compat.c: Likewise.
9117 * math/w_j0l_compat.c: Likewise.
9118 * math/w_j1_compat.c: Likewise.
9119 * math/w_j1f_compat.c: Likewise.
9120 * math/w_j1l_compat.c: Likewise.
9121 * math/w_jn_compat.c: Likewise.
9122 * math/w_jnf_compat.c: Likewise.
9123 * math/w_log10_compat.c: Likewise.
9124 * math/w_log10f_compat.c: Likewise.
9125 * math/w_log10l_compat.c: Likewise.
9126 * math/w_log2_compat.c: Likewise.
9127 * math/w_log2f_compat.c: Likewise.
9128 * math/w_log2l_compat.c: Likewise.
9129 * math/w_log_compat.c: Likewise.
9130 * math/w_logf_compat.c: Likewise.
9131 * math/w_logl_compat.c: Likewise.
9132 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9133 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9135 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9136 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9137 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9138 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9139 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9140 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9141 * sysdeps/ieee754/k_standardl.c: Likewise.
9142 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9143 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9144 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9145 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9146 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9147 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9148 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9149 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9150 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9151 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9152 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9153 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9154 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9155 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9156 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9157 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9158 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9159 * math/w_ilogb_template.c: Include <fenv.h> instead of
9160 <fenv_private.h>.
9161 * math/w_llogb_template.c: Likewise.
9162 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9163 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9164
70e2ba33
JM
91652018-09-03 Joseph Myers <joseph@codesourcery.com>
9166
9167 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9168 * math/fromfp.h: Include <fenv_private.h>.
9169 * math/math-narrow.h: Likewise.
9170 * math/s_cexp_template.c: Likewise.
9171 * math/s_csin_template.c: Likewise.
9172 * math/s_csinh_template.c: Likewise.
9173 * math/s_ctan_template.c: Likewise.
9174 * math/s_ctanh_template.c: Likewise.
9175 * math/s_iseqsig_template.c: Likewise.
9176 * math/w_acos_compat.c: Likewise.
9177 * math/w_acosf_compat.c: Likewise.
9178 * math/w_acosl_compat.c: Likewise.
9179 * math/w_asin_compat.c: Likewise.
9180 * math/w_asinf_compat.c: Likewise.
9181 * math/w_asinl_compat.c: Likewise.
9182 * math/w_ilogb_template.c: Likewise.
9183 * math/w_j0_compat.c: Likewise.
9184 * math/w_j0f_compat.c: Likewise.
9185 * math/w_j0l_compat.c: Likewise.
9186 * math/w_j1_compat.c: Likewise.
9187 * math/w_j1f_compat.c: Likewise.
9188 * math/w_j1l_compat.c: Likewise.
9189 * math/w_jn_compat.c: Likewise.
9190 * math/w_jnf_compat.c: Likewise.
9191 * math/w_llogb_template.c: Likewise.
9192 * math/w_log10_compat.c: Likewise.
9193 * math/w_log10f_compat.c: Likewise.
9194 * math/w_log10l_compat.c: Likewise.
9195 * math/w_log2_compat.c: Likewise.
9196 * math/w_log2f_compat.c: Likewise.
9197 * math/w_log2l_compat.c: Likewise.
9198 * math/w_log_compat.c: Likewise.
9199 * math/w_logf_compat.c: Likewise.
9200 * math/w_logl_compat.c: Likewise.
9201 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9202 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9203 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9204 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9206 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9207 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9208 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9209 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9210 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9211 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9212 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9213 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9214 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9215 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9216 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9217 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9218 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9219 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9220 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9221 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9222 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9223 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9224 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9225 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9226 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9227 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9228 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9229 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9230 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9231 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9232 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9233 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9234 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9235 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9236 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9237 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9238 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9239 * sysdeps/ieee754/k_standardl.c: Likewise.
9240 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9241 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9242 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9243 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9244 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9245 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9246 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9247 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9248 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9249 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9250 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9251 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9252 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9253 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9254 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9255 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9256 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9257 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9258 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9259 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9260 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9261 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9262 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9263 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9264 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9265 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9266 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9267 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9268 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9269 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9270 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9271 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9272 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9273 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9274 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9275 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9276 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9277 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9278 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9279 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9280 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9281 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9282 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9283 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9284 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9285 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9286 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9287 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9288 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9289 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9290 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9291 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9292 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9293 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9294 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9295 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9296 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9297 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9298 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9299 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9300 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9301 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9302 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9303 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9304 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9305 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9306 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9307 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9308 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9309 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9310 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9311
a6e8926f
PP
93122018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9313
9314 [BZ #20271]
9315 * include/stdio.h (__libc_fatal): Mention newline in comment.
9316 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9317 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9318 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9319 * nss/nsswitch.c (__nss_next2): Likewise.
9320 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9321 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9322 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9323 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9324 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9325 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9326 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9327 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9328 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9329 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9330 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9331 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9332 (__netlink_assert_response): Likewise.
9333
2bbd06bc
JM
93342018-08-31 Joseph Myers <joseph@codesourcery.com>
9335
9336 * conform/glibcconform.py: New file.
9337 * conform/list-header-symbols.py: Likewise.
9338 * conform/list-header-symbols.pl: Remove.
9339 * conform/Makefile (tests-special): Only add linknamespace tests
9340 if [PYTHON].
9341 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9342
81b9d87b
L
93432018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9344
9345 [BZ #23597]
9346 * support/Makefile (libsupport-routines): Add
9347 support_copy_file_range and xcopy_file_range.
9348 * support/support.h: Include <sys/types.h>.
9349 (support_copy_file_range): New prototype.
9350 * support/support_copy_file_range.c: New file. Copied and
9351 modified from io/copy_file_range-compat.c.
9352 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9353 instead of copy_file_range.
9354 * support/xcopy_file_range.c: New file.
9355 * support/xunistd.h (xcopy_file_range): New prototype.
9356
d330f31a
CD
93572018-08-30 Carlos O'Donell <carlos@redhat.com>
9358
9359 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9360 xpthread_create and xpthread_join.
9361
2bda273a
FW
93622018-08-30 Florian Weimer <fweimer@redhat.com>
9363
9364 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9365
3bad2358
SL
93662018-08-30 Stefan Liebler <stli@linux.ibm.com>
9367
9368 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9369 if malloc fails.
9370
09c12efc
JM
93712018-08-29 Joseph Myers <joseph@codesourcery.com>
9372
9373 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9374 and minus_oflow as non-finite.
9375
ff6b2450
JM
93762018-08-28 Joseph Myers <joseph@codesourcery.com>
9377
9378 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9379 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9380 moved to fenv_private.h except for ...
9381 (TOINT_INTRINSICS): Kept in math_private.h.
9382 (roundtoint): Likewise.
9383 (converttoint): Likewise.
9384 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9385 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9386 * sysdeps/arm/math_private.h: Remove.
9387 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9388 ....
9389 * sysdeps/generic/math_private.h: ... this file. Include
9390 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9391 Include <fenv_private.h>. Remove functions and macros moved to
9392 fenv_private.h.
9393 * sysdeps/i386/fpu/math_private.h: Remove.
9394 * sysdeps/mips/math_private.h: Move to ....
9395 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9396 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9397 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9398 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9399 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9400 * sysdeps/powerpc/fpu/math_private.h: Do not include
9401 <fenv_private.h>.
9402 * sysdeps/riscv/rvf/math_private.h: Move to ....
9403 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9404 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9405 <fenv_private.h>.
9406 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9407 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9408 * sysdeps/sparc/fpu/math_private.h: Remove.
9409 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9410 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9411 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9412 <fenv_private.h>.
9413 * sysdeps/x86_64/fpu/math_private.h: Do not include
9414 <sysdeps/i386/fpu/fenv_private.h>.
9415
761404b7
FW
94162018-08-28 Florian Weimer <fweimer@redhat.com>
9417
9418 [BZ #23578]
9419 * posix/tst-regcomp-truncated.c: New file.
9420 * posix/Makefile (tests): Add it.
9421 (tst-regcomp-truncated.out): Depend on generated locales.
9422
d6c44c3d
FW
94232018-08-28 Florian Weimer <fweimer@redhat.com>
9424
9425 * support/test-container.c (main): Treat unshare failure with
9426 EPERM as an unsupported test.
9427
745664bd
FW
94282018-08-28 Florian Weimer <fweimer@redhat.com>
9429
9430 [BZ #23520]
9431 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9432 * nscd/netgroupcache.c
9433 (addgetnetgrentX): Add tofreep parameter. Do not free
9434 heap-allocated buffer.
9435 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9436 (addgetnetgrentX_ignore): New function.
9437 (addgetnetgrent): Call it.
9438 (readdgetnetgrent): Likewise.
9439
c8dd67e7
RS
94402018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9441
9442 * string/memmem.c: Use memcmp for first match.
9443
5abedf97
RL
94442018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9445
9446 [BZ #17426]
9447 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9448
86de0499
DD
94492018-08-27 DJ Delorie <dj@redhat.com>
9450
9451 * support/Makefile (others): Don't list programs explicitly as a
9452 dependency of "others".
9453
c3ab2110
JM
94542018-08-27 Joseph Myers <joseph@codesourcery.com>
9455
9456 * sysdeps/generic/math-tests-trap-force.h: New file.
9457 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9458 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9459 * sysdeps/powerpc/math-tests.h: Remove file.
9460 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9461
6b5c8607
TS
94622018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9463 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
9464
9465 [BZ #23538]
9466 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9467 Update r to include the set wake-request flag if waiters are
9468 remaining after spinning.
9469
4061791f
JM
94702018-08-27 Joseph Myers <joseph@codesourcery.com>
9471
9472 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9473
bc680b33
PE
94742018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9475
761404b7 9476 [BZ #23578]
bc680b33
PE
9477 regex: fix uninitialized memory access
9478 I introduced this bug into gnulib in commit
9479 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9480 eventually it was merged into glibc. The bug was found by
9481 project-repo <bugs@feusi.co> and reported here:
9482 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9483 Diagnosis and draft fix reported by Assaf Gordon here:
9484 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9485 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9486 * posix/regex_internal.c (build_wcs_upper_buffer):
9487 Fix bug when mbrtowc returns 0.
9488
02458a52
CD
94892018-08-24 Carlos O'Donell <carlos@redhat.com>
9490
9491 * po/be.po: Update translation.
9492
acc2842a
DD
94932018-08-24 DJ Delorie <dj@delorie.com>
9494
9495 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9496 $(libunwind).
9497
6c3a8a9d
PP
94982018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9499
b39d961c
TS
9500 [BZ #23400]
9501 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9502 create temporary files in source tree.
6c3a8a9d 9503
895ef79e
JM
95042018-08-24 Joseph Myers <joseph@codesourcery.com>
9505
9506 * sysdeps/generic/math-tests-trap.h: New file.
9507 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9508 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9509 * sysdeps/aarch64/math-tests.h: Remove file.
9510 * sysdeps/arm/math-tests.h: Likewise.
9511 * sysdeps/riscv/math-tests.h: Likewise.
9512 * sysdeps/aarch64/math-tests-trap.h: New file.
9513 * sysdeps/arm/math-tests-trap.h: Likewise.
9514 * sysdeps/riscv/math-tests-trap.h: Likewise.
9515
ca3aac57
WD
95162018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9517
9518 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9519 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9520 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9521 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9522 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9523 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9524 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9525 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9526 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9527 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9528 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9529 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9530 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9531 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9532 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9533 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9534 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9535 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9536
60bcac09
JM
95372018-08-23 Joseph Myers <joseph@codesourcery.com>
9538
9539 * sysdeps/generic/math-tests-exceptions.h: New file.
9540 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9541 (EXCEPTION_TESTS_float): Do not define here.
9542 (EXCEPTION_TESTS_double): Likewise.
9543 (EXCEPTION_TESTS_long_double): Likewise.
9544 (EXCEPTION_TESTS_float128): Likewise.
9545 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9546 Likewise.
9547 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9548 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9549 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9550 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9551 * sysdeps/mips/math-tests.h: Likewise.
9552 * sysdeps/nios2/math-tests.h: Likewise.
9553 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9554 (EXCEPTION_TESTS_float): Do not define here.
9555 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9556 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9557 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9558
3bded567
WD
95592018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9560
9561 * NEWS: Move optimized sinf entry to 2.29.
9562
900fb446
WD
95632018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9564
9565 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9566
561b0bec
DD
95672018-08-22 DJ Delorie <dj@redhat.com>
9568
9569 * Makefile (testroot.pristine): New rules to initialize the
9570 test-in-container "testroot".
9571 * Makerules (all-testsuite): Add tests-container.
9572 * Rules (tests-expected): Add tests-container.
9573 (binaries-all-tests): Likewise.
9574 (tests-container): New, run these tests in the testroot container.
9575 * support/Makefile (others): Add *-container, support_paths.c,
9576 xmkdirp, and links-dso-program.
9577 * support/links-dso-program-c.c: New.
9578 * support/links-dso-program.cc: New.
9579 * support/test-container.c: New.
9580 * support/shell-container.c: New.
9581 * support/echo-container.c: New.
9582 * support/true-container.c: New.
9583 * support/xmkdirp.c: New.
9584 * support/xsymlink.c: New.
9585 * support/support_paths.c: New.
9586 * support/support.h: Add support paths prototypes.
9587 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9588
9589 * nss/tst-nss-test3.c: Convert to test-in-container.
9590 * nss/tst-nss-test3.root/: New.
9591
b35d3509
PE
95922018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9593
9594 regex: port Gnulib code to z/OS POSIX environment
9595 Problem reported by Arnold Robbins in:
9596 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9597 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9598 Undef.
9599
16a25138
JM
96002018-08-22 Joseph Myers <joseph@codesourcery.com>
9601
debc4c98
JM
9602 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9603 (ROUNDING_TESTS_double): Remove.
9604 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9605 (ROUNDING_TESTS_double): Remove.
9606 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9607 (ROUNDING_TESTS_double): Remove.
9608 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9609 (ROUNDING_TESTS_float): Remove.
9610 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9611 (ROUNDING_TESTS_float): Remove.
9612 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9613 (ROUNDING_TESTS_float): Remove.
9614 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9615 !TEST_MATHVEC here.
9616 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9617 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9618
16a25138
JM
9619 * sysdeps/generic/math-tests-rounding.h: New file.
9620 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9621 (ROUNDING_TESTS_float): Do not define here.
9622 (ROUNDING_TESTS_double): Likewise.
9623 (ROUNDING_TESTS_long_double): Likewise.
9624 (ROUNDING_TESTS_float128): Likewise.
9625 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9626 (ROUNDING_TESTS_double): Undefine before defining.
9627 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9628 (ROUNDING_TESTS_double): Undefine before defining.
9629 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9630 (ROUNDING_TESTS_double): Undefine before defining.
9631 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9632 (ROUNDING_TESTS_float): Undefine before defining.
9633 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9634 (ROUNDING_TESTS_float): Undefine before defining.
9635 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9636 (ROUNDING_TESTS_float): Undefine before defining.
9637 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9638 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9639 not define here.
9640 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9641 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9642 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9643 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9644 (ROUNDING_TESTS_float): Do not define here.
9645 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9646 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9647 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9648 (ROUNDING_TESTS_float): Likewise.
9649 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9650 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9651 * sysdeps/mips/math-tests.h [__mips_soft_float]
9652 (ROUNDING_TESTS_float): Likewise.
9653 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9654 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9655 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9656 (ROUNDING_TESTS_double): Likewise.
9657 (ROUNDING_TESTS_long_double): Likewise.
9658
38b0593e
TK
96592018-08-21 Tobias Klauser <tklauser@distanz.ch>
9660
9661 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9662 (PF_XDP): New macro.
9663 (AF_XDP): New macro.
9664 (SOL_XDP): New macro.
9665
5cd7dbde
JM
96662018-08-21 Joseph Myers <joseph@codesourcery.com>
9667
9668 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9669 (TCP_INQ): Likewise.
9670 (TCP_CM_INQ): Likewise.
9671 (TCP_REPAIR_ON): Likewise.
9672 (TCP_REPAIR_OFF): Likewise.
9673 (TCP_REPAIR_OFF_NO_WP): Likewise.
9674 (struct tcp_zerocopy_receive): New type.
9675
aa42b3db
FW
96762018-08-21 Florian Weimer <fweimer@redhat.com>
9677
9678 * support/support.h (support_descriptor_supports_holes): Declare.
9679 * support/Makefile (libsupport-routines): Add
9680 support_descriptor_supports_holes.
9681 * support/support_descriptor_supports_holes.c: New file.
9682 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9683 and stop testing if holes are not supported.
9684 * io/test-lfs.c (do_prepare): Likewise.
9685 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9686 Likewise.
9687 * timezone/tst-tzset.c (create_tz_file): Likewise.
9688 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9689 variable.
9690 (do_prepare): Set it.
9691 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9692
c7627f41
FW
96932018-08-21 Florian Weimer <fweimer@redhat.com>
9694
9695 [BZ #17248]
9696 * Makeconfig (+cflags): Do not sort (and deduplicate).
9697
ef939d92
FW
96982018-08-21 Florian Weimer <fweimer@redhat.com>
9699
9700 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9701 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9702
88ffb39d
FW
97032018-08-20 Florian Weimer <fweimer@redhat.com>
9704
9705 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9706 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9707
17419540
JM
97082018-08-20 Joseph Myers <joseph@codesourcery.com>
9709
e6edd40d
JM
9710 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9711 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9712 and ssi_arch members.
9713
17419540
JM
9714 * elf/elf.c (NT_VMCOREDD): New macro.
9715 (AT_MINSIGSTKSZ): Likewise.
9716
fa78896b
RS
97172018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9718
9719 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9720 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9721 s_cosf-ppc64 and s_cosf-power8.
9722 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9723 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9724 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9725 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9732 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9733 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9734
86a6c75a
FW
97352018-08-17 Florian Weimer <fweimer@redhat.com>
9736
9737 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9738
35cfefd9
FW
97392018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9740
9741 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9742
6413fcde
FW
97432018-08-16 Florian Weimer <fweimer@redhat.com>
9744
9745 * configure.ac: Add --with-nonshared-cflags option.
9746 * config.make.in (extra-nonshared-cflags): Set variable.
9747 * Makeconfig (CFLAGS-.oS): Use it.
9748 * manual/install.texi (Configuring and compiling): Document
9749 --with-nonshared-cflags.
9750 * configure: Regenerate.
9751 * INSTALL: Likewise.
9752
93a2584c
FW
97532018-08-16 Florian Weimer <fweimer@redhat.com>
9754
9755 * Makeconfig (ASFLAGS): Always append required assembler flags.
9756
f6f275d2 97572018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
9758
9759 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9760 (malloc_consolidate): Likewise.
9761
30a17d8c
PC
97622018-08-16 Pochang Chen <johnchen902@gmail.com>
9763
9764 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9765
953a5a4a
SP
97662018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9767
34f86d61
SP
9768 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9769 every strlen call.
9770
953a5a4a
SP
9771 * benchtests/bench-strlen.c: Print performance numbers in json.
9772
7793ad7a
RS
97732018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9774
9775 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9776 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9777 only for little endian.
9778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9779 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9780 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9781 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9782 Add check for little endian.
9783 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9784 (__strcmp_power9): Add check for little endian.
9785 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9786 Add check for little endian.
9787 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9788 (__strncmp_power9): Add check for little endian.
9789 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9790 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9791 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9792 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9793 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9794
436e4d5b
SP
97952018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9796
9797 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9798 [!STRLEN](STRLEN): Set to __strlen.
9799 * sysdeps/aarch64/multiarch/strlen.c: New file.
9800 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9801 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9802 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9803 (__libc_ifunc_impl_list): Add strlen.
9804 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9805 strlen_generic and strlen_asimd.
9806
126c4e3f
WD
98072018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9808
9809 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
9810 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
9811 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9812
49acec17
WD
98132018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9814
9815 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
9816
fdb16de3
FW
98172018-08-14 Florian Weimer <fweimer@redhat.com>
9818
9819 [BZ #23519]
9820 * include/stdio.h (__vfxprintf): Declare.
9821 * stdio-common/fxprintf.c (__vfxprintf): New function.
9822 (__fxprintf): Call it.
9823 * misc/err.c (convert_and_print): Remove function.
9824 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
9825 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
9826 * misc/Makefile (tests): Add tst-warn-wide.
9827 * misc/tst-warn-wide.c: New file.
9828
599cf397
WD
98292018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
9830 Szabolcs Nagy <szabolcs.nagy@arm.com>
9831
9832 * NEWS: Mention sinf, cosf, sincosf.
9833 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
9834 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
9835 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
9836 constants rather than including generic sincosf.h.
9837 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
9838 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
9839 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
9840 (reduced_cos): Remove.
9841 (sinf_poly): New function.
9842 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
9843
e95c6f61
FW
98442018-08-14 Florian Weimer <fweimer@redhat.com>
9845
9846 [BZ #23521]
9847 [BZ #23522]
9848 * nss/nss_files/files-alias.c (get_next_alias): During :include:
9849 processing, bail out if no room, and close the stream before
9850 returning ERANGE.
9851 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
9852 (tst-nss-files-alias-leak): Link with libdl.
9853 (tst-nss-files-alias-leak.out): Depend on nss_files.
9854
9855 * nss/tst-nss-files-alias-leak.c: New file.
9856
2d7acfac
FW
98572018-08-14 Florian Weimer <fweimer@redhat.com>
9858
9859 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
9860 server_user, stat_user.
9861
f3cd0904
JM
98622018-08-13 Joseph Myers <joseph@codesourcery.com>
9863
17b26500
JM
9864 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9865 version to 4.18.
9866 (io_pgetevents): New syscall.
9867 (rseq): Likewise.
9868
3c1622eb
JM
9869 * manual/install.texi (Configuring and compiling): Do not list
9870 tools used for testing pretty printers here.
9871 (Tools for Compilation): List Python, PExpect and GDB here.
9872 Update descriptions of uses of Perl and Python.
9873 * INSTALL: Regenerate.
9874
f3cd0904
JM
9875 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9876 version to 4.18.
9877
b7b52b9d
FW
98782018-08-13 Florian Weimer <fweimer@redhat.com>
9879
9880 * misc/error.c (error): Add missing va_end call.
9881 (error_at_line): Likewise.
9882
01780188
FW
98832018-08-13 Florian Weimer <fweimer@redhat.com>
9884
9885 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
9886
44727aec
SP
98872018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9888
8cac1f26
SP
9889 * benchtests/scripts/benchout.schema.json (properties): Add
9890 new properties.
9891
44727aec
SP
9892 * benchtests/bench-skeleton.c (main): Add duration and
9893 iterations attributes.
9894
c77bf91b
PE
98952018-08-10 Paul Eggert <eggert@cs.ucla.edu>
9896
9897 regex: Gnulib unibyte RRI uses bytes not chars
9898 Adjust the non-glibc code to agree with what Gawk needs for
9899 rational range interpretation (RRI) for regular expression ranges.
9900 In unibyte locales, Gawk wants ranges to use the underlying byte
9901 rather than the character code point. This change does not affect
9902 glibc proper.
9903 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
9904 In unibyte locales, use the byte value rather than
9905 running it through btowc.
9906
2ce7ba7d
JM
99072018-08-10 Joseph Myers <joseph@codesourcery.com>
9908
9909 * sysdeps/generic/math-tests-snan.h: New file.
9910 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
9911 (SNAN_TESTS_float): Do not define here.
9912 (SNAN_TESTS_double): Likewise.
9913 (SNAN_TESTS_long_double): Likewise.
9914 (SNAN_TESTS_float128): Likewise.
9915 * sysdeps/i386/fpu/math-tests-snan.h: New file.
9916 * sysdeps/i386/fpu/math-tests.h: Remove file.
9917 * sysdeps/ia64/math-tests-snan.h: New file.
9918 * sysdeps/ia64/math-tests.h: Remove file.
9919 * sysdeps/x86/math-tests.h: Likewise.
9920 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
9921
ea5c662c
WD
99222018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9923 Szabolcs Nagy <szabolcs.nagy@arm.com>
9924
9925 * math/Makefile: Add s_sincosf_data.c.
9926 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9927 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9928 (sincosf_poly): Likewise.
9929 (reduce_small): Likewise.
9930 (reduce_large): Likewise.
9931 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9932 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9933 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9934 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9935
43cfdf8f
SN
99362018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9937 Szabolcs Nagy <szabolcs.nagy@arm.com>
9938
9939 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9940 (converttoint): Use lround.
9941 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9942 document the semantics when TOINT_INTRINSICS is set.
9943 (converttoint): Likewise.
9944 (TOINT_RINT): Remove.
9945 (TOINT_SHIFT): Remove.
9946 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9947 path.
9948
69065288
FW
99492018-08-10 Florian Weimer <fweimer@redhat.com>
9950
9951 [BZ #23497]
9952 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9953 function.
9954 (__old_getdents64): Use getdents64. Convert entries without
9955 moving them.
9956 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9957 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9958 tst-readdir64-compat.
9959
8f135efc
IL
99602018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9961
9962 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9963 Fix unwind.
9964
71c01af5
IL
99652018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9966
9967 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9968 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9969 code to s390x-mcount.h and #include it.
9970 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9971 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9972 (__fentry__): Add.
9973
8d997d22
IL
99742018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9975
9976 * stdlib/Versions: Remove __fentry__.
9977 * sysdeps/i386/Versions: Add __fentry__.
9978 * sysdeps/x86_64/Versions: Add __fentry__.
9979
69e2444a
IL
99802018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9981
9982 * sysdeps/s390/Makefile: Register the new tests.
9983 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9984 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9985 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9986 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9987 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9988 * sysdeps/s390/tst-dl-runtime.c: New file.
9989
bde6320f
IL
99902018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9991
9992 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9993 Do not clobber R0.
9994
5755f5e4
IL
99952018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9996
9997 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9998 Do not clobber R0.
9999
c8ad8522
IL
100002018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10001
10002 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10003 Do not clobber R0.
10004
b215eee1
IL
100052018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10006
10007 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10008 Do not clobber R0.
10009
329c6fec
IL
100102018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10011
10012 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10013 Use symbolic offsets for stack variables.
10014
0fb7afa2
IL
100152018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10016
10017 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10018 Use symbolic offsets for stack variables.
10019
6954059a
IL
100202018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10021
10022 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10023 Use symbolic offsets for stack variables.
10024
c7099673
IL
100252018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10026
10027 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10028 Use symbolic offsets for stack variables.
10029
2813e41e
JM
100302018-08-09 Joseph Myers <joseph@codesourcery.com>
10031
10032 * math/gen-libm-test.py: New file.
10033 * math/gen-libm-test.pl: Remove.
10034 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10035 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10036 gen-libm-test.pl.
10037 ($(libm-test-c-noauto-obj)): Likewise.
10038 ($(libm-test-c-auto-obj)): Likewise.
10039 ($(libm-test-c-narrow-obj)): Likewise.
10040 (regen-ulps): Likewise.
10041 * math/README.libm-test: Update references to gen-libm-test.pl.
10042 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10043 referencing gen-libm-test.pl.
10044 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10045 * math/libm-test-support.c: Likewise.
10046 * math/libm-test-support.h: Likewise.
10047 * sysdeps/generic/libm-test-ulps: Likewise.
10048
be64b194
SP
100492018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10050
10051 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10052 Fix value.
10053
140137fb
JM
100542018-08-08 Joseph Myers <joseph@codesourcery.com>
10055
10056 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10057 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10058
b5403eca
ST
100592018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10060
10061 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10062 symbols.
8ac0f9e6
ST
10063 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10064 __pthread_setspecific): Add hidden proto.
10065 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10066 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 10067
014efdd7
SP
100682018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10069
10070 * benchtests/bench-string.h (buf1_size, buf2_size): New
10071 variables.
10072 (init_sizes): New function.
10073 (test_init): Use it.
10074 (alloc_buf, exit_error): New functions.
10075 (alloc_bufs): Use ALLOC_BUF.
10076 (realloc_bufs): Remove.
10077 * benchtests/bench-memcmp.c (do_test): Adjust.
10078 * benchtests/bench-memset-large.c (do_test): Likewise.
10079 * benchtests/bench-memset-walk.c (do_test): Likewise.
10080 * benchtests/bench-memset.c (do_test): Likewise.
10081 * benchtests/bench-strncmp.c (do_test): Likewise.
10082
92a4cba7
AS
100832018-08-06 Andreas Schwab <schwab@suse.de>
10084
10085 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10086 of CONST_THREAD_AREA.
10087
fb4c32ae
L
100882018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10089
10090 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10091 (STATE_SAVE_MASK): Likewise.
10092 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10093 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10094 (STATE_SAVE_MASK): Likewise.
10095 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10096 instead of <cpu-features.h>.
10097
bf418187
DD
100982018-08-03 DJ Delorie <dj@redhat.com>
10099
10100 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 10101 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 10102
bb17621a
DD
10103 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10104
ea705eb5
JM
101052018-08-03 Joseph Myers <joseph@codesourcery.com>
10106
10107 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10108 after TEST_* calls.
10109 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10110 * math/libm-test-logb.inc (logb_test_data): Likewise.
10111
284f42bc
WD
101122018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10113
10114 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10115 * string/strstr.c (AVAILABLE): Likewise.
10116
430388d5
L
101172018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10118
10119 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10120 <init-arch.h>.
10121 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10122 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10123 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10124
c5760aa9
CD
101252018-08-03 Carlos O'Donell <carlos@redhat.com>
10126
10127 * po/be.po: Update translation.
10128
6b535b84
CD
10129 * po/be.po: Update translation.
10130
ae67f2e5
L
101312018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10132
10133 * sysdeps/x86/cpu-features-offsets.sym
10134 (rtld_global_ro_offsetof): Removed.
10135 (CPU_FEATURES_SIZE): Likewise.
10136 (CPUID_OFFSET): Likewise.
10137 (CPUID_SIZE): Likewise.
10138 (CPUID_EAX_OFFSET): Likewise.
10139 (CPUID_EBX_OFFSET): Likewise.
10140 (CPUID_ECX_OFFSET): Likewise.
10141 (CPUID_EDX_OFFSET): Likewise.
10142 (FAMILY_OFFSET): Likewise.
10143 (MODEL_OFFSET): Likewise.
10144 (FEATURE_OFFSET): Likewise.
10145 (FEATURE_SIZ): Likewise.
10146 (COMMON_CPUID_INDEX_1): Likewise.
10147 (COMMON_CPUID_INDEX_7): Likewise.
10148 (FEATURE_INDEX_1): Likewise.
10149 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10150
6b5c8607 101512018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
10152
10153 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10154 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10155 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10156 (install-locales): Depend on install-locale-archive.
10157 (install-locale-archive): Define.
7b7adbd8 10158 (install-locale-files): Define.
08a5ee14
CD
10159 (build-one-locale): Define macro.
10160 * manual/install.texi (Running make install): Document.
10161 * manual/INSTALL: Regenerate.
10162
525691bd
SP
101632018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10164
d67d634b
SP
10165 * benchtests/scripts/compare_strings.py: Import traceback.
10166 (parse_file): Pretty-print error.
10167
525691bd
SP
10168 * NEWS: Mention the change.
10169 * elf/dl-tunables.list: Rename tune namespace to cpu.
10170 * sysdeps/powerpc/dl-tunables.list: Likewise.
10171 * sysdeps/x86/dl-tunables.list: Likewise.
10172 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10173 cpu.name.
10174 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10175 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10176 * manual/README.tunables: Likewise.
10177 * manual/tunables.texi: Likewise.
10178 * sysdeps/powerpc/cpu-features.c: Likewise.
10179 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10180 (init_cpu_features): Likewise.
10181 * sysdeps/x86/cpu-features.c: Likewise.
10182 * sysdeps/x86/cpu-features.h: Likewise.
10183 * sysdeps/x86/cpu-tunables.c: Likewise.
10184 * sysdeps/x86_64/Makefile: Likewise.
10185 * sysdeps/x86/dl-cet.c: Likewise.
10186
506d7fb1
JM
101872018-08-02 Joseph Myers <joseph@codesourcery.com>
10188
10189 [BZ #23479]
10190 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10191 [__mips_hard_float].
10192 (FE_UNDERFLOW): Likewise.
10193 (FE_OVERFLOW): Likewise.
10194 (FE_DIVBYZERO): Likewise.
10195 (FE_INVALID): Likewise.
10196 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10197 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10198 (FE_UPWARD): Likewise.
10199 (FE_DOWNWARD): Likewise.
10200 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10201 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10202 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10203 [__mips_hard_float].
10204 (FP_ROUNDMODE): Likewise.
10205 (FP_RND_NEAREST): Likewise.
10206 (FP_RND_ZERO): Likewise.
10207 (FP_RND_PINF): Likewise.
10208 (FP_RND_MINF): Likewise.
10209 (FP_EX_INVALID): Likewise.
10210 (FP_EX_OVERFLOW): Likewise.
10211 (FP_EX_UNDERFLOW): Likewise.
10212 (FP_EX_DIVZERO): Likewise.
10213 (FP_EX_INEXACT): Likewise.
10214 (FP_INIT_ROUNDMODE): Likewise.
10215 * sysdeps/mips/nofpu/fesetenv.c: New file.
10216 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10217
f6dcefbe
JM
102182018-08-01 Joseph Myers <joseph@codesourcery.com>
10219
10220 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10221 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10222 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10223 conditional on [FE_UPWARD].
10224
fa67ba06
PE
102252018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10226
10227 regex: fix memory leak in Gnulib
10228 Problem and fix reported by Assaf Gordon in:
10229 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10230 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10231 range_ends members too, as they are defined in 'struct
10232 re_charset_t' even if not _LIBC. This affects only Gnulib.
10233
82c80ac2
L
102342018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10235
10236 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10237 ...
10238 (get_common_indices): This.
10239 (init_cpu_features): Updated.
10240
c0e7e2c1
JM
102412018-08-01 Joseph Myers <joseph@codesourcery.com>
10242
46f8cf57
JM
10243 * sysdeps/generic/math-tests-snan-payload.h: New file.
10244 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10245 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10246 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10247 * sysdeps/generic/math-tests.h: Include
10248 <math-tests-snan-payload.h>.
10249 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10250 * sysdeps/hppa/math-tests.h: Remove file.
10251 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10252 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10253 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10254 Likewise.
10255
c0e7e2c1
JM
10256 * sysdeps/generic/math-tests-snan-cast.h: New file.
10257 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10258 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10259 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10260 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10261
74939c83
CD
102622018-08-01 Carlos O'Donel <carlos@redhat.com>
10263
b029723b
CD
10264 * version.h (RELEASE): Set to "development".
10265 (VERSION): Set to "2.28.9000".
10266 * NEWS (2.29): New section.
10267
3c03baca
CD
10268 * version.h (RELEASE): Set to "stable".
10269 (VERSION): Set to "2.28".
10270 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10271 * NEWS: Add the list of bugs fixed in 2.28.
10272
74939c83
CD
10273 * po/ca.po: Update to latest version.
10274 * po/cs.po: Likewise
10275 * po/da.po: Likewise
10276 * po/el.po: Likewise
10277 * po/eo.po: Likewise
10278 * po/es.po: Likewise
10279 * po/fi.po: Likewise
10280 * po/fr.po: Likewise
10281 * po/gl.po: Likewise
10282 * po/hu.po: Likewise
10283 * po/ia.po: Likewise
10284 * po/id.po: Likewise
10285 * po/it.po: Likewise
10286 * po/ja.po: Likewise
10287 * po/ko.po: Likewise
10288 * po/lt.po: Likewise
10289 * po/nb.po: Likewise
10290 * po/nl.po: Likewise
10291 * po/pt_BR.po: Likewise
10292 * po/ru.po: Likewise
10293 * po/rw.po: Likewise
10294 * po/sk.po: Likewise
10295 * po/sl.po: Likewise
10296 * po/tr.po: Likewise
10297 * po/zh_CN.po: Likewise
10298 * po/zh_TW.po: Likewise
10299
d4b54bdf
ST
103002018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10301
10302 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10303 initialization...
10304 (init): ... before initializing libpthread.
10305
42fc12ef
ST
10306 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10307 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10308 (__mach_setup_tls): ... new function.
10309 (mach_setup_tls): New alias.
10310 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10311 __mach_setup_thread.
10312 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10313 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10314 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10315 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10316
6cca855e
CD
103172018-07-31 Carlos O'Donell <carlos@redhat.com>
10318
f650932b
CD
10319 * manual/install.texi: Update versions.
10320 * INSTALL: Regenerate.
10321
6cca855e
CD
10322 * manual/contrib.texi (Contributors): Update contributions.
10323
07fdea47
CD
103242018-07-31 Carlos O'Donell <carlos@redhat.com>
10325
10326 * po/be.po: Update translations.
10327
63d5fad4
AZ
103282018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10329
10330 * sysdeps/sh/libm-test-ulps: Update.
10331
1ff712a6
CD
103322018-07-30 Carlos O'Donell <carlos@redhat.com>
10333
10334 * po/bg.po: Update translations.
10335 * po/de.po: Likewise.
10336 * po/hr.po: Likewise.
10337 * po/pt_BR.po: Likewise.
10338 * po/sv.po: Likewise.
10339 * po/vi.po: Likewise.
10340
98864ed0
L
103412018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10342
10343 [BZ #23467]
10344 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10345 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10346 (CFLAGS-tst-cet-property-1.o): New.
10347 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10348 ($(objpfx)tst-cet-property-2): Likewise.
10349 ($(objpfx)tst-cet-property-2.out): Likewise.
10350 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10351 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10352 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10353 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10354 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10355
c92a00d8
L
103562018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10357
10358 [BZ #23458]
10359 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10360
99bc6241
ST
103612018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10362
10363 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10364 __sbrk): Do not set attribute_hidden.
af86087f 10365 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
10366 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10367 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10368
bcb1c4af
CD
103692018-07-27 Carlos O'Donell <carlos@redhat.com>
10370
10371 * po/uk.po: Update translations.
10372 * po/cs.po: Likewise.
10373 * po/pl.po: Likewise.
10374
4591b7db
L
103752018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10376
10377 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10378 parse beyond the note end.
10379
2c6da2f4
AZ
103802018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10381
10382 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10383 kernel does not support OFD locks.
10384 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10385
20365a31
ST
103862018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10387
10388 * sysdeps/mach/hurd/Versions (libc): Make __access and
10389 __access_noerrno external so they can override the ld symbols.
10390 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10391 __writev, __open64, __access_noerrno extern so they can be overrided.
10392 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10393 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10394
cb1a43db
CD
103952018-07-26 Carlos O'Donell <carlos@redhat.com>
10396
10397 * po/libc.pot: Regenerate.
10398
74759ae5
JM
103992018-07-26 Joseph Myers <joseph@codesourcery.com>
10400
10401 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10402
da80612d
L
104032018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10404
10405 [BZ #23459]
10406 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10407 function.
10408 (init_cpu_features): Call get_extended_indices for both Intel
10409 and AMD CPUs.
10410 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10411 Remove "for AMD" comment.
10412
65d87ade
L
104132018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10414
10415 [BZ # 23456]
10416 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10417 COMMON_CPUID_INDEX_80000001.
10418
c9dc4d51
SL
104192018-07-26 Stefan Liebler <stli@linux.ibm.com>
10420
10421 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10422 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10423
cfba5dbb
FW
104242018-07-26 Florian Weimer <fweimer@redhat.com>
10425
10426 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10427 aliases for symbols not in the implementation namespace.
10428
6b5c8607 104292018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
10430
10431 [BZ #23393]
10432 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10433 lowercase in LATIN script.
10434 * localedata/Makefile (test-input): Add en_US.UTF-8.
10435 * localedata/en_US.UTF-8.in: New file.
10436 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10437 and restore old tests.
10438 * posix/tst-regexloc.c (do_test): Add back range expression test.
10439
3fb455b3
L
104402018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10441
10442 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10443
d6499b70
AZ
104442018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10445
10446 * nptl/threads.h: Move to ...
10447 * sysdeps/nptl/threads.h: ... here.
10448 * sysdeps/hurd/stdc-predef.h: New file.
10449
08ac6bed
L
104502018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10451
10452 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10453 tst-cet-setcontext-1 if CET is enabled.
10454 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10455 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10456
9faaf938
AZ
104572018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10458
10459 * include/threads.h: Move to ...
10460 * sysdeps/nptl/threads.h: ... here.
10461 * sysdeps/htl/threads.h: New file.
10462 * conform/Makefile (linknamespace-libs-ISO11): Use
10463 static-thread-library instead of linking libpthread.
10464 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10465
d6b8f847
FW
104662018-07-25 Florian Weimer <fweimer@redhat.com>
10467
10468 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10469 nanoseconds into seconds.
10470 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10471 (do_test): Likewise.
10472 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10473 (do_test): Likewise. Avoid nanosecond overflow and spurious
10474 timeouts due to system load.
10475 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10476 (child_wait): Increment it.
10477 (do_test): Wait as long as necessary until all expected threads
10478 have arrived.
10479
25123a1c
L
104802018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10481 H.J. Lu <hongjiu.lu@intel.com>
10482
10483 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10484 __ssp.
10485 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10486 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10487 (__push___start_context): New.
10488 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10489 <asm/prctl.h>.
10490 (__getcontext): Record the current shadow stack base. Save the
10491 caller's shadow stack pointer and base.
10492 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10493 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10494 (__push___start_context): New prototype.
10495 (__makecontext): Call __push___start_context to allocate a new
10496 shadow stack, push __start_context onto the new stack as well
10497 as the new shadow stack.
10498 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10499 <asm/prctl.h>.
10500 (__setcontext): Restore the target shadow stack.
10501 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10502 <asm/prctl.h>.
10503 (__swapcontext): Record the current shadow stack base. Save
10504 the caller's shadow stack pointer and base. Restore the target
10505 shadow stack.
10506 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10507 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10508 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10509
375a4844
L
105102018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10511
10512 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10513 tst-setcontext8 and tst-setcontext9.
10514 * stdlib/tst-setcontext6.c: New file.
10515 * stdlib/tst-setcontext7.c: Likewise.
10516 * stdlib/tst-setcontext8.c: Likewise.
10517 * stdlib/tst-setcontext9.c: Likewise.
10518
bd4f7903
L
105192018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10520
10521 * stdlib/Makefile ((tests): Add tst-setcontext5.
10522 * stdlib/tst-setcontext5.c: New file.
10523
7e28f203
L
105242018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10525
10526 * stdlib/Makefile (tests): Add tst-setcontext4.
10527 * stdlib/tst-setcontext4.c: New file.
10528
8516ad2d
L
105292018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10530
10531 * stdlib/Makefile (tests): Add tst-swapcontext1.
10532 * stdlib/tst-swapcontext1.c: New test.
10533
fddcd003
L
105342018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10535
10536 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10537 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10538 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10539 and tst-cet-legacy-4c.
10540 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10541 and tst-cet-legacy-mod-4.
10542 (CFLAGS-tst-cet-legacy-2.c): New.
10543 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10544 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10545 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10546 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10547 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10548 ($(objpfx)tst-cet-legacy-1): Likewise.
10549 ($(objpfx)tst-cet-legacy-2): Likewise.
10550 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10551 ($(objpfx)tst-cet-legacy-2a): Likewise.
10552 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10553 ($(objpfx)tst-cet-legacy-4): Likewise.
10554 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10555 ($(objpfx)tst-cet-legacy-4a): Likewise.
10556 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10557 (tst-cet-legacy-4a-ENV): Likewise.
10558 ($(objpfx)tst-cet-legacy-4b): Likewise.
10559 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10560 (tst-cet-legacy-4b-ENV): Likewise.
10561 ($(objpfx)tst-cet-legacy-4c): Likewise.
10562 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10563 (tst-cet-legacy-4c-ENV): Likewise.
10564 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10565 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10566 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10567 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10568 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10569 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10570 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10571 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10572 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10573 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10574 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10575
9aa3113a
L
105762018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10577
10578 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10579 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10580 with ssp_base.
10581 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10582 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10583 with ssp_base.
10584
9c79cec8
AS
105852018-07-25 Andreas Schwab <schwab@suse.de>
10586
10587 [BZ #23442]
10588 * locale/weightwc.h (findidx): Handle the case where usrc is a
10589 prefix of cp but one character too short.
10590
969c3355
AZ
105912018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10592
10593 * NEWS: Add ISO C threads addition.
10594
e0f9c462
FW
105952018-07-24 Florian Weimer <fweimer@redhat.com>
10596
10597 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10598 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10599 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10600 4.13.
10601
394df381
L
106022018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10603
10604 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10605 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10606 <sys/prctl.h> and <asm/prctl.h>.
10607 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10608 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10609 and <asm/prctl.h>.
10610 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10611 ARCH_CET_LEGACY_BITMAP.
10612 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10613 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10614 * sysdeps/x86/libc-start.c: Include <startup.h>.
10615
46545530
FW
106162018-07-24 Florian Weimer <fweimer@redhat.com>
10617
10618 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10619 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10620
6b5c8607 106212018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 10622 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
10623 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10624
10625 [BZ #14092]
9d0a979e
RJ
10626 * manual/debug.texi: Update adjacent chapter name.
10627 * manual/probes.texi: Likewise.
10628 * manual/threads.texi (ISO C Threads): New section.
10629 (POSIX Threads): Convert to a section.
10630
106312018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10632 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10633
10634 [BZ# 14092]
0a07288b
AZ
10635 * nptl/Makefile (tests): Add new test files.
10636 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10637 * nptl/tst-cnd-basic.c: Likewise.
10638 * nptl/tst-cnd-broadcast.c: Likewise.
10639 * nptl/tst-cnd-timedwait.c: Likewise.
10640 * nptl/tst-mtx-basic.c: Likewise.
10641 * nptl/tst-mtx-recursive.c: Likewise.
10642 * nptl/tst-mtx-timedlock.c: Likewise.
10643 * nptl/tst-mtx-trylock.c: Likewise.
10644 * nptl/tst-thrd-basic.c: Likewise.
10645 * nptl/tst-thrd-detach.c: Likewise.
10646 * nptl/tst-thrd-sleep.c: Likewise.
10647 * nptl/tst-tss-basic.c: Likewise.
10648
ce7528f6
AZ
106492018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10650
c6dd669b
AZ
10651 [BZ #14092]
10652 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10653 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10654 symbols.
10655 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10656 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10657 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10658 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10659 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10660 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10661 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10662 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10663 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10664 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10665 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10666 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10668 Likewise.
10669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10670 Likewise.
10671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10672 Likewise.
10673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10674 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10675 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10676 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10677 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10678 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10679 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10680 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10681 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10682 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10683 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10684 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10685 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10686 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10687 Likewise.
10688 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10689 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10690 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10691 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10692 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10693 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10694 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10695 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10696 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10697 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10698 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10699 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10700 ikewise.
10701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10703 Likewise.
10704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10705 Likewise.
10706 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10707 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10708 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10709 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10710 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10711 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10712 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10713 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10714
78d40132
AZ
10715 [BZ #14092]
10716 * conform/data/threads.h-data (thread_local): New macro.
10717 (TSS_DTOR_ITERATIONS): Likewise.
10718 (tss_t): New type.
10719 (tss_dtor_t): Likewise.
10720 (tss_create): New function.
10721 (tss_get): Likewise.
10722 (tss_set): Likewise.
10723 (tss_delete): Likewise.
10724 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10725 tss_get, and tss_set objects.
10726 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10727 * nptl/tss_create.c: New file.
10728 * nptl/tss_delete.c: Likewise.
10729 * nptl/tss_get.c: Likewise.
10730 * nptl/tss_set.c: Likewise.
10731 * sysdeps/nptl/threads.h (thread_local): New define.
10732 (TSS_DTOR_ITERATIONS): Likewise.
10733 (tss_t): New typedef.
10734 (tss_dtor_t): Likewise.
10735 (tss_create): New prototype.
10736 (tss_get): Likewise.
10737 (tss_set): Likewise.
10738 (tss_delete): Likewise.
10739
918311a3
AZ
10740 [BZ #14092]
10741 * conform/data/threads.h-data (cnd_t): New type.
10742 (cnd_init): New function.
10743 (cnd_signal): Likewise.
10744 (cnd_broadcast): Likewise.
10745 (cnd_wait): Likewise.
10746 (cnd_timedwait): Likewise.
10747 (cnd_destroy): Likewise.
10748 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10749 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10750 object.
10751 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10752 * nptl/cnd_broadcast.c: New file.
10753 * nptl/cnd_destroy.c: Likewise.
10754 * nptl/cnd_init.c: Likewise.
10755 * nptl/cnd_signal.c: Likewise.
10756 * nptl/cnd_timedwait.c: Likewise.
10757 * nptl/cnd_wait.c: Likewise.
10758 * sysdeps/nptl/threads.h (cnd_t): New type.
10759 (cnd_init): New prototype.
10760 (cnd_signa): Likewise.
10761 (cnd_broadcast): Likewise.
10762 (cnd_wait): Likewise.
10763 (cnd_timedwait): Likewise.
10764 (cnd_destroy): Likewise.
10765
3c20a679
AZ
10766 [BZ #14092]
10767 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10768 (once_flag): New type.
10769 (call_once): New function.
10770 * nptl/Makefile (libpthread-routines): Add call_once object.
10771 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10772 * nptl/call_once.c: New file.
10773 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10774 (once_flag): New type.
10775 (call_once): New prototype.
10776
18d59c1b
AZ
10777 [BZ #14092]
10778 * conform/data/threads.h-data (mtx_plain): New constant.
10779 (mtx_recursive): Likewise.
10780 (mtx_timed): Likewise.
10781 (mtx_t): New type.
10782 (mtx_init): New function.
10783 (mtx_lock): Likewise.
10784 (mtx_timedlock): Likewise.
10785 (mtx_trylock): Likewise.
10786 (mtx_unlock): Likewise.
10787 (mtx_destroy): Likewise.
10788 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10789 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10790 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10791 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10792 * nptl/mtx_destroy.c: New file.
10793 * nptl/mtx_init.c: Likewise.
10794 * nptl/mtx_lock.c: Likewise.
10795 * nptl/mtx_timedlock.c: Likewise.
10796 * nptl/mtx_trylock.c: Likewise.
10797 * nptl/mtx_unlock.c: Likewise.
10798 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10799 (mtx_recursive): Likewise.
10800 (mtx_timed): Likewise.
10801 (mtx_t): New type.
10802 (mtx_init): New prototype.
10803 (mtx_lock): Likewise.
10804 (mtx_timedlock): Likewise.
10805 (mtx_trylock): Likewise.
10806 (mtx_unlock): Likewise.
10807 (mtx_destroy): Likewise.
10808
ce7528f6
AZ
10809 [BZ #14092]
10810 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
10811 (linknamespace-libs-ISO11): Add libpthread.a.
10812 * conform/data/threads.h-data: New file: add C11 thrd_* types and
10813 functions.
10814 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
10815 * nptl/Makefile (headers): Add threads.h.
10816 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
10817 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
10818 thrd_yield.
10819 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
10820 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
10821 thrd_join, thrd_sleep, and thrd_yield symbols.
10822 * nptl/descr.h (struct pthread): Add c11 field.
10823 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
10824 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
10825 routine with expected function prototype.
10826 (__pthread_create_2_1): Add C11 threads check based on attribute
10827 value.
10828 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
10829 * nptl/thrd_create.c: New file.
10830 * nptl/thrd_current.c: Likewise.
10831 * nptl/thrd_detach.c: Likewise.
10832 * nptl/thrd_equal.c: Likewise.
10833 * nptl/thrd_exit.c: Likewise.
10834 * nptl/thrd_join.c: Likewise.
10835 * nptl/thrd_priv.h: Likewise.
10836 * nptl/thrd_sleep.c: Likewise.
10837 * nptl/thrd_yield.c: Likewise.
10838 * include/threads.h: Likewise.
10839
e27f41ba
L
108402018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10841
10842 * bits/indirect-return.h: New file.
10843 * misc/sys/cdefs.h (__glibc_has_attribute): New.
10844 * sysdeps/x86/bits/indirect-return.h: Likewise.
10845 * stdlib/Makefile (headers): Add bits/indirect-return.h.
10846 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
10847 (swapcontext): Add __INDIRECT_RETURN.
10848 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
10849 (prepare_test_buffer): Use it.
10850
21526a50
AS
108512018-07-24 Andreas Schwab <schwab@suse.de>
10852
10853 [BZ #23448]
10854 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
10855 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
10856
3650e1d9
L
108572018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10858
10859 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
10860 Redefine if shadow stack is enabled.
10861 (SYSCALL_ERROR_LABEL): Likewise.
10862 (__vfork): Pop shadow stack and jump back to to caller directly
10863 when shadow stack is in use.
10864 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
10865 Redefine if shadow stack is enabled.
10866 (SYSCALL_ERROR_LABEL): Likewise.
10867 (__vfork): Pop shadow stack and jump back to to caller directly
10868 when shadow stack is in use.
10869
ca027e0f
L
108702018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10871
10872 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
10873 enabled.
10874 (foo): Likewise.
10875 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
10876 (foo): Likewise.
10877
b99f1c95
JM
108782018-07-20 Joseph Myers <joseph@codesourcery.com>
10879
10880 * scripts/build-many-glibcs.py (Context.checkout): Default
10881 binutils version to 2.31 branch.
10882
c8fabb84
ZL
108832018-07-20 Zong Li <zong@andestech.com>
10884
10885 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
10886 URL of gcc's tarball.
10887
786658a0
FW
108882018-07-20 Florian Weimer <fweimer@redhat.com>
10889
10890 [BZ #23396]
10891 * posix/regcomp.c (build_equiv_class): When comparing weights, do
10892 not compare an extra byte after the end of the weights.
10893
46f2474e
ST
108942018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10895
10896 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
10897 to 1.
8ba1520e
ST
10898 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
10899 hidden prototypes.
10900 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
10901 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
10902 * scripts/check-execstack.awk: Consider `xfail' variable containing a
10903 list of libraries whose stack executability is expected.
10904 * elf/Makefile ($(objpfx)check-execstack.out): Pass
10905 $(check-execstack-xfail) to check-execstack.awk through `xfail'
10906 variable.
10907 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
10908 libc.so libpthread.so.
46f2474e 10909
60088242
TS
109102018-07-20 Thomas Schwinge <tschwinge@gnu.org>
10911
10912 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
10913 SOCK_NONBLOCK.
75d5e4a0
TS
10914 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
10915 and SOCK_NONBLOCK.
de195be0
TS
10916 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
10917 implement __pipe2.
10918 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 10919
1cf4ae7f
LS
109202018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10921
10922 * benchtests/scripts/compare_bench.py (__main__): use the argparse
10923 library to improve command line parsing.
10924 (__main__): make schema file as optional parameter (--schema),
10925 defaulting to benchtests/scripts/benchout.schema.json.
10926 (main): move out of the parsing stuff to __main_  and leave it
10927 only as caller of main comparison functions.
10928
e84bd851
L
109292018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10930
10931 * NEWS: Add a note for Intel CET status.
10932 * manual/install.texi: Likewise.
10933 * INSTALL: Regenerated.
10934
df467d22
QP
109352018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10936
10937 [BZ #23140]
10938 * localedata/locales/oc_FR (mon): Rename to...
10939 (alt_mon): This, then update October (typo fix).
10940 (mon): New content (genitive case, month names preceded by
10941 "de" or "d’").
10942
10943 [BZ #23422]
10944 * localedata/locales/oc_FR (abday): Update all items.
10945 (day): Update Wednesday and Saturday (typo fixes).
10946 (abmon): Update all items, except May.
10947 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10948 (LC_IDENTIFICATION): Bump the revision number and date.
10949 Keep the "category" entries in alphabetic order.
10950 (LC_ADDRESS): Remove no longer needed comment.
10951 (LC_COLLATE): Use “copy "ca_ES"”.
10952 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10953 "name_mrs".
10954
5c112f1b
JM
109552018-07-18 Joseph Myers <joseph@codesourcery.com>
10956
10957 * grp/tst_fgetgrent.c: Include <unistd.h>.
10958 (main): Use mkstemp instead of tmpnam.
10959 * io/test-utime.c (main): Likewise.
10960 * posix/annexc.c (macrofile): Change to modifiable array.
10961 (main): Remove macrofile here.
10962 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10963 macrofile here.
10964 (check_header): Do not remove macrofile here.
10965 * posix/bug-getopt1.c: Include <stdlib.h>.
10966 (do_test): Use mkstemp instead of tmpnam.
10967 * posix/bug-getopt2.c: Include <stdlib.h>.
10968 (do_test): Use mkstemp instead of tmpnam.
10969 * posix/bug-getopt3.c: Include <stdlib.h>.
10970 (do_test): Use mkstemp instead of tmpnam.
10971 * posix/bug-getopt4.c: Include <stdlib.h>.
10972 (do_test): Use mkstemp instead of tmpnam.
10973 * posix/bug-getopt5.c: Include <stdlib.h>.
10974 (do_test): Use mkstemp instead of tmpnam.
10975 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10976 (main): Use mkstemp instead of tmpnam.
10977 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10978 (main): Use mkstemp instead of tmpnam.
10979 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10980 (main): use mkstemp instead of tmpnam.
10981 * stdlib/isomac.c (macrofile): Change to modifiable array.
10982 (main): Remove macrofile here.
10983 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10984 macrofile here.
10985 (check_header): Do not remove macrofile here.
10986
6d90776d
L
109872018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10988
10989 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10990 glibc.tune.x86_shstk.
10991
e6c69509
L
109922018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10993
10994 * NEWS: Mention --enable-cet.
10995 * manual/install.texi: Document --enable-cet.
10996 * INSTALL: Regenerated.
10997
e2d40a88
L
109982018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10999
11000 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11001 Add _CET_NOTRACK before indirect jump to jump table.
11002
77a8ae09
L
110032018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11004
11005 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11006 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11007 to jump table.
11008
90d15dc5
L
110092018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11010
11011 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11012 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11013 to jump table.
11014
f1574581
L
110152018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11016
11017 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11018 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11019 to jump table.
11020
7fb61336
L
110212018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11022
11023 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11024 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11025 to jump table.
11026
0a899af0
L
110272018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11028
11029 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11030 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11031 to jump table.
11032 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11033
177824e2
L
110342018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11035
11036 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11037 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11038 to jump table.
11039
00e7b76a
L
110402018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11041
11042 * sysdeps/i386/i686/multiarch/memset-sse2.S
11043 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11044 to jump table.
11045
7e119cd5
L
110462018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11047
11048 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11049 indirect jump to jump table.
11050
03aaf49b
L
110512018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11052
11053 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11054 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11055 to jump table.
11056 (MEMCPY): Likewise.
11057
811e9e52
L
110582018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11059
11060 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11061 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11062 to jump table.
11063 (MEMCPY): Likewise.
11064
8817df42
L
110652018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11066
11067 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11068 _CET_NOTRACK before indirect jump to jump table.
11069
921595d1
L
110702018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11071
11072 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11073 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11074 to jump table.
11075
4ef60d95
L
110762018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11077
11078 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11079 indirect jump to jump table.
11080
61c4aad7
VT
110812018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11082
11083 [BZ #22241]
11084 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11085 (LOCALES): Likewise.
11086 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11087 * localedata/locales/sah_RU: New file.
11088 * localedata/sah_RU.UTF-8.in: New file.
11089
be9ccd27
L
110902018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11091
11092 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11093 "sysdep.h".
11094 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11095 _CET_ENDBR to indirect jump targets and adjust jump destination
11096 for _CET_ENDBR.
11097 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11098 "sysdep.h".
11099 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11100 _CET_ENDBR to indirect jump targets and adjust jump destination
11101 for _CET_ENDBR.
11102 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11103 "sysdep.h".
11104 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11105 _CET_ENDBR to indirect jump targets and adjust jump destination
11106 for _CET_ENDBR.
11107
5efc6777
L
111082018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11109
11110 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11111 _CET_ENDBR.
11112
562837c0
L
111132018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11114
11115 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11116 _CET_ENDBR.
11117 (_dl_tlsdesc_undefweak): Likewise.
11118 (_dl_tlsdesc_dynamic): Likewise.
11119 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11120 (_dl_tlsdesc_resolve_rel): Likewise.
11121 (_dl_tlsdesc_resolve_rela): Likewise.
11122 (_dl_tlsdesc_resolve_hold): Likewise.
11123 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11124 (_dl_tlsdesc_undefweak): Likewise.
11125 (_dl_tlsdesc_dynamic): Likewise.
11126 (_dl_tlsdesc_resolve_rela): Likewise.
11127 (_dl_tlsdesc_resolve_hold): Likewise.
11128
124bcde6
L
111292018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11130
11131 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11132 (_fini): Likewise.
11133 * sysdeps/x86_64/crti.S (_init): Likewise.
11134 (_fini): Likewise.
11135
9145f033
RL
111362018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11137
11138 [BZ #23140]
11139 * localedata/locales/os_RU (mon): Rename to...
11140 (alt_mon): This.
11141 (mon): Import from CLDR (genitive case).
11142
ba2ea23d
L
111432018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11144
11145 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11146 cet-tunables.h> when CET is enabled.
11147
f753fa7d
L
111482018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11149
6b5c8607 11150 [BZ #21598]
f753fa7d
L
11151 * configure.ac: Add --enable-cet.
11152 * configure: Regenerated.
11153 * elf/Makefille (all-built-dso): Add a comment.
11154 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11155 Include <dl-prop.h>.
11156 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11157 segment.
11158 * elf/dl-open.c: Include <dl-prop.h>.
11159 (dl_open_worker): Call _dl_open_check.
11160 * elf/rtld.c: Include <dl-prop.h>.
11161 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11162 _rtld_main_check.
11163 * sysdeps/generic/dl-prop.h: New file.
11164 * sysdeps/i386/dl-cet.c: Likewise.
11165 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11166 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11167 * sysdeps/x86/cet-tunables.h: Likewise.
11168 * sysdeps/x86/check-cet.awk: Likewise.
11169 * sysdeps/x86/configure: Likewise.
11170 * sysdeps/x86/configure.ac: Likewise.
11171 * sysdeps/x86/dl-cet.c: Likewise.
11172 * sysdeps/x86/dl-procruntime.c: Likewise.
11173 * sysdeps/x86/dl-prop.h: Likewise.
11174 * sysdeps/x86/libc-start.h: Likewise.
11175 * sysdeps/x86/link_map.h: Likewise.
11176 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11177 _CET_ENDBR.
11178 (_dl_runtime_profile): Likewise.
11179 (_dl_runtime_resolve_shstk): New.
11180 (_dl_runtime_profile_shstk): Likewise.
11181 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11182 if CET is enabled.
11183 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11184 (CFLAGS-.os): Likewise.
11185 (CFLAGS-.op): Likewise.
11186 (CFLAGS-.oS): Likewise.
11187 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11188 is enabled.
11189 (tests-special): Add $(objpfx)check-cet.out.
11190 (cet-built-dso): New.
11191 (+$(cet-built-dso:=.note)): Likewise.
11192 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11193 ($(objpfx)check-cet.out): New.
11194 (generated): Add check-cet.out.
11195 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11196 <cet-tunables.h>.
11197 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11198 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11199 (init_cpu_features): Call get_cet_status to check CET status
11200 and update dl_x86_feature_1 with CET status. Call
11201 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11202 (set_x86_shstk). Disable and lock CET in libc.a.
11203 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11204 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11205 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11206 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11207 (_CET_ENDBR): Define if not defined.
11208 (ENTRY): Add _CET_ENDBR.
11209 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11210 x86_shstk.
11211 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11212 _CET_ENDBR.
11213 (_dl_runtime_profile): Likewise.
11214
52b2a80f
RA
112152018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11216
11217 [BZ #21895]
11218 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11219 restore r2 on longjmp.
11220 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11221 test list.
11222 Added rules to build test tst-setjmp-bug21895-static.
11223 Added module setjmp-bug21895 and rules to build a shared object from it.
11224 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11225 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11226
3ae725df
WD
112272018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11228
11229 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11230 * benchtests/bench-strstr.c: Likewise.
11231 * string/memmem.c (FASTSEARCH): Define.
11232 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11233 Add support for FASTSEARCH.
11234 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11235 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11236 (FASTSEARCH): Define.
11237 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11238 * string/test-strstr.c: Likewise.
11239
31e422ca
L
112402018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11241
11242 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11243 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11244
faaee1f0
L
112452018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11246 H.J. Lu <hongjiu.lu@intel.com>
11247
11248 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11249 (__longjmp): Restore shadow stack pointer if shadow stack is
11250 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11251 isn't defined for __longjmp_cancel.
11252 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11253 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11254 and SHADOW_STACK_POINTER_OFFSET is defined.
11255 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11256 (setjmp): Save shadow stack pointer if shadow stack is enabled
11257 and SHADOW_STACK_POINTER_OFFSET is defined.
11258 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11259 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11260 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11261 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11262 <jmp_buf-ssp.h>.
11263 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11264 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11265 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11266 Remove jmp_buf-ssp.sym.
11267 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11268 <jmp_buf-ssp.h>.
11269 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11270 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11271 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11272 jmp_buf-ssp.sym.
11273 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11274 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11275 (__longjmp): Restore shadow stack pointer if shadow stack is
11276 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11277 isn't defined for __longjmp_cancel.
11278 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11279 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11280 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11281
ebff9c5c
L
112822018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11283
11284 [BZ #22563]
11285 * nptl/pthread_create.c: Include <tls-setup.h>.
11286 (__pthread_create_2_1): Call tls_setup_tcbhead.
11287 * sysdeps/generic/tls-setup.h: New file.
11288 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11289 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11290 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11291 Likewise.
11292 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11293 to feature_1.
11294 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11295 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11296 (X86_FEATURE_1_SHSTK): Likewise.
11297 (CET_ENABLED): Likewise.
11298 (IBT_ENABLED): Likewise.
11299 (SHSTK_ENABLED): Likewise.
11300
0a83bad2
RL
113012018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11302
11303 [BZ #23208]
11304 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11305 (LOCALES): Likewise.
11306 * localedata/dsb_DE.UTF-8.in: New file.
11307 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11308
046bfed9
FW
113092018-07-12 Florian Weimer <fweimer@redhat.com>
11310
11311 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11312 __mprotect, not mprotect.
11313
93304f5f
FW
113142018-07-11 Florian Weimer <fweimer@redhat.com>
11315
11316 * io/Makefile (headers): Add bits/statx.h.
11317
4beefeeb
MF
113182018-07-10 Mike FABIAN <mfabian@redhat.com>
11319
11320 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11321 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11322 and headers.
11323 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11324 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11325 for utf8_gen.py
11326
fd70af45
FW
113272018-07-10 Florian Weimer <fweimer@redhat.com>
11328
11329 * io/Makefile (routines): Add statx.
11330 (tests-internal): Add tst-statx.
11331 * io/Versions (GLIBC_2.28): Export statx.
11332 * io/bits/statx.h: New file.
11333 * io/sys/stat.h [__USE_GNU]: Include it.
11334 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11335 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11336 Define.
11337 * io/statx.c: New file.
11338 * io/statx_generic.: Likewise.
11339 * io/tst-statx.: Likewise.
11340 * include/bits/statx.h: Likewise.
11341 * sysdeps/unix/sysv/linux/kernel-features.h
11342 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11343 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11344 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11345 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11346 Undefine.
11347 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11348 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11349 * sysdeps/unix/sysv/linux/statx.c: New file.
11350 * manual/filesys.texi: Note that statx is undocumented.
11351 * sysdeps/**/libc*.abilist: Update.
11352
b444e8f7
AZ
113532018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11354
11355 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11356 a kernel issue which lead to test failure in some cases.
11357
7b2f4ced
FW
113582018-07-10 Florian Weimer <fweimer@redhat.com>
11359
11360 [BZ #23036]
11361 * posix/regexec.c (check_node_accept_bytes): When comparing
11362 weights, do not compare an extra byte after the end of the
11363 weights.
11364
4fa34da6
FW
113652018-07-10 Florian Weimer <fweimer@redhat.com>
11366
11367 * libio/readline.c: Fix copyright year.
11368 * libio/tst-readline.c Likewise.
11369 * nss/tst-nss-files-hosts-getent.c: Likewise.
11370
916124ed
FW
113712018-07-06 Florian Weimer <fweimer@redhat.com>
11372
11373 [BZ #18991]
11374 * nss/nss_files/files-XXX.c (internal_getent): Use
11375 __libc_readline_unlocked. Seek back to the start of the line if
11376 parsing failes with ERANGE.
11377 (get_contents_ret, get_contents): Remove.
11378 * nss/tst-nss-files-hosts-getent.c: New file.
11379 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11380 (tst-nss-files-hosts-getent): Link with -ldl.
11381
3f5e3f5d
FW
113822018-07-06 Florian Weimer <fweimer@redhat.com>
11383
11384 * include/stdio.h (__libc_readline_unlocked): Declare.
11385 (__ftello64, __fseeko64): Declare aliases.
11386 * libio/readline.c: New file.
11387 * libio/tst-readline.c: Likewise.
11388 (routines): Add readline.
11389 (tests-internal): Add tst-readlime.
11390 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11391 __libc_readline_unlocked.
11392 * libio/fseeko.c (__fseeko): Rename from fseeko.
11393 (fseeko): Add alias.
11394 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11395 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11396 (fseeko64): Add alias.
11397 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11398 * libio/ftello64.c (__ftello64): Rename from ftello64.
11399 (ftello64): Add alias.
11400
397c54c1
SN
114012018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11402
11403 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11404 HWCAP_ATOMICS.
11405
d0cd7980
SN
114062018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11407
11408 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11409 Use dl_hwcap without masking.
11410 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11411 Remove HWCAP_CPUID.
11412
ddb3c626
FW
114132018-07-06 Florian Weimer <fweimer@redhat.com>
11414
11415 * conform/conformtest.pl (checknamespace): Escape literal braces
11416 in regular expressions.
11417
bce5911b
AP
114182018-07-06 Amit Pawar <amit.pawar@amd.com>
11419
11420 * sysdeps/x86/cpu-features.c (get_common_indeces):
11421 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11422 * sysdeps/x86/cpu-features.c (init_cpu_features):
11423 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11424
3a885c1f
FW
114252018-07-05 Florian Weimer <fweimer@redhat.com>
11426
11427 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11428 protector.
11429 (CFLAGS-elf-init.oS): Likewise.
11430
38cade0c
FW
114312018-07-05 Florian Weimer <fweimer@redhat.com>
11432 Carlos O'Donell <carlos@redhat.com>
11433
11434 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11435 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11436 with stack protector enabled because there is no risk of infinite
11437 recursion.
11438
9449a295
MR
114392018-07-05 Maciej W. Rozycki <macro@mips.com>
11440
11441 [BZ #19818]
11442 [BZ #23307]
11443 * libc-abis (ABSOLUTE): New ABI.
11444 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11445 * NEWS: Mention the new ABI.
11446
d6da5cb6
FW
114472018-07-05 Florian Weimer <fweimer@redhat.com>
11448
11449 [BZ # 17662]
11450 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11451 (RENAME_WHITEOUT): Define.
11452 [__USE_GNU] (renameat2): Declare.
11453 * stdio-common/Makefile (routines): Add renameat2.
11454 (tests): Add tst-renameat2.
11455 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11456 * stdio-common/renameat2.c: New file.
11457 * stdio-common/tst-renameat2.c: Likewise.
11458 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11459 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11460 undocumented.
11461 * sysdeps/unix/sysv/linux/kernel-features.h
11462 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11463 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11464 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11465 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11466 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11467 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11468 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11469 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11470 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11471 * include/stdio.h (__renameat): Add alias for renameat.
11472 * stdio-common/renameat.c (__renameat): Rename from renameat.
11473 Add hidden definition and alias.
11474 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11475 * sysdeps/mach/hurd/renameat.c: Likewise.
11476 * sysdeps/**/libc*.abilist: Add renameat2.
11477
1002d708
AZ
114782018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11479
11480 * posix/bug-regex33.c: Fix build after regex sync.
11481
34fdb893
CD
114822018-07-04 Carlos O'Donell <carlos@redhat.com>
11483
11484 [BZ #23164]
11485 * localedata/tst-langinfo-setlocale.c: New file.
11486 * localedata/tst-langinfo-setlocale-static.c: New file.
11487 * localedata/tst-langinfo-newlocale.c: New file.
11488 * localedata/tst-langinfo-newlocale-static.c: New file.
11489 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11490 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11491 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11492 (tests-static): Remove tst-langinfo-static. Add
11493 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11494 (tests-special): Remove $(objpfx)tst-langinfo.out,
11495 $(objpfx)tst-langinfo-static.out. Add
11496 $(objpfx)tst-langinfo-setlocale.out,
11497 $(objpfx)tst-langinfo-newlocale.out,
11498 $(objpfx)tst-langinfo-setlocale-static.out,
11499 $(objpfx)tst-langinfo-newlocale-static.out.
11500 ($(objpfx)tst-langinfo.out): Remove.
11501 ($(objpfx)tst-langinfo-static.out): Remove.
11502 ($(objpfx)tst-langinfo-newlocale.out): New target.
11503 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11504 (test-xfail-tst-langinfo-newlocale-static): Add.
11505 ($(objpfx)tst-langinfo-setlocale.out): New target.
11506 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11507 * localedata/tst-langinfo.c: Call test_locale.
11508 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11509 data.
11510
f2873d2d
FW
115112018-07-04 Florian Weimer <fweimer@redhat.com>
11512
11513 testrun.sh: Implement --tool=strace, --tool=valgrind
11514 * Makefile (testrun-script): Define variable.
11515 (testrun.sh): Use variable.
11516 * manual/install.texi (Tools for Compilation): make 4.0 or later
11517 is required.
11518 * configure.ac: Check for make 4.0 or later.
11519 * INSTALL: Regenerate.
11520 * configure: Likewise.
11521
eb04c213
AZ
115222018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11523
11524 [BZ #23233]
11525 [BZ #21163]
11526 [BZ #18986]
11527 [BZ #13762]
11528 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11529 * posix/PCRE.tests: Remove invalid test.
11530 * posix/bug-regex28.c: Fix expected values for used syntax.
11531 * posix/bug-regex37.c: New file.
11532 * posix/bug-regex38.c: Likewise.
11533 * posix/regcomp.c: Sync with gnulib.
11534 * posix/regex.c: Likewise.
11535 * posix/regex.h: Likewise.
11536 * posix/regex_internal.c: Likewise.
11537 * posix/regex_internal.h: Likewise.
11538 * posix/regexec.c: Likewise.
11539
b11643c2
MF
115402018-06-26 Mike FABIAN <mfabian@redhat.com>
11541
11542 [BZ #23308]
11543 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11544 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11545 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11546 * localedata/unicode-gen/PropList.txt: likewise.
11547 * localedata/unicode-gen/UnicodeData.txt: likewise.
11548 * localedata/charmaps/UTF-8: Regenerate.
11549 * localedata/locales/i18n_ctype: likewise.
11550 * localedata/locales/tr_TR: likewise.
11551 * localedata/locales/translit_circle: likewise.
11552 * localedata/locales/translit_cjk_compat: likewise.
11553 * localedata/locales/translit_combining: likewise.
11554 * localedata/locales/translit_compat: likewise.
11555 * localedata/locales/translit_font: likewise.
11556 * localedata/locales/translit_fraction: likewise.
11557
5a357506
FW
115582018-07-03 Florian Weimer <fweimer@redhat.com>
11559
11560 [BZ #23363]
11561 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11562 * stdio-common/tst-printf.sh: Adjust expected output.
11563 * LICENSES: Update.
11564
7279af00
AZ
115652018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11566
11567 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11568 symbol.
11569
b7b88cea
GG
115702018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11571
11572 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11573 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11574 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11575 * stdio-common/tst-printfsz-islongdouble.c: New file.
11576 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11577 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11578 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11579 [subdir == stdio-common] (tests-internal): Add
11580 test-printf-size-ieee128, and test-printf-size-ibm128.
11581 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11582 (CFLAGS-test-printf-size-ibm128.c): New variables.
11583 [subdir == stdio-common] (tests-special): Add
11584 $(objpfx)test-printf-size-ieee128.out and
11585 $(objpfx)test-printf-size-ibm128.out.
11586 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11587 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11588 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11589 __printf_sizeieee128.
11590 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11591 New file.
11592 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11593 Likewise.
11594 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11595 Likewise.
11596
2b445206
SN
115972018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11598
11599 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11600 (exp2f_inline): Likewise.
11601 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11602 (__math_uflowf): Likewise.
11603 (__math_may_uflowf): Likewise.
11604 (__math_divzerof): Likewise.
11605 (__math_invalidf): Likewise.
11606 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11607 (__math_oflowf): Likewise.
11608 (__math_uflowf): Likewise.
11609 (__math_may_uflowf): Likewise.
11610 (__math_divzerof): Likewise.
11611 (__math_invalidf): Likewise.
11612
2827ab99
CD
116132018-06-29 DJ Delorie <dj@redhat.com>
11614 Carlos O'Donell <carlos@redhat.com>
11615
11616 [BZ #23329]
11617 * include/libc-symbols.h: Comment the freeres framework.
11618 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11619 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11620 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11621 * dlfcn/dlerror.c: Include libc-symbols.h
11622 (__dlerror_main_freeres): New function.
11623 * dlfcn/dlfreeres.c: New file.
11624 * dlfcn/sdlfreeres.c: New file.
11625 * include/dlfcn.h: Declare __dlerror_main_freeres.
11626 * malloc/set-freeres.c: Declare __libdl_freeres, and
11627 __libpthread_freeres.
11628 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11629 the releavant libraries are loaded.
11630 * malloc/thread-freeres.c: Add comments.
11631 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11632 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11633 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11634 (__free_stacks): Rename to...
11635 (free_stacks): ...this. Mark static.
11636 (queue_stack): Call free_stacks.
11637 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11638 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11639 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11640 ptr_freeres element from struct.
11641 (pthread_functions): Remove .ptr_freeres from struct initializer.
11642 [SHARED] (nptl_freeres): Remove.
11643 * nptl/nptlfreeres.c: New file.
11644 * nptl/pthreadP.h
11645 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11646 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11647 attribute_hidden.
11648 (__free_stacks): Rename to...
11649 (__nptl_stacks_freeres): ...this.
11650 (__shm_directory_freeres): Declare.
11651 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11652 (__nptl_unwind_freeres): ...this.
11653 * resolv/res-close.c: Add comment.
11654 * resolv/resolv_conf.c: Include libc-symbols.h.
11655 * string/strerror_l.c: Include libc-symbols.h.
11656 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11657 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11658 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11659 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11660
37d3d244
RS
116612018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11662
11663 * stdlib/tst-strfmon_l.c: Add tests for long double.
11664
a1e0c5fa
MW
116652018-06-29 Michael Wolf <milupo@sorbzilla.de>
11666
11667 [BZ #23208]
11668 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11669 * localedata/locales/dsb_DE: New file.
11670
2e0c5de6
RL
116712018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11672
11673 [BZ #23140]
11674 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11675 genitive case).
11676 (alt_mon): New entry, import from CLDR (nominative case).
11677
cdb52c71
SL
116782018-06-29 Sylvain Lesage <severo@rednegra.net>
11679
11680 [BZ #22996]
11681 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11682
ce76a5cb
SP
116832018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11684
0aec4c1d
SP
11685 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11686 Use vector registers.
11687
ce76a5cb
SP
11688 * sysdeps/aarch64/multiarch/memmove_falkor.S
11689 (__memcpy_falkor): Use vector registers.
11690
7e8989d0
MS
116912018-06-29 Martin Sebor <msebor@redhat.com>
11692
11693 * manual/stdio.texi (Customizing Printf): Mention interaction
11694 with GCC built-ins.
11695
bac15a72
MR
116962018-06-29 Maciej W. Rozycki <macro@mips.com>
11697
11698 [BZ #23307]
11699 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11700 `st_value' is 0 if `st_shndx' is SHN_ABS.
11701 * elf/tst-absolute-zero.c: New file.
11702 * elf/tst-absolute-zero-lib.c: New file.
11703 * elf/tst-absolute-zero-lib.lds: New file.
11704 * elf/Makefile (tests): Add `tst-absolute-zero'.
11705 (modules-names): Add `tst-absolute-zero-lib'.
11706 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11707 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11708 ($(objpfx)tst-absolute-zero: New dependency.
11709
e69d994a
ZW
117102018-06-29 Zack Weinberg <zackw@panix.com>
11711
11712 * configure.ac: New command-line option --disable-crypt.
11713 Force --disable-nss-crypt when --disable-crypt is given, with a
11714 warning if it was explicitly enabled.
11715 * configure: Regenerate.
11716 * config.make.in: New boolean substitution variable $(build-crypt).
11717 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11718 when $(build-crypt).
11719 * manual/install.texi: Document --disable-crypt.
11720 * INSTALL: Regenerate.
11721
11722 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11723 which is never set.
11724 * conform/Makefile: Only include libcrypt.a in
11725 linknamespace-libs-xsi and linknamespace-libs-XPG4
11726 when $(build-crypt).
11727 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11728 USE_CRYPT to 1 when $(build-crypt).
11729 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11730 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11731 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11732
841785ba
ZW
117332018-06-29 Zack Weinberg <zackw@panix.com>
11734
11735 * crypt/crypt.h, posix/unistd.h: Update comments and
11736 prototypes for crypt and crypt_r.
11737
11738 * manual/crypt.texi (Cryptographic Functions): New initial
11739 exposition.
11740 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11741 (Unpredictable Bytes): Improve initial exposition. Clarify error
11742 behavior of getentropy and getrandom.
11743 * manual/examples/genpass.c: Generate a salt using getentropy
11744 instead of the current time. Use hash $5$ (SHA-2-256).
11745 * manual/examples/testpass.c: Demonstrate validation against
11746 hashes generated with three different one-way functions.
11747
11748 * manual/intro.texi: crypt.texi does not need an overview
11749 anymore.
11750
11751 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11752 * manual/terminal.texi: Consistently refer to "passphrases"
11753 * instead of "passwords", and to the "user database" instead
11754 * of the "password database".
11755 * manual/users.texi: Similarly. Add notes about how actual
11756 passphrase hashes are now stored in the shadow database.
11757 Remove 20-year-old junk todo note.
11758
6ab902e4
ZW
117592018-06-29 Zack Weinberg <zackw@panix.com>
11760
11761 * manual/crypt.texi: Use a normal top-level @node declaration.
11762 Move most of the introductory text to the 'crypt' section.
11763 Move the example programs below the @deftypefun for 'crypt_r'.
11764 Move the 'getpass' section...
11765 * manual/terminal.texi: ...here.
11766
b10a0acc
ZW
117672018-06-29 Zack Weinberg <zackw@panix.com>
11768 Florian Weimer <fweimer@redhat.com>
11769
11770 * posix/unistd.h: Do not declare encrypt.
11771 (_XOPEN_CRYPT): Remove macro definition.
11772 (crypt): Declare only for _USE_MISC.
11773 * stdlib/stdlib.h: Do not declare setkey.
11774 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11775 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11776
11777 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11778 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11779 into compat symbols. Don't define initial_perm if it's not
11780 going to be used.
11781 * crypt/cert.c: Link explicitly with the expected versions for
11782 setkey and encrypt. If they are not available at all, mark
11783 the test as unsupported.
11784
11785 * sunrpc/des_crypt.c: Unconditionally block linkage with
11786 cbc_crypt and ecb_crypt for new binaries.
11787 * sunrpc/des_soft.c: Unconditionally block linkage with
11788 des_setparity for new binaries.
11789
11790 * manual/crypt.texi: Remove the entire "DES Encryption"
11791 section. Also remove the paragraph talking about FIPS 140-2
11792 from the introduction.
11793 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11794 of libgcrypt for "real" encryption, not DES.
11795 * manual/conf.texi (Constants for Sysconf): Mention that
11796 _XOPEN_CRYPT is no longer impelemented.
11797
11798 * conform/data/unistd.h-data: Remove crypt function declaration.
11799
524d796d
FW
118002018-06-29 Florian Weimer <fweimer@redhat.com>
11801
11802 [BZ #23351]
11803 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11804 (disallow_malloc_check): Remove variable.
11805 (__malloc_check_init): Adjust.
11806 (malloc_set_state): Update comment.
11807 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
11808 declarations.
11809
339124ab
RL
118102018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11811
11812 [BZ #23140]
11813 * localedata/locales/ast_ES (mon): Rename to...
11814 (alt_mon): This.
11815 (mon): Import from CLDR (genitive case).
11816
c1f86a33
DA
118172018-06-29 Daniel Alvarez <dalvarez@redhat.com>
11818 Jakub Sitnicki <jkbs@redhat.com>
11819
11820 [BZ #21812]
11821 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
11822 on NLM_F_DUMP_INTR.
11823
0b11b649
SN
118242018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11825
11826 * manual/llio.texi: Remove spurious space.
11827
c1c2848b
FW
118282018-06-28 Florian Weimer <fweimer@redhat.com>
11829
11830 [BZ #23349]
11831 * time/bits/types/struct_timespec.h: Change header inclusion guard to
11832 _STRUCT_TIMESPEC.
11833
86a0f561
RS
118342018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11835
11836 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 11837 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
11838 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
11839 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
11840 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
11841 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
11842 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
11843
780684eb
MR
118442018-06-27 Maciej W. Rozycki <macro@mips.com>
11845
11846 [BZ #23266]
11847 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
11848 Copy and null-terminate entries that are not terminated, in
11849 addition to empty ones.
11850
c49e1822
FW
118512018-06-27 Florian Weimer <fweimer@redhat.com>
11852
11853 [BZ #18023]
b39d961c
TS
11854 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
11855 (extend_alloca_account): Remove.
c49e1822
FW
11856 * manual/stdio.texi (Variable Arguments Output): Update comment.
11857
a833e627
JM
118582018-06-27 Joseph Myers <joseph@codesourcery.com>
11859
11860 * nptl/sockperf.c: Remove file.
11861
92d6aa85
FW
118622018-06-27 Florian Weimer <fweimer@redhat.com>
11863
11864 [BZ #18023]
11865 * elf/dl-deps.c (_dl_map_object_deps): Use struct
11866 scratch_buffer instead of extend_alloca.
11867
890c2ced
FW
118682018-06-27 Florian Weimer <fweimer@redhat.com>
11869
11870 [BZ #18023]
11871 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
11872 scratch_buffer instead of extend_alloca. Update comments.
11873
4272059d
FW
118742018-06-27 Florian Weimer <fweimer@redhat.com>
11875
11876 [BZ #18023]
11877 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
11878 instead of extend_alloca.
11879
27f10a09
JM
118802018-06-26 Joseph Myers <joseph@codesourcery.com>
11881
11882 [BZ #13888]
11883 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
11884 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
11885 /tmp.
11886 * scripts/test-installation.pl: Put temporary files in build
11887 directory, not /tmp.
11888 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
11889 (CFLAGS-bug4.c): Likewise.
11890 (CFLAGS-bug5.c): Likewise.
11891 (CFLAGS-test-fseek.c): Likewise.
11892 (CFLAGS-test-popen.c): Likewise.
11893 (CFLAGS-test_rdwr.c): Likewise.
11894 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
11895 /tmp.
11896 * stdio-common/bug4.c (main): Likewise.
11897 * stdio-common/bug5.c (main): Likewise.
11898 * stdio-common/test-fseek.c (TESTFILE): Likewise.
11899 * stdio-common/test-popen.c (do_test): Likewise.
11900 * stdio-common/test_rdwr.c (main): Likewise.
11901
05598a09
PF
119022018-06-26 Patsy Franklin <pfrankli@redhat.com>
11903
11904 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
11905 (sem_open): Set sem.newsem.pad to zero for valgrind.
11906
06ab719d
AZ
119072018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11908
11909 [BZ #20251]
11910 * NEWS: Mention fcntl64 addition.
11911 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
11912 * login/utmp_file.c: Likewise.
11913 * sysdeps/posix/fdopendir.c: Likewise.
11914 * sysdeps/posix/opendir.c: Likewise.
11915 * sysdeps/unix/pt-fcntl.c: Likewise.
11916 * include/fcntl.h (__libc_fcntl64, __fcntl64,
11917 __fcntl64_nocancel_adjusted): New prototype.
11918 (__fcntl_nocancel_adjusted): Remove prototype.
11919 * io/Makefile (routines): Add fcntl64.
11920 (CFLAGS-fcntl64.c): New rule.
11921 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
11922 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
11923 * io/fcntl.h (fcntl64): Add prototype and redirect if
11924 __USE_FILE_OFFSET64 is defined.
11925 * io/fcntl64.c: New file.
11926 * manual/llio.text: Add a note for which commands fcntl acts a
11927 cancellation point.
11928 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11929 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11930 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11931 New symbols.
11932 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11933 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11934 non-LFS case.
11935 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11936 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11937 to __fcntl64_nocancel.
11938 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11939 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11940 to __fcntl64_nocancel.
11941 * sysdeps/generic/not-cancel.h: Likewise.
11942 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11943 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11944 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11945 (fcntl64): New symbol.
11946 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11947 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11948 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11951 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11952 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11953 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11954 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11955 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11956 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11957 fcntl64): Likewise.
11958 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11959 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11960 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11961 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11962 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11963 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11964 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11965 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11966 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11968 Likewise.
11969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11970 Likewise.
11971 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11972 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11973 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11974
124e0258
FW
119752018-06-26 Florian Weimer <fweimer@redhat.com>
11976
11977 Run thread shutdown functions in an explicit order.
11978 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11979 definition.
11980 (__libc_thread_freeres): Call thread shutdown functions
11981 explicitly.
11982 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11983 * include/string.h (__strerror_thread_freeres): Declare.
11984 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11985 arena_thread_freeres. No longer static. Remove thread shutdown
11986 hook registration.
11987 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11988 Declare.
11989 * resolv/res-close.c (__res_thread_freeres): Renamed from
11990 res_thread_freeres. No longer static. Remove thread shutdown
11991 hook registration.
11992 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11993 * resolv/resolv_conf.c (freeres): Remove incorrect section
11994 attribute and use libc_freeres_fn.
11995 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11996 strerror_thread_freeres. No longer static. Remove thread
11997 shutdown hook registration.
11998 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11999 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12000 shutdown hook registration.
12001 * Makerules (shlib.lds): Do not provide section boundary symbols
12002 for __libc_thread_subfreeres.
12003 * manual/memory.texi (Basic Allocation): Update comment.
12004
935d920e
FW
120052018-06-26 Florian Weimer <fweimer@redhat.com>
12006
12007 Remove always-defined _RPC_THREAD_SAFE_ macro.
12008 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12009 Do not define _RPC_THREAD_SAFE_.
12010 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12011 conditional.
12012 * sunrpc/clnt_perr.c: Likewise.
12013 * sunrpc/clnt_raw.c: Likewise.
12014 * sunrpc/clnt_simp.c: Likewise.
12015 * sunrpc/key_call.c: Likewise.
12016 * sunrpc/rpc_common.c: Likewise.
12017 * sunrpc/rpc_main.c: Likewise.
12018 * sunrpc/rpc_thread.c: Likewise.
12019 * sunrpc/svc.c: Likewise.
12020 * sunrpc/svc_raw.c: Likewise.
12021 * sunrpc/svc_simple.c: Likewise.
12022 * sumrpc/svcauth_des.c: Likewise.
12023
29055464
FW
120242018-06-26 Florian Weimer <fweimer@redhat.com>
12025
12026 * libio/Makefile (tests-internal): Add tst-vtables,
12027 tst-vtables-interposed.
12028 * libio/tst-vtables.c: New file.
12029 * libio/tst-vtables-common.c: Likewise.
12030 * libio/tst-vtables-interposed.c: Likewise.
12031
5c0202af
FW
120322018-06-26 Florian Weimer <fweimer@redhat.com>
12033
12034 * support/support_test_main.c (support_test_main): Only call
12035 setvbuf if not disables.
12036 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12037 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12038
c402355d
FW
120392018-06-26 Florian Weimer <fweimer@redhat.com>
12040
12041 [BZ #23313]
12042 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12043
43b1048a
FW
120442018-06-25 Florian Weimer <fweimer@redhat.com>
12045
12046 [BZ #18023]
12047 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12048 Use struct scratch_buffer instead of extend_alloca.
12049
1599ed4e
FW
120502018-06-25 Florian Weimer <fweimer@redhat.com>
12051
12052 [BZ #18023]
12053 * nss/getent.c (initgroups_keys): Use dynarray instead of
12054 extend_alloca.
12055
a26fe163
FW
120562018-06-25 Florian Weimer <fweimer@redhat.com>
12057
12058 [BZ #18023]
12059 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12060 Use struct scratch_buffer instead of extend_alloca.
12061
90d9d9ce
FW
120622018-06-25 Florian Weimer <fweimer@redhat.com>
12063
12064 [BZ #18023]
12065 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12066 back to malloc directly, without stack allocations.
12067
6b7b2aba
FW
120682018-06-25 Florian Weimer <fweimer@redhat.com>
12069
12070 [BZ #18023]
12071 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12072 of extend_alloca.
12073
2f9f0d18
FW
120742018-06-25 Florian Weimer <fweimer@redhat.com>
12075
12076 [BZ #18023]
12077 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12078 of extend_alloca.
12079 * nscd/hstcache.c (addhstbyX): Likewise.
12080 * nscd/pwdcache.c (addpwbyX): Likewise.
12081 * nscd/servicescache.c (addservbyX): Likewise.
12082
318bad78
FW
120832018-06-25 Florian Weimer <fweimer@redhat.com>
12084
12085 [BZ #18023]
12086 * nscd/connections.c (read_cmdline): New function.
12087 (restart): Use it. Update comment.
12088
189699ab
RL
120892018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12090
12091 [BZ #23140]
12092 * localedata/locales/csb_PL (mon): Rename to...
12093 (alt_mon): This.
12094 (abmon): Rename to...
12095 (ab_alt_mon): This.
12096 (mon): Add with proper genitive forms, copy from Wikipedia.
12097 (abmon): Likewise.
12098
0ea3f13c
RL
120992018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12100
12101 [BZ #19485]
12102 * localedata/locales/csb_PL (mon): Fix typos:
12103 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12104 (yesstr): Add, value is "jo".
12105 (nostr): Add, value is "nié".
12106
d93f4ff1
TMQMF
121072018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12108
12109 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12110 all log1p and significand functions on m680x0.
12111 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12112 of s_significand.c..
12113 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12114 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12115 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12116 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12117 s_log1p.c and include it..
12118
f6299d2a
VC
121192018-06-21 Vincent Chen <vincentc@andestech.com>
12120
12121 * elf/elf.h (R_NDS32_NONE): New define.
12122 (R_NDS32_32_RELA): Likewise.
12123 (R_NDS32_COPY): Likewise.
12124 (R_NDS32_GLOB_DAT): Likewise.
12125 (R_NDS32_JUMP_SLOT): Likewise.
12126 (R_NDS32_RELATIVE): Likewise.
12127 (R_NDS32_TLS_TPOFF): Likewise.
12128 (R_NDS32_TLS_DESC): Likewise.
12129
61ab61c2
MW
121302018-06-21 Mark Wielaard <mark@klomp.org>
12131
12132 * elf/elf.h (R_BPF_MAP_FD): Removed.
12133 (R_BPF_64_64, R_BPF_64_32): New.
12134
f496b28e
FW
121352018-06-21 Florian Weimer <fweimer@redhat.com>
12136
12137 [BZ #23253]
12138 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12139 Renamed from libc_feholdsetround_ctx.
12140 (default_libc_feresetround_ctx): Renamed from
12141 libc_feresetround_ctx.
12142 (default_libc_feholdsetround_noex_ctx): Renamed from
12143 libc_feholdsetround_noex_ctx.
12144 (default_libc_feresetround_noex_ctx): Renamed from
12145 libc_feresetround_noex_ctx.
12146 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12147 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12148 forwardning to the old implementations under the new names.
12149 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12150 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12151 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12152 (libc_feresetround_ctx): Forward to default implements for i386
12153 and MATH_SET_BOTH_ROUNDING_MODES.
12154 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12155 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12156
1760daad
JM
121572018-06-20 Joseph Myers <joseph@codesourcery.com>
12158
99c7adf9
JM
12159 * string/tst-cmp.c: Include <libc-diag.h>.
12160 (strncmp_max): Disable -Wstringop-overflow= around call to
12161 strncmp.
12162 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12163 strncasecmp.
12164
1760daad
JM
12165 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12166 (main): Disable -Wunused-value around call to strpbrk.
12167 * string/bug-strspn1.c: Include <libc-diag.h>.
12168 (main): Disable -Wunused-value around call to strspn.
12169
209ae17c
TMQMF
121702018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12171 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12172
12173 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12174 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12175
badba23c
TMQMF
121762018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12177
5e79e029
TMQMF
12178 * math/Makefile (libm-calls): Move s_significandF to...
12179 (gen-libm-calls): ... here.
12180 * math/s_significand_template.c: New file.
12181 * math/s_significand.c: Removed.
12182 * math/s_significandf.c: Removed.
12183 * math/s_significandl.c: Removed.
12184 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12185 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12186
badba23c
TMQMF
12187 * math/e_exp2_template.c (declare_mgen_finite_alias,
12188 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12189 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12190 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12191
2d1c89a5
FW
121922018-06-20 Florian Weimer <fweimer@redhat.com>
12193
12194 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12195
646c2833
JM
121962018-06-19 Joseph Myers <joseph@codesourcery.com>
12197
12198 [BZ #23280]
12199 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12200 floating-point number to strtod functions rather than possibly
12201 negating result of those functions.
12202 * stdio-common/tst-scanf-round.c: New file.
12203 * stdio-common/Makefile (tests): Add tst-scanf-round.
12204 ($(objpfx)tst-scanf-round): Depend on $(libm).
12205
c77e4dc0
ST
122062018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12207
12208 * sysdeps/mach/hurd/localplt.data: Move to...
12209 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12210 R_386_GLOB_DAT like on Linux i386.
12211
91b2f3e5
JM
122122018-06-18 Joseph Myers <joseph@codesourcery.com>
12213
f2857da7
JM
12214 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12215 (SHM_STAT_ANY): New macro.
12216 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12217 (SHM_STAT_ANY): Likewise.
12218 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12219 (SHM_STAT_ANY): Likewise.
12220 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12221 (SHM_STAT_ANY): Likewise.
12222 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12223 (SHM_STAT_ANY): Likewise.
12224 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12225 (SHM_STAT_ANY): Likewise.
12226 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12227 (SHM_STAT_ANY): Likewise.
12228 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12229 (SHM_STAT_ANY): Likewise.
12230 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12231 (SHM_STAT_ANY): Likewise.
12232 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12233 (SHM_STAT_ANY): Likewise.
12234 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12235 (SHM_STAT_ANY): Likewise.
12236 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12237 (SHM_STAT_ANY): Likewise.
12238
176c7fee
JM
12239 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12240 (SEM_STAT_ANY): New macro.
12241 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12242 (SEM_STAT_ANY): Likewise.
12243 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12244 (SEM_STAT_ANY): Likewise.
12245 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12246 (SEM_STAT_ANY): Likewise.
12247 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12248 (SEM_STAT_ANY): Likewise.
12249 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12250 (SEM_STAT_ANY): Likewise.
12251 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12252 (SEM_STAT_ANY): Likewise.
12253 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12254 (SEM_STAT_ANY): Likewise.
12255 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12256 (SEM_STAT_ANY): Likewise.
12257 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12258 (SEM_STAT_ANY): Likewise.
12259
86bf0019
JM
12260 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12261 (MSG_STAT_ANY): New macro.
12262 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12263 (MSG_STAT_ANY): Likewise.
12264 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12265 (MSG_STAT_ANY): Likewise.
12266 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12267 (MSG_STAT_ANY): Likewise.
12268 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12269 (MSG_STAT_ANY): Likewise.
12270 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12271 (MSG_STAT_ANY): Likewise.
12272 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12273 (MSG_STAT_ANY): Likewise.
12274 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12275 (MSG_STAT_ANY): Likewise.
12276 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12277 (MSG_STAT_ANY): Likewise.
12278 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12279 (MSG_STAT_ANY): Likewise.
12280
91b2f3e5
JM
12281 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12282 (MAP_TYPE): Change value to 0x2b.
12283
3fe8fc79
FW
122842018-06-18 Florian Weimer <fweimer@redhat.com>
12285
12286 [BZ #15722]
12287 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12288 socket with SOCK_CLOEXEC.
12289
809dc95d
JM
122902018-06-18 Joseph Myers <joseph@codesourcery.com>
12291
12292 [BZ #23303]
12293 * sysdeps/powerpc/powerpc64/le/Makefile
12294 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12295 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12296 (gnulib-tests): Also add $(f128-loader-link) for
12297 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12298
298a8b59
ST
122992018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12300
12301 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12302 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12303 of sendfile.
12304 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12305 (sendfile64): New strong alias.
faf7bbc2
ST
12306 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12307 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12308 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
12309 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12310 attribute.
12311 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12312 ___pthread_get_cleanup_stack.
932d05f0 12313 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
12314 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12315 * mach/shortcut.awk: Make syscall stubs include
12316 <mach-shortcuts-hidden.h> and add hidden definition.
12317 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
12318 (__mach_msg): Add hidden prototype.
12319 * mach/msg.c: Include <mach.h>.
12320 (__mach_msg): Add hidden definition.
b0344cf5
ST
12321 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12322 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12323 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12324 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
12325 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12326 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
12327 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12328 prototype and definition.
12329 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12330 hidden target for _hurd_self_sigstate.
298a8b59 12331
b12c1e79
JM
123322018-06-15 Joseph Myers <joseph@codesourcery.com>
12333
12334 [BZ #23007]
12335 * stdlib/tst-strtod-nan-sign-main.c: New file.
12336 * stdlib/tst-strtod-nan-sign.c: Likewise.
12337 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12338 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12339 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12340 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12341 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12342
b0debe14
HB
123432018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12344
12345 [BZ #23007]
12346 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12347 appropriate sign.
12348
14beef75
FW
123492018-06-14 Florian Weimer <fweimer@redhat.com>
12350
12351 [BZ #23290]
12352 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12353 that the result stays within the ISO-8859-1 range.
12354 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12355 characters are defined in IBM273.
12356
c596630b
ST
123572018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12358
12359 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12360 __mach_task_self): Remove attribute_hidden.
12361
35ebb6b0
JM
123622018-06-14 Joseph Myers <joseph@codesourcery.com>
12363
12364 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12365 ignore -Wrestrict for one test.
12366
3c7b9f1f
SE
123672018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12368 Szabolcs Nagy <szabolcs.nagy@arm.com>
12369
12370 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12371
c59ee916
FW
123722018-06-14 Florian Weimer <fweimer@redhat.com>
12373
12374 * scripts/update-abilist.sh: Accept empty list of files to patch.
12375
43b5ff50
ST
123762018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12377
12378 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12379 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
12380 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12381 __libc_read and __libc_write to __read and __write.
c8c6e6d6 12382 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
12383 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12384 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12385 __thread_switch, __evc_wait): Move declarations to...
12386 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12387 attribute_hidden.
06d1a826
ST
12388 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12389 use PLT to call _hurd_self_sigstate.
43b5ff50 12390
fcd6b5ac
JM
123912018-06-13 Joseph Myers <joseph@codesourcery.com>
12392
12393 [BZ #23279]
12394 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12395 MAX_EXP as overflowing.
12396 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12397 overflow flag.
12398 (round_str): Output also whether result overflows in each rounding
12399 mode.
12400 * stdlib/tst-strtod-round-data: Add more tests.
12401 * stdlib/tst-strtod-round-data.h: Regenerated.
12402 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12403 (TEST): Handle extra arguments for overflow flags.
12404 (struct test_overflow): New type.
12405 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12406 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12407 (test_in_one_mode): Take argument with overflow information.
12408 (do_test): Update calls to test_in_one_mode.
12409
35df5a77
CD
124102018-06-12 Carlos O'Donell <carlos@redhat.com>
12411
a745c837
CD
12412 * elf/dl-load (_dl_dst_substitute): Correct comment.
12413 (_dl_dst_count): Likewise.
12414
35df5a77
CD
12415 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12416 lll_futex_timed_wait.
12417
48b12ed5
JM
124182018-06-12 Joseph Myers <joseph@codesourcery.com>
12419
12420 [BZ #23277]
12421 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12422 attribute.
12423 * math/test-nan-const.c: New file.
12424 * math/Makefile (tests): Add test-nan-const.
12425 (CFLAGS-test-nan-const.c): New variable.
12426
cb8f6aff
L
124272018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12428
12429 * benchtests/scripts/compare_strings.py (process_results): Add
12430 funcs argument. Compare only functions which are selected.
12431 (main): Check if base function is among selected functions.
12432 Pass selected functions to process_results.
12433 (__main__): Add -f/--functions argument.
12434
fc2ba803
HZ
124352018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12436 Hongbo Zhang <hongbo.zhang@linaro.org>
12437
12438 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12439 __memcpy_falkor for phecda core.
12440 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12441 __memmove_falkor for phecda core.
12442 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12443 __memset_falkor for phecda core.
12444 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12445 for phecda core.
12446 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12447 macro to identify phecda core.
12448
5aad5f61
CD
124492018-06-12 Carlos O'Donell <carlos@redhat.com>
12450 Andreas Schwab <schwab@suse.de>
12451 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 12452 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
12453
12454 [BZ #23102]
12455 [BZ #21942]
12456 [BZ #18018]
12457 [BZ #23259]
12458 CVE-2011-0536
12459 * elf/dl-dst.h: Remove DL_DST_COUNT.
12460 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12461 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12462 (is_dst): Comment. Support ELF gABI.
12463 (_dl_dst_count): Comment. Simplify and count DSTs.
12464 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12465 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12466 locals.
12467
329ea513
ZW
124682018-06-12 Zack Weinberg <zackw@panix.com>
12469
12470 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12471 * sysdeps/unix/sysv/linux/dl-sysdep.c
12472 Include not-cancel.h. Use __close_nocancel instead of __close,
12473 __open64_nocancel instead of __open, __read_nocancel instead of
12474 __libc_read, and __write_nocancel instead of __libc_write.
12475
12476 * csu/check_fds.c (check_one_fd)
12477 * sysdeps/posix/fdopendir.c (__fdopendir)
12478 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 12479 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
12480
12481 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12482 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 12483 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
12484 Use __open64_nocancel instead of __open_nocancel.
12485
12486 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12487 hidden_proto declarations to the end and issue them if either
12488 IS_IN(libc) or IS_IN(rtld).
12489 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12490 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12491 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12492 read_nocancel, waitpid_nocancel, write_nocancel.
12493
b39d961c
TS
12494 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12495 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12496 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 12497
b39d961c
TS
12498 * nptl/pt-fcntl.c: New file.
12499 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12500 (libpthread-routines): Add pt-fcntl.
12501 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12502 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
12503 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12504 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 12505 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
12506 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12507 to fcntl_nocancel.c.
12508 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12511 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12512
12513 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12514 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12515 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12516 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12517 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12518 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12519 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12520 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12521 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12522 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12523 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12524 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12525 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12526 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12527 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12528 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12529 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12530 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12531 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12532 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12533
b39d961c
TS
12534 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12535 libpthread-routines.
12536 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12537 defines nothing.
329ea513 12538
b39d961c
TS
12539 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12540 __libc_read, and __write instead of __libc_write. Define
12541 __open64 in addition to __open.
329ea513 12542
0221ce2a
L
125432018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12544
12545 [BZ #23250]
12546 [BZ #10686]
12547 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12548 to _private_tm[3] and add __glibc_reserved2.
12549 Add _Static_assert of offset of __private_ss == 0x30.
12550 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12551 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12552
e826574c
FW
125532018-06-12 Florian Weimer <fweimer@redhat.com>
12554
12555 x86: Make strncmp usable from rtld.
12556 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12557 __strncmp_ia32 if in libc (and not in rtld).
12558 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12559 strncmp if not in libc (and not to __strncmp_sse2).
12560
c4ad5782
RL
125612018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12562
12563 [BZ #23140]
12564 * localedata/locales/gd_GB (mon): Rename to...
12565 (alt_mon): This.
12566 (mon): Import from CLDR (genitive case).
12567 * localedata/locales/hsb_DE (mon): Rename to...
12568 (alt_mon): This.
12569 (mon): Import from CLDR (genitive case).
12570 * localedata/locales/wa_BE (mon): Rename to...
12571 (alt_mon): This.
12572 (mon): Add, fill with the proper genitive forms, but CLDR data
12573 is incomplete; completed according to the comments in this file.
12574 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12575
12576 * localedata/locales/wa_BE (country_name): Reword
12577 "Beljike" -> "Beldjike".
12578
ca121b11
JM
125792018-06-11 Joseph Myers <joseph@codesourcery.com>
12580
12581 [BZ #23272]
12582 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12583 cases of non-finite arguments.
12584 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12585
2b69fecb
JDA
125862018-06-10 John David Anglin <danglin@gcc.gnu.org>
12587
12588 [BZ #23174]
12589 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12590
283d9851
AZ
125912018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12592
12593 [BZ #23264]
12594 * include/unistd.h (__execvpex): New prototype.
12595 * posix/Makefile (tests): Add tst-spawn4.
12596 (tests-internal): Add tst-spawn4-compat.
12597 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12598 * posix/tst-spawn4-compat.c: New file.
12599 * posix/tst-spawn4.c: Likewise.
12600 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12601 binaries as shell scripts.
12602 * sysdeps/posix/spawni.c (__spawni): Likewise.
12603
67c05796
L
126042018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12605
12606 [BZ #23145]
12607 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12608 ($(all-built-dso:=.dynsym): New target.
12609 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12610 ($(objpfx)check-initfini.out): New target.
12611 (generated): Add check-initfini.out.
12612 * scripts/check-initfini.awk: New file.
12613 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12614 (_fini): Likewise.
12615 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12616 (_fini): Likewise.
12617 * sysdeps/arm/crti.S (_init): Mark as hidden.
12618 (_fini): Likewise.
12619 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12620 (_fini): Likewise.
12621 * sysdeps/i386/crti.S (_init): Mark as hidden.
12622 (_fini): Likewise.
12623 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12624 (_fini): Likewise.
12625 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12626 (_fini): Likewise.
12627 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12628 (_fini): Likewise.
12629 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12630 (_fini): Likewise.
12631 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12632 (_fini): Likewise.
12633 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12634 (_fini): Likewise.
12635 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12636 (_fini): Likewise.
12637 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12638 (_fini): Likewise.
12639 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12640 (_fini): Likewise.
12641 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12642 (_fini): Likewise.
12643 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12644 (_fini): Likewise.
12645 * sysdeps/sh/crti.S (_init): Mark as hidden.
12646 (_fini): Likewise.
12647 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12648 (_fini): Likewise.
12649 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12650 (_fini): Likewise.
12651
1c09524e
TMQMF
126522018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12653
12654 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12655 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12656 and TF redirection to KFtype and KF only when the default
12657 long double type is not the IEEE 128-bit floating point type.
12658
0e0577c9
JM
126592018-06-05 Joseph Myers <joseph@codesourcery.com>
12660
0c1c33b2
JM
12661 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12662 macro.
12663 (HWCAP_USCAT): Likewise.
12664 (HWCAP_ILRCPC): Likewise.
12665 (HWCAP_FLAGM): Likewise.
12666 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12667 Increase to 28.
12668 (_dl_aarch64_cap_flags): Add new flag names.
12669
bef1cbf4
JM
12670 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12671 (MAP_FIXED_NOREPLACE): New macro.
12672 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12673 (MAP_FIXED_NOREPLACE): Likewise.
12674 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12675 (MAP_FIXED_NOREPLACE): Likewise.
12676 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12677 (MAP_FIXED_NOREPLACE): Likewise.
12678 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12679 (MAP_FIXED_NOREPLACE): Likewise.
12680 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12681 (MAP_FIXED_NOREPLACE): Likewise.
12682 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12683 (MAP_FIXED_NOREPLACE): Likewise.
12684 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12685 (MAP_FIXED_NOREPLACE): Likewise.
12686 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12687 (MAP_FIXED_NOREPLACE): Likewise.
12688 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12689 (MAP_FIXED_NOREPLACE): Likewise.
12690 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12691 (MAP_FIXED_NOREPLACE): Likewise.
12692 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12693 (MAP_FIXED_NOREPLACE): Likewise.
12694 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12695 (MAP_FIXED_NOREPLACE): Likewise.
12696 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12697 (MAP_FIXED_NOREPLACE): Likewise.
12698 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12699 (MAP_FIXED_NOREPLACE): Likewise.
12700
0e0577c9
JM
12701 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12702 version to 4.17.
12703
ab3a0da0
JM
127042018-06-04 Joseph Myers <joseph@codesourcery.com>
12705
12706 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12707 version to 4.17
12708
d2d9dfb6
ST
127092018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12710
12711 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12712 int.
12713 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12714
a650b05e
LS
127152018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12716
12717 * benchtests/scripts/compare_string.py: (process_results) Catch
12718 exception in non-existent base_func and catch exception in
12719 non-existent attribute.
12720 (parse_file) Catch exception if input file does not exist.
12721
195abbf4
LS
127222018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12723
12724 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12725 options to avoid diff calculation and omit header, respectively.
12726 (main): process --no-diff and --no-header
12727
14570163
LS
127282018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12729 H.J. Lu <hongjiu.lu@intel.com>
12730
12731 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12732 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12733 wcsncmp-sse2.
12734 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12735 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12736 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12737 and __wcsncmp_sse2.
12738 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12739 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12740 AVX unaligned load is fast and vzeroupper is preferred.
12741 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12742 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12743 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12744 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12745 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12746 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12747 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12748 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12749 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12750 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12751 is undefined.
12752
e02c026f
FW
127532018-06-01 Florian Weimer <fweimer@redhat.com>
12754
12755 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12756 configuring with --disable-multi-arch, building with
12757 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12758 Haswell-era CPU.
12759
d8c19275
FW
127602018-06-01 Florian Weimer <fweimer@redhat.com>
12761
12762 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12763 results from building with “-march=x86-64 -mtune=generic
12764 -mfpmath=sse” and running on a Haswell-era CPU.
12765
0d2163eb
JM
127662018-06-01 Joseph Myers <joseph@codesourcery.com>
12767
12768 [BZ #18473]
12769 * soft-fp/sqrttf2.c: Remove file.
12770 * soft-fp/sqrtdf2.c: Move to ....
12771 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12772 <shlib-compat.h>.
12773 (__sqrtdf2): Make conditional on
12774 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12775 symbol.
12776 * soft-fp/sqrtsf2.c: Move to ....
12777 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12778 <shlib-compat.h>.
12779 (__sqrtsf2): Make conditional on
12780 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12781 symbol.
12782 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12783 (gcc-double-routines): Remove sqrtdf2.
12784 (gcc-quad-routines): Remove sqrttf2.
12785 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12786 Do not filter out sqrtsf2 and sqrtdf2.
12787 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12788 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12789
10450210
FW
127902018-06-01 Florian Weimer <fweimer@redhat.com>
12791
12792 * sysdeps/generic/libcidn.abilist: Remove file.
12793
4e8a6346
FW
127942018-06-01 Florian Weimer <fweimer@redhat.com>
12795
12796 [BZ #23236]
12797 * libio/strfile.h (struct _IO_str_fields): Rename members to
12798 discourage their use and add comment.
12799 (_IO_STR_DYNAMIC): Remove unused macro.
12800 * libio/strops.c (_IO_str_init_static_internal): Do not use
12801 callback pointers. Call malloc and free.
12802 (_IO_str_overflow): Do not use callback pointers. Call malloc
12803 and free.
12804 (enlarge_userbuf): Likewise.
12805 (_IO_str_finish): Call free.
12806 * libio/wstrops.c (_IO_wstr_init_static): Initialize
12807 _allocate_buffer_unused.
12808 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
12809 and free.
12810 (enlarge_userbuf): Likewise.
12811 (_IO_wstr_finish): Call free.
12812 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
12813 _allocate_buffer_unused, _free_buffer_unused.
12814 * libio/memstream.c (__open_memstream): Likewise.
12815 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12816 * libio/wmemstream.c (open_wmemstream): Likewise.
12817
50d004c9
PP
128182018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12819
12820 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
12821 AMD Ryzen 7 1800X.
12822
2c93fce7
RS
128232018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12824
12825 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
12826 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
12827 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
12828 New file.
12829 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
12830 Likewise.
12831 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
12832
0ce2fa69
FW
128332018-05-29 Florian Weimer <fweimer@redhat.com>
12834
12835 * support/Makefile (libsupport-routines): Add
12836 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
12837 xpthread_barrierattr_setpshared.
12838 * support/xpthread_barrierattr_destroy.c: New file.
12839 * support/xpthread_barrierattr_init.c: Likewise.
12840 * support/xpthread_barrierattr_setpshared.c: Likewise.
12841
7f7b5d8d
L
128422018-05-29 H.J. Lu <hongjiu.lu@intel.com>
12843
12844 [BZ #23206]
12845 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
12846 _r_debug and update DT_DEBUG for debugger.
12847
e4890300
FW
128482018-05-29 Florian Weimer <fweimer@redhat.com>
12849
12850 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
12851 (tst-strtod5i.out): Likewise.
12852
2c753f3e
JM
128532018-05-25 Joseph Myers <joseph@codesourcery.com>
12854
b5453d9f
JM
12855 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
12856 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
12857 (sparc64-quad-routines): New variable. Moved from ....
12858 [$(subdir) = soft-fp] (sysdep_routines): Add
12859 $(sparc64-quad-routines). Moved from ....
12860 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
12861 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
12862 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
12863 moved from ....
12864 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
12865 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
12866 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
12867 * sysdeps/sparc/sparc64/qp_add.c: ... here.
12868 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
12869 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
12870 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
12871 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
12872 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
12873 * sysdeps/sparc/sparc64/qp_div.c: ... here.
12874 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
12875 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
12876 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
12877 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
12878 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
12879 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
12880 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
12881 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
12882 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
12883 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
12884 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
12885 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
12886 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
12887 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
12888 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
12889 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
12890 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
12891 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
12892 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
12893 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
12894 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
12895 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
12896 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
12897 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
12898 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
12899 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
12900 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
12901 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
12902 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
12903 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
12904 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
12905 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
12906 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
12907 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
12908 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
12909 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
12910 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
12911 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
12912 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
12913 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
12914 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
12915 * sysdeps/sparc/sparc64/qp_util.c: ... here.
12916 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
12917 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
12918 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
12919 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
12920 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
12921 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
12922
2c753f3e
JM
12923 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12924 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12925 (sparc32-quad-routines): New variable. Moved from ....
12926 [$(subdir) = soft-fp] (sysdep_routines): Add
12927 $(sparc32-quad-routines). Moved from ....
12928 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12929 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12930 moved from ....
12931 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12932 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12933 * sysdeps/sparc/sparc32/q_add.c: ... here.
12934 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12935 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12936 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12937 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12938 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12939 * sysdeps/sparc/sparc32/q_div.c: ... here.
12940 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12941 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12942 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12943 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12944 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12945 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12946 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12947 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12948 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12949 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12950 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12951 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12952 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12953 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12954 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12955 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12956 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12957 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12958 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12959 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12960 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12961 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12962 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12963 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12964 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12965 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12966 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12967 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12968 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12969 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12970 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12971 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12972 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12973 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12974 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12975 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12976 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12977 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12978 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12979 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12980 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12981 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12982 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12983 * sysdeps/sparc/sparc32/q_util.c: ... here.
12984 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12985 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12986 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12987 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12988
c1dc1e1b
TMQMF
129892018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12990 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12991
12992 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12993 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12994 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12995 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12996
14186e8d
JM
129972018-05-24 Joseph Myers <joseph@codesourcery.com>
12998
12999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13000 powerpc/soft-fp.
13001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13002 Likewise.
13003 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13004 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13005
fb0e10b8
GG
130062018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13007
13008 [BZ #23171]
13009 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13010 double version.
13011
1dfeb17e
JM
130122018-05-23 Joseph Myers <joseph@codesourcery.com>
13013
13014 * sysdeps/sh/Implies: Remove sh/soft-fp.
13015 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13016 * sysdeps/sh/sfp-machine.h: ... here.
13017
727b38df
L
130182018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13019
13020 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13021 (__mempcpy_erms): Skip zero length.
13022 (__memmove_erms): Likewise.
13023 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13024 (__memset_erms): Likewise.
13025
2834fb46
JM
130262018-05-23 Joseph Myers <joseph@codesourcery.com>
13027
13028 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13029 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13030 Add functions moved from ....
13031 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13032 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13033 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13034 from ....
13035 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13036 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13037 * sysdeps/alpha/e_sqrtl.c: ... here.
13038 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13039 * sysdeps/alpha/local-soft-fp.h: ... here.
13040 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13041 * sysdeps/alpha/ots_add.c: ... here.
13042 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13043 * sysdeps/alpha/ots_cmp.c: ... here.
13044 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13045 * sysdeps/alpha/ots_cmpe.c: ... here.
13046 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13047 * sysdeps/alpha/ots_cvtqux.c: ... here.
13048 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13049 * sysdeps/alpha/ots_cvtqx.c: ... here.
13050 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13051 * sysdeps/alpha/ots_cvttx.c: ... here.
13052 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13053 * sysdeps/alpha/ots_cvtxq.c: ... here.
13054 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13055 * sysdeps/alpha/ots_cvtxt.c: ... here.
13056 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13057 * sysdeps/alpha/ots_div.c: ... here.
13058 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13059 * sysdeps/alpha/ots_mul.c: ... here.
13060 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13061 * sysdeps/alpha/ots_nintxq.c: ... here.
13062 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13063 * sysdeps/alpha/ots_sub.c: ... here.
13064 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13065 * sysdeps/alpha/sfp-machine.h: ... here.
13066
7f9f1ecb
FW
130672018-05-23 Florian Weimer <fweimer@redhat.com>
13068
13069 [BZ #19728]
13070 [BZ #19729]
13071 [BZ #22247]
13072 CVE-2016-6261
13073 CVE-2016-6263
13074 CVE-2017-14062
13075 Switch to extern IDNA implementation (libidn2).
13076 * libidn: Remove subdirectory.
13077 * LICENSES: Do not mention licensing conditions for the removed
13078 libidn code.
13079 * config.h.in (HAVE_LIBIDN): Remove.
13080 * include/dlfcn.h (__libc_dlopen): Update comment.
13081 * include/idna.h: Remove file.
13082 * inet/Makefile (routines): Add idna.
13083 (tests-static, tests-internal): Add tst-idna_name_classify.
13084 (LOCALES): Generate locales for tests.
13085 (tst-idna_name_classify.out): Depend on generated locales.
13086 * inet/idna_name_classify.c: New file.
13087 * inet/tst-idna_name_classify.c: Likewise.
13088 * inet/net-internal.h (__idna_to_dns_encoding)
13089 (__idna_from_dns_encoding): Declare.
13090 * inet/net-internal.h (enum idna_name_classification): Define.
13091 (__idna_name_classify): Declare.
13092 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13093 __idna_from_dns_encoding.
13094 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13095 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13096 name as a fallback in case of encoding errors.
13097 (getnameinfo): Use DEPRECATED_NI_IDN.
13098 * inet/idna.c: New file.
13099 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13100 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13101 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13102 (modules-names): Add tst-no-libidn2.
13103 (extra-test-objs): Add tst-no-libidn2.os.
13104 (LDFLAGS-tst-no-libidn2.so): Set soname.
13105 (LOCALES): Set, and generate locales.
13106 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13107 (tst-resolv-ai_idn-latin1): Likewise.
13108 (tst-resolv-ai_idn-nolibidn2): Likewise.
13109 (tst-resolv-ai_idn.out): Depend on locales.
13110 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13111 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13112 tst-no-libidn2.so.
13113 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13114 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13115 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13116 * resolv/tst-resolv-ai_idn.c: New file.
13117 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13118 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13119 * resolv/tst-no-libidn2.c: Likewise.
13120 * support/support_format_addrinfo.c (format_ai_flags): Do not
13121 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13122 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13123 (gaih_inet): Call __idna_to_dns_encoding and
13124 __idna_from_dns_encoding, and use the original (punycode) name if
13125 __idna_from_dns_encoding fails due to an encoding error.
13126 (getaddrinfo): Use DEPRECATED_AI_IDN.
13127 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13128 * sysdeps/unix/inet/configure: Remove file.
13129 * sysdeps/unix/inet/configure.ac: Likewise.
13130
5f7b841d
FW
131312018-05-23 Florian Weimer <fweimer@redhat.com>
13132
13133 Implement allocate_once.
13134 * include/allocate_once.h: New file.
13135 * misc/allocate_once.c: Likewise.
13136 * misc/tst-allocate_once.c: Likewise.
13137 * misc/Makefile (routines): Add allocate_once.
13138 (tests-internal): Add tst-allocate_once.
13139 (generated): Add tst-allocate_once.mtrace,
13140 tst-allocate_once-mem.out.
13141 (tests-special): Add tst-allocate_once-mem.out.
13142 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13143 (tst-allocate_once-mem.out): Call mtrace.
13144 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13145
ed983107
L
131462018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13147
13148 [BZ #23196]
13149 * string/test-memcpy.c (do_test1): New function.
13150 (test_main): Call it.
13151
9aaaab7c
AS
131522018-05-23 Andreas Schwab <schwab@suse.de>
13153
13154 [BZ #23196]
13155 CVE-2018-11237
13156 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13157 (L(preloop_large)): Save initial destination pointer in %r11 and
13158 use it instead of %rax after the loop.
13159 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13160
5c5c0dd7
JM
131612018-05-22 Joseph Myers <joseph@codesourcery.com>
13162
8f145c77
JM
13163 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13164 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13165 -I../soft-fp. Moved from ....
13166 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13167 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13168 * sysdeps/aarch64/e_sqrtl.c: ... here.
13169 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13170 * sysdeps/aarch64/sfp-machine.h: ... here.
13171
3d6302a5
JM
13172 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13173 -Wmaybe-uninitialized around access to fq[0].
13174 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13175 Likewise.
13176
5c5c0dd7
JM
13177 [BZ #18471]
13178 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13179 aliases for non-libc case of versioned symbols.
13180 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13181 (llseek): Define as compat symbol if
13182 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13183 with link warning.
13184 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13185 Make into a compat symbol, disabled for minimum symbol version
13186 GLIBC_2.28 and later.
13187 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13188
ed0d6988
FW
131892018-05-22 Florian Weimer <fweimer@redhat.com>
13190
13191 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13192 not add -mpreferred-stack-boundary=4.
13193 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13194 (stack-align-test-flags): Likewise.
13195 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13196 Likewise.
13197 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13198 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13199 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13200 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13201 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13202 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13203 (CFLAGS-tst-align2.c): Likewise.
13204
e28e9b1e
L
132052018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13206
13207 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13208 (index_arch_Prefer_FSRM): Likewise.
13209 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13210 Also check Prefer_FSRM.
13211 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13212 Also return OPTIMIZE (erms) for Prefer_FSRM.
13213
1af30adc
L
132142018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13215
13216 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13217 (index_cpu_FSRM): Likewise.
13218 (reg_FSRM): Likewise.
13219
78274dc8
JM
132202018-05-18 Joseph Myers <joseph@codesourcery.com>
13221
7c67e6e8
JM
13222 * math/gen-tgmath-tests.py: Import sys.
13223 (Tests.__init__): Initialize macros_seen.
13224 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13225 if requested to do so for this macro.
13226 (Tests.add_all_tests): Take argument for macro for which to
13227 generate tests.
13228 (Tests.check_macro_list): New function.
13229 (main): Handle check-list argument and argument specifying macro
13230 for which to generate tests.
13231 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13232 [PYTHON] (tgmath3-macro-tests): Likewise.
13233 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13234 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13235 not test-tgmath3.c.
13236 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13237 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13238 to CFLAGS.
13239 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13240 [PYTHON] ($(foreach
13241 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13242 rule.
13243 [PYTHON] (tests-special): Add
13244 $(objpfx)test-tgmath3-macro-list.out.
13245 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13246
ebc129fd
JM
13247 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13248 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13249 later.
13250
78274dc8
JM
13251 [BZ #22639]
13252 * time/tzset.c (SECSPERDAY): Cast to time_t.
13253 * time/tst-y2039.c: New file.
13254 * time/Makefile (tests): Add tst-y2039.
13255
6f7fdeeb
LS
132562018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13257
13258 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13259 (PREFETCH_ONE_SET): Remove duplicate line.
13260
e363a91c
FW
132612018-05-17 Florian Weimer <fweimer@redhat.com>
13262
13263 * sysdeps/generic/math-type-macros-double.h: Include
13264 <math-nan-payload-double.h> after <libm-alias-double.h>.
13265 * sysdeps/generic/math-type-macros-float.h: Include
13266 <math-nan-payload-float.h> after <libm-alias-float.h>.
13267 * sysdeps/generic/math-type-macros-float128.h: Include
13268 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13269 * sysdeps/generic/math-type-macros-ldouble.h: Include
13270 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13271
dae6c43c
AS
132722018-05-17 Andreas Schwab <schwab@suse.de>
13273
13274 * resolv/res_send.c (__res_context_send): Don't set errno when
13275 returing error after malloc failure.
13276
0068c085
L
132772018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13278
13279 * nptl/allocatestack.c (allocate_stack): Remove the
13280 !__ASSUME_PRIVATE_FUTEX paths.
13281 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13282 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13283 Likewise.
13284 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13285 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13286 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13287 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13288 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13289 !__ASSUME_PRIVATE_FUTEX path.
13290 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13291 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13292 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13293 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13294 !__ASSUME_PRIVATE_FUTEX macros.
13295 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13296 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13297 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13298 * sysdeps/unix/sysv/linux/kernel-features.h
13299 (__ASSUME_PRIVATE_FUTEX): Removed.
13300
632a6cbe
JM
133012018-05-17 Joseph Myers <joseph@codesourcery.com>
13302
13303 * math/Makefile (libm-narrow-fns): Add div.
13304 (libm-test-funcs-narrow): Likewise.
13305 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13306 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13307 * math/gen-auto-libm-tests.c (test_functions): Add div.
13308 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13309 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13310 (NARROW_DIV_TRIVIAL): Likewise.
13311 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13312 macro.
13313 (__ddivl): Likewise.
13314 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13315 ddiv.
13316 (CFLAGS-nldbl-ddiv.c): New variable.
13317 (CFLAGS-nldbl-fdiv.c): Likewise.
13318 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13319 __nldbl_ddivl.
13320 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13321 prototype.
13322 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13323 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13324 * math/auto-libm-test-in: Add tests of div.
13325 * math/auto-libm-test-out-narrow-div: New generated file.
13326 * math/libm-test-narrow-div.inc: New file.
13327 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13328 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13329 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13330 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13331 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13332 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13333 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13334 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13335 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13336 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13337 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13338 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13339 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13340 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13341 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13342 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13343 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13344 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13346 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13347 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13348 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13349 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13350 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13351 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13352 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13353 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13354 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13355 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13356 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13357 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13358 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13363 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13364 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13365 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13366 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13367 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13368 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13369 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13370 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13371
8c78faa9
AZ
133722018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13373
13374 [BZ #23178]
13375 * nscd/nscd-client.h (sendfileall): Remove prototype.
13376 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13377 (handle_request): Use writeall instead of sendfileall.
13378 * nscd/aicache.c (addhstaiX): Likewise.
13379 * nscd/grpcache.c (cache_addgr): Likewise.
13380 * nscd/hstcache.c (cache_addhst): Likewise.
13381 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13382 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13383 * nscd/pwdcache.c (cache_addpw): Likewise.
13384 * nscd/servicescache.c (cache_addserv): Likewise.
13385 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13386 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13387 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13388 Remove define.
13389
04958880
L
133902018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13391
13392 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13393 Include <string/strncat.c>.
13394 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13395 alias.
13396 (__GI___strncat): New hidden alias.
13397
c9992d13
JM
133982018-05-16 Joseph Myers <joseph@codesourcery.com>
13399
13400 * sysdeps/mips/mips32/libm-test-ulps: Update.
13401 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13402
2afece36
FW
134032018-05-16 Florian Weimer <fweimer@redhat.com>
13404
13405 * support/Makefile (libsupport-routines): Add support_quote_blob,
13406 support_test_compare_blob.
13407 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13408 * support/check.h (TEST_COMPARE_BLOB): Define.
13409 (support_test_compare_blob): Declare.
13410 * support/support.h (support_quote_blob): Declare.
13411 * support/support_quote_blob.c: New file.
13412 * support/support_test_compare_blob.c: Likewise.
13413 * support/tst-support_quote_blob.c: Likewise.
13414 * support/tst-test_compare_blob.c: Likewise.
13415
9761bf4d
FW
134162018-05-16 Florian Weimer <fweimer@redhat.com>
13417
13418 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13419 of <strtod_nan_double.h>.
13420 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13421 instead of SET_MANTISSA.
13422 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13423 of include <strtod_nan_float.h>.
13424 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13425 instead of <strtod_nan_ldouble.h>.
13426 * stdlib/strtod_nan_double.h: Move to ...
13427 * sysdeps/generic/math-nan-payload-double.h: ... here.
13428 (FLOAT): Remove definition.
13429 (SET_MANTISSA): Rename to ...
13430 (SET_NAN_PAYLOAD): ... this.
13431 * stdlib/strtod_nan_float.h: Move to ...
13432 * sysdeps/generic/math-nan-payload-float.h: ... here.
13433 (FLOAT): Remove definition.
13434 (SET_MANTISSA): Rename to ...
13435 (SET_NAN_PAYLOAD): ... this.
13436 * sysdeps/generic/math-type-macros-double.h: Include
13437 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13438 instead of <math-svid-compat.h>.
13439 * sysdeps/generic/math-type-macros-float.h: Include
13440 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13441 instead of <math-svid-compat.h>.
13442 * sysdeps/generic/math-type-macros-float128.h: Include
13443 <math-nan-payload-float128.h>.
13444 * sysdeps/generic/math-type-macros-ldouble.h: Include
13445 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13446 instead of <math-svid-compat.h>.
13447 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13448 check for definition.
13449 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13450 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13451 Include <ieee754_float128.h>.
13452 (FLOAT): Remove definition.
13453 (SET_MANTISSA): Rename to ...
13454 (SET_NAN_PAYLOAD): ... this.
13455 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13456 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13457 Do not include <float128_private.h>.
13458 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13459 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13460 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13461 (FLOAT): Remove definition.
13462 (SET_MANTISSA): Rename to ...
13463 (SET_NAN_PAYLOAD): ... this.
13464 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13465 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13466 (FLOAT): Remove definition.
13467 (SET_MANTISSA): Rename to ...
13468 (SET_NAN_PAYLOAD): ... this.
13469 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13470 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13471 (FLOAT): Remove definition.
13472 (SET_MANTISSA): Rename to ...
13473 (SET_NAN_PAYLOAD): ... this.
13474 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13475 of "../stdlib/strtod_nan_double.h".
13476 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13477 of "../stdlib/strtod_nan_float.h".
13478 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13479 instead of "../stdlib/strtod_nan_ldouble.h".
13480 * manual/arith.texi (Parsing of Floats): Adjust comment.
13481
69a01461
JM
134822018-05-16 Joseph Myers <joseph@codesourcery.com>
13483
13484 * math/Makefile (libm-narrow-fns): Add mul.
13485 (libm-test-funcs-narrow): Likewise.
13486 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13487 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13488 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13489 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13490 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13491 (NARROW_MUL_TRIVIAL): Likewise.
13492 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13493 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13494 macro.
13495 (__dmull): Likewise.
13496 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13497 dmul.
13498 (CFLAGS-nldbl-dmul.c): New variable.
13499 (CFLAGS-nldbl-fmul.c): Likewise.
13500 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13501 __nldbl_dmull.
13502 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13503 prototype.
13504 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13505 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13506 * math/auto-libm-test-in: Add tests of mul.
13507 * math/auto-libm-test-out-narrow-mul: New generated file.
13508 * math/libm-test-narrow-mul.inc: New file.
13509 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13510 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13511 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13512 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13513 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13514 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13515 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13516 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13517 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13518 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13519 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13520 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13521 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13522 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13523 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13524 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13525 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13526 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13528 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13529 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13530 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13531 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13532 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13533 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13534 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13535 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13536 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13537 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13538 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13539 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13540 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13545 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13546 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13547 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13548 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13549 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13550 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13551 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13552 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13553
a15529fd
L
135542018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13555
13556 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13557 with *%eax in call.
13558
98ee36c7
L
135592018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13560
13561 * sysdeps/i386/ldsodefs.h: Removed.
13562 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13563 * sysdeps/x86/ldsodefs.h: This.
13564 (La_i86_regs): New.
13565 (La_i86_retval): Likewise.
13566 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13567 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13568
e322ec32
L
135692018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13570
13571 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13572 unnecessary testl.
13573
0937e209
AM
135742018-05-13 Alan Modra <amodra@gmail.com>
13575
13576 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13577 R_PARISC_TLS_DTPOFF32 reloc addend.
13578
5db7d705
TMQMF
135792018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13580
13581 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13582 * math/math.h: Restrict the prototype definition for the functions
13583 issignaling(_Float128) and iszero(_Float128); and template
13584 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13585 __HAVE_FLOAT128_UNLIKE_LDBL.
13586 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13587 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13588 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13589 __f128() constants; define the type _Float128 as long double;
13590 and reuse long double in __CFLOAT128.
13591
b4d5b8b0
JM
135922018-05-11 Joseph Myers <joseph@codesourcery.com>
13593
13594 * sysdeps/generic/math_private.h: Do not include
13595 <math-barriers.h>.
13596 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13597 <math_private.h>.
13598 * math/fromfp.h: Include <math-barriers.h>.
13599 * math/math-narrow.h: Likewise.
13600 * math/s_nextafter.c: Likewise.
13601 * math/s_nexttowardf.c: Likewise.
13602 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13603 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13604 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13605 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13606 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13607 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13608 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13609 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13610 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13611 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13612 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13613 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13614 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13615 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13616 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13617 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13618 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13619 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13620 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13621 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13622 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13623 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13624 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13625 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13626 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13627 * sysdeps/ieee754/k_standardl.c: Likewise.
13628 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13629 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13630 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13631 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13632 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13633 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13634 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13635 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13636 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13637 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13638 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13639 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13640 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13641 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13642 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13643 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13644 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13645 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13646 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13647 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13648 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13649 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13650
fc79706a
FW
136512018-05-11 Florian Weimer <fweimer@redhat.com>
13652
13653 Use 64-bit epoch values in the time zone file parser.
13654 * include/time.h (internal_time_t): Define.
13655 (__tzfile_compute): Use it.
13656 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13657 member.
13658 (transitions): Switch to internal_time_t.
13659 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13660 types.
13661 (__tzfile_compute): Use internal_time_t for timer argument. Check
13662 for truncation before calling __offtime.
13663
89aacb51
FW
136642018-05-11 Florian Weimer <fweimer@redhat.com>
13665
13666 [BZ #23166]
13667 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13668 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13669 Likewise.
13670 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13671 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13672 export without --enable-obsolete-rpc.
13673 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13674 symbol. This should not have been exported, ever.
13675
bb066cb8
RL
136762018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13677
13678 [BZ #23152]
13679 * localedata/locales/gd_GB (abmon): Fix typo in May:
13680 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13681
70c97f84
SP
136822018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13683
db725a45
SP
13684 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13685 Use multiple registers to copy data in loop tail.
13686
70c97f84
SP
13687 * sysdeps/aarch64/multiarch/memmove_falkor.S
13688 (__memmove_falkor): Use multiple registers to move data in
13689 loop tail.
13690
8f5b00d3
JM
136912018-05-10 Joseph Myers <joseph@codesourcery.com>
13692
13693 * math/math-underflow.h: New file.
13694 * sysdeps/generic/math_private.h: Do not include <float.h>.
13695 (fabs_tg): Remove macro. Moved to math-underflow.h.
13696 (min_of_type_f): Likewise.
13697 (min_of_type_): Likewise.
13698 (min_of_type_l): Likewise.
13699 (min_of_type_f128): Likewise.
13700 (min_of_type): Likewise.
13701 (math_check_force_underflow): Likewise.
13702 (math_check_force_underflow_nonneg): Likewise.
13703 (math_check_force_underflow_complex): Likewise.
13704 * math/e_exp2_template.c: Include <math-underflow.h>.
13705 * math/k_casinh_template.c: Likewise.
13706 * math/s_catan_template.c: Likewise.
13707 * math/s_catanh_template.c: Likewise.
13708 * math/s_ccosh_template.c: Likewise.
13709 * math/s_cexp_template.c: Likewise.
13710 * math/s_clog10_template.c: Likewise.
13711 * math/s_clog_template.c: Likewise.
13712 * math/s_csin_template.c: Likewise.
13713 * math/s_csinh_template.c: Likewise.
13714 * math/s_csqrt_template.c: Likewise.
13715 * math/s_ctan_template.c: Likewise.
13716 * math/s_ctanh_template.c: Likewise.
13717 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13718 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13719 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13720 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13721 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13722 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13723 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13724 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13725 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13726 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13727 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13728 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13729 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13730 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13731 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13732 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13733 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13734 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13735 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13736 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13737 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13738 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13739 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13740 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13741 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13742 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13743 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13744 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13745 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13746 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13747 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13748 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13749 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13750 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13751 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13781 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13785 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13786 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13787 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13788 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13794 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13795 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13796 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13797 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13798 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13801
9ed2e15f
JM
138022018-05-09 Joseph Myers <joseph@codesourcery.com>
13803
13804 * sysdeps/generic/math-barriers.h: New file.
13805 * sysdeps/generic/math_private.h [!math_opt_barrier]
13806 (math_opt_barrier): Move to math-barriers.h.
13807 [!math_opt_barrier] (math_force_eval): Likewise.
13808 * sysdeps/aarch64/fpu/math-barriers.h: New file.
13809 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
13810 math-barriers.h.
13811 (math_force_eval): Likewise.
13812 * sysdeps/alpha/fpu/math-barriers.h: New file.
13813 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
13814 math-barriers.h.
13815 (math_force_eval): Likewise.
13816 * sysdeps/x86/fpu/math-barriers.h: New file.
13817 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
13818 math-barriers.h.
13819 (math_force_eval): Likewise.
13820 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
13821 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
13822 multiple-include guard for rename.
13823 * sysdeps/powerpc/fpu/math-barriers.h: New file.
13824 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
13825 math-barriers.h.
13826 (math_force_eval): Likewise.
13827
5460617d
PP
138282018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
13829
13830 [BZ #22786]
43d4f3d5 13831 CVE-2018-11236
5460617d
PP
13832 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
13833 computation.
13834 * stdlib/Makefile (test-bz22786): New test.
13835 * stdlib/test-bz22786.c: New test.
13836
aaee3cd8
JM
138372018-05-09 Joseph Myers <joseph@codesourcery.com>
13838
13839 * include/math-narrow-eval.h: New file. Contents moved from ....
13840 * sysdeps/generic/math_private.h: ... here.
13841 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
13842 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13843 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
13844 * stdlib/strtod_l.c: Likewise.
13845 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13846 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13847 * sysdeps/i386/fpu/s_fdim.c: Likewise.
13848 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13849 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13850 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13851 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13853 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13854 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13855 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13856 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13857 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13858 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13859 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13860 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13861 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13862 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13863 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13864 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13865 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13866 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13867 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13868 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13869 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13870 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13871 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13872 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13873 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13874
0555c477
AS
138752018-05-08 Andreas Schwab <schwab@suse.de>
13876
13877 * sysdeps/nptl/internaltypes.h: Fix comment.
13878
50d7d351
L
138792018-05-07 H.J. Lu <hongjiu.lu@intel.com>
13880
13881 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13882 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
13883 hidden.
13884
543477f7
SP
138852018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13886
13887 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
13888 of I into loop header.
13889 * benchtests/bench-memmove-walk.c
13890 (test_main): Likewise.
13891
138922018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
13893
13894 Revert:
13895 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13896 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13897
0065aaaa
PP
138982018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13899
13900 [BZ #20419]
13901 * elf/dl-load.c (open_verify): Fix stack overflow.
13902 * elf/Makefile (tst-big-note): New test.
13903 * elf/tst-big-note-lib.S: New.
13904 * elf/tst-big-note.c: New.
13905
b289cd9d
JM
139062018-05-04 Joseph Myers <joseph@codesourcery.com>
13907
13908 * scripts/abilist.awk: Ignore absolute symbols.
13909 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
13910 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
13911 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
13912 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
13913 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
13914 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
13915 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13916 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
13917 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
13918 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
13919 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
13920 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
13921 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13922 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
13923 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13924 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13925 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13926 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13927 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13928 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13929 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13930 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13931 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13932 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13933 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13934 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13935 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13936 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13937 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13938 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13939 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13940 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13941 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13942 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13943 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13944 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13945 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13946 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13947 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13948 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13949 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13950 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13951 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13952 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13953 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13954 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13955 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13956 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13957 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13958 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13959 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13960 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13961 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13962 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13963 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13964 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13965 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13966 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13967 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13968 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13969 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13970 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13971 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13972 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13973 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13974 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13975 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13976 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13977 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13978 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13979 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13980 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13981 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13982 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13983 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13984 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13985 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13986 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13987 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13988 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13989 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13990 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13991 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13992 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13993 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13994 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13995 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13996 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13997 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13998 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13999 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14000 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14001 Likewise.
14002 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14003 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14004 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14005 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14006 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14007 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14008 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14009 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14010 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14011 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14012 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14013 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14014 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14015 Likewise.
14016 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14017 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14018 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14019 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14020 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14021 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14022 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14023 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14024 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14025 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14026 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14027 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14028 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14029 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14030 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14031 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14032 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14033 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14034 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14035 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14036 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14037 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14038 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14039 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14040 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14041 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14042 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14043 Likewise.
14044 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14045 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14046 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14047 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14048 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14049 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14050 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14051 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14052 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14053 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14054 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14055 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14056 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14057 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14058 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14059 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14060 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14061 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14062 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14063 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14064 Likewise.
14065 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14066 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14067 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14068 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14069 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14070 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14071 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14072 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14073 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14074 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14075 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14076 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14077 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14078 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14079 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14080 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14081 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14082 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14083 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14084 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14085 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14086 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14087 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14088 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14089 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14090 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14091 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14092 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14097 Likewise.
14098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14103 Likewise.
14104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14105 Likewise.
14106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14108 Likewise.
14109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14111 Likewise.
14112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14113 Likewise.
14114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14117 Likewise.
14118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14119 Likewise.
14120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14121 Likewise.
14122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14126 Likewise.
14127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14133 Likewise.
14134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14136 Likewise.
14137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14138 Likewise.
14139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14140 Likewise.
14141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14142 Likewise.
14143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14146 Likewise.
14147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14148 Likewise.
14149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14150 Likewise.
14151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14152 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14153 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14154 Likewise.
14155 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14156 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14157 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14158 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14159 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14160 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14161 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14162 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14163 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14164 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14165 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14166 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14167 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14168 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14169 Likewise.
14170 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14171 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14172 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14173 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14174 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14175 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14176 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14177 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14178 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14179 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14180 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14181 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14182 Likewise.
14183 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14184 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14185 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14186 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14187 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14188 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14189 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14190 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14191 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14192 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14193 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14194 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14195 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14196 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14197 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14198 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14199 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14200 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14201 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14202 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14203 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14204 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14205 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14206 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14207 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14208 Likewise.
14209 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14210 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14211 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14212 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14213 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14214 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14215 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14216 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14217 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14218 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14219 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14220 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14221 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14222 Likewise.
14223 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14224 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14225 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14226 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14229 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14230 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14231 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14232 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14233 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14234 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14235 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14236 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14237 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14238 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14239 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14240 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14241 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14242 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14243 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14244 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14245 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14246 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14247 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14248 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14249 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14250 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14251 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14252 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14253 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14254 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14255 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14256 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14257 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14258 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14259 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14260 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14261
16609018
SL
142622018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14263
14264 [BZ #23137]
14265 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14266 Use atomic_load_acquire to load __tid.
14267
556f5c46
L
142682018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14269
14270 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14271 Restore the pointer into %rdx, after syscall and use %rdx,
14272 instead of %rsi, to restore context.
14273
8b8f32b2
L
142742018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14275
14276 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14277 Pop the pointer into %rdx after syscall and use %rdx, instead
14278 of %rsi, to restore context.
14279
d6cc1829
L
142802018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14281
14282 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14283 handlers after setjmp.
14284 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14285 defined.
14286 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14287 <libc-pointer-arith.h>.
14288 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14289 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14290 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14291 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14292 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14293 * sysdeps/x86/__longjmp_cancel.S: New file.
14294 * sysdeps/x86/longjmp.c: Likewise.
14295 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14296
cf2478d5
AZ
142972018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14298
14299 * NEWS: Add ustat.h deprecation entry.
14300 * bits/ustat.h: Remove file.
14301 * misc/sys/ustat.h: Likewise.
14302 * misc/ustat.h: Likewise.
14303 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14304 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14305 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14306 compatibility mode.
14307 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14308 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14309 generic Linux implementation.
14310
dc115e1c
TMQMF
143112018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14312
14313 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14314 * math/w_expl_compat.c: Likewise.
14315 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14316
6b5c8607 143172018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
14318
14319 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14320
c57bf7c1
AZ
143212018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14322
14323 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14324 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14325 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14326 Remove.
14327 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14329 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14330 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14331 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14332 and SYSCALL_LL64.
14333
06135c33
TMQMF
143342018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14335
33927914
TMQMF
14336 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14337
06135c33
TMQMF
14338 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14339 * math/w_asin_template.c: Likewise.
14340 * math/w_atanh_template.c: Likewise.
14341
3a33b069
GG
143422018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14343
14344 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14345 to powerpc/powerpc64/be for big-endian.
14346 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14347 little-endian.
14348
14349 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14350 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14351 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14352 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14353 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14354 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14355 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14356 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14357 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14358 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14359 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14360 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14361 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14362 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14363 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14364 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14365 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14366 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14367 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14368 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14369 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14370 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14371 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14372 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14373 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14374 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14375 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14376 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14377 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14378 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14379 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14380 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14381
14382 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14383 adjusted to imply powerpc64 and older processors on powerpc64/be.
14384 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14385 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14386 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14387 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14388 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14389 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14390 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14391 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14392 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14393 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14394 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14395 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14396 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14397 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14398 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14399 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14400 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14401 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14402 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14403 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14404 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14405 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14406 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14407 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14408 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14409 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14410 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14411 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14412 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14413 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14414 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14415
14416 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14417 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14418 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14419 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14420
14421 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14422 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14423 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14424 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14425
14426 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14427 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14428 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14429 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14430 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14431 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14432 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14433 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14434 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14435 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14436 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14437
14438 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14439 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14440 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14441 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14442 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14443 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14444 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14445 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14446 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14447 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14448 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14449
14450 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14451 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14452 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14453 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14454 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14455 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14456 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14457 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14458 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14459 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14460 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14461 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14462
14463 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14464 and adjusted to imply olders processors.
14465 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14466 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14467 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14468 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14469 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14470 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14471 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14472 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14473 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14474 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14475 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14476
14477 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14478 powerpc64/le.
14479 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14480 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14481
14482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14483 powerpc64le.
14484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14486
14487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14488 powerpc64/be.
14489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14492
14493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14494 powerpc64 and adjusted.
14495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14498 Likewise.
14499
a3fb6b6b
JM
145002018-04-27 Joseph Myers <joseph@codesourcery.com>
14501
14502 * sysdeps/tile: Remove.
14503 * sysdeps/unix/sysv/linux/tile: Likewise.
14504 * README (tilegx-*-linux-gnu): Remove from list of supported
14505 configurations.
14506 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14507 contribution of support for generic Linux kernel syscall
14508 interface.
14509 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14510 tilegx configurations.
14511 (Config.install_linux_headers): Do not handle tile.
14512 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14513 in comment.
14514 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14515 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14516 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14517 conditional undefine and redefine.
14518 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14519 in comment.
14520 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14521 conditional undefine and redefine.
14522
7a6f7478
AJ
145232018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14524
14525 * signal/tst-sigaction.c: New file to test BZ #23069.
14526 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14527
81b49e96
TMQMF
145282018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14529
14530 [BZ #22766]
14531 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14532 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14533 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14534 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14535
7d80f48e
AZ
145362018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14537
14538 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14539 _DIRENT_MATCHES_DIRENT64 is not defined.
14540 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14541 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14542 is defined.
14543 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14544 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14545
42a2bf58
JM
145462018-04-25 Joseph Myers <joseph@codesourcery.com>
14547
14548 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14549 version to GCC 8 branch.
14550
9320ca88
JM
145512018-04-24 Joseph Myers <joseph@codesourcery.com>
14552
5e14bb97
JM
14553 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14554 (check_no_hidden): Use type of original function when declaring
14555 alias.
14556
9320ca88
JM
14557 * sysdeps/unix/sysv/linux/sys/ptrace.h
14558 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14559 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14560 (struct __ptrace_seccomp_metadata): New type.
14561 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14562 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14563 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14564 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14565 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14566 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14567 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14568 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14569 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14570 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14571 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14572 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14573 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14574 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14575 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14576 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14577
af7e376b
AZ
145782018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14579
14580 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14581 defined.
14582 * dirent/versionsort.c (versionsort): Likewise.
14583 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14584 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14585 * dirent/versionsort64.c (versionsort64): Likewise.
14586 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14587 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14588 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14589 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14590 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14591 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14592 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14593 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14594 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14595 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14598 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14599 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14600
da5e0361
JM
146012018-04-23 Joseph Myers <joseph@codesourcery.com>
14602
14603 * elf/elf.h (NT_PPC_PKEY): New macro.
14604
6b5c8607 146052018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
14606
14607 [BZ #23094]
14608 * localedata/locales/hr_HR: fix thousands_sep and
14609 mon_thousands_sep
14610
573963e3
JM
146112018-04-20 Joseph Myers <joseph@codesourcery.com>
14612
14613 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14614 (XTABS): Define to TAB3.
14615
c0123b3b
AZ
146162018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14617
0900a849
AZ
14618 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14619
c0123b3b
AZ
14620 * dirent/scandir-tail-common.c: New file.
14621 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14622 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14623 * dirent/scandir.c: Use scandir-tail-common.c.
14624 * dirent/scandirat.c: Likewise.
14625 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14626 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14627 if _DIRENT_MATCHES_DIRENT64 is defined.
14628 * dirent/scandirat64.c (scandirat64): Likewise.
14629 * include/dirent.h (__scandir_tail): Only define iff
14630 _DIRENT_MATCHES_DIRENT64 is not defined.
14631 (__scandir64_tail): Define regardless.
14632 (__scandirat, scandirat64): Remove libc_hidden_proto.
14633 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14634 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14636 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14637 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14638 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14639 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14640
458b94f6
JM
146412018-04-20 Joseph Myers <joseph@codesourcery.com>
14642
14643 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14644 New macro.
14645 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14646 Increase to 24.
14647 (_dl_aarch64_cap_flags): Add asimdfhm.
14648
9f0437e8
CLT
146492018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14650
14651 * sysdeps/nios2/libm-test-ulps: Update.
14652
298d0e31
AZ
146532018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14654
50511ca4
AZ
14655 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14656 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14657
298d0e31
AZ
14658 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14659 requirements.
6b5c8607 14660 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
14661 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14662 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14663 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14664 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14665 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14666 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14667 use getdents64 syscalls as base.
14668 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14669 symbol if required.
14670 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14671 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14672 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14673 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14674 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14675 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14676 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14677 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14678 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14679 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14680 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14681
0085be14
SL
146822018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14683
14684 * scripts/test_printers_common.py (init_test): Disable lock elision.
14685
da796524
SL
146862018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14687
14688 * math/test-tgmath.c (count_double, count_float,
14689 count_ldouble, count_cdouble, count_cfloat,
14690 count_cldouble): Use volatile int.
14691
0dd25301
ST
146922018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14693
14694 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14695 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 14696 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
14697 i386-gnu.
14698 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14699 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14700 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14701 msqid_ds.msg_lrpid): Likewise.
14702 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14703 Likewise.
14704 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14705 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
14706 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14707 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14708 unsigned int.
14709 (struct statvfs64): Likewise.
f55a4fde
ST
14710 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14711 Likewise.
77b93390
ST
14712 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14713 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14714 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14715 instead of wait_queue.
14716 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14717 instead of vm_area_struct.
5cd2931a
ST
14718 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14719 struct sched_param definition to it.
e60c3f2b
ST
14720 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14721 * bits/types/struct_sched_param.h: New file.
14722 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14723 <bits/types/struct_sched_param.h> instead of <sched.h>.
14724 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
14725 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14726 generic version but include <bits/pthreadtypes.h> to make struct
14727 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
14728 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14729 non-compliant.
a564872d
ST
14730 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14731 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14732 [__USE_XOPEN] (OFDEL): New macro.
14733 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 14734 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
14735 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14736 prototypes.
14737 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14738 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
14739 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14740 non-compliant.
14741 * sysdeps/i386/sys/ucontext.h: Likewise.
14742 * sysdeps/m68k/sys/ucontext.h: Likewise.
14743 * sysdeps/mips/sys/ucontext.h: Likewise.
14744 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
14745 * sysdeps/mach/hurd/i386/Makefile
14746 (test-xfail-POSIX/fcntl.h/conform): Add.
14747 (test-xfail-POSIX/signal.h/conform): Add.
14748 (test-xfail-POSIX/semaphore.h/conform): Add.
14749 (test-xfail-POSIX/regex.h/conform): Add.
14750 (test-xfail-POSIX/aio.h/conform): Add.
14751 (test-xfail-POSIX/mqueue.h/conform): Add.
14752 (test-xfail-POSIX/sys/types.h/conform): Add.
14753 (test-xfail-UNIX98/fcntl.h/conform): Add.
14754 (test-xfail-UNIX98/netdb.h/conform): Add.
14755 (test-xfail-UNIX98/signal.h/conform): Add.
14756 (test-xfail-UNIX98/semaphore.h/conform): Add.
14757 (test-xfail-UNIX98/regex.h/conform): Add.
14758 (test-xfail-UNIX98/aio.h/conform): Add.
14759 (test-xfail-UNIX98/ftw.h/conform): Add.
14760 (test-xfail-UNIX98/mqueue.h/conform): Add.
14761 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14762 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14763 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14764 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14765 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14766 (test-xfail-UNIX98/sys/types.h/conform): Add.
14767 (test-xfail-UNIX98/stdlib.h/conform): Add.
14768 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14769 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14770 (test-xfail-POSIX2008/netdb.h/conform): Add.
14771 (test-xfail-POSIX2008/signal.h/conform): Add.
14772 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14773 (test-xfail-POSIX2008/regex.h/conform): Add.
14774 (test-xfail-POSIX2008/aio.h/conform): Add.
14775 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14776 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14777 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14778 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14779 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14780 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14781 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14782 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14783 (test-xfail-XOPEN2K/signal.h/conform): Add.
14784 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14785 (test-xfail-XOPEN2K/regex.h/conform): Add.
14786 (test-xfail-XOPEN2K/aio.h/conform): Add.
14787 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14788 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14789 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14790 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14791 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14792 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14793 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14794 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14795 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14796 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14797 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14798 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14799 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14800 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14801 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14802 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14803 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14804 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14805 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14806 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
14807 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
14808 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
14809 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
14810 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
14811 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
14812 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
14813 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
14814 i386-gnu.
14815 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
14816 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 14817
d6397de3
JM
148182018-04-18 Joseph Myers <joseph@codesourcery.com>
14819
14820 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14821 --enable-obsolete for powerpc-linux-gnuspe.
14822
8323a902
ST
148232018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14824
3dc0814c 14825 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 14826 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 14827 prototypes.
c5896a45
ST
14828 * sysdeps/mach/include/mach.h: Likewise.
14829 * sysdeps/mach/include/mach/mig_support.h: Likewise.
14830 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 14831
743b9c2a
AZ
148322018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14833
14834 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
14835 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
14836 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
14837 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
14838
326e74e7
AS
148392018-04-16 Andreas Schwab <schwab@suse.de>
14840
14841 [BZ #19527]
14842 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
14843
6b5c8607 148442018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
14845
14846 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
14847 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
14848
a700e7cb
DD
148492018-04-12 DJ Delorie <dj@redhat.com>
14850
14851 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14852 version to 4.16.
14853
d8abfab7
SL
148542018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14855
14856 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
14857 (struct kernel_sigaction): Use the same definition on 31bit as is used
14858 on 64bit.
14859
583a27d5
FW
148602018-04-09 Florian Weimer <fweimer@redhat.com>
14861
14862 [BZ #23037]
14863 * resolv/res_send.c (send_dg): Use designated initializers instead
14864 of assignment to zero-initialize other fields of struct mmsghdr.
14865
243f59e5
AZ
148662018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14867
942de61a
AZ
14868 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
14869 __READDIR_ALIAS): Undefine after usage.
14870 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
14871 __READDIR_R_ALIAS): Likewise.
14872 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
14873 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
14874 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
14875 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
14876 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
14877 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
14878 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14879 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14880 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
14881 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
14882 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
14883 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
14884 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14885 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
14886 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
14887 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
14888 * sysdeps/unix/sysv/linux/readdir.c: New file.
14889 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
14890 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
14891 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
14892
243f59e5
AZ
14893 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14894
690c3475
AS
148952018-04-06 Andreas Schwab <schwab@linux-m68k.org>
14896
14897 * manual/charset.texi (Converting a Character): Fix typo.
14898
6b5c8607 148992018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 14900
bbc2062a
AZ
14901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14902
fa7c6199
AZ
14903 * sysdeps/arm/libm-test-ulps: Update.
14904
b4a5d26d
AZ
14905 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
14906 as base implementation.
14907 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14908 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14909 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14910 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14911 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14912 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
14913 remove unrequired definitions and update comments.
14914 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
14915 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
14916 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
14917 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
14918 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
14919 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
14920 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
14921 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
14922 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
14923 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14924 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14925 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14926 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14927 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14928 and RESET_SA_RESTORER hooks.
14929
db9e55ff
SL
149302018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14931
14932 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14933
cf138b0c
FW
149342018-04-05 Florian Weimer <fweimer@redhat.com>
14935
14936 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14937 integer overflow, memory leak on error, and indeterminate errno
14938 value. Add a null wide character to terminate the result string.
14939 * manual/charset.texi (Converting a Character): Mention embedded
14940 null bytes in the mbrtowc input string. Explain what happens in
14941 the -2 result case. Do not claim that mbrtowc is simple or
14942 obvious to use. Adjust the description of the code example. Use
14943 @code, not @var, for concrete variables.
14944
0f339252
FW
149452018-04-05 Florian Weimer <fweimer@redhat.com>
14946
14947 * manual/examples/mbstouwcs.c: New file.
14948 * manual/charset.texi (Converting a Character): Include it.
14949
e5f9508a
ST
149502018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14951
c120981d
ST
14952 * include/dirent.h (dirfd): Add hidden proto.
14953 * dirent/dirfd.c (dirfd): Add hidden def.
14954 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14955 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 14956
b2fd61ca
TMQMF
149572018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14958
14959 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14960 sin, cos and sincos to 1 ULP.
14961
10a446dd
MR
149622018-04-04 Maciej W. Rozycki <macro@mips.com>
14963
e7feec37
MR
14964 [BZ #19818]
14965 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14966 symbols.
14967 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14968 * elf/tst-absolute-sym.c: New file.
14969 * elf/tst-absolute-sym-lib.c: New file.
14970 * elf/tst-absolute-sym-lib.lds: New file.
14971 * elf/Makefile (tests): Add `tst-absolute-sym'.
14972 (modules-names): Add `tst-absolute-sym-lib'.
14973 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14974 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14975 ($(objpfx)tst-absolute-sym): New dependency.
14976
10a446dd
MR
14977 [BZ #19818]
14978 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14979 parameter.
14980 (SYMBOL_ADDRESS): New macro.
14981 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14982 SYMBOL_ADDRESS for symbol address calculation.
14983 * elf/dl-runtime.c (_dl_fixup): Likewise.
14984 (_dl_profile_fixup): Likewise.
14985 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14986 * elf/rtld.c (dl_main): Likewise.
14987 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14988 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14989 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14990 (elf_machine_rela): Likewise.
14991 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14992 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14993 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14994 (elf_machine_rela): Likewise.
14995 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14996 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14997 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14998 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14999 Likewise.
15000 (elf_machine_reloc): Likewise.
15001 (elf_machine_got_rel): Likewise.
15002 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15003 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15004 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15005 Likewise.
15006 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15007 Likewise.
15008 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15009 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15010 Likewise.
15011 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15012 Likewise.
15013 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15014 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15015 Likewise.
15016 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15017 Likewise.
15018 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15019 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15020
9185f86d
ZW
150212018-04-04 Zack Weinberg <zackw@panix.com>
15022
15023 * sysdeps/generic/internal-signals.h: Include signal.h,
15024 sigsetops.h, and stdbool.h.
15025 (__libc_signal_block_all): Actually block all signals.
15026 (__libc_signal_block_app): Likewise.
15027 (__libc_signal_restore_set): Actually restore the signal mask.
15028
b07367bc
FW
150292018-04-04 Florian Weimer <fweimer@redhat.com>
15030
15031 inet: Actually build and run tst-deadline.
15032 * inet/Makefile (tests-internal): Add tst-deadline and do not
15033 overwrite the variable.
15034 (tests-static-internal): Remove variable.
15035
f2652643
L
150362018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15037
15038 [BZ #22947]
15039 * bits/uio-ext.h (RWF_APPEND): New.
15040 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15041 * manual/llio.texi: Document RWF_APPEND.
15042 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15043 (RWF_SUPPORTED): Add RWF_APPEND.
15044
6b5c8607 150452018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
15046
15047 [BZ #22391]
15048 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15049 check for internal nptl signals.
15050 * nptl/sigaction.c (__sigaction): Likewise.
15051 * signal/sigaddset.c (sigaddset): Likewise.
15052 * signal/sigdelset.c (sigdelset): Likewise.
15053 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15054 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15055 value.
15056 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15057 to filter out internal nptl signals.
15058 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15059 also check realtime signals using standard macros.
15060 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15061 __is_internal_signal, __libc_signal_block_all,
15062 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15063 * sysdeps/nptl/sigfillset.c: Remove file.
15064 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15065 Change return to bool.
15066 (__clear_internal_signals): Remove SIGTIMER clean since it is
15067 equal to SIGCANEL on Linux.
15068 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15069 signal set was constructed using standard functions.
15070
511ed56f
ST
150712018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15072
92846492
ST
15073 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15074 ifname is too long.
e8ef51b1
ST
15075 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15076 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
15077 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15078 hidden def.
15079 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
15080 * signal/sigaddset.c: Include <sigsetopts.h>.
15081 * signal/sigdelset.c: Likewise.
511ed56f 15082
e88ecbbf
WD
150832018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15084
15085 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15086 (__cos): Likewise.
15087 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15088 logic as sin and cos.
15089
aef3e255
WD
150902018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15091
15092 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15093 inputs. Return correct sign.
15094 (do_sincos): Remove small input check before do_sin, let do_sin set
15095 the sign.
15096 (__sin): Likewise.
15097 (__cos): Likewise.
15098
72f6e9a3
WD
150992018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15100
15101 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15102 (do_cos_slow): Likewise.
15103 (do_sin_slow): Likewise.
15104 (reduce_and_compute): Likewise.
15105 (slow): Likewise.
15106 (slow1): Likewise.
15107 (slow2): Likewise.
15108 (sloww): Likewise.
15109 (sloww1): Likewise.
15110 (sloww2): Likewise.
15111 (bslow): Likewise.
15112 (bslow1): Likewise.
15113 (bslow2): Likewise.
15114 (cslow2): Likewise.
15115
64909583
WD
151162018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15117
15118 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15119 (do_cos): Remove corp parameter and calculations.
15120 (do_sin): Likewise.
15121 (do_sincos): Remove cor variable.
15122 (__sin): Use do_sincos for huge inputs.
15123 (__cos): Likewise.
15124 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15125 (reduce_and_compute_sincos): Remove unused function.
15126
d9469deb
WD
151272018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15128
15129 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15130 reduce_sincos, improve accuracy to 136 bits.
15131 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15132 (__sin): Use improved reduction and simplified do_sincos calculation.
15133 (__cos): Likewise.
15134 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15135
7a5640f2
WD
151362018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15137
15138 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15139 (do_sincos_2): Likewise.
15140 (__sin): Remove middle range reduction case.
15141 (__cos): Likewise.
15142 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15143 reduction case.
15144
19a8b9a3
WD
151452018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15146
15147 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15148 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15149 inputs.
15150 (__cos): Likewise.
15151 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15152
f72aa11d
JM
151532018-04-03 Joseph Myers <joseph@codesourcery.com>
15154
15155 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 15156 version to 4.16
f72aa11d 15157
8e4754ed
AZ
151582018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15159
15160 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15161 Remove definitions.
15162 (opendir_oflags): Use O_DIRECTORY regardless.
15163 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15164 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15165
8e2666ea
ST
151662018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15167
15168 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15169 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15170 macros.
15171 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15172 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15173 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15174 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
15175 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15176 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 15177
ad2b41bf
ST
15178 * htl/Makefile: Bump licence to LGPL 2.1+.
15179 * htl/alloca_cutoff.c: Likewise.
15180 * htl/cthreads-compat.c: Likewise.
15181 * htl/lockfile.c: Likewise.
15182 * htl/pt-alloc.c: Likewise.
15183 * htl/pt-cancel.c: Likewise.
15184 * htl/pt-cleanup.c: Likewise.
15185 * htl/pt-create.c: Likewise.
15186 * htl/pt-dealloc.c: Likewise.
15187 * htl/pt-detach.c: Likewise.
15188 * htl/pt-exit.c: Likewise.
15189 * htl/pt-getattr.c: Likewise.
15190 * htl/pt-initialize.c: Likewise.
15191 * htl/pt-internal.h: Likewise.
15192 * htl/pt-join.c: Likewise.
15193 * htl/pt-self.c: Likewise.
15194 * htl/pt-setcancelstate.c: Likewise.
15195 * htl/pt-setcanceltype.c: Likewise.
15196 * htl/pt-sigmask.c: Likewise.
15197 * htl/pt-spin-inlines.c: Likewise.
15198 * htl/pt-testcancel.c: Likewise.
15199 * htl/pt-yield.c: Likewise.
15200 * htl/tests/test-1.c: Likewise.
15201 * htl/tests/test-10.c: Likewise.
15202 * htl/tests/test-11.c: Likewise.
15203 * htl/tests/test-12.c: Likewise.
15204 * htl/tests/test-13.c: Likewise.
15205 * htl/tests/test-14.c: Likewise.
15206 * htl/tests/test-15.c: Likewise.
15207 * htl/tests/test-16.c: Likewise.
15208 * htl/tests/test-17.c: Likewise.
15209 * htl/tests/test-2.c: Likewise.
15210 * htl/tests/test-3.c: Likewise.
15211 * htl/tests/test-4.c: Likewise.
15212 * htl/tests/test-5.c: Likewise.
15213 * htl/tests/test-6.c: Likewise.
15214 * htl/tests/test-7.c: Likewise.
15215 * htl/tests/test-8.c: Likewise.
15216 * htl/tests/test-9.c: Likewise.
15217 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15218 * sysdeps/htl/bits/cancelation.h: Likewise.
15219 * sysdeps/htl/bits/pthread-np.h: Likewise.
15220 * sysdeps/htl/bits/pthread.h: Likewise.
15221 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15222 * sysdeps/htl/bits/semaphore.h: Likewise.
15223 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15224 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15225 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15226 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15227 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15228 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15229 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15230 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15231 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15232 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15233 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15234 * sysdeps/htl/old_pt-atfork.c: Likewise.
15235 * sysdeps/htl/pt-atfork.c: Likewise.
15236 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15237 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15238 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15239 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15240 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15241 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15242 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15243 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15244 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15245 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15246 * sysdeps/htl/pt-attr-init.c: Likewise.
15247 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15248 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15249 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15250 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15251 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15252 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15253 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15254 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15255 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15256 * sysdeps/htl/pt-attr.c: Likewise.
15257 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15258 * sysdeps/htl/pt-barrier-init.c: Likewise.
15259 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15260 * sysdeps/htl/pt-barrier.c: Likewise.
15261 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15262 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15263 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15264 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15265 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15266 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15267 * sysdeps/htl/pt-cond-init.c: Likewise.
15268 * sysdeps/htl/pt-cond-signal.c: Likewise.
15269 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15270 * sysdeps/htl/pt-cond-wait.c: Likewise.
15271 * sysdeps/htl/pt-cond.c: Likewise.
15272 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15273 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15274 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15275 * sysdeps/htl/pt-condattr-init.c: Likewise.
15276 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15277 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15278 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15279 * sysdeps/htl/pt-equal.c: Likewise.
15280 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15281 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15282 * sysdeps/htl/pt-getschedparam.c: Likewise.
15283 * sysdeps/htl/pt-getspecific.c: Likewise.
15284 * sysdeps/htl/pt-init-specific.c: Likewise.
15285 * sysdeps/htl/pt-key-create.c: Likewise.
15286 * sysdeps/htl/pt-key-delete.c: Likewise.
15287 * sysdeps/htl/pt-key.h: Likewise.
15288 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15289 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15290 * sysdeps/htl/pt-mutex-init.c: Likewise.
15291 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15292 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15293 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15294 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15295 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15296 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15297 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15298 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15299 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15300 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15301 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15302 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15303 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15304 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15305 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15306 * sysdeps/htl/pt-mutexattr.c: Likewise.
15307 * sysdeps/htl/pt-once.c: Likewise.
15308 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15309 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15310 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15311 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15312 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15313 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15314 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15315 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15316 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15317 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15318 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15319 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15320 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15321 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15322 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15323 * sysdeps/htl/pt-setschedparam.c: Likewise.
15324 * sysdeps/htl/pt-setschedprio.c: Likewise.
15325 * sysdeps/htl/pt-setspecific.c: Likewise.
15326 * sysdeps/htl/pt-spin.c: Likewise.
15327 * sysdeps/htl/pt-startup.c: Likewise.
15328 * sysdeps/htl/pthread.h: Likewise.
15329 * sysdeps/htl/sem-close.c: Likewise.
15330 * sysdeps/htl/sem-destroy.c: Likewise.
15331 * sysdeps/htl/sem-getvalue.c: Likewise.
15332 * sysdeps/htl/sem-init.c: Likewise.
15333 * sysdeps/htl/sem-open.c: Likewise.
15334 * sysdeps/htl/sem-post.c: Likewise.
15335 * sysdeps/htl/sem-timedwait.c: Likewise.
15336 * sysdeps/htl/sem-trywait.c: Likewise.
15337 * sysdeps/htl/sem-unlink.c: Likewise.
15338 * sysdeps/htl/sem-wait.c: Likewise.
15339 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15340 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15341 * sysdeps/mach/htl/pt-block.c: Likewise.
15342 * sysdeps/mach/htl/pt-spin.c: Likewise.
15343 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15344 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15345 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15346 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15347 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15348 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15349 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15350 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15351 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15352 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15353 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15354 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15355 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15356 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15357 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15358 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15359 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15360 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15361 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15362 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15363 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15364 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15365 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15366 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15367 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15368 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15369 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15370 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15371 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15372 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15373 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15374 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15375 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15376 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15377 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15378 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15379 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15380 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15381 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15382 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15383 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15384 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15385 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15386
fb03b04b
ST
15387 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15388 * README: Remove the mention of out-of-tree patches needed for
15389 GNU/Hurd.
15390
fa9e1555
ST
15391 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15392 (UTIME_NOW, UTIME_OMIT): Define macros.
15393
f6fb29d2
ST
15394 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15395 instead of pthread_detach.
15396 (__cthread_fork): Call __pthread_create instead of pthread_create.
15397 (__cthread_keycreate): Call __pthread_key_create instead of
15398 pthread_key_create.
15399 (__cthread_getspecific): Call __pthread_getspecific instead of
15400 pthread_getspecific.
15401 (__cthread_setspecific): Call __pthread_setspecific instead of
15402 pthread_setspecific.
15403 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15404 __pthread_mutex_unlock instead of pthread_mutex_lock and
15405 pthread_mutex_unlock.
15406 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15407 ___pthread_get_cleanup_stack.
15408 (__pthread_get_cleanup_stack): New strong alias.
15409 * htl/pt-create.c: Include <pthreadP.h>.
15410 (entry_point): Call __pthread_exit instead of pthread_exit.
15411 (pthread_create): Rename to __pthread_create.
15412 (pthread_create): New strong alias.
15413 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15414 (pthread_detach): New strong alias.
15415 (__pthread_detach): Call __pthread_cond_broadcast instead of
15416 pthread_cond_broadcast.
fe9748cc
ST
15417 * htl/pt-exit.c: Include <pthreadP.h>.
15418 (__pthread_exit): Call __pthread_setcancelstate and
15419 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15420 __pthread_get_cleanup_stack.
f6fb29d2
ST
15421 * htl/pt-testcancel.c: Include <pthreadP.h>.
15422 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15423 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15424 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15425 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15426 pthread_attr_getstacksize.
15427 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15428 Rename to __pthread_attr_getstackaddr.
15429 (pthread_attr_getstackaddr): New strong alias.
15430 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15431 Rename to __pthread_attr_getstacksize.
15432 (pthread_attr_getstacksize): New strong alias.
15433 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15434 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15435 (pthread_attr_setstack): New strong alias.
15436 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15437 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15438 pthread_attr_getstacksize, pthread_attr_setstacksize and
15439 pthread_attr_setstackaddr.
15440 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15441 Rename to __pthread_attr_setstackaddr.
15442 (pthread_attr_setstackaddr): New strong alias.
15443 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15444 Rename to __pthread_attr_setstacksize.
15445 (pthread_attr_setstacksize): New strong alias.
15446 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15447 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15448 pthread_exit.
15449 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15450 (__pthread_key_create): New hidden def.
15451 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15452 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15453 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15454 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15455 __pthread_setspecific, __pthread_setcancelstate,
15456 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15457 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15458 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15459 declarations.
15460 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15461 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15462 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15463 (pthread_attr_setstackaddr): New strong alias.
15464 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15465 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15466 (pthread_attr_setstacksize): New strong alias.
15467 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15468 (call_exit): Call __pthread_exit instead of pthread_exit.
15469 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15470 (_pthread_mutex_init): New hidden definition.
15471 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15472 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15473 instead of pthread_attr_init and pthread_attr_setstack.
15474
dba2bdbe
ST
15475 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15476 __vm_deallocate instead of vm_allocate and vm_deallocate.
15477 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15478 setenv.
15479 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15480 of geteuid.
15481 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15482 strdup.
15483 * hurd/siginfo.c: Include <libioP.h>.
15484 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15485 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15486 munmap.
dba2bdbe
ST
15487 * mach/devstream.c: Include <libioP.h>.
15488 (dealloc_ref): Call __mach_port_deallocate instead of
15489 mach_port_deallocate.
15490 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15491 Call __mach_port_deallocate instead of mach_port_deallocate.
15492 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15493 pathconf.
15494 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15495 munmap.
15496 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15497 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15498 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15499 of munmap.
15500 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15501 of close.
15502 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15503 instead of sysconf.
15504 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15505 __clock_gettime instead of clock_gettime.
15506 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15507 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15508 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15509 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15510 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15511 tcgetattr.
15512 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15513 __clock_gettime and __nanosleep instead of clock_gettime and
15514 nanosleep.
7a8f45e3
ST
15515 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15516 __hurd_catch_signal.
15517 (hurd_catch_signal): New strong alias.
15518 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15519 __hurd_catch_signal instead of hurd_catch_signal.
15520 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15521 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15522 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15523 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15524 (_hurd_thread_sigstate): Add hidden def.
15525 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15526 mutex_unlock.
15527 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15528 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15529 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15530 __hurd_file_name_path_lookup.
15531 (hurd_file_name_path_lookup): New strong alias.
15532 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15533 hurd_file_name_path_lookup.
15534 * mach/errstring.c (mach_error_type): Add hidden def.
15535 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15536 * mach/mutex-init.c (__mutex_init): Add hidden def.
15537 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15538 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15539 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15540 * sysdeps/mach/hurd/getcwd.c
15541 (_hurd_canonicalize_directory_name_internal): Rename to
15542 __hurd_canonicalize_directory_name_internal.
15543 (_hurd_canonicalize_directory_name_internal): New strong alias.
15544 (__canonicalize_directory_name_internal, __getcwd): Call
15545 __hurd_canonicalize_directory_name_internal instead of
15546 _hurd_canonicalize_directory_name_internal.
15547 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15548 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15549 hidden defs.
15550 * sysdeps/hurd/include/hurd.h: New file.
15551 * sysdeps/hurd/include/hurd/fd.h: New file.
15552 * sysdeps/hurd/include/hurd/signal.h: New file.
15553 * sysdeps/mach/include/lock-intern.h: New file.
15554 * sysdeps/mach/include/mach.h: New file.
15555 * sysdeps/mach/include/mach/mig_support.h: New file.
15556 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
15557 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15558 prototype.
15559 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15560 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15561 _HEADER_H_HIDDEN_DEF macro.
15562 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15563 _hurd_fd_error_signal): Add hidden prototype.
15564 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15565 hidden def.
82dbf555
ST
15566 * libio/iolibio.h (_IO_puts): New hidden prototype.
15567 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
15568 * sysdeps/mach/hurd/localplt.data: New file.
15569
33574c17 155702018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
15571 Amos Jeffries <squid3@treenet.co.nz>
15572 David Michael <fedora.dm0@gmail.com>
15573 Marco Gerards <marco@gnu.org>
15574 Marcus Brinkmann <marcus@gnu.org>
15575 Neal H. Walfield <neal@gnu.org>
15576 Pino Toscano <toscano.pino@tiscali.it>
15577 Richard Braun <rbraun@sceen.net>
15578 Roland McGrath <roland@gnu.org>
15579 Samuel Thibault <samuel.thibault@ens-lyon.org>
15580 Thomas DiModica <ricinwich@yahoo.com>
15581 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
15582
15583 * htl: New directory.
15584 * sysdeps/htl: New directory.
15585 * sysdeps/hurd/htl: New directory.
15586 * sysdeps/i386/htl: New directory.
15587 * sysdeps/mach/htl: New directory.
15588 * sysdeps/mach/hurd/htl: New directory.
15589 * sysdeps/mach/hurd/i386/htl: New directory.
15590 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15591 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15592 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15593
03e2aa50
ST
155942018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15595
15596 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15597 signals in thread created for runing timers.
15598
1aa52ced
FW
155992018-04-01 Florian Weimer <fweimer@redhat.com>
15600
15601 * support/support_format_addrinfo.c (support_format_addrinfo):
15602 Include unknown error number in formatted result.
15603
4d76d3e5
FW
156042018-03-29 Florian Weimer <fweimer@redhat.com>
15605
15606 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15607 capture SIGBUS.
15608
d39c0a45
AZ
156092018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15610
15611 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15612 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15613 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15614 (__ASSUME_CLONE_BACKWARDS): Define.
15615
cc8a1620
JH
156162018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15617
57408435 15618 [BZ #23024]
cc8a1620
JH
15619 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15620 early when linux sentinel value is set.
15621
8bfd94d0
ST
156222018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15623
15624 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15625
f178e59f
AS
156262018-03-27 Andreas Schwab <schwab@suse.de>
15627
15628 [BZ #23005]
15629 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15630 allocation of private copy of nsaddr_list fails.
15631
5f45f96a
JM
156322018-03-26 Joseph Myers <joseph@codesourcery.com>
15633
15634 [BZ #16552]
15635 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15636 * sysdeps/unix/sysv/linux/umount.c: ... here.
15637 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15638 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15639 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15640 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15642 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15643 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15644
3dfd23eb
AS
156452018-03-26 Andreas Schwab <schwab@suse.de>
15646
15647 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15648 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15649 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15650 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15651 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15652 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15653 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15654 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15655 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15656 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15657 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15658 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15659 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15660 (R_RISCV_NUM): Define.
15661
fa97d2ab
ST
156622018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15663
15664 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15665 TLS declaration of errno.
37be82a0
ST
15666 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15667 __libc_setup_tls.
15668 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15669 (ARCH_SETUP_TLS): Likewise.
15670 * sysdeps/mach/hurd/libc-start.h: New file copied from
15671 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
15672 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15673 instead of __libc_setup_tls.
37be82a0 15674 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
15675 __libc_setup_tls before initializing libpthread and running _hurd_init
15676 which starts the signal thread.
15677 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15678 Declare function.
2d813d7b 15679 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 15680
b8114edd
L
156812018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15682
15683 [BZ #22998]
15684 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15685 after it is defined.
15686
cd66c0e5
AS
156872018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15688 Max Horn <max@quendi.de>
15689
15690 [BZ #22644]
43d4f3d5 15691 CVE-2017-18269
cd66c0e5
AS
15692 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15693 branch conditions.
15694 * string/test-memmove.c (do_test2): New testcase.
15695
a4406139
JM
156962018-03-22 Joseph Myers <joseph@codesourcery.com>
15697
15698 * sysdeps/generic/frame.h: Remove file.
15699 * sysdeps/arm/frame.h: Likewise.
15700 * sysdeps/hppa/frame.h: Likewise.
15701 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15702 macro.
15703 (GET_FRAME): Likewise.
15704 (GET_STACK): Likewise.
15705 (CALL_SIGHANDLER): Likewise.
15706 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15707 Likewise.
15708 (GET_FRAME): Likewise.
15709 (GET_STACK): Likewise.
15710 (CALL_SIGHANDLER): Likewise.
15711 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15712 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15713 (GET_FRAME): Likewise.
15714 (GET_STACK): Likewise.
15715 (CALL_SIGHANDLER): Likewise.
15716 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15717 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15718 (GET_FRAME): Likewise.
15719 (GET_STACK): Likewise.
15720 (ADVANCE_STACK_FRAME): Likewise.
15721 (CALL_SIGHANDLER): Likewise.
15722 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15723 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15724 (GET_FRAME): Likewise.
15725 (GET_STACK): Likewise.
15726 (CALL_SIGHANDLER): Likewise.
15727 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15728 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15729 (GET_FRAME): Likewise.
15730 (GET_STACK): Likewise.
15731 (CALL_SIGHANDLER): Likewise.
15732 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15733 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15734 (GET_FRAME): Likewise.
15735 (GET_STACK): Likewise.
15736 (CALL_SIGHANDLER): Likewise.
15737 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15738 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15739 (GET_FRAME): Likewise.
15740 (GET_STACK): Likewise.
15741 (CALL_SIGHANDLER): Likewise.
15742 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15743 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15744 (GET_FRAME): Likewise.
15745 (GET_STACK): Likewise.
15746 (CALL_SIGHANDLER): Likewise.
15747 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15748 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15749 (GET_FRAME): Likewise.
15750 (GET_STACK): Likewise.
15751 (CALL_SIGHANDLER): Likewise.
15752 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15753 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15754 (GET_FRAME): Likewise.
15755 (GET_STACK): Likewise.
15756 (CALL_SIGHANDLER): Likewise.
15757 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15758 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15759 (GET_FRAME): Likewise.
15760 (GET_STACK): Likewise.
15761 (CALL_SIGHANDLER): Likewise.
15762 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15763 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15764 (GET_FRAME): Likewise.
15765 (GET_STACK): Likewise.
15766 (CALL_SIGHANDLER): Likewise.
15767 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15768 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15769 (FIRST_FRAME_POINTER): Likewise.
15770 (ADVANCE_STACK_FRAME): Likewise.
15771 (GET_STACK): Likewise.
15772 (GET_FRAME): Likewise.
15773 (CALL_SIGHANDLER): Likewise.
15774 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15775 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15776 (ADVANCE_STACK_FRAME): Likewise.
15777 (GET_STACK): Likewise.
15778 (GET_FRAME): Likewise.
15779 (CALL_SIGHANDLER): Likewise.
15780 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15781 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15782 (GET_FRAME): Likewise.
15783 (GET_STACK): Likewise.
15784 (CALL_SIGHANDLER): Likewise.
15785 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15786 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15787 (GET_FRAME): Likewise.
15788 (GET_STACK): Likewise.
15789 (CALL_SIGHANDLER): Likewise.
15790
ffec7b27
JM
157912018-03-21 Joseph Myers <joseph@codesourcery.com>
15792
15793 * sysdeps/x86_64/backtrace.c: Move to ....
15794 * debug/backtrace.c: ... here.
15795 * sysdeps/aarch64/backtrace.c: Remove file.
15796 * sysdeps/alpha/backtrace.c: Likewise.
15797 * sysdeps/hppa/backtrace.c: Likewise.
15798 * sysdeps/ia64/backtrace.c: Likewise.
15799 * sysdeps/mips/backtrace.c: Likewise.
15800 * sysdeps/nios2/backtrace.c: Likewise.
15801 * sysdeps/riscv/backtrace.c: Likewise.
15802 * sysdeps/sh/backtrace.c: Likewise.
15803 * sysdeps/tile/backtrace.c: Likewise.
15804
8a07b0c4
JM
158052018-03-20 Joseph Myers <joseph@codesourcery.com>
15806
d0c5d731
JM
15807 [BZ #22987]
15808 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
15809 function.
15810 (fdimf): Likewise.
15811 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
15812
8a07b0c4
JM
15813 [BZ #17343]
15814 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
15815 possibly overflowing computations.
15816
ceb54b9b
ST
158172018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15818
15819 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
15820 values from Linux-specific section now that it is in the GNU section.
15821 * sysdeps/gnu/errlist.c: Regenerate.
15822
8d3f9e85
JM
158232018-03-20 Joseph Myers <joseph@codesourcery.com>
15824
15825 * math/Makefile (libm-narrow-fns): Add sub.
15826 (libm-test-funcs-narrow): Likewise.
15827 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
15828 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
15829 * math/gen-auto-libm-tests.c (test_functions): Add sub.
15830 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
15831 (NARROW_SUB_ROUND_TO_ODD): Likewise.
15832 (NARROW_SUB_TRIVIAL): Likewise.
15833 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
15834 macro.
15835 (__dsubl): Likewise.
15836 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
15837 dsub.
15838 (CFLAGS-nldbl-dsub.c): New variable.
15839 (CFLAGS-nldbl-fsub.c): Likewise.
15840 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15841 __nldbl_dsubl.
15842 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
15843 prototype.
15844 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
15845 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
15846 * math/auto-libm-test-in: Add tests of sub.
15847 * math/auto-libm-test-out-narrow-sub: New generated file.
15848 * math/libm-test-narrow-sub.inc: New file.
15849 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15850 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
15851 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
15852 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
15853 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
15854 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
15855 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
15856 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
15857 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
15858 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
15859 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
15860 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
15861 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
15862 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
15863 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
15864 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
15865 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
15866 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
15867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15868 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15869 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15870 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15871 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15872 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15873 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15874 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15875 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15876 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15877 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15878 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15879 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15880 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15885 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15886 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15887 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15888 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15889 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15890 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15891 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15892 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15893 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15894 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15895
d473f015
JM
158962018-03-19 Joseph Myers <joseph@codesourcery.com>
15897
15898 [BZ #20079]
15899 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
15900
fbce6f72
WD
159012018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
15902
15903 * benchtests/bench-timing.h (attribute_hidden): Undefine.
15904
72e7ffc3
RB
159052018-03-18 Richard Braun <rbraun@sceen.net>
15906
15907 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
15908 thread reference.
15909
542c20a1
AA
159102018-03-18 Agustina Arzille <avarzille@riseup.net>
15911
15912 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
15913 (__libc_cleanup_fct): Define function.
15914 (__libc_cleanup_region_start, __libc_cleanup_region_end,
15915 __libc_cleanup_end): Rewrite implementation using
15916 __attribute__ ((__cleanup__)).
15917 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
15918 * hurd/Makefile (routines): Add hurdlock.
15919 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
15920 interface.
15921 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
15922 * hurd/hurdpid.c: Include <lowlevellock.h>
15923 (_S_msg_proc_newids): Use lll_wait to synchronize.
15924 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15925 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15926 * mach/Makefile (lock-headers): Remove machine-lock.h.
15927 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15928 <machine-lock.h>.
15929 (__spin_lock_t): New type.
15930 (__SPIN_LOCK_INITIALIZER): New macro.
15931 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15932 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15933 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15934 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15935 (__mutex_init): Initialize with lll.
15936 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15937 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15938 needing lll.
15939 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15940 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15941 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15942 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15943 (__setpgid): Use lll for synchronization.
15944 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15945 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15946 instead of <cthreads.h>.
15947 (_IO_lock_inexpensive): New macro
15948 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15949 (__libc_lock_self0): New declaration.
15950 (__libc_lock_owner_self): New macro.
15951 (__libc_key_t): Remove type.
15952 (_LIBC_LOCK_INITIALIZER): New macro.
15953 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15954 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15955 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15956 __libc_lock_define_initialized_recursive,
15957 __rtld_lock_define_initialized_recursive,
15958 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15959 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15960 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15961 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15962 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15963 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15964 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15965 New macros.
15966 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15967 * hurd/hurdlock.c: New file.
15968 * hurd/hurdlock.h: New file.
15969 * mach/lowlevellock.h: New file
542c20a1 15970
9a37922e
ST
159712018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15972
15973 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
15974 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15975 when opening a symlink with O_NOFOLLOW.
72103e73
ST
15976 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15977 path when flags contains O_NOFOLLOW.
15978 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15979 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
15980 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15981 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
15982 * sysdeps/mach/hurd/mlockall.c: New file.
15983 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 15984
34e6a869
ST
159852018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15986
15987 * hurd/hurdsig.c: Include <pthread.h>.
15988 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15989 get the signal thread stack layout.
dc33bef3
ST
15990 * hurd/Makefile (headers): Remove threadvar.h.
15991 (inline-headers): Remove threadvar.h.
15992 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15993 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15994 __hurd_threadvar_max, __hurd_errno_location.
15995 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15996 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15997 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15998 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15999 unless TLS is not initialized yet, in which case we do not need a
16000 critical section yet anyway.
16001 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16002 <machine-sp.h>.
16003 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16004 declarations.
16005 (__hurd_threadvar_index): Remove enum.
16006 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16007 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16008 inlines.
16009 (__hurd_reply_port0): New variable declaration.
16010 (__hurd_local_reply_port): New macro.
16011 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16012 (interrupted_reply_port_location): Add thread_t parameter. Use it
16013 with THREAD_TCB to access thread-local variables.
16014 (_hurdsig_abort_rpcs): Pass ss->thread to
16015 interrupted_reply_port_location.
16016 (_hurd_internal_post_signal): Likewise.
16017 (_hurdsig_init): Use presence of cthread_fork instead of
16018 __hurd_threadvar_stack_mask to start signal thread by hand.
16019 Remove signal thread threadvar initialization.
16020 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16021 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16022 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16023 of threadvar.
16024 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16025 __libc_lock_self0.
16026 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16027 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16028 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16029 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16030 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16031 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16032 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16033 define variables.
16034 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16035 <hurd/threadvar.h>.
16036 [IS_IN(rtld)] (rtld_errno): New variable.
16037 [IS_IN(rtld)] (__errno_location): New weak function.
16038 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16039 * sysdeps/mach/hurd/errno.c: Remove file.
16040 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16041 (__fork): Remove THREADVAR_SPACE macro and its use.
16042 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16043 variable.
16044 (init): Do not initialize threadvar.
16045 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16046 symbol.
16047 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16048 __hurd_local_reply_port instead of threadvar.
16049 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16050 _hurd_sigstate fields.
16051 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16052 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16053 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16054 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16055 instead of threadvar.
16056 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16057 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16058 (use_threadvar, global_reply_port): Remove variables.
16059 (__hurd_reply_port0): New variable.
16060 (__mig_get_reply_port): Use __hurd_local_reply_port and
16061 __hurd_reply_port0 instead of threadvar.
16062 (__mig_dealloc_reply_port): Likewise.
16063 (__mig_init): Do not initialize threadvar.
16064 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
16065 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16066 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16067 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16068 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16069 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16070 __cthread_setspecific.
16071 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16072 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16073 __cthread_t instead of cthread_fork, cthread_detach,
16074 pthread_getattr_np, pthread_attr_getstack.
16075 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16076 __cthread_keycreate.
16077 (cthread_getspecific): Rename to __cthread_getspecific.
16078 (cthread_setspecific): Rename to __cthread_setspecific.
16079 (__libc_getspecific): Use __cthread_getspecific instead of
16080 cthread_getspecific.
16081 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16082 __cthread_keycreate instead of cthread_keycreate.
16083 (__libc_setspecific): Use __cthread_setspecific instead of
16084 cthread_setspecific.
16085 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16086 Likewise.
dd28d4ba
ST
16087 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16088 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16089 testing whether it is defined.
34e6a869 16090
f8baf2a2
ST
160912018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16092
16093 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16094 Define macro.
16095 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16096 * sysdeps/mach/i386/thread_state.h
16097 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16098 i386_THREAD_STATE.
16099 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16100 i386_THREAD_STATE.
16101 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16102
16103 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16104 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16105
16106 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16107 macros.
16108 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16109 descriptor instead of creating a new one.
16110 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16111
16112 * mach/setup-thread.c: Include <ldsodefs.h>.
16113 (__mach_setup_thread): Call _dl_allocate_tls, pass
16114 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16115 MACHINE_THREAD_STATE_FLAVOR, before getting
16116 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16117 MACHINE_THREAD_STATE_FLAVOR with the result.
16118 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16119 MACHINE_THREAD_STATE_FIX_NEW.
16120 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16121 too. Add original thread parameter.
16122
34ba96b8
JM
161232018-03-16 Joseph Myers <joseph@codesourcery.com>
16124
5d75b75f
JM
16125 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16126 Remove inline function.
16127
34ba96b8
JM
16128 * sysdeps/i386/fpu/libm-test-ulps: Update.
16129 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16130
22679b2c
WD
161312018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16132
16133 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16134 commit.
16135
c429a8d8
JM
161362018-03-15 Joseph Myers <joseph@codesourcery.com>
16137
16138 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16139 (__sincos_code): Remove define and undefine.
16140 [__FAST_MATH__] (__sincos): Remove inline function.
16141 [__FAST_MATH__] (__sincosf): Remove inline function.
16142 [__FAST_MATH__] (__sincosl): Remove inline function.
16143 (__atan2l): Remove inline functions.
16144 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16145 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16146 function.
16147 (floor): Remove inline function.
16148 (ceil): Likewise.
16149 [__FAST_MATH__] (__ldexp_code): Remove macro.
16150 [__FAST_MATH__] (ldexp): Remove inline function.
16151 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16152 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16153 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16154 [__USE_ISOC99] (__lrint_code): Remove macro.
16155 [__USE_ISOC99] (__llrint_code): Likewise.
16156 [__USE_ISOC99] (lrintf): Remove inline function.
16157 [__USE_ISOC99] (lrint): Likewise.
16158 [__USE_ISOC99] (lrintl): Likewise.
16159 [__USE_ISOC99] (llrint): Likewise.
16160 [__USE_ISOC99] (llrintf): Likewise.
16161 [__USE_ISOC99] (llrintl): Likewise.
16162
700593fd
WD
161632018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16164
16165 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16166 (__ieee754_sqrtf): Remove.
16167 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16168 (__ieee754_sqrtf): Remove.
16169 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16170 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16171 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16172 (__ieee754_sqrtf): Remove.
16173 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16174 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16175 (sqrtf): Remove.
16176 (sqrtl): Remove.
16177 (__ieee754_sqrt): Remove.
16178 (__ieee754_sqrtf): Remove.
16179 (__ieee754_sqrtl): Remove.
16180 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16181 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16182 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16183 (__ieee754_sqrtf): Remove.
16184 (__ieee754_sqrtl): Remove.
16185
f67a8147
WD
161862018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16187
16188 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16189 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16190 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16191 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16192 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16193 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16194 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16195 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16196 Likewise.
16197 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16198 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16199 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16200 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16201 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16202 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16203 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16204 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16205 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16206 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16207 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16208 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16209 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16210 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16211 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16212 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16213 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16214 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16215 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16216 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16217 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16218 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16219 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16220 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16221 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16222 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16223 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16224 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16225 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16226 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16227 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16228 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16229 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16230 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16231 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16232 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16233 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16234 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16235 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16236 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16237
1294b189
WD
162382018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16239
16240 * include/math.h (sqrt): Declare with asm redirect.
16241 (sqrtf): Likewise.
16242 (sqrtl): Likewise.
16243 (sqrtf128): Likewise.
16244 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16245 nonlib and libnldbl with -fmath-errno.
16246 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16247 * math/w_sqrt_template.c: Likewise.
16248 * math/w_sqrtf_compat.c: Likewise.
16249 * math/w_sqrtl_compat.c: Likewise.
16250 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16251 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16252 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16253 complex.h.
16254
f1c8185d
WD
162552018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16256
16257 * benchtests/Makefile: Define _ISOMAC.
16258 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16259 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16260 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16261 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16262 * benchtests/bench-timing.h: Define attribute_hidden.
16263
b47c3e76
SP
162642018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16265
16266 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16267 mov + lsr.
16268
807fee29
RL
162692018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16270
16271 [BZ #22963]
16272 * localedata/locales/cs_CZ (mon): Rename to...
16273 (alt_mon): This.
16274 (mon): Import from CLDR (genitive case).
16275
e7155a28
RL
162762018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16277
16278 [BZ #22937]
16279 * localedata/locales/el_CY (abmon): Rename to...
16280 (ab_alt_mon): This.
16281 (abmon): Import from CLDR (abbreviated genitive case).
16282 * localedata/locales/el_GR (abmon): Rename to...
16283 (ab_alt_mon): This.
16284 (abmon): Import from CLDR (abbreviated genitive case).
16285
71d7b121
RL
162862018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16287
16288 [BZ #22932]
16289 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16290
a00bffe8
RB
162912018-03-15 Robert Buj <robert.buj@gmail.com>
16292
16293 [BZ #22848]
16294 * localedata/locales/ca_ES (abmon): Rename to...
16295 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16296 (mon): Rename to...
16297 (alt_mon): This.
16298 (abmon): Import from CLDR (genitive case, month names preceded by
16299 "de" or "d’").
16300 (mon): Likewise.
16301 (abday): Synchronize with CLDR.
16302 (d_t_fmt): Likewise.
16303 (d_fmt): Likewise.
16304 (am_pm): Likewise.
16305
16306 (LC_TIME): Improve indentation.
16307 (LC_TELEPHONE): Likewise.
16308 (LC_NAME): Likewise.
16309 (LC_ADDRESS): Likewise.
16310
f9555d73
JM
163112018-03-14 Joseph Myers <joseph@codesourcery.com>
16312
16313 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16314 (lrintf): Remove definitions used only with old GCC.
16315 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16316 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16317 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16318 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16319 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16320 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16321 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16322 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16323 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16324 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16325 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16326 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16327 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16328 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16329 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16330 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16331 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16332 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16333 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16334 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16335 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16336 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16337 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16338 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16339 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16340 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16341 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16342 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16343
d46f84de
SP
163442018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16345
16346 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16347 instruction to unbreak builds with binutils 2.26 and older.
16348
7108f1f9
SP
163492018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16350
16351 * sysdeps/aarch64/strncmp.S (count): New macro.
16352 (strncmp): Store misaligned length in SRC1 in COUNT.
16353 (mutual_align): Adjust.
16354 (misaligned8): Load dword at a time when it is safe.
16355
2cc7bad0
ZW
163562018-03-12 Zack Weinberg <zackw@panix.com>
16357
16358 [BZ #1190]
16359 [BZ #19476]
16360 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16361 if the _IO_EOF_SEEN bit is already set; update commentary.
16362 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16363 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16364
16365 * support/support_openpty.c, support/tty.h: New files.
16366 * support/Makefile (libsupport-routines): Add support_openpty.
16367
16368 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16369 New test cases.
16370 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16371 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16372
778f1974
DL
163732018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16374
16375 * po/pt_BR.po: Update translations.
16376
6b5c8607 163772018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
16378
16379 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16380 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16381 get a port to the startup server.
16382
d3da750d
ZW
163832018-03-11 Zack Weinberg <zackw@panix.com>
16384
16385 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16386 before nldbl-compat.h.
16387
054b72cc
ZW
163882018-03-10 Zack Weinberg <zackw@panix.com>
16389
0d13dfa1
ZW
16390 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16391 math.h or math_private.h.
16392
16393 * sysdeps/alpha/fpu/s_isnan.c
16394 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16395 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16396 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16397 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16398 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16399 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16400 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16401 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16402 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16405 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16406 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16407 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16408 Include math_private.h.
16409
16410 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16411 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16412 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16413 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16414 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16415 * sysdeps/powerpc/power7/fpu/s_logb.c:
16416 Include math.h and math_private.h.
16417
054b72cc
ZW
16418 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16419 uses of $at in .set noat / .set at.
16420
6253bacd
L
164212018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16422
16423 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16424 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16425 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16426 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16427 Likewise.
16428
229855e5
FW
164292018-03-09 Florian Weimer <fweimer@redhat.com>
16430
16431 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16432 in comment.
16433
9aa5c222
AJ
164342018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16435
16436 [BZ #22919]
16437 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16438 Add nop before __startcontext, add explaining comments.
16439
3dc21497
AZ
164402018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16441
e921c89e
AZ
16442 [BZ #22926]
16443 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16444 empty for __SPE__.
16445 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16446 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16447 Do not build hardware transactional code for __SPE__.
16448 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16449 (__lll_trylock_elision): Likewise.
16450 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16451 (__lll_unlock_elision): Likewise.
16452
d9f26dab 16453 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
16454 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16455 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16456 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16457 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16458 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16459 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16460 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16461 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16462 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16463 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16464 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16465 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16466 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16467 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16468 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16469 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16470 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16471 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16472 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16473 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16474 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16475 (__ASSUME_CLONE_BACKWARDS): Define.
16476 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16477 __clone2 if __NR_clone2 is defined.
16478 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16479 (__ASSUME_CLONE_BACKWARDS): Likewise.
16480 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16481 (__ASSUME_CLONE_BACKWARDS): Likewise.
16482 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16483 (__ASSUME_CLONE2): Likewise.
16484 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16485 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16486 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16487 variants and the define architecture can use.
16488 (__ASSUME_CLONE_DEFAULT): Define as default.
16489 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16490 (__ASSUME_CLONE_BACKWARDS): Likewise.
16491 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16492 (__ASSUME_CLONE_BACKWARDS): Likewise.
16493 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16494 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16495
adc95fb0
SP
164962018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16497
4e54d918
SP
16498 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16499
30a81dae
SP
16500 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16501 time.
16502
adc95fb0
SP
16503 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16504 (do_test_limit): Likewise.
16505
16506 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16507 for every implementation.
16508 (do_test): Likewise.
16509
16510 * benchtests/bench-strncmp.c: Convert output to json.
16511
4e9066bc
ST
165122018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16513
16514 * io/futimens.c: Add missing start-of-file descriptive comment.
16515 * io/utime.c: Likewise.
16516 * misc/futimesat.c: Likewise.
16517 * misc/utimes.c: Likewise.
16518 * sysdeps/mach/hurd/futimesat.c: Likewise.
16519 * sysdeps/mach/hurd/utimes.c: Likewise.
16520 * sysdeps/posix/utime.c: Likewise.
16521 * sysdeps/posix/utimes.c: Likewise.
16522 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16523 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16524 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16525 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16526
ec1300cf
ST
165272018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16528
16529 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16530 hurd_futimes.
16531 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16532 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16533 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16534 (__futimens): Move implementation to...
16535 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16536 utime_tvalue_from_tspec): ... new helper functions.
16537 (hurd_futimens): New function.
16538 * sysdeps/mach/hurd/futimesat.c: New file.
16539 * sysdeps/mach/hurd/utimensat.c: New file.
16540
bbe762d1
FC
165412018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16542
16543 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16544 UTIME_OMIT): New macros.
16545 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16546 before reverting to converting time spec to time value and calling
16547 __file_utimes.
16548 * sysdeps/mach/hurd/utime-helper.c: New file.
16549 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16550 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16551 reverting to utime_tvalue_from_tval and __file_utimes.
16552 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16553 (__lutimes): Just call hurd_futimens after lookup.
16554 * sysdeps/mach/hurd/utimes.c: Likewise.
16555
a1ede3a4
ST
165562018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16557
16558 * bits/sigaction.h: Add include guard.
16559 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16560 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16561 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16562 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16563 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16564 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16565 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16566 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16567 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16568
6900d2ca
JM
165692018-03-05 Joseph Myers <joseph@codesourcery.com>
16570
16571 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16572 -Wmaybe-uninitialized for -Os.
16573 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16574 this disabling.
16575
68448be2
AZ
165762018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16577
5226a81f
AZ
16578 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16579 __INO_T_MATCHES_INO64_T is defined.
16580 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16581 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16582 of definition.
16583 * dirent/alphasort64.c: Likewise.
16584 * dirent/scandir.c: Likewise.
16585 * dirent/scandir64-tail.c: Likewise.
16586 * dirent/scandir64.c: Likewise.
16587 * dirent/scandirat.c: Likewise.
16588 * dirent/scandirat64.c: Likewise.
16589 * dirent/versionsort.c: Likewise.
16590 * dirent/versionsort64.c: Likewise.
16591 * include/dirent.h: Likewise.
16592
fbd01e6c
AZ
16593 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16594 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16595 for socketpair endpoint.
16596 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16597 WRITE_BUFFER_SIZE as buffer size for sending socket.
16598 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16599 issue on system where send is implemented with sendto syscall.
16600 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16601 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16602 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16603 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16604
68448be2
AZ
16605 [BZ #21269]
16606 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16607 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16608 sa_restorer for vDSO case.
16609 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16610
eb1ca47e
ST
166112018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16612
16613 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
16614 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16615 * hurd/hurd/ioctl.h: Include <mach/port.h>
16616 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
16617 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16618 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
16619 (headers): Move mach/param.h to bits/mach/param.h.
16620 * sysdeps/mach/i386/mach/param.h: Move file to ...
16621 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16622 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16623 of <mach/param.h>.
3403cb7d
ST
16624 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16625 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16626 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
16627 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16628 trivial, for C++ conformity.
44c6376c 16629 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
16630 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16631 Process mig output through $(migheadersed).
16632 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
16633 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16634 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16635 headers.
ba89615d
ST
16636 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16637 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16638 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16639 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16640 <bits/types/sigset_t.h>.
16641 [!defined __USE_GNU]: Do not #error out.
16642 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16643 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16644 Include <stddef.h> and <bits/types/sigset_t.h>
16645 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16646 instead of sighandler_t.
974393ea
ST
16647 * stdlib/errno.h (error_t): Move definition to...
16648 * bits/types/error_t.h: ... new header.
16649 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16650 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16651 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16652 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16653 * hurd/hurd.h: Include <bits/types/error_t.h>
16654 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16655 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16656 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16657 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16658 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16659 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 16660 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 16661
eaf6753f
AS
166622018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16663
16664 [BZ #22918]
16665 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16666 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16667 * nscd/gai.c (__nss_hosts_database): Readd definition.
16668 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16669 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16670 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16671
4dc23804
JM
166722018-03-02 Joseph Myers <joseph@codesourcery.com>
16673
16674 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16675 (ifunc_one): Likewise.
16676
1c81d55f
DD
166772018-03-01 DJ Delorie <dj@delorie.com>
16678
16679 [BZ #22342]
16680 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16681 key value.
16682
b717c14f
MR
166832018-03-01 Maciej W. Rozycki <macro@mips.com>
16684
16685 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16686 `match_pid' parameter.
16687 (td_ta_thr_iter): Update accordingly.
16688
1efe1358
FW
166892018-03-01 Florian Weimer <fweimer@redhat.com>
16690
16691 * nptl/Makefile (install-lib-ldscripts): Remove.
16692 (install): Remove rule.
16693 ($(inst_libdir)/libpthread.so): Likewise.
16694
a527f09c
MF
166952018-03-01 Mike FABIAN <mfabian@redhat.com>
16696
16697 [BZ #22896]
16698 * localedata/locales/an_ES: update month and day names,
16699 improve d_fmt, improve postal_fmt, add country_post,
16700 add country_isbn
16701
35d660b0
MF
167022018-03-01 Mike FABIAN <mfabian@redhat.com>
16703
16704 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16705 Ukrainian instead of Bulgarian.
16706
1a2f44a8
FW
167072018-03-01 Florian Weimer <fweimer@redhat.com>
16708
16709 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16710 reference.
16711
bd60ce86
FW
167122018-03-01 Florian Weimer <fweimer@redhat.com>
16713
16714 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16715 * nptl/Makefile (routines): Add pthread_atfork.
16716 (static-only-routines): Set to pthread_atfork.
16717 (libpthread-routines): Remove pthread_atfork.
16718 (libpthread-static-only-routines): Remove.
16719 (install): Update comment.
16720 (libpthread.so): Do not install libpthread_nonshared.a.
16721 (tests): Do not link with libpthread_nonshared.a.
16722 (generated): Remove libpthread_nonshared.a.
16723 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16724 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16725 with libpthread_nonshared.a.
16726
000f290f
JM
167272018-02-28 Joseph Myers <joseph@codesourcery.com>
16728
e2bcf6a8
JM
16729 [BZ #22902]
16730 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16731 (libc_feholdexcept_setroundf128): New macro.
16732 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16733
000f290f
JM
16734 [BZ #15105]
16735 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16736 libc_hidden_def.
16737 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16738 * include/inttypes.h: New file.
16739
02f2fead
JM
167402018-02-27 Joseph Myers <joseph@codesourcery.com>
16741
16742 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16743 -Os in two more places.
16744
874c56d7
MF
167452018-02-27 Mike FABIAN <mfabian@redhat.com>
16746
16747 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16748 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16749 be sorted correctly at the moment because of a bug.
16750
15973854
MF
167512018-02-27 Mike FABIAN <mfabian@redhat.com>
16752
16753 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16754 treat ñ as a primary different character, sync the collation
16755 for Spanish with CLDR.
16756 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16757 * localedata/Makefile: Add new test files.
16758 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16759 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16760 collation order.
16761 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16762 * localedata/am_ET.UTF-8.in: New test file.
16763 * localedata/az_AZ.UTF-8.in: Likewise.
16764 * localedata/be_BY.UTF-8.in: Likewise.
16765 * localedata/ber_DZ.UTF-8.in: Likewise.
16766 * localedata/ber_MA.UTF-8.in: Likewise.
16767 * localedata/bg_BG.UTF-8.in: Likewise.
16768 * localedata/br_FR.UTF-8.in: Likewise.
16769 * localedata/cmn_TW.UTF-8.in: Likewise.
16770 * localedata/crh_UA.UTF-8.in: Likewise.
16771 * localedata/csb_PL.UTF-8.in: Likewise.
16772 * localedata/cv_RU.UTF-8.in: Likewise.
16773 * localedata/cy_GB.UTF-8.in: Likewise.
16774 * localedata/dz_BT.UTF-8.in: Likewise.
16775 * localedata/eo.UTF-8.in: Likewise.
16776 * localedata/es_ES.UTF-8.in: Likewise.
16777 * localedata/fa_IR.UTF-8.in: Likewise.
16778 * localedata/fi_FI.UTF-8.in: Likewise.
16779 * localedata/fil_PH.UTF-8.in: Likewise.
16780 * localedata/fur_IT.UTF-8.in: Likewise.
16781 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16782 * localedata/ha_NG.UTF-8.in: Likewise.
16783 * localedata/ig_NG.UTF-8.in: Likewise.
16784 * localedata/ik_CA.UTF-8.in: Likewise.
16785 * localedata/kk_KZ.UTF-8.in: Likewise.
16786 * localedata/ku_TR.UTF-8.in: Likewise.
16787 * localedata/ky_KG.UTF-8.in: Likewise.
16788 * localedata/ln_CD.UTF-8.in: Likewise.
16789 * localedata/mi_NZ.UTF-8.in: Likewise.
16790 * localedata/ml_IN.UTF-8.in: Likewise.
16791 * localedata/mn_MN.UTF-8.in: Likewise.
16792 * localedata/mr_IN.UTF-8.in: Likewise.
16793 * localedata/mt_MT.UTF-8.in: Likewise.
16794 * localedata/nb_NO.UTF-8.in: Likewise.
16795 * localedata/om_KE.UTF-8.in: Likewise.
16796 * localedata/os_RU.UTF-8.in: Likewise.
16797 * localedata/ps_AF.UTF-8.in: Likewise.
16798 * localedata/ro_RO.UTF-8.in: Likewise.
16799 * localedata/ru_RU.UTF-8.in: Likewise.
16800 * localedata/sc_IT.UTF-8.in: Likewise.
16801 * localedata/se_NO.UTF-8.in: Likewise.
16802 * localedata/sq_AL.UTF-8.in: Likewise.
16803 * localedata/sv_SE.UTF-8.in: Likewise.
16804 * localedata/szl_PL.UTF-8.in: Likewise.
16805 * localedata/tg_TJ.UTF-8.in: Likewise.
16806 * localedata/tk_TM.UTF-8.in: Likewise.
16807 * localedata/tt_RU.UTF-8.in: Likewise.
16808 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
16809 * localedata/ug_CN.UTF-8.in: Likewise.
16810 * localedata/uz_UZ.UTF-8.in: Likewise.
16811 * localedata/vi_VN.UTF-8.in: Likewise.
16812 * localedata/yi_US.UTF-8.in: Likewise.
16813 * localedata/yo_NG.UTF-8.in: Likewise.
16814 * localedata/zh_CN.UTF-8.in: Likewise.
16815 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
16816 file and fix bugs in the collation.
16817 * localedata/locales/az_AZ: Likewise.
16818 * localedata/locales/be_BY: Likewise.
16819 * localedata/locales/ber_DZ: Likewise.
16820 * localedata/locales/ber_MA: Likewise.
16821 * localedata/locales/bg_BG: Likewise.
16822 * localedata/locales/br_FR: Likewise.
16823 * localedata/locales/br_FR@euro: Likewise.
16824 * localedata/locales/ca_ES: Likewise.
16825 * localedata/locales/cns11643_stroke: Likewise.
16826 * localedata/locales/crh_UA: Likewise.
16827 * localedata/locales/cs_CZ: Likewise.
16828 * localedata/locales/csb_PL: Likewise.
16829 * localedata/locales/cv_RU: Likewise.
16830 * localedata/locales/cy_GB: Likewise.
16831 * localedata/locales/da_DK: Likewise.
16832 * localedata/locales/dz_BT: Likewise.
16833 * localedata/locales/en_CA: Likewise.
16834 * localedata/locales/eo: Likewise.
16835 * localedata/locales/es_CU: Likewise.
16836 * localedata/locales/es_EC: Likewise.
16837 * localedata/locales/es_ES: Likewise.
16838 * localedata/locales/es_US: Likewise.
16839 * localedata/locales/et_EE: Likewise.
16840 * localedata/locales/fa_IR: Likewise.
16841 * localedata/locales/fi_FI: Likewise.
16842 * localedata/locales/fil_PH: Likewise.
16843 * localedata/locales/fur_IT: Likewise.
16844 * localedata/locales/gez_ER@abegede: Likewise.
16845 * localedata/locales/ha_NG: Likewise.
16846 * localedata/locales/hr_HR: Likewise.
16847 * localedata/locales/hsb_DE: Likewise.
16848 * localedata/locales/hu_HU: Likewise.
16849 * localedata/locales/ig_NG: Likewise.
16850 * localedata/locales/ik_CA: Likewise.
16851 * localedata/locales/is_IS: Likewise.
16852 * localedata/locales/iso14651_t1_pinyin: Likewise.
16853 * localedata/locales/kk_KZ: Likewise.
16854 * localedata/locales/ku_TR: Likewise.
16855 * localedata/locales/ky_KG: Likewise.
16856 * localedata/locales/ln_CD: Likewise.
16857 * localedata/locales/lt_LT: Likewise.
16858 * localedata/locales/lv_LV: Likewise.
16859 * localedata/locales/mi_NZ: Likewise.
16860 * localedata/locales/ml_IN: Likewise.
16861 * localedata/locales/mn_MN: Likewise.
16862 * localedata/locales/mr_IN: Likewise.
16863 * localedata/locales/mt_MT: Likewise.
16864 * localedata/locales/nb_NO: Likewise.
16865 * localedata/locales/om_KE: Likewise.
16866 * localedata/locales/os_RU: Likewise.
16867 * localedata/locales/pl_PL: Likewise.
16868 * localedata/locales/ps_AF: Likewise.
16869 * localedata/locales/ro_RO: Likewise.
16870 * localedata/locales/ru_RU: Likewise.
16871 * localedata/locales/ru_UA: Likewise.
16872 * localedata/locales/sc_IT: Likewise.
16873 * localedata/locales/se_NO: Likewise.
16874 * localedata/locales/si_LK: Likewise.
16875 * localedata/locales/sq_AL: Likewise.
16876 * localedata/locales/sv_FI: Likewise.
16877 * localedata/locales/sv_FI@euro: Likewise.
16878 * localedata/locales/sv_SE: Likewise.
16879 * localedata/locales/szl_PL: Likewise.
16880 * localedata/locales/tg_TJ: Likewise.
16881 * localedata/locales/ti_ER: Likewise.
16882 * localedata/locales/tk_TM: Likewise.
16883 * localedata/locales/tl_PH: Likewise.
16884 * localedata/locales/tr_TR: Likewise.
16885 * localedata/locales/tt_RU: Likewise.
16886 * localedata/locales/tt_RU@iqtelif: Likewise.
16887 * localedata/locales/ug_CN: Likewise.
16888 * localedata/locales/uk_UA: Likewise.
16889 * localedata/locales/uz_UZ: Likewise.
16890 * localedata/locales/uz_UZ@cyrillic: Likewise.
16891 * localedata/locales/vi_VN: Likewise.
16892 * localedata/locales/yi_US: Likewise.
16893 * localedata/locales/yo_NG: Likewise.
16894
ce6636b0
MF
168952018-02-27 Mike FABIAN <mfabian@redhat.com>
16896
16897 * gen-locales.mk: Make test files which contain @ modifiers in their
16898 name work.
16899 * localedata/gen-locale.sh: Likewise.
16900
ac3a3b4b
MF
169012018-02-27 Mike FABIAN <mfabian@redhat.com>
16902
16903 * posix/tst-fnmatch.input: Fix results for range expressions
16904 for non C locales.
16905 * posix/tst-regexloc.c: Do not use a range expression for
16906 de_DE.ISO-8859-1 locale.
16907
770cbe14
MF
169082018-02-27 Mike FABIAN <mfabian@redhat.com>
16909
16910 * posix/bug-regex5.c: Fix test case because with the new
16911 iso14651_t1_common file, the da_DK locale now has 6 collating elements
16912 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
16913 file.
16914
0fc355d9
MF
169152018-02-27 Mike FABIAN <mfabian@redhat.com>
16916
16917 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
16918 downloaded from ISO, the collation order of @-. and space has changed.
16919 Therefore, this test file needed to be adapted.
16920 * localedata/fr_CA.UTF-8.in: Likewise.
16921 * localedata/fr_FR.UTF-8.in: Likewise.
16922 * localedata/uk_UA.UTF-8.in: Likewise.
16923
43f3893f
MF
169242018-02-27 Mike FABIAN <mfabian@redhat.com>
16925
16926 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16927 order of ȥ in the new iso14651_t1_common file.
16928 * localedata/pl_PL.UTF-8.in: Likewise.
16929
df74ef78
MF
169302018-02-27 Mike FABIAN <mfabian@redhat.com>
16931
16932 * localedata/locales/iso14651_t1_common: Add sections for various
16933 scripts to the iso14651_t1_common file.
16934
d5adfbad
MF
169352018-02-27 Mike FABIAN <mfabian@redhat.com>
16936
16937 * localedata/locales/iso14651_t1_common: Use the code point of a
16938 character in the fourth collation level instead of IGNORE for all
16939 entries which have IGNORE on all 4 levels.
16940
5f5a9610
MF
169412018-02-27 Mike FABIAN <mfabian@redhat.com>
16942
16943 * localedata/locales/iso14651_t1_common: Add some convenient collation
16944 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16945 rules similar to those in CLDR.
16946
8a97e900
MF
169472018-02-27 Mike FABIAN <mfabian@redhat.com>
16948
16949 * localedata/locales/iso14651_t1_common: The new version of this
16950 file downloaded from ISO contained several syntax errors which
16951 are fixed by this patch.
16952
bbdd2fba
MF
169532018-02-27 Mike FABIAN <mfabian@redhat.com>
16954
16955 * localedata/locales/iso14651_t1_common: replace all <U.....>
16956 with <U000.....> because glibc understands only 4 digit or 8 digit
16957
1569e551
MF
169582018-02-27 Mike FABIAN <mfabian@redhat.com>
16959
16960 * localedata/locales/iso14651_t1_common: Necessary changes
16961 to make the file downloaded from ISO usable by glibc.
16962
9479b6d5
MF
169632018-02-27 Mike FABIAN <mfabian@redhat.com>
16964
16965 [BZ #14095]
16966 * localedata/locales/iso14651_t1_common: Update file to
16967 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16968
03b540b3
ST
169692018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16970
16971 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16972 of <nptl/pthreadP.h>
16973 (thread_attr_compare): Move function to...
eb937a52 16974 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 16975 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 16976 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 16977
20602c72
JM
169782018-02-26 Joseph Myers <joseph@codesourcery.com>
16979
f54d8f73
JM
16980 * string/strcoll_l.c: Include <libc-diag.h>.
16981 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16982 declarations of seq1 and seq2.
16983
20602c72
JM
16984 [BZ #15105]
16985 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16986 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16987
f5f473a9
DL
169882018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16989
16990 [BZ #22433]
16991 [BZ #22807]
16992 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16993 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16994 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16995 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16996 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16997 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16998
398c6fdd
TMQMF
169992018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17000
17001 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17002 macros used in __ptrace_request.
17003
f5d1f629
L
170042018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17005
17006 [BZ #22792]
17007 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17008 to $(CC).
17009 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17010 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17011 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17012 <tcb-offsets.h>.
17013
54412d20
JM
170142018-02-23 Joseph Myers <joseph@codesourcery.com>
17015
17016 [BZ #15105]
17017 * ctype/ctype.c (tolower): Use libc_hidden_def.
17018 (toupper): Likewise.
17019 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17020 [!_ISOMAC] (toupper): Likewise.
17021
81be4b5e
MF
170222018-02-23 Mike FABIAN <mfabian@redhat.com>
17023
17024 * localedata/Makefile: Remove --quiet argument when
17025 installing locales
17026
9d5cfd8e
MF
170272018-02-23 Mike FABIAN <mfabian@redhat.com>
17028
17029 [BZ #17438]
17030 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17031 in d_fmt.
17032 * localedata/locales/pt_PT (LC_TIME): likewise
17033
6c7269f3
MF
170342018-02-23 Mike FABIAN <mfabian@redhat.com>
17035
17036 [BZ #22646]
17037 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17038 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17039 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17040
92aabad9
AZ
170412018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17042
4cdc25a4
AZ
17043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17044
27761a10
AZ
17045 * nptl/Makefile (routines): Remove unregister-atfork.
17046 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17047 (fork_handler_alloc): Remove function.
17048 (fork_handlers, fork_handler_init): New variables.
17049 (__fork_lock): Rename to atfork_lock.
17050 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17051 to use a dynamic array to add/remove atfork handlers.
17052 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17053 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17054 Remove declaration.
17055 (fork_handler): Remove next, refcntr, and need_signal member.
17056 (__run_fork_handler_type): New enum.
17057 (__run_fork_handlers): New prototype.
17058 * nptl/register-atfork.c: Remove file.
17059 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17060
92aabad9
AZ
17061 * sysdeps/nptl/nptl-signals.h: Move to ...
17062 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17063 comments.
17064 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17065 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17066 unnecessary check for SIGTIMER.
17067 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17068 remove unnecessary removal of SIGTIMER.
17069 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17070 include-signals.h rename.
17071 * nptl/pthreadP.h: Likewise.
17072 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17073 __is_internal_signal instead of __nptl_is_internal_signal.
17074
6b5c8607 170752018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 17076
7e04eb29 17077 [BZ # 22884]
fdcc6253
AW
17078 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17079 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17080 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17081 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17082
8090720a
DD
170832018-02-22 DJ Delorie <dj@delorie.com>
17084
17085 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17086
6ca24c43
SP
170872018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17088
17089 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17090 do_misaligned, not misaligned8.
17091
e9537ddd
SE
170922018-02-22 Steve Ellcey <sellcey@cavium.com>
17093
17094 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17095 Add memcpy_thunderx2.
17096 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17097 Increment to 4.
17098 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17099 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17100 and IS_THUNDERX2PA checks.
17101 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17102 Use macro to set name appropriately.
17103 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17104 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17105 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17106 New macro.
17107 (IS_THUNDERX2): New macro.
17108
6e336476
SL
171092018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17110
17111 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17112
34957904
ZW
171132018-02-21 Zack Weinberg <zackw@panix.com>
17114
30bfee26
ZW
17115 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17116 Define here, unconditionally.
17117 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17118 * libio/libioP.h: Remove #if 0 blocks.
17119 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17120 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17121 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17122
17123 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17124 Assume weak_alias is always defined.
17125
17126 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17127 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17128 Remove #if 0 and #ifdef TODO blocks.
17129 Assume text_set_element is always defined.
17130
17131 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17132 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17133 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17134
df6c012b
ZW
17135 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17136 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17137 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17138 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17139 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17140 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17141 Reformat bit flags for _flags field to make occupancy clearer.
17142 Update commentary.
17143 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17144 Keep definitions consistent with those in libio/libio.h.
17145
17146 * libio/libio.h (_IO_file_flags): Remove macro.
17147 All uses changed to _flags.
17148
177aad3f
ZW
17149 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17150 (__HAVE_COLUMN, _IO_BE): Don't define.
17151 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17152 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17153 * libio/libioP.h (EOF): Don't define.
17154 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17155 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17156 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17157 testing _IO_UNIFIED_JUMPTABLES.
17158
9964a145
ZW
17159 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17160 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17161 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17162 (_IO_size_t): Delete; all uses changed to size_t.
17163 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17164 (_IO_off_t): Delete; all uses changed to off_t.
17165 (_IO_off64_t): Delete; all uses changed to off64_t.
17166 (_IO_pid_t): Delete; all uses changed to pid_t.
17167 (_IO_uid_t): Delete; all uses changed to uid_t.
17168 (_IO_wint_t): Delete; all uses changed to wint_t.
17169 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17170 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17171 (_IO_cookie_io_functions_t): Delete; all uses changed to
17172 cookie_io_functions_t.
17173 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17174 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17175 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17176 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17177
17178 * libio/iofopncook.c: Remove unnecessary forward declarations.
17179 * libio/iolibio.h: Correct outdated commentary.
17180 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17181 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17182 Remove unnecessary casts.
17183 * stdio-common/getline.c: Use _IO_getdelim directly.
17184 Don't redefine ssize_t.
17185 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17186 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17187 Remove outdated comments.
17188 * stdio-common/vfscanf.c: Don't redefine va_list.
17189
34957904
ZW
17190 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17191 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17192 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17193 which are always true, and __cplusplus, which is always false.
17194
30ac923d
JM
171952018-02-21 Joseph Myers <joseph@codesourcery.com>
17196
039c721a
JM
17197 [BZ #15105]
17198 [BZ #19463]
17199 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17200 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17201 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17202 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17203 libc_hidden_proto.
17204 [!_ISOMAC] (putc_unlocked): Likewise.
17205 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17206 define inline if [__USE_EXTERN_INLINES].
17207 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17208 putc_unlocked.
17209
30ac923d
JM
17210 [BZ #15105]
17211 [BZ #19463]
17212 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17213 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17214 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17215 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17216 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17217 getc_unlocked.
17218 * time/tzfile.c (__tzfile_read): Likewise.
17219
7ec5f946
MF
172202018-02-21 Mike FABIAN <mfabian@redhat.com>
17221
17222 [BZ #22517]
17223 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17224
0d217f40
RJ
172252018-02-21 Rical Jasan <ricaljasan@pacific.net>
17226
17227 * io/fcntl.h: Fix a typo in a comment.
17228
862b4502
RJ
172292018-02-21 Rical Jasan <ricaljasan@pacific.net>
17230
17231 [BZ #22862]
17232 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17233 define _DEFAULT_SOURCE.
17234 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17235
999a6dab
FW
172362018-02-21 Florian Weimer <fweimer@redhat.com>
17237
17238 [BZ #20890]
17239 * elf/cache.c (save_cache): Call fsync on temporary file before
17240 renaming it.
17241 (save_aux_cache): Call fdatasync on temporary file before renaming
17242 it.
17243
52a01100
FW
172442018-02-21 Florian Weimer <fweimer@redhat.com>
17245
17246 [BZ #22787]
17247 * include/caller.h: Remove file.
17248 * elf/dl-caller.c: Likewise.
17249 * elf/Makefile (dl-routines): Remove dl-caller.
17250 (shared-only-routines): Do not add dl-caller.
17251 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17252 __check_caller.
17253 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17254 member.
17255 (dl_open_worker): Do not call __check_caller.
17256 (_dl_open): Do not set caller_dl_open member.
17257 * elf/rtld.c (_rtld_global_ro): Do not initialize
17258 _dl_check_caller member.
17259 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17260 _dl_check_caller member.
17261 (_dl_check_caller): Remove declaration.
17262 * sysdeps/unix/sysv/linux/dl-execstack.c
17263 (_dl_make_stack_executable): Do not call __check_caller.
17264
b5bf62e4
ST
172652018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17266
17267 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 17268 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 17269
e8d190b9
RJ
172702018-02-20 Rical Jasan <ricaljasan@pacific.net>
17271
17272 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17273 description.
17274
6a3962c4
RJ
172752018-02-20 Rical Jasan <ricaljasan@pacific.net>
17276
da81ae64 17277 [BZ #16335]
6a3962c4
RJ
17278 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17279 of 199606L, 200112L, and 200809L.
17280 (_XOPEN_SOURCE): Document special values of 600 and 700.
17281 (_ISOC11_SOURCE): Document macro.
17282 (_ATFILE_SOURCE): Likewise.
17283 (_FORTIFY_SOURCE): Likewise.
17284
ec481ad8
JM
172852018-02-19 Joseph Myers <joseph@codesourcery.com>
17286
17287 [BZ #15105]
17288 [BZ #19463]
17289 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17290 and define as weak alias of __ferror_unlocked. Use
17291 libc_hidden_weak.
17292 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17293 libc_hidden_proto.
17294 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17295 function if [__USE_EXTERN_INLINES].
17296 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17297 ferror_unlocked.
17298
7d15ef84
RJ
172992018-02-19 Rical Jasan <ricaljasan@pacific.net>
17300
17301 [BZ #6889]
17302 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17303
f8d79582
AJ
173042018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17305
17306 [BZ #22818]
17307 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17308 the GLIBC_2.1 version.
17309
56456a2a
AJ
173102018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17311
17312 [BZ #21508]
17313 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17314 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17315 intl/tst-gettext-de.po from po/de.po by removing the
17316 POT-Creation-Date line.
17317 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17318 ../po/de.po.
17319 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17320 ../po/de.po.
17321
13768813
ST
173222018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17323
17324 * mach/Makefile (headers): Add mach/param.h.
17325 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17326 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
17327 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17328 (__ptsname_r): Move implementation to...
17329 (__ptsname_internal): ... new function. Add filling the STP
17330 structure.
13768813 17331
6aca1b61
JDA
173322018-02-17 John David Anglin <danglin@gcc.gnu.org>
17333
17334 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17335 idouble to 1 ULP.
17336
16efad51
RJ
173372018-02-16 Rical Jasan <ricaljasan@pacific.net>
17338
17339 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17340 syntax.
17341
87245073
SL
173422018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17343
17344 * nptl/Makefile (tst-mutex8-ENV): Delete.
17345 * nptl/tst-mutex8.c (check_type):
17346 Add runtime check if mutex will be elided.
17347
7fc03cf3
JM
173482018-02-15 Joseph Myers <joseph@codesourcery.com>
17349
db9881ec
JM
17350 [BZ #20980]
17351 [BZ #21234]
17352 * manual/install.texi (Configuring and compiling): Describe
17353 passing CC and CFLAGS on configure command line, not as
17354 environment variables. Use @code markup on those variables.
17355 Specify what options go in CC and what go in CFLAGS. Note the
17356 requirement to compile with optimization.
17357 * INSTALL: Regenerated.
17358
3785b31c
JM
17359 [BZ #18124]
17360 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17361 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17362 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17363 __sigprocmask instead of sigprocmask.
17364 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17365 Likewise.
17366 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17367 __sigsetjmp and sigprocmask.
17368
055ac2a7
JM
17369 [BZ #15105]
17370 * include/argz.h (argz_next): Use libc_hidden_proto.
17371 (__argz_next): Likewise.
17372 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17373 (argz_next): Use libc_hidden_weak.
17374
e4452a2d
JM
17375 [BZ #15105]
17376 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17377 libc_hidden_proto.
17378 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17379 libc_hidden_def.
17380
499b3153
JM
17381 [BZ #15105]
17382 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17383 libc_hidden_proto.
17384 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17385
7fc03cf3
JM
17386 [BZ #15105]
17387 [BZ #19463]
17388 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17389 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17390 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17391 (__feof_unlocked): New declaration, and inline function if
17392 [__USE_EXTERN_INLINES].
17393 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17394 instead of feof_unlocked.
17395 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17396 * nss/nsswitch.c (nss_parse_file): Likewise.
17397 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17398 Likewise.
17399 * time/getdate.c (__getdate_r): Likewise.
17400 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17401 Define as macro to call __feof_unlocked.
17402
0c8a67a5
WD
174032018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17404
17405 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17406
610ee1fc
WD
174072018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17408
17409 * math/Makefile: Remove mpexp.c and mplog.c
17410 * sysdeps/i386/fpu/mpexp.c: Delete file.
17411 * sysdeps/i386/fpu/mplog.c: Likewise.
17412 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17413 * sysdeps/ia64/fpu/mplog.c: Likewise.
17414 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17415 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17416 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17417 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17418 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17419 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17420 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17421 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17422 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17423 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17424 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17425 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17426 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17427 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17428 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17429 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17430
8e7196c8
SL
174312018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17432
17433 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17434
4f55ad0b
AZ
174352018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17436
17437 * sysdeps/sh/libm-test-ulps: Update.
17438
261a851c
TMQMF
174392018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17440
17441 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17442 idouble to 1 ULP.
17443
e16deca6
ZW
174442018-02-12 Zack Weinberg <zackw@panix.com>
17445
17446 [BZ #19239]
17447 * posix/sys/types.h: Don't include sys/sysmacros.h.
17448 * misc/sys/sysmacros.h: Remove the conditional deprecation
17449 warnings for the macros defined by this header.
17450
de800d83
SN
174512018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17452
17453 * manual/probes.texi: Remove slowexp probes.
17454 * math/Makefile: Remove slowexp.
17455 * sysdeps/generic/math_private.h (__slowexp): Remove.
17456 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17457 document error bounds.
17458 * sysdeps/i386/fpu/slowexp.c: Remove.
17459 * sysdeps/ia64/fpu/slowexp.c: Remove.
17460 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17461 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17462 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17463 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17464 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17465 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17466 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17467 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17468 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17469 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17470 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17471
c3d466cb
WD
174722018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17473
17474 [BZ #13932]
17475 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17476 * benchtests/pow-inputs: Update comment for slow path cases.
17477 * manual/probes.texi (slowpow_p10): Delete removed probe.
17478 (slowpow_p10): Likewise.
17479 * math/Makefile: Remove halfulp.c and slowpow.c.
17480 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17481 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17482 (__halfulp): Remove.
17483 (__slowpow): Remove.
17484 * sysdeps/i386/fpu/halfulp.c: Delete file.
17485 * sysdeps/i386/fpu/slowpow.c: Likewise.
17486 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17487 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17488 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17489 improve comments and add error analysis.
17490 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17491 (power1): Remove function:
17492 (log1): Remove error argument, add error analysis.
17493 (my_log2): Remove function.
17494 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17495 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17496 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17497 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17498 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17499 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17500 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17501 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17502 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17503 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17504 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17505 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17506 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17507 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17508
7bb087bd
ST
175092018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17510
17511 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17512 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17513
2fd4bbaa
DL
175142018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17515
17516 [BZ #22433]
17517 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17518 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17519 and PTRACE_SETHBPREGS.
17520
402ecba4
ZW
175212018-02-10 Zack Weinberg <zackw@panix.com>
17522
17523 [BZ #22830]
17524 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17525 correctly.
17526 * malloc/tst-malloc-stats-cancellation.c: New test case.
17527 * malloc/Makefile: Add new test case.
17528
4f5b921e
WD
175292018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17530
17531 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17532
a85b70db
JM
175332018-02-10 Joseph Myers <joseph@codesourcery.com>
17534
d8742dd8
JM
17535 * math/Makefile (libm-narrow-fns): Add add.
17536 (libm-test-funcs-narrow): Likewise.
17537 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17538 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17539 * math/gen-auto-libm-tests.c (test_functions): Add add.
17540 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17541 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17542 (NARROW_ADD_TRIVIAL): Likewise.
17543 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17544 macro.
17545 (__daddl): Likewise.
17546 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17547 dadd.
17548 (CFLAGS-nldbl-dadd.c): New variable.
17549 (CFLAGS-nldbl-fadd.c): Likewise.
17550 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17551 __nldbl_daddl.
17552 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17553 prototype.
17554 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17555 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17556 * math/auto-libm-test-in: Add tests of add.
17557 * math/auto-libm-test-out-narrow-add: New generated file.
17558 * math/libm-test-narrow-add.inc: New file.
17559 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17560 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17561 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17562 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17563 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17564 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17565 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17566 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17567 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17568 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17569 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17570 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17571 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17572 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17573 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17574 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17575 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17576 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17578 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17579 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17580 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17581 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17582 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17583 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17584 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17585 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17586 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17587 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17588 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17589 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17590 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17595 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17596 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17597 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17598 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17599 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17600 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17601 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17602 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17603 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17604 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17605
a85b70db
JM
17606 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17607 (f128-pairs): New variable.
17608 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17609 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17610 to CFLAGS.
17611 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17612 Also make tests add $(f128-loader-link) to gnulib-tests.
17613
6a1ff640
DD
176142018-02-09 DJ Delorie <dj@redhat.com>
17615
17616 [BZ #22827]
17617 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17618 64-bit ELF type for 64-bit ELF objects.
17619
bfd47587
JM
176202018-02-09 Joseph Myers <joseph@codesourcery.com>
17621
31958338
JM
17622 * math/libm-test-driver.c (snan_tests_arg): New variable.
17623 * math/libm-test-support.h (snan_tests_arg): New declaration.
17624 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17625
8e554659
JM
17626 * math/Makefile (test-type-pairs): New variable.
17627 (test-type-pairs-f64xf128-yes): Likewise.
17628 (tests): Add test-narrow-macros.
17629 (libm-test-funcs-narrow): New variable.
17630 (libm-test-c-narrow): Likewise.
17631 (generated): Add $(libm-test-c-narrow).
17632 (libm-tests-base-narrow): New variable.
17633 (libm-tests-narrow): Likewise.
17634 (libm-tests): Add $(libm-tests-narrow).
17635 (libm-tests-for-type): Handle $(libm-tests-narrow).
17636 (libm-test-c-narrow-obj): New variable.
17637 ($(libm-test-c-narrow-obj)): New rule.
17638 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17639 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17640 $(o-iterator) to set dependencies and CFLAGS.
17641 * math/gen-auto-libm-tests.c: Document use for narrowing
17642 functions.
17643 (output_for_one_input_case): Take argument NARROW.
17644 (generate_output): Likewise. Update call to
17645 output_for_one_input_case.
17646 (main): Take --narrow option. Update call to generate_output.
17647 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17648 (apply_lit): Update call to _apply_lit.
17649 (apply_arglit): New function.
17650 (parse_args): Handle "a" arguments.
17651 (parse_auto_input): Handle format names using ":".
17652 * math/README.libm-test: Document "a" parameter type.
17653 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17654 (ARG_TYPE_TRUE_MIN): Likewise.
17655 (ARG_TYPE_MAX): Likwise.
17656 (ARG_MIN_EXP): Likewise.
17657 (ARG_MAX_EXP): Likewise.
17658 (ARG_MANT_DIG): Likewise.
17659 (TEST_COND_arg_ibm128): Likewise.
17660 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17661 (TEST_COND_arg_fmt): New macro.
17662 (init_max_error): Update prototype.
17663 * math/libm-test-support.c (test_ibm128): New variable.
17664 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17665 instead of using [TEST_COND_ibm128] conditional.
17666 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17667 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17668 [TEST_NARROW] (TEST_MSG): New definition.
17669 (arg_plus_zero): New macro.
17670 (arg_minus_zero): Likewise.
17671 (arg_plus_infty): Likewise.
17672 (arg_minus_infty): Likewise.
17673 (arg_qnan_value_pl): Likewise.
17674 (arg_qnan_value): Likewise.
17675 (arg_snan_value_pl): Likewise.
17676 (arg_snan_value): Likewise.
17677 (arg_max_value): Likewise.
17678 (arg_min_value): Likewise.
17679 (arg_min_subnorm_value): Likewise.
17680 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17681 (RUN_TEST_LOOP_aa_f): New macro.
17682 (TEST_SUFF): New macro.
17683 (TEST_SUFF_STR): Likewise.
17684 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17685 (TEST_COND_any_ibm128): New macro.
17686 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17687 this_func. Update call to init_max_error.
17688 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17689 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17690 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17691 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17692 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17693 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17694 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17695 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17696 * math/test-math-vector.h (TEST_NARROW): Likewise.
17697 * math/test-arg-double.h: New file.
17698 * math/test-arg-float128.h: Likewise.
17699 * math/test-arg-float32x.h: Likewise.
17700 * math/test-arg-float64.h: Likewise.
17701 * math/test-arg-float64x.h: Likewise.
17702 * math/test-arg-ldouble.h: Likewise.
17703 * math/test-math-narrow.h: Likewise.
17704 * math/test-narrow-macros.c: Likewise.
17705 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17706 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17707 test-narrow-macros-ldbl-64.
17708 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17709
63716ab2
JM
17710 * math/bits/mathcalls-narrow.h: New file.
17711 * include/bits/mathcalls-narrow.h: Likewise.
17712 * math/math-narrow.h: Likewise.
17713 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17714 (__MATHCALL_NARROW_ARGS_2): Likewise.
17715 (__MATHCALL_NARROW_ARGS_3): Likewise.
17716 (__MATHCALL_NARROW_NORMAL): Likewise.
17717 (__MATHCALL_NARROW_REDIR): Likewise.
17718 (__MATHCALL_NARROW): Likewise.
17719 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17720 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17721 defined.
17722 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17723 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17724 (libm-narrow-fns): New variable.
17725 (libm-narrow-types-basic): Likewise.
17726 (libm-narrow-types-ldouble-yes): Likewise.
17727 (libm-narrow-types-float128-yes): Likewise.
17728 (libm-narrow-types-float128-alias-yes): Likewise.
17729 (libm-narrow-types): Likewise.
17730 (libm-routines): Add narrowing functions.
17731 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17732 (libc_feholdexcept_setroundf128): New macro.
17733 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17734 * sysdeps/ieee754/float128/float128_private.h: Include
17735 <math/math-narrow.h>.
17736 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17737 Undefine and redefine.
17738 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17739 (libm_alias_float_ldouble): Undefine and redefine.
17740 (libm_alias_double_ldouble): Likewise.
17741
bfd47587
JM
17742 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17743
3f8d9d58
WD
177442018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17745
17746 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17747 FPCR/FPSR.
17748
1f6676d7
RJ
177492018-02-09 Rical Jasan <ricaljasan@pacific.net>
17750
17751 * manual/creature.texi: Convert references to gcc.info to gcc.
17752 * manual/stdio.texi: Likewise.
17753 * manual/string.texi: Likewise.
17754
d80441dd
JM
177552018-02-07 Joseph Myers <joseph@codesourcery.com>
17756
15081be9
JM
17757 [BZ #17979]
17758 * posix/bits/types.h (__int_least8_t): New typedef.
17759 (__uint_least8_t): Likewise.
17760 (__int_least16_t): Likewise.
17761 (__uint_least16_t): Likewise.
17762 (__int_least32_t): Likewise.
17763 (__uint_least32_t): Likewise.
17764 (__int_least64_t): Likewise.
17765 (__uint_least64_t): Likewise.
17766 * sysdeps/generic/stdint.h (int_least8_t): Define using
17767 __int_least8_t.
17768 (int_least16_t): Define using __int_least16_t.
17769 (int_least32_t): Define using __int_least32_t.
17770 (int_least64_t): Define using __int_least64_t.
17771 (uint_least8_t): Define using __uint_least8_t.
17772 (uint_least16_t): Define using __uint_least16_t.
17773 (uint_least32_t): Define using __uint_least32_t.
17774 (uint_least64_t): Define using __uint_least64_t.
17775 * wcsmbs/uchar.h: Include <bits/types.h>.
17776 (char16_t): Define using __uint_least16_t conditional only on
17777 [!__USE_ISOCXX11].
17778 (char32_t): Define using __uint_least32_t conditional only on
17779 [!__USE_ISOCXX11].
17780 * wcsmbs/test-char-types.c: New file.
17781 * wcsmbs/Makefile (tests): Add test-char-types.
17782
d80441dd
JM
17783 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17784 version to 4.0.1.
17785
6c6c962a
ZW
177862018-02-07 Zack Weinberg <zackw@panix.com>
17787
63fb8f9a
ZW
17788 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17789 Delete all contents except for definitions of _G_HAVE_MMAP and
17790 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17791 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17792 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17793 change as above.
17794
17795 * libio/libio.h: Don't include bits/_G_config.h here.
17796 Include stddef.h with __need_wchar_t defined. Include
17797 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17798 Define _IO_iconv_t here, directly.
17799 Don't define _IO_HAVE_ST_BLKSIZE.
17800 * libio/libioP.h: Include _G_config.h here. Move include of
17801 shlib-compat.h up with rest of includes. Simplify conditionals
17802 controlling definition of _IO_JUMPS_OFFSET.
17803
17804 * csu/init.c: Remove always-true #if around entire file.
17805 Don't include stdio.h. Set _IO_stdin_used to hardwired
17806 constant 0x20001, and update commentary.
17807 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
17808 Replace all uses of _G_va_list with __gnuc_va_list.
17809 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
17810 instead of #if _IO_HAVE_ST_BLKSIZE.
17811 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
17812 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
17813 not #ifdef.
17814
6c6c962a
ZW
17815 * libio/bits/libio.h: Move back to libio/libio.h and adjust
17816 multiple-include guard to match.
17817 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
17818 into this file.
17819 Remove preprocessor conditionals that are always true and/or
17820 redundant to other preprocessor conditionals in the same nest.
17821 Include shlib-compat.h unconditionally.
17822 Error out if _LIBC is not defined, or if _ISOMAC is defined,
17823 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
17824 defined after including stdio.h.
17825 Use __BEGIN_DECLS/__END_DECLS.
17826
17827 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
17828 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
17829 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
17830
a4fea3f2
ZW
178312018-02-07 Zack Weinberg <zackw@panix.com>
17832
17833 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
17834 New single-type headers split from _G_config.h.
17835 * libio/bits/types/cookie_io_functions_t.h
17836 * libio/bits/types/struct_FILE.h
17837 New single-type headers split from libio.h.
17838
17839 * libio/Makefile: Install the above new headers. Don't install
17840 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
17841 bits/libio-ldbl.h.
17842 * libio/_G_config.h, libio/libio.h: Delete file.
17843
17844 * libio/bits/libio.h: Remove improper-inclusion guard.
17845 Include stdio.h and don't repeat anything that it does.
17846 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
17847 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
17848 __io_read_fn as cookie_read_function_t,
17849 __io_write_fn as cookie_write_function_t,
17850 __io_seek_fn as cookie_seek_function_t,
17851 __io_close_fn as cookie_close_function_t,
17852 and _IO_cookie_io_functions_t as cookie_io_functions_t.
17853 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
17854 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 17855 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
17856 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
17857 and _IO_ferror_unlocked.
17858 Move prototypes of __uflow and __overflow...
17859
17860 * libio/stdio.h: ...here. Don't include bits/libio.h.
17861 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 17862 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
17863 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
17864 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
17865 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
17866 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
17867 cookie_io_functions_t, not _IO_cookie_io_functions_t;
17868 __ssize_t, not _IO_ssize_t. Unconditionally define
17869 BUFSIZ as 8192 and EOF as (-1).
17870
17871 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
17872 macros from bits/types/struct_FILE.h instead of _IO_* macros
17873 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
17874 instead of _IO_ssize_t.
17875 * libio/bits/stdio2.h: Similarly.
17876
17877 * libio/iolibio.h: Add multiple-include guard.
17878 Include bits/libio.h after stdio.h.
17879 * libio/libioP.h: Add multiple-include guard.
17880 Include stdio.h and bits/libio.h before iolibio.h.
17881
6c6c962a 17882 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
17883 * include/bits/types/cookie_io_functions_t.h
17884 * include/bits/types/struct_FILE.h: New wrappers.
17885
17886 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
17887 Get definitions of _G_fpos_t and _G_fpos64_t from
17888 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
17889 respectively. Remove improper-inclusion guards.
a4fea3f2 17890
6c6c962a 17891 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 17892 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 17893 libio.h and _G_config.h.
a4fea3f2 17894
ce999220
JM
178952018-02-07 Joseph Myers <joseph@codesourcery.com>
17896
8b4a1182
JM
17897 [BZ #15105]
17898 [BZ #19463]
17899 * include/sys/sysmacros.h [!_ISOMAC]
17900 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
17901 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
17902 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
17903 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
17904 libc_hidden_proto.
17905 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
17906 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
17907 Likewise.
17908 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
17909 Undefine and redefine to add use __gnu_dev_ prefix.
17910 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
17911 Likewise.
17912 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
17913 and define as hidden inline function.
17914 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
17915 Likewise.
17916 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
17917 Likewise.
17918 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
17919 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
17920 (gnu_dev_minor): Likewise.
17921 (gnu_dev_makedev): Likewise.
17922 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
17923 makedev.
17924 * posix/wordexp.c (exec_comm_child): Likewise.
17925 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17926 instead of minor and __gnu_dev_major instead of major.
17927 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17928 __gnu_dev_major instead of major.
17929 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17930 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17931 instead of gnu_dev_minor.
17932 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17933 (SLAVE_P): Likewise.
17934 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17935 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17936 instead of major.
17937
ce999220
JM
17938 [BZ #21313]
17939 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17940 in another place.
17941 * locale/weightwc.h (findidx): Likewise.
17942
b7c83ca3
WD
179432018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17944
17945 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17946 (slowlog_inexact): Likewise
17947 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17948 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17949
388ff7bd
IG
179502018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17951
17952 [BZ #22797]
17953 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17954 missing second underscore to parameter name.
17955
663e7d78
JM
179562018-02-06 Joseph Myers <joseph@codesourcery.com>
17957
0d40d0ec
JM
17958 [BZ #14508]
17959 [BZ #15512]
17960 [BZ #17082]
17961 [BZ #20530]
17962 * bits/byteswap.h: Update file comment. Do not include
17963 <bits/byteswap-16.h>.
17964 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17965 constant.
17966 (__bswap_16): Define as inline function.
17967 (__bswap_constant_32): Reformat definition.
17968 (__bswap_32): Always define as inline function, not macro, using
17969 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17970 otherwise __bswap_constant_32.
17971 (__bswap_constant_64): Reformat definition. Do not use
17972 __extension__ here.
17973 (__bswap_64): Always define as inline function, not macro. Use
17974 __extension__ on function definition. Use __builtin_bswap64 if
17975 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17976 * string/test-endian-file-scope.c: New file.
17977 * string/test-endian-sign-conversion.c: Likewise.
17978 * string/Makefile (headers): Remove bits/byteswap-16.h.
17979 (tests): Add test-endian-file-scope and
17980 test-endian-sign-conversion.
17981 (CFLAGS-test-endian-sign-conversion.c): New variable.
17982 * bits/byteswap-16.h: Remove file.
17983 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17984 * sysdeps/ia64/bits/byteswap.h: Likewise.
17985 * sysdeps/m68k/bits/byteswap.h: Likewise.
17986 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17987 * sysdeps/s390/bits/byteswap.h: Likewise.
17988 * sysdeps/tile/bits/byteswap.h: Likewise.
17989 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17990 * sysdeps/x86/bits/byteswap.h: Likewise.
17991
383e87c9
JM
17992 [BZ #17721]
17993 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17994 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17995 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17996 199901L] (__restrict): Define to restrict.
17997
d92c2759
JM
17998 [BZ #19667]
17999 * string/testcopy.c: Include <support/support.h>. Do not include
18000 <malloc.h>. Use <support/test-driver.c>.
18001 (main): Rename to do_test. Make static. Use xmalloc instead of
18002 malloc.
18003
625fb764
JM
18004 [BZ #13575]
18005 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18006 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18007 (SSIZE_MAX): Define to INT_MAX.
18008 * posix/test-ssize-max.c: New file.
18009 * posix/Makefile (tests): Add test-ssize-max.
18010
02325d6c
JM
18011 [BZ #19668]
18012 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18013 <support/support.h>. Do not include <malloc.h>.
18014 (query_auxv): Use xmalloc instead of malloc.
18015
663e7d78
JM
18016 [BZ #14553]
18017 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18018 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18019 instead of loff_t.
18020
6b5c8607 180212018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
18022
18023 [BZ #18023]
18024 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18025 Use scratch_buffer instead of extend_alloca.
18026
de6da571
ZW
180272018-02-06 Zack Weinberg <zackw@panix.com>
18028
26c07172
ZW
18029 * libio/stdio.h: Don't define getc or putc as macros.
18030 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18031 not _IO_getc and _IO_putc.
18032
de6da571
ZW
18033 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18034 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18035
92669d6e
JM
180362018-02-06 Joseph Myers <joseph@codesourcery.com>
18037
c2b84df9
JM
18038 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18039 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18040
41376f8c
JM
18041 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18042
d28bf648
JM
18043 [BZ #14890]
18044 * elf/elf.h (NT_PRFPREG): New macro.
18045 (NT_S390_VXRS_LOW): Likewise.
18046 (NT_S390_VXRS_HIGH): Likewise.
18047 (NT_S390_GS_CB): Likewise.
18048 (NT_S390_GS_BC): Likewise.
18049 (NT_S390_RI_CB): Likewise.
18050
e76def72
JM
18051 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18052 (MAP_SYNC): New macro.
18053 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18054 Likewise.
18055 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18056 (MAP_SYNC): Likewise.
18057 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18058 (MAP_SYNC): Likewise.
18059 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18060 (MAP_SYNC): Likewise.
18061 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18062 (MAP_SYNC): Likewise.
18063 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18064 (MAP_SYNC): Likewise.
18065 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18066 (MAP_SYNC): Likewise.
18067 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18068 Likewise.
18069 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18070 Likewise.
18071
92669d6e
JM
18072 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18073 (MAP_SHARED_VALIDATE): New macro.
18074 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18075 (MAP_SHARED_VALIDATE): Likewise.
18076
6a5cac49
L
180772018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18078
18079 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18080 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18081 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18082
b44e0dfb
L
180832018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18084
18085 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18086 (DT_NUM): Updated to 35.
18087
f886c16c
L
180882018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18089
18090 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18091 __builtin_expect with __glibc_likely and __glibc_unlikely.
18092 (elf_machine_rela): Likewise.
18093 (elf_machine_lazy_rel): Likewise.
18094
06fbebff
L
180952018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18096
18097 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 18098 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
18099 (elf_machine_lazy_rel): Likewise.
18100
371b220f
L
181012018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18102
18103 [BZ #22638]
18104 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18105 SHARED.
65805016 18106 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 18107
f649a1b8
AS
181082018-02-05 Andreas Schwab <schwab@suse.de>
18109
18110 [BZ #22761]
18111 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18112 string.
18113
9fdb340e
ST
181142018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18115
18116 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18117 not check against PTHREAD_STACK_MIN.
18118
09e56b9e
SM
181192018-02-02 Sean McKean <smckean83@gmail.com>
18120
18121 [BZ #22735]
18122 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18123
d4b4a00a
FW
181242018-02-02 Florian Weimer <fweimer@redhat.com>
18125
18126 [BZ #22753]
18127 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18128 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18129 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18130 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18131 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18132 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18133 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18134 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18135 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18136 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18137 * misc/tst-preadvwritev2.c (do_test): Call it.
18138 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18139
3dfcbfa1
SP
181402018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18141
84c94d2f
SP
18142 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18143
96e6a716
SP
18144 * benchtests/bench-memcmp.c: Print json instead of plain text.
18145
3dfcbfa1
SP
18146 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18147 every test run.
18148
049375e2
JM
181492018-02-01 Joseph Myers <joseph@codesourcery.com>
18150
39f898c6
JM
18151 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18152 version to 4.15.
18153 (s390_sthyi): New syscall.
18154
6f9a3dd8
JM
18155 * sysdeps/generic/ldbl-classify-compat.h: New file.
18156 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18157 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18158 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18159 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18160 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18161 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18162 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18163 <ldbl-classify-compat.h>.
18164 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18165 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18166 <ldbl-classify-compat.h>.
18167 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18168 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18169 <ldbl-classify-compat.h>.
18170 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18171 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18172 <ldbl-classify-compat.h>.
18173 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18174 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18175 <ldbl-classify-compat.h>.
18176 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18177 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18178 <ldbl-classify-compat.h>.
18179 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18180 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18181 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18182 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18183 * sysdeps/microblaze/math_private.h: Likewise.
18184 * sysdeps/nios2/math_private.h: Likewise.
18185 * sysdeps/sh/math_private.h: Likewise.
18186
eb65a3d5
JM
18187 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18188 * sysdeps/m68k/coldfire/math_private.h: ... here.
18189 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18190 * sysdeps/tile/math_private.h: Likewise.
18191 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18192 Remove macro.
18193 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18194 Likewise.
18195
8a6bb1d0
JM
18196 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18197 Remove macro.
18198 (libc_fetestexcept): Likewise.
18199 (libc_feupdateenv_test): Likewise.
18200 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18201 (libc_fetestexcept): Likewise.
18202 (libc_feupdateenv_test): Likewise.
18203 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18204 (libc_fetestexcept): Likewise.
18205 (libc_feupdateenv_test): Likewise.
18206 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18207 (libc_fetestexcept): Likewise.
18208 (libc_feupdateenv_test): Likewise.
18209
ae1fcb7b
JM
18210 * sysdeps/generic/math_private.h
18211 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18212 New inline function.
18213 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18214 Likewise.
18215
b1c347e2
JM
18216 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18217 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18218 * sysdeps/generic/math_private.h
18219 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18220 inline function.
18221 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18222 Likewise.
18223 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18224 Likewise.
18225 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18226 Likewise.
18227 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18228 Likewise.
18229 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18230 Likewise.
18231 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18232 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18233 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18234 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18235 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18236 (__fegetenv): Likewise.
18237 (fesetenv): Likewise.
18238 (__fesetenv): Likewise.
18239 (feupdateenv): Likewise.
18240 (__feupdateenv): Likewise.
18241 (fegetround): Likewise.
18242 (__fegetround): Likewise.
18243 (fesetround): Likewise.
18244 (__fesetround): Likewise.
18245
d23a4962
JM
18246 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18247 (feraiseexcept): New macro.
18248 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18249 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18250 Remove macro.
18251 (__feraiseexcept): Likewise.
18252 (feclearexcept): Likewise.
18253 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18254 (__feraiseexcept): Likewise.
18255 (feclearexcept): Likewise.
18256 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18257 (__feraiseexcept): Likewise.
18258 (feclearexcept): Likewise.
18259 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18260 (__feraiseexcept): Likewise.
18261 (feclearexcept): Likewise.
18262 (fetestexcept): Likewise.
18263
5f167950
JM
18264 * sysdeps/m68k/coldfire/math-tests.h: New file.
18265
ccc9035a
JM
18266 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18267 * sysdeps/m68k/bits/fenv.h: ... here.
18268 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18269 not define.
18270 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18271 Likewise.
18272 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18273 Likewise.
18274 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18275 Likewise.
18276 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18277 Likewise.
18278 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18279 Define to 0.
18280 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18281 (__FE_UNDEFINED): New enum constant.
18282 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18283 Do not define.
18284 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18285 Likewise.
18286 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18287 Likewise.
18288 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18289 to match generic bits/fenv.h.
18290 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18291 Do not define.
18292
049375e2
JM
18293 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18294 packed on bits.
18295 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18296 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18297 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18298 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18299
f1d73681
CD
183002018-02-01 Carlos O'Donell <carlos@redhat.com>
18301 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18302 Joseph Myers <joseph@codesourcery.com>
18303
18304 [BZ #21314]
18305 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18306 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18307 computation using c.
18308 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18309 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18310 computation using c.
18311
242cbc90
DL
183122018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18313
086ee48e
DL
18314 * version.h (RELEASE): Set to "development".
18315 (VERSION): Set to "2.27.9000".
18316 * NEWS (2.28): New section.
18317
23158b08
DL
18318 * version.h (RELEASE): Set to "stable".
18319 (VERSION): Set to "2.27".
18320 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18321
242cbc90
DL
18322 * NEWS: Add the list of bugs fixed in 2.27.
18323
673e2305
AZ
183242018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18325
18326 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18327 against PTHREAD_STACK_MIN.
18328
ced64e01
DL
183292018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18330
18331 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18332 New entries.
18333 (Rafal Luzynski, Andreas Schwab): Update.
18334
c10c9a5e
RL
183352018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18336
18337 [BZ #10871]
18338 * NEWS: List the languages which actually use the alternative
18339 months feature in this release. Also explain that "alt_mon" and
18340 "ab_alt_mon" are optional.
18341
650ba77a
IM
183422018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18343
18344 [BZ #22765]
18345 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18346
93493119
DL
183472018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18348
18349 * manual/install.texi (Tools for Compilation): Update the newest
18350 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18351 * INSTALL: Regenerated.
18352
363e4519 183532018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
18354
18355 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18356 instead of __builtin_expect.
18357
d7536874
FW
183582018-01-30 Florian Weimer <fweimer@redhat.com>
18359
18360 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18361 data.
18362 * nss/tst-nss-getpwent.c (do_test): Likewise.
18363
9a1b267d
RL
183642018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18365
18366 [BZ #10871]
18367 * localedata/locales/hr_HR (mon): Rename to...
18368 (alt_mon): This.
18369 (mon): Import from CLDR (genitive case).
18370 (d_t_fmt): Update the comment.
18371
9a179328
AS
183722018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18373
18374 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18375 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18376 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18377
e01e0ddc
ST
183782018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18379
18380 * mach/Versions: Fix version when __mach_host_self_ was added.
18381 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18382 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18383 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18384 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18385 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18386 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18387 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18388 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18389 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18390 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18391 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18392 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
18393 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18394 || to respect codestyle.
2aadb705
ST
18395 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18396 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
18397 * malloc/malloc.c: Include <assert.h>.
18398 (assert): Do not define.
18399 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
18400 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18401 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 18402 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 18403 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 18404
521877e1
PD
184052018-01-29 Darius Rad <darius@bluespec.com>
18406
18407 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18408
532cf290
PD
184092018-01-29 Palmer Dabbelt <palmer@sifive.com>
18410
18411 * sysdeps/init_array/crti.S (.section .init_array): Add
18412 PREINIT_FUNCTION when defined.
40ca951b 18413 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 18414 * config.h.in: Regenerate.
ba9e25a6
PD
18415 * manual/platform.texi: Add RISC-V documenation for
18416 __riscv_flush_icache.
c776fa11
PD
18417 * sysdeps/riscv/__longjmp.S: New file.
18418 * sysdeps/riscv/backtrace.c: Likewise.
18419 * sysdeps/riscv/bits/endian.h: Likewise.
18420 * sysdeps/riscv/bits/setjmp.h: Likewise.
18421 * sysdeps/riscv/bits/wordsize.h: Likewise.
18422 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18423 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18424 * sysdeps/riscv/dl-trampoline.S: Likewise.
18425 * sysdeps/riscv/gccframe.h: Likewise.
18426 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18427 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18428 * sysdeps/riscv/machine-gmon.h: Likewise.
18429 * sysdeps/riscv/memusage.h: Likewise.
18430 * sysdeps/riscv/setjmp.S: Likewise.
18431 * sysdeps/riscv/sys/asm.h: Likewise.
18432 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
18433 * sysdeps/riscv/dl-tls.h: New file.
18434 * sysdeps/riscv/libc-tls.c: Likewise.
18435 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18436 * sysdeps/riscv/nptl/tls.h: Likewise.
18437 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
18438 * sysdeps/riscv/bits/fenv.h: New file.
18439 * sysdeps/riscv/e_sqrtl.c: Likewise.
18440 * sysdeps/riscv/fpu_control.h: Likewise.
18441 * sysdeps/riscv/math-tests.h: Likewise.
18442 * sysdeps/riscv/nofpu/Implies: Likewise.
18443 * sysdeps/riscv/sfp-machine.h: Likewise.
18444 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
18445 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18446 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18447 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18448 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18449 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18450 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18451 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18452 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18453 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18454 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18455 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18456 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18457 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18458 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18459 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18460 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18461 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18462 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18463 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18464 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18465 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18466 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18467 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18468 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18469 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18470 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18471 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18472 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18473 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18474 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18475 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18476 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18477 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18478 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18479 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18480 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18481 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18482 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18483 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18484 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18485 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18486 * sysdeps/riscv/rvf/math_private.h: Likewise.
18487 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18488 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18489 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18490 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18491 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18492 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18493 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18494 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18495 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18496 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18497 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18498 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18499 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18500 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18501 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18502 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
18503 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18504 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18505 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18506 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
18507 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18508 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18509 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18510 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18511 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18512 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18513 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18514 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18515 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
18516 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18517 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18518 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18519 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18520 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18521 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18522 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18523 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18524 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18525 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18526 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18527 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18528 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18529 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18530 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18531 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18532 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18533 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18534 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18535 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18536 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18537 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
18538 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18539 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18540 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
18541 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18542 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18543 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18544 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18545 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18546 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18547 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18548 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18549 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18550 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18551 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18552 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18553 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18554 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
18555 * sysdeps/riscv/Implies: New file.
18556 * sysdeps/riscv/Makefile: Likewise.
18557 * sysdeps/riscv/configure: Likewise.
18558 * sysdeps/riscv/configure.ac: Likewise.
18559 * sysdeps/riscv/nptl/Makefile: Likewise.
18560 * sysdeps/riscv/preconfigure: Likewise.
18561 * sysdeps/riscv/rv64/Implies-after: Likewise.
18562 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18563 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18564 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18565 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18566 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18567 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18568 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18569 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18570 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18571 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18572 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
18573 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18574 (Config): Likewise.
532cf290 18575
cdd14619
FW
185762018-01-29 Florian Weimer <fweimer@redhat.com>
18577
18578 [BZ #22701]
18579 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18580 libnsl_hidden_proto.
18581 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18582 libnsl_hidden_proto.
18583 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18584 * nis/Makefile (libnsl-routines): Add nss-default only for
18585 build-obsolete-nsl.
18586 * nis/nis_defaults.c (__nis_default_ttl): Add
18587 libnsl_hidden_nolink_def.
18588 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18589 declaration.
18590 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18591 * nis/ypclnt.c (yp_maplist): Likewise.
18592
b7ccb5de
RN
185932018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18594
18595 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18596 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18597
522623e4
JM
185982018-01-29 Joseph Myers <joseph@codesourcery.com>
18599
e3aa6999
JM
18600 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18601 clean -dxfq for git updates when replacing sources.
18602
088de7d0
JM
18603 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18604 --disable-libcilkrts unconditionally, not just for the final GCC
18605 build for Hurd.
18606
522623e4
JM
18607 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18608 version to 4.15.
18609
8b406f87
RL
186102018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18611
18612 [BZ #10871]
18613 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18614 case).
18615
105e90bd
RL
186162018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18617
18618 [BZ #10871]
18619 * localedata/locales/be_BY (mon): Rename to...
18620 (alt_mon): This, then synchronize with CLDR (nominative case).
18621 (abmon): Rename to...
18622 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18623 (mon): Import from CLDR (genitive case).
18624 (abmon): Likewise.
18625 * localedata/locales/be_BY@latin (mon): Rename to...
18626 (alt_mon): This.
18627 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18628
18629 * localedata/locales/be_BY@latin (lang_name): Reworded to
18630 "biełaruskaja mova".
18631
561cb414
RL
186322018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18633
18634 [BZ #10871]
18635 * localedata/locales/el_CY (mon): Renamed to...
18636 (alt_mon): This.
18637 (mon): Import from CLDR (genitive case).
18638 * localedata/locales/el_GR: Likewise.
18639
f7bdf30d
RL
186402018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18641
18642 [BZ #10871]
18643 * localedata/locales/ru_RU (mon): Rename to...
18644 (alt_mon): This.
18645 (abmon): Rename to...
18646 (ab_alt_mon): This.
18647 (mon): Import from CLDR (genitive case).
18648 (abmon): Copy from the old content except the 5th month which is
18649 now in the genitive case, even when abbreviated.
18650 * localedata/locales/ru_UA: Likewise.
18651 * time/tst-strptime.c (day_tests): Add an actual example of
18652 a difference between %b and %Ob in Russian.
18653
85285a0c
ST
186542018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18655
18656 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
18657 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18658 a `c' variable.
3538a4b6 18659 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
18660 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18661 <sys/wait.h>, <time.h>, <sys/uio.h>.
18662 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 18663 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
18664 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18665 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18666 return 0.
05ebfe87
ST
18667 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18668 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
18669 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18670 instead of void *.
18671 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18672 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
18673 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18674 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
18675 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18676 and make them the default for now.
903d3633
ST
18677 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18678 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
18679 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18680 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18681 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18682 MACH_IPC_COMPAT.
06fac9f5
ST
18683 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18684 __task_terminate would ever return successfully.
f8177753
ST
18685 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18686 to global scope.
41cdb1eb
ST
18687 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18688 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
18689 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18690 critical section to make code simpler and avoid warning.
18691 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18692 critical section to make code simpler and avoid warning.
844bf921
ST
18693 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18694 const char * instead of char *.
f8bee46c
ST
18695 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18696 __hurd_file_name_split, hurd_file_name_split,
18697 __hurd_directory_name_split, hurd_directory_name_split,
18698 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18699 hurd_file_name_path_lookup): Make lookup function parameter take a
18700 const char *name instead of char *name.
18701 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18702 __hurd_directory_name_split): Likewise.
18703 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18704 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
18705 * sysdeps/mach/hurd/check_native.c: New file.
18706 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
18707 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18708 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
18709 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18710 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
18711 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18712 (do_test_bz20181): Rename accordingly.
18713 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
18714 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18715 <sys/mount.h>.
28f6186f
ST
18716 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18717 version only if __USE_EXTERN_INLINES is defined.
18718 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18719 __hurd_sockfail): Likewise.
18720 (_hurd_fd_get): Always declare functions, and provide inline versions
18721 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18722 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18723 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18724 _hurd_port_set): Always declare functions, and provide inline versions
18725 only if __USE_EXTERN_INLINES and _LIBC are defined and
18726 IS_IN(libc).
18727 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18728 _hurd_critical_section_unlock): Likewise.
18729 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18730 * __hurd_threadvar_location): Likewise.
18731 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18732 _hurd_userlink_clear): Likewise.
18733 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18734 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18735 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18736 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18737 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18738 __spin_lock_locked): Likewise.
18739 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18740 __spin_lock_locked): Likewise.
18741 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18742 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18743 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18744 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18745 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
18746 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18747 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
18748 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18749 check size against PTHREAD_STACK_MIN.
625ba81e
ST
18750 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18751 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
18752 * mach/Makefile (user-interfaces): Add mach/gnumach.
18753 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18754 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
18755 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18756 instead of invalid -1.
1f89ac71
ST
18757 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18758 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18759 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18760 <net/ppp_defs.h>.
85285a0c 18761
1fd1e27c 187622018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
18763
18764 * hurd/fcntl-internal.h: New file.
18765
3854c5a8
JC
187662018-01-27 James Clarke <jrtc27@jrtc27.com>
18767
7e23a7dd
JC
18768 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18769
3854c5a8
JC
18770 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18771
5503f413
AS
187722018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18773
18774 [BZ #22701]
18775 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18776 Build only shared objects.
18777
caaf7804
CD
187782018-01-26 Carlos O'Donell <carlos@redhat.com>
18779
18780 * README: Update for hppa.
18781
1cbf818d
PM
187822018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18783
caaf7804
CD
18784 * sysdeps/sparc/fpu/libm-test-ulps: Update
18785 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 18786
caaf7804 187872018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
18788
18789 Revert:
18790
18791 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18792
18793 [BZ #22563]
18794 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18795 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18796 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18797 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18798 to feature_1.
18799
18800 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18801
18802 [BZ #22563]
18803 * bits/types/__cancel_jmp_buf_tag.h: New file.
18804 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18805 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18806 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18807 * nptl/Makefile (headers): Add
18808 bits/types/__cancel_jmp_buf_tag.h.
18809 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18810 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18811 * sysdeps/nptl/pthread.h: Include
18812 <bits/types/__cancel_jmp_buf_tag.h>.
18813 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18814 __cancel_jmp_buf.
18815 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18816
65f6c94e
RL
188172018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
18818
18819 [BZ #10871]
18820 * localedata/locales/uk_UA (mon): Renamed to...
18821 (alt_mon): This.
18822 (alt_digits): "0" removed and then renamed to...
18823 (mon): This.
18824 (date_fmt): Definition changed not to use the alternative
18825 digits hack.
18826
fb58aac5
PD
188272018-01-25 Palmer Dabbelt <palmer@sifive.com>
18828
18829 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
18830 FLAG_RISCV_FLOAT_ABI_DOUBLE.
18831 * elf/elf.h (EF_RISCV_RVC): New define.
18832 (EF_RISCV_FLOAT_ABI): Likewise.
18833 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
18834 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
18835 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18836 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
18837 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
18838 define.
18839 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18840
128c43a2
AS
188412018-01-25 Andreas Schwab <schwab@suse.de>
18842
18843 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
18844 single quotes.
18845 * sysdeps/gnu/configure: Regenerate.
18846 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18847 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18849 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18850 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18851 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
18852 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18853 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18854
f9015003
ST
188552018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18856
48130690 18857 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 18858 URL, and run autoconf, make it the default for now.
f9015003 18859
91b2cffa
JM
188602018-01-24 Joseph Myers <joseph@codesourcery.com>
18861
3005b705
JM
18862 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18863 soft-float ColdFire configuration.
18864
69231fab
JM
18865 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
18866 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
18867 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
18868
d4c7e1d0
JM
18869 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
18870 MicroBlaze file.
18871
0cfe5be5
JM
18872 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
18873 ....
18874 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
18875 ... here.
18876 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
18877 New file.
18878
91b2cffa
JM
18879 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
18880 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
18881 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
18882 file.
18883
c739e191
SN
188842018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18885
18886 [BZ #22742]
18887 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
18888 Rename to __reserved and add comment.
18889 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
18890 Rename to __reserved.
18891
394b5bac
JM
188922018-01-24 Joseph Myers <joseph@codesourcery.com>
18893
18894 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18895 i686-gnu configurations.
18896 (Context.run_builds): Include mig, gnumach and hurd in components
18897 considered.
18898 (Context.checkout): Add mig, gnumach and hurd to components.
18899 (Context.checkout_tar): Add URL mappings for mig, gnumach and
18900 hurd.
18901 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
18902 (Config.build): Install gnumach headers, build mig and install
18903 hurd headers for 'gnu' OS.
18904 (Config.install_gnumach_headers): New function.
18905 (Config.install_hurd_headers): Likewise.
18906 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
18907 when building for 'gnu' OS.
18908
28c3f14f
TK
189092018-01-23 Tobias Klauser <tklauser@distanz.ch>
18910
18911 * manual/tunables.texi (Hardware Capability Tunables): Fix
18912 spelling.
18913
0f5e2da1
RJ
189142018-01-22 Rical Jasan <ricaljasan@pacific.net>
18915
18916 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
18917 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
18918 (ALTMON_11, ALTMON_12): Improve documentation.
18919 * manual/time.texi (strftime): Likewise.
18920
7817b14a
RL
189212018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18922
18923 [BZ #10871]
18924 * localedata/locales/pl_PL: Alternative month names added,
18925 primary month names are genitive now.
18926 * time/tst-strptime.c (day_tests): Actually use a genitive case
18927 of a month name in Polish language.
18928
22390764
RL
189292018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18930
18931 [BZ #10871]
18932 * manual/locale.texi: Document ALTMON_1..12 constants for
18933 nl_langinfo. Specify when to use ALTMON instead of MON.
18934 * manual/time.texi (strftime, strptime): Document GNU extension
18935 permitting O modifier with %B and %b. Specify when to use
18936 %OB instead of %B.
18937
761a585c
RL
189382018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18939
18940 [BZ #10871]
18941 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18942 names, define them as the same as abbreviated month names explicitly.
18943 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18944 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18945 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18946 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18947 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18948 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18949 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18950 _NL_WABALTMON_12): New enum constants.
18951 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18952 wab_alt_mon, and ab_alt_mon_defined members.
18953 (time_output): Output ab_alt_mon and wab_alt_mon members.
18954 (time_read): Read them, initialize them as copies of abmon and wabmon
18955 respectively if they are missing, initialize ab_alt_mon_defined.
18956 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18957 * locale/programs/locfile-kw.h: Regenerate.
18958 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18959 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18960 and ru_RU.UTF-8.
18961 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18962 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18963 (__strftime_internal): Handle %Ob and %Oh formats.
18964 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18965 (__strptime_internal): Handle %Ob and %Oh formats.
18966 * time/tst-strptime.c (day_tests): Add more tests to parse different
18967 forms of month names including the new %Ob format specifier.
18968
95cb863a
RL
189692018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18970
18971 [BZ #10871]
18972 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18973 define them as the same as primary full month names explicitly.
18974 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18975 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18976 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18977 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18978 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18979 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18980 _NL_WALTMON_12): New enum constants.
18981 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18982 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18983 macros.
18984 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18985 walt_mon, and alt_mon_defined members.
18986 (time_output): Output alt_mon and walt_mon members.
18987 (time_read): Read them, initialize them as copies of mon and wmon
18988 respectively if they are missing, initialize alt_mon_defined.
18989 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18990 * locale/programs/locfile-kw.h: Regenerate.
18991 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18992 * localedata/tst-langinfo.c (map): Add tests for the new constants
18993 ALTMON_1 .. ALTMON_12.
18994 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18995 and pl_PL.UTF-8.
18996 * time/strftime_l.c (f_altmonth): New macro.
18997 (__strftime_internal): Handle %OB format.
18998 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18999 (__strptime_internal): Handle %OB format.
19000 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19001 of month names including the new %OB format specifier.
19002
4612268a
TMQMF
190032018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19004
19005 [BZ #22685]
19006 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19007 from ABORT_TRANSACTION.
19008 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19009 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19010 ABORT_TRANSACTION_IMPL): Likewise.
19011 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19012 Linux code, but remove the code that aborts transactions.
19013
64f63cb4
ST
190142018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19015
19016 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19017
32ac6e92
RL
190182018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19019
19020 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19021 in date: "2004-14-09" should be "2004-09-14".
19022 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19023 "2003-15-09" should be "2003-09-15".
19024
8e448310
AS
190252018-01-18 Arjun Shankar <arjun@redhat.com>
19026
19027 [BZ #22343]
71aa429b 19028 [BZ #22774]
4590634f 19029 CVE-2018-6485
71aa429b 19030 CVE-2018-6551
8e448310
AS
19031 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19032 after padding.
19033 (_int_memalign): check for integer overflow before calling
19034 _int_malloc.
19035 * malloc/tst-malloc-too-large.c: New test.
19036 * malloc/Makefile: Add tst-malloc-too-large.
19037
e234d7cb
RL
190382018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19039
19040 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19041 in date: "2017-24-07" should be "2017-07-24".
19042 * localedata/locales/mai_IN: Likewise.
19043 * localedata/locales/mai_NP: Likewise.
19044
48b66019
DL
190452018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19046
19047 * po/ru.po: Update translations.
19048
1eeddc58
JM
190492018-01-17 Joseph Myers <joseph@codesourcery.com>
19050
19051 [BZ #22719]
19052 * sysdeps/hppa/backtrace.c: New file.
19053
207a72e2
L
190542018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19055
19056 [BZ #22715]
19057 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19058 align La_x86_64_retval to VEC_SIZE.
19059
4942c4ea
JM
190602018-01-16 Joseph Myers <joseph@codesourcery.com>
19061
19062 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19063 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19064
10d200db
FW
190652018-01-16 Florian Weimer <fweimer@redhat.com>
19066
19067 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19068 Move tst-thread-exit-clobber ...
19069 [$(CXX)] (tests-unsupported): ... to here.
19070
953c49cc
SN
190712018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19072
19073 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19074 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19075 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19076 (_dl_aarch64_cap_flags): Update.
19077 (_DL_HWCAP_COUNT): Update.
19078
afce1991
SN
190792018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19080
19081 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19082 (_DL_HWCAP_LAST): Remove.
19083 (_DL_HWCAP_COUNT): Move to ...
19084 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19085 (_DL_HWCAP_COUNT): ... here.
19086
b725132d
FW
190872018-01-16 Florian Weimer <fweimer@redhat.com>
19088
19089 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19090 mode with GNU extensions.
19091
c9e613a7
AH
190922018-01-15 Alan Hayward <alan.hayward@arm.com>
19093
19094 * elf/elf.h (NT_ARM_SVE): Define.
19095
860b0240
FW
190962018-01-15 Florian Weimer <fweimer@redhat.com>
19097
19098 [BZ #22636]
19099 * nptl/tst-minstack-throw.cc: New file.
19100 * nptl/Makefile (tests): Add tst-minstack-throw.
19101 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19102 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19103
16d0f6ac
JM
191042018-01-15 Joseph Myers <joseph@codesourcery.com>
19105
19106 * scripts/build-many-glibcs.py (Context.checkout): Default
19107 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19108 version to 1.1.0.
19109
505d3910
CD
191102018-01-13 Carlos O'Donell <carlos@redhat.com>
19111
19112 [BZ #22707]
19113 * elf/elf.h (DF_1_STUB): Define.
19114 (DF_1_PIE): Define.
19115
af1e6be4
TMQMF
191162018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19117
19118 [BZ #22697]
19119 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19120 Do not add 0.5 to integer or out-of-range arguments.
19121
98d13ce0
DL
191222018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19123
19124 * po/bg.po: Update translations.
19125 * po/cs.po: Likewise.
19126 * po/de.po: Likewise.
19127 * po/ko.po: Likewise.
19128 * po/pl.po: Likewise.
19129 * po/sv.po: Likewise.
19130 * po/uk.po: Likewise.
19131 * po/vi.po: Likewise.
19132
3d1d7928
SN
191332018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19134
19135 * aarch64/start.S (_start): Use __wrap_main.
19136 (__wrap_main): New local symbol.
19137
52a713fd
DL
191382018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19139
19140 [BZ #22679]
19141 CVE-2018-1000001
19142 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19143 generic_getcwd if the path returned by getcwd syscall is not absolute.
19144 * io/tst-getcwd-abspath.c: New test.
19145 * io/Makefile (tests): Add tst-getcwd-abspath.
19146
249a5895
IK
191472018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19148
19149 * malloc/malloc.c (malloc_consolidate): Add size check.
19150
1a51e46e
FW
191512018-01-12 Florian Weimer <fweimer@redhat.com>
19152
19153 * support/write_message.c (write_message): Preserve errno.
19154 * support/check.c (print_failure): Likewise.
19155 * support/support_test_verify_impl.c (support_test_verify_impl):
19156 Likewise.
19157 * support/support_test_compare_failure.c
19158 (support_test_compare_failure): Likewise.
19159
9a08a366
FW
191602018-01-12 Florian Weimer <fweimer@redhat.com>
19161
19162 [BZ #22701]
19163 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19164 Prevent installation of libnsl.so.
19165 (libnsl-inhibit-o): Do not build (or install) static libraries.
19166
80647883 191672018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
19168
19169 [BZ #22657]
19170 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19171 before the day number which may produce a double space.
19172 (date_fmt): Likewise.
19173
c8924f1f
JM
191742018-01-12 Joseph Myers <joseph@codesourcery.com>
19175
19176 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19177 instead of fegetenv.
19178
da09e6fa
JM
191792018-01-11 Joseph Myers <joseph@codesourcery.com>
19180
19181 [BZ #22702]
19182 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19183 comment to say exceptions are discarded.
19184 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19185 __fegetenv.
19186 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19187 be enabled.
19188
08c6e952
FW
191892018-01-11 Florian Weimer <fweimer@redhat.com>
19190
19191 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19192 and error message.
19193
d8b77890
FW
191942018-01-11 Florian Weimer <fweimer@redhat.com>
19195
19196 [BZ #22636]
19197 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19198 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19199
b303185d
JM
192002018-01-10 Joseph Myers <joseph@codesourcery.com>
19201
19202 [BZ #22693]
19203 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19204 negative arguments in test for NaN or infinity argument.
19205
ee61d028
DL
192062018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19207
19208 * po/libc.pot: Regenerate.
19209
f993b875
FW
192102018-01-10 Florian Weimer <fweimer@redhat.com>
19211
19212 [BZ #22636]
19213 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19214 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19215
09085ede
ST
192162018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19217
19218 * hurd/hurd/fd.h: Include <fcntl.h>
19219 (__hurd_at_flags): New function.
19220 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19221 with call to __hurd_at_flags.
19222 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19223 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19224 __faccessat
19225 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19226 (__access_noerrno): Use __faccessat_common instead of access_common.
19227 (__access): Likewise.
19228 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19229 with a call to __faccessat.
19230 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19231 (__faccessat_common): ... this. Move implementation of __access into it when
19232 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19233 reauthenticate_cwdir_at helper to implement AT mechanism.
19234 (__faccessat_noerrno): New function, just calls __faccessat_common.
19235 (__faccessat): New function, just calls __faccessat_common.
19236 (faccessat): Define weak alias.
19237
12727488
JM
192382018-01-10 Joseph Myers <joseph@codesourcery.com>
19239
87faac55
JM
19240 [BZ #22691]
19241 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19242 (CFLAGS-s_fmaxmagl.c): New variable.
19243 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19244
12727488
JM
19245 [BZ #22690]
19246 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19247 long int for arguments of possibly overflowing addition or
19248 subtraction.
19249 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19250
e134ca17
JM
192512018-01-09 Joseph Myers <joseph@codesourcery.com>
19252
b2584ac2
JM
19253 [BZ #22688]
19254 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19255 (CFLAGS-e_remainderl.c): New variable.
19256
e134ca17
JM
19257 [BZ #22687]
19258 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19259 variable.
19260 (CFLAGS-s_cacoshl.c): Likewise.
19261 (CFLAGS-s_casinhl.c): Likewise.
19262 (CFLAGS-s_catanl.c): Likewise.
19263 (CFLAGS-s_catanhl.c): Likewise.
19264 (CFLAGS-s_cexpl.c): Likewise.
19265 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19266 (CFLAGS-s_csinhl.c): Likewise.
19267 (CFLAGS-s_clogl.c): Likewise.
19268 (CFLAGS-s_clog10l.c): Likewise.
19269 (CFLAGS-s_csinl.c): Likewise.
19270 (CFLAGS-s_csqrtl.c): Likewise.
19271
d31a4a48
ST
192722017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
192732017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
19274
19275 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19276 (_hurd_exec_paths): New function.
19277 * hurd/hurd.h (_hurd_exec): Deprecate function.
19278 (_hurd_exec_paths): Declare function.
19279 * hurd/Versions: Export _hurd_exec_paths.
19280 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19281 (__execve): Use __getcwd to build absolute path, and use
19282 _hurd_exec_paths instead of _hurd_exec.
19283 * sysdeps/mach/hurd/spawni.c: Likewise.
19284 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19285 _hurd_exec.
19286
d7ff3f11
DL
192872018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19288
19289 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19290 test instead of failing in case of ENOENT returned by posix_openpt.
19291
401311cf
FW
192922018-01-08 Florian Weimer <fweimer@redhat.com>
19293
19294 resolv: Support binary labels in test framework.
19295 * support/resolv_test.c (struct to_be_freed): Remove.
19296 (struct compressed_name): New.
19297 (allocate_compressed_name, ascii_tolower)
19298 (compare_compressed_name): New functions.
19299 (struct resolv_response_builder): Update type of
19300 compression_offsets for use with tsearch. Rempve to_be_freed.
19301 (response_push_pointer_to_free): Remove function.
19302 (resolv_response_add_name): Rewrite using struct compressed_name
19303 and tsearch instead of hsearch_r.
19304 (response_builder_allocate): Remove initialization of
19305 compression_offsets.
19306 (response_builder_free): Update for removal of to_be_freed. Use
19307 tdestroy instead of hdestroy_r.
19308 * resolv/Makefile (tests): Add tst-resolv-binary.
19309 (tst-resolv-binary): Link with -lresolv -lpthread.
19310
2b3aa446
FW
193112018-01-08 Florian Weimer <fweimer@redhat.com>
19312
19313 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19314 time. Pass positive flag instead of negative flag to
19315 support_test_compare_failure.
19316 (support_test_compare_failure): Change negative parameter to
19317 positive.
19318 * support/support_test_compare_failure.c (report)
19319 (support_test_compare_failure): Likewise.
19320 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19321 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19322
630f4cc3
SN
193232018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19324
19325 [BZ #22637]
19326 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19327 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19328 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19329 stacksize.
19330 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19331
c70e4e9c
L
193322018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19333
19334 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19335 Add s_sincosf-sse2 and s_sincosf-fma.
19336 (CFLAGS-s_sincosf-fma.c): New.
19337 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19338 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19339 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19340 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19341 __sincosf is defined.
19342
579396ee
FW
193432018-01-08 Florian Weimer <fweimer@redhat.com>
19344
19345 * nptl/tst-thread-exit-clobber.cc: New file.
19346 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19347 C++11 mode.
19348 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19349 (tests): Add tst-thread-exit-clobber.
19350 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19351
dabd75b6
FW
193522018-01-08 Florian Weimer <fweimer@redhat.com>
19353
19354 * support/check.h (support_static_assert): Define.
19355 (TEST_COMPARE): Use it.
19356
c2e014cc
AJ
193572018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19358
19359 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19360 [!__RLIM_T_MATCHES_RLIM64_T]
19361 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19362 __getrlimit64. Add libc_hidden_weak.
19363
31a98837
PD
193642018-01-06 Palmer Dabbelt <palmer@sifive.com>
19365
19366 * elf/elf.h (R_RISCV_NONE): New define.
19367 (R_RISCV_32): Likewise.
19368 (R_RISCV_64): Likewise.
19369 (R_RISCV_RELATIVE): Likewise.
19370 (R_RISCV_COPY): Likewise.
19371 (R_RISCV_JUMP_SLOT): Likewise.
19372 (R_RISCV_TLS_DTPMOD32): Likewise.
19373 (R_RISCV_TLS_DTPMOD64): Likewise.
19374 (R_RISCV_TLS_DTPREL32): Likewise.
19375 (R_RISCV_TLS_DTPREL64): Likewise.
19376 (R_RISCV_TLS_TPREL32): Likewise.
19377 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
19378 * Makerules (make-link-multidir): Make directories before linking into
19379 them.
150bbac1
PD
19380 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19381 define.
19382 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
19383 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19384 in subdirectories of lib.
8e13c51b
PD
19385 * nptl/Makefile (/librt.so): Always depend on
19386 "$(shared-thread-library)".
31a98837 19387
fad7d57e
ST
193882018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19389
19390 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
19391 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19392 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19393 (___tls_get_addr).
19394 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
19395 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19396 "-O2 -march=i686".
01c7e549 19397 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
19398 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19399 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19400 * sysdeps/gnu/glob-lstat-compat.c: New file.
19401 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 19402 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 19403
3a32b716
TMQMF
194042018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19405
19406 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19407 Reserve 16 chars to reloc_addr before calling _itoa_word.
19408
24731685
AJ
194092018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19410
19411 [BZ #22678]
19412 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19413 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19414
19be56d8
AJ
19415 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19416 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19417
a6d0afb5
AJ
19418 * resource/tst-getrlimit.c: Add copyright header.
19419
8e900969
AJ
194202018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19421 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19422
19423 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19424 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19425 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19426 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19427 instead.
19428 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19429 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19430 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19431 RLIM64_INFINITY): Fix values to match the kernel ones.
19432 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19433 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19434 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19435 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19436 getrlimit64@@GLIBC_2_27.
19437 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19438 and setrlimit64.
19439 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19440 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19441 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19442 setrlimit, getrlimit64 and setrlimit64.
19443
0d0bc784
AJ
194442018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19445
19446 [BZ #22648]
19447 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19448 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19449
ba374b6d
JM
194502018-01-04 Joseph Myers <joseph@codesourcery.com>
19451
19452 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19453 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19454 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19455
4854ddd8
AZ
194562018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19457
b0a4eca2
AZ
19458 [BZ #15479]
19459 [BZ #22666]
19460 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19461 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19462
4854ddd8
AZ
19463 [BZ #15479]
19464 [BZ #22665]
19465 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19466 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19467 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19468 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19469
8a5df95f
FW
194702018-01-04 Florian Weimer <fweimer@redhat.com>
19471
19472 [BZ #22667]
19473 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19474 Align the stack before calling exit.
19475 * stdlib/tst-makecontext-align.c: New file.
19476 * stdlib/Makefile (tests): Add tst-makecontext-align.
19477
82eef55f
FW
194782018-01-04 Florian Weimer <fweimer@redhat.com>
19479
19480 Add support for calling dlvsym from libc.so.
19481 * include/dlfcn.h (__libc_dlvsym): Declare.
19482 * elf/Makefile (tests-static-internal): Add
19483 tst-libc_dlvsym-static.
19484 (tests-internal): Add tst-libc_dlvsym.
19485 (modules-names): Add tst-libc_dlvsym-dso.
19486 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19487 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19488 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19489 object tst-libc_dlvsym-dso.so needs to be built before running
19490 these tests.
19491 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19492 * elf/Versions: Export __libc_dlvsym.
19493 * elf/dl-libc.c (struct do_dlvsym_args): New.
19494 (do_dlvsym, __libc_dlvsym): New functions.
19495 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19496 (_dl_open_hook2): New variable.
19497 (__libc_register_dl_open_hook): Set it.
19498 * elf/tst-libc_dlvsym-dso.c: New file.
19499 * elf/tst-libc_dlvsym-static.c: Likewise.
19500 * elf/tst-libc_dlvsym.c: Likewise.
19501 * elf/tst-libc_dlvsym.h: Likewise.
19502
1714fc06
ST
195032018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19504
19505 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19506 include <sys/mount.h>.
19507
3c7d0312
WD
195082018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19509
19510 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19511 Add __NO_MATH_ERRNO__ check.
19512
7eff0954
JM
195132018-01-02 Joseph Myers <joseph@codesourcery.com>
19514
19515 * sysdeps/mips/mips32/libm-test-ulps: Update.
19516 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19517
77f49956
FW
195182018-01-02 Florian Weimer <fweimer@redhat.com>
19519
19520 * misc/tst-pselect.c: Add copyright header.
19521
363e4519 195222018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
19523
19524 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19525 comment.
19526 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19527 comment.
19528 (settrlimit): Rename into setrlimit.
19529 (__sttrlimit): Rename into __setrlimit.
19530
3e4226ff
AJ
19531 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19532 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19533 never defined in that case.
19534
b9256ab6
JM
195352018-01-02 Joseph Myers <joseph@codesourcery.com>
19536
28fd6a44
JM
19537 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19538
a4933a15
JM
19539 * sysdeps/arm/libm-test-ulps: Update.
19540
b9256ab6
JM
19541 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19542 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19543
4cf82d23
RS
195442018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19545
19546 * NEWS: Add cosf and sincosf to list of optimized functions.
19547
6a9dd7a7
AJ
195482018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19549
19550 [BZ #22660]
19551 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19552 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19553 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19554 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19555
dbba87d5
DL
195562018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19557
b05cb613
DL
19558 [BZ #22433]
19559 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19560
dbba87d5
DL
19561 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19562 making a copy of it.
19563
688903eb
JM
195642018-01-01 Joseph Myers <joseph@codesourcery.com>
19565
66ac23de
JM
19566 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19567 trailing whitespace removed.
19568 * scripts/config.guess: Update to version 2018-01-01.
19569 * scripts/config.sub: Update to version 2018-01-01.
19570 * scripts/move-if-change: Update from gnulib.
19571
09533208
JM
19572 * NEWS: Update copyright dates.
19573 * catgets/gencat.c (print_version): Likewise.
19574 * csu/version.c (banner): Likewise.
19575 * debug/catchsegv.sh: Likewise.
19576 * debug/pcprofiledump.c (print_version): Likewise.
19577 * debug/xtrace.sh (do_version): Likewise.
19578 * elf/ldconfig.c (print_version): Likewise.
19579 * elf/ldd.bash.in: Likewise.
19580 * elf/pldd.c (print_version): Likewise.
19581 * elf/sotruss.sh: Likewise.
19582 * elf/sprof.c (print_version): Likewise.
19583 * iconv/iconv_prog.c (print_version): Likewise.
19584 * iconv/iconvconfig.c (print_version): Likewise.
19585 * locale/programs/locale.c (print_version): Likewise.
19586 * locale/programs/localedef.c (print_version): Likewise.
19587 * login/programs/pt_chown.c (print_version): Likewise.
19588 * malloc/memusage.sh (do_version): Likewise.
19589 * malloc/memusagestat.c (print_version): Likewise.
19590 * malloc/mtrace.pl: Likewise.
19591 * manual/libc.texinfo: Likewise.
19592 * nptl/version.c (banner): Likewise.
19593 * nscd/nscd.c (print_version): Likewise.
19594 * nss/getent.c (print_version): Likewise.
19595 * nss/makedb.c (print_version): Likewise.
19596 * posix/getconf.c (main): Likewise.
19597 * scripts/test-installation.pl: Likewise.
19598 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19599
688903eb
JM
19600 * All files with FSF copyright notices: Update copyright dates
19601 using scripts/update-copyrights.
19602 * locale/programs/charmap-kw.h: Regenerated.
19603 * locale/programs/locfile-kw.h: Likewise.
19604
4f820792
ZW
196052017-12-31 Zack Weinberg <zackw@panix.com>
19606
19607 * libio/bits/libio-ldbl.h: Correct check for improper
19608 inclusion. Add own multiple include guard.
19609
3e3c904d
AJ
196102017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19611 Dmitry V. Levin <ldv@altlinux.org>
19612
19613 [BZ #22625]
31f96325 19614 CVE-2017-16997
3e3c904d
AJ
19615 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19616 string token expansion. Check for NULL pointer or empty string possibly
19617 returned by expand_dynamic_string_token.
19618 (decompose_rpath): Check for empty path after dynamic string
19619 token expansion.
19620
7e21972b
DL
196212017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19622
c48831d0
DL
19623 [BZ #22433]
19624 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19625
ac583f50
DL
19626 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19627 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19628 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19629 and PTRACE_SYSCALL.
19630 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19631 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19632 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19633 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19634 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19635 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19636
7e21972b
DL
19637 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19638 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19639 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19640 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19642 bits/ptrace-shared.h.
19643 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19644 <bits/ptrace-shared.h>.
19645 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19646 __ptrace_peeksiginfo_flags, ptrace): Remove.
19647 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19648 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19649 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19650 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19651 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19652
72f29e3a
AJ
196532017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19654
19655 [BZ #17804]
19656 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19657 end of the loop. Improve comments.
19658
54e4efc2
AJ
196592017-12-29 Zack Weinberg <zackw@panix.com>
19660
19661 [BZ #22615]
19662 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19663 might be set on success.
19664
f8aa69be
AJ
196652017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19666
19667 [BZ #22611]
19668 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19669 is unchanged on success.
19670
97f13188
DL
196712017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19672
2bd86632
DL
19673 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19674 updated.
19675 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19676 expand_dynamic_string_token): Likewise.
19677 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19678 is_path argument.
19679
1c36e1e6
DL
19680 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19681 contains ':'.
19682
97f13188
DL
19683 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19684 is set and name contains ':', and all code depending on these checks.
19685
48a8f832
ZW
196862017-12-24 Zack Weinberg <zackw@panix.com>
19687
19688 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19689 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19690 respectively.
19691 * libio/libio.h: Rename the original version of this file to
19692 libio/bits/libio.h. Error out if not included by stdio.h or the
19693 stub libio.h.
19694 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19695 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19696 if not included by bits/libio.h or the stub _G_config.h.
19697 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19698 sysdeps/unix/sysv/linux/bits. Error out if not included by
19699 bits/libio.h or the stub _G_config.h.
19700 * libio/stdio.h: Include bits/libio.h, not libio.h.
19701 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19702 well as libio.h and _G_config.h.
19703
19704 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19705 * libio/strfile.h, stdio-common/vfscanf.c
19706 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19707 Include stdio.h, not _G_config.h nor libio.h.
19708 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19709 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19710
19711 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19712
a47ad79a
DL
197132017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19714
19715 [BZ #22347]
19716 * stdlib/getrandom.c (getrandom): Fix comment.
19717 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19718
363e4519 197192017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 19720
f5c558f3
AJ
19721 [BZ #21161]
19722 * manual/arith.texi (strtoul): Fix a typo.
19723
e65a5644
AJ
19724 [BZ #22596]
19725 * manual/arith.texi (finite): Fix the description of the return
19726 value.
19727
ed8ae46b
EB
197282017-12-22 Eric Blake <ebb9@byu.net>
19729
19730 Avoid gcc warnings on cygwin
19731 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19732 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19733 Avoid unused variable.
19734
bad7a0c8
FW
197352017-12-22 Florian Weimer <fweimer@redhat.com>
19736
19737 * io/Makefile (routines): Add copy_file_range.
19738 (tests): Add tst-copy_file_range.
19739 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19740 * io/Versions (GLIBC_2.27): Export copy_file_range.
19741 * io/copy_file_range-compat.c: New file.
19742 * io/copy_file_range.c: Likewise.
19743 * io/tst-copy_file_range-compat.c: Likewise.
19744 * io/tst-copy_file_range.c: Likewise.
19745 * manual/llio.texi (Copying File Data): New section.
19746 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19747 * support/Makefile (libsupport-routines): Add support-xfstat,
19748 xftruncate, xlseek.
19749 * support/support-xfstat.c: New file.
19750 * support/xftruncate.c: Likewise.
19751 * support/xlseek.c: Likewise.
19752 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19753 * sysdeps/unix/sysv/linux/**.abilist: Update.
19754 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19755
6cb86fd2
SN
197562017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19757
19758 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19759 disable-multi-arch variant to aarch64-linux-gnu.
19760
41d11b15
JM
197612017-12-20 Joseph Myers <joseph@codesourcery.com>
19762
19763 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19764 trailing whitespace removed.
19765 * scripts/config.guess: Update to version 2017-12-17.
19766 * scripts/config.sub: Update to version 2017-11-23.
19767 * scripts/install-sh: Update to version 2017-09-23.17.
19768 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19769
4735850f
AZ
197702017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19771
8d2d239c
AZ
19772 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19773 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19774 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19775 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19776 * sysdeps/tile/crtn.S: Likewise.
19777 * sysdeps/tile/dl-start.S (_start): Likewise.
19778 * sysdeps/tile/dl-trampoline.S: Likewise.
19779 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19780 * sysdeps/tile/start.S (_start): Likewise.
19781 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19782 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19783 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19784 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19785 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19786 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19787 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19788
24d1d8ec
AZ
19789 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19790 comment.
19791 * sysdeps/tile/preconfigure: Remove tilegx folder.
19792 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19793 * sysdeps/tile/Implies: ... here.
19794 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19795 * sysdeps/tile/Makefile: ... here.
19796 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19797 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19798 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19799 * sysdeps/tile/bits/wordsize.h: ... here.
19800 * sysdeps/tile/tilegx/*: Move to ...
19801 * sysdeps/tile/*: ... here.
19802 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19803 * sysdeps/tile/tilegx32/Implies: ... here.
19804 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19805 * sysdeps/tile/tilegx64/Implies: ... here.
19806 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
19807 to ...
19808 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19809 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
19810 * sysdeps/unix/sysv/linux/tile/*: ... here.
19811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
19812 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
19813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
19814 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
19815
ed95f611
AZ
19816 * README: Remove tilepro-*-linux-gnu from supported architecture.
19817 * scripts/build-many-glibcs.py: Likewise.
19818 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19819 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
19820 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
19821 elf_machine_matches_host, elf_machine_dynamic,
19822 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
19823 howto, elf_machine_rela): Likewise.
19824 * sysdeps/tile/dl-start.S (_start): Likewise.
19825 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
19826 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
19827 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
19828 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
19829 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
19830 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19831 Likewise.
19832 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
19833 * sysdeps/tile/preconfigure: Likewise.
19834 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
19835 POINTER_CHK_GUARD): Likewise.
19836 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
19837 * sysdeps/tile/start.S (_start): Likewise.
19838 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
19839 Likewise.
19840 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
19841 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
19842 CMOVNEZ): Remove.
19843 * sysdeps/unix/sysv/linux/tile/bits/environments.h
19844 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
19845 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
19846 Likewise.
19847 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
19848 * sysdeps/tile/tilepro/Implies: Remove file.
19849 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
19850 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
19851 * sysdeps/tile/tilepro/memchr.c: Likewise.
19852 * sysdeps/tile/tilepro/memcpy.S: Likewise.
19853 * sysdeps/tile/tilepro/memset.c: Likewise.
19854 * sysdeps/tile/tilepro/memusage.h: Likewise.
19855 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
19856 * sysdeps/tile/tilepro/strchr.c: Likewise.
19857 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
19858 * sysdeps/tile/tilepro/strlen.c: Likewise.
19859 * sysdeps/tile/tilepro/strrchr.c: Likewise.
19860 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
19861 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
19862 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19863 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
19864 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
19865 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19866 Likewise.
19867 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
19868 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19869 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
19870 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
19871 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19872 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
19873 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
19874 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
19875 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
19876 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
19877 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
19878 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
19879 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
19880 tilepro mention in comment.
19881
4735850f
AZ
19882 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
19883 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
19884 * nptl/pthread_join_common.c: New file: common function used on
19885 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
19886 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
19887 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
19888 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19889 (cleanup): Move definition to pthread_join_common.c.
19890 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
19891 Remove superflous checks.
19892 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
19893 Likewise.
19894
8bfb461e
SN
198952017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
19896
19897 * sysdeps/aarch64/libm-test-ulps: Update.
19898
4e001969
AZ
198992017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19900
19901 * sysdeps/aarch64/memset.S (MEMSET): Define.
19902
8a26ad2a
FW
199032017-12-20 Florian Weimer <fweimer@redhat.com>
19904
19905 [BZ #22635]
19906 nptl: Provide full implementation of pthread_self in libc.so.
19907 * nptl/Makefile (routines): Add pthread_self.
19908 (libpthread-routines): Replace pthread_self with
19909 compat-pthread_self.
19910 * nptl/forward.c (pthread_self): Remove.
19911 * nptl/nptl-init.c (pthread_functions): Do not initialize
19912 ptr_pthread_self.
19913 * nptl/pthread_self.c (pthread_self): Remove weak alias.
19914 * nptl/compat-pthread_self.c: New file.
19915 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
19916 Remove ptr_pthread_self.
19917
5069ff32
AR
199182017-12-19 Arnold D. Robbins <arnold@skeeve.com>
19919
19920 * posix/regcomp.c: Fix spelling in comments.
19921 * posix/regex.h: Likewise.
19922 * posix/regex_internal.c: Likewise.
19923 * posix/regexec.c: Likewise.
19924
c85e54ac
GG
199252017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19926
19927 [BZ #22377]
19928 * math/Makefile [C++] (tests): Add test for iseqsig.
19929 * math/math.h [C++] (iseqsig): New implementation, which does
19930 not rely on __MATH_TG/__builtin_types_compatible_p.
19931 * math/test-math-iseqsig.cc: New file.
19932 * sysdeps/powerpc/powerpc64le/Makefile
19933 (CFLAGS-test-math-iseqsig.cc): New variable.
19934
10e93d96
DL
199352017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19936
19937 * elf/dl-load.c (is_trusted_path): Remove.
19938 (fillin_rpath): Remove check_trusted argument and its use,
19939 all callers changed.
19940
ce16eb52
L
199412017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19942
19943 [BZ #22630]
19944 * Makeconfig (link-pie-before-libc): Replace -pie with
19945 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19946 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19947 (tst-dlopen-aout-no-pie): New.
19948 (LDFLAGS-tst-prelink): Removed.
19949 (tst-prelink-no-pie): New.
19950 (LDFLAGS-tst-main1): Removed.
19951 (tst-main1-no-pie): New.
19952 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19953 (tst-gmon-no-pie): New.
19954
126adc89
L
199552017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19956
19957 * manual/install.texi: Document that --enable-static-pie
19958 implies PIE.
19959 * INSTALL: Regenerated.
19960
648615e1
BE
199612017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19962
19963 [BZ #21309]
19964 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19965 unsigned.
19966
f1e00502
JM
199672017-12-19 Joseph Myers <joseph@codesourcery.com>
19968
19969 Revert:
19970
19971 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19972
19973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19974
19975 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19976
19977 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19978 <errno.h>. Include "eexp.tbl".
19979 (half): New constant.
19980 (one): Likewise.
19981 (__ieee754_exp): Rewrite.
19982 (__slowexp): Remove prototype.
19983 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19984 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19985 * sysdeps/i386/fpu/slowexp.c: Likewise.
19986 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19987 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19988 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19989 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19990 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19991 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19992 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19993 comment.
19994 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19995 (CPPFLAGS-slowexp.c): Remove variable.
19996 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19997 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19998 (CFLAGS-slowexp-fma.c): Remove variable.
19999 (CFLAGS-slowexp-fma4.c): Likewise.
20000 (CFLAGS-slowexp-avx.c): Likewise.
20001 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20002 define as macro.
20003 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20004 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20005 * math/Makefile (type-double-routines): Remove slowexp.
20006 * manual/probes.texi (slowexp_p6): Remove.
20007 (slowexp_p32): Likewise.
20008
d711a00f
AZ
200092017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20010
e184ac3a
AZ
20011 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20012 arithmetic.
20013
d711a00f
AZ
20014 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20015
6f58c10d
JM
200162017-12-19 Joseph Myers <joseph@codesourcery.com>
20017
20018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20019
6fd0a3c6
PM
200202017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20021
20022 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20023 <errno.h>. Include "eexp.tbl".
20024 (half): New constant.
20025 (one): Likewise.
20026 (__ieee754_exp): Rewrite.
20027 (__slowexp): Remove prototype.
20028 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20029 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20030 * sysdeps/i386/fpu/slowexp.c: Likewise.
20031 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20032 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20033 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20034 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20035 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20036 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20037 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20038 comment.
20039 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20040 (CPPFLAGS-slowexp.c): Remove variable.
20041 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20042 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20043 (CFLAGS-slowexp-fma.c): Remove variable.
20044 (CFLAGS-slowexp-fma4.c): Likewise.
20045 (CFLAGS-slowexp-avx.c): Likewise.
20046 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20047 define as macro.
20048 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20049 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20050 * math/Makefile (type-double-routines): Remove slowexp.
20051 * manual/probes.texi (slowexp_p6): Remove.
20052 (slowexp_p32): Likewise.
20053
3bb1ef58 200542017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 20055 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
20056
20057 [BZ #22603]
20058 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20059 addition.
20060
554e3d51
AZ
200612017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20062
20063 [BZ #22605]
20064 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20065 code.
20066
cba595c3
L
200672017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20068
20069 [BZ #22563]
20070 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20071 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20072 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20073 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20074 to feature_1.
20075
f81ddabf
L
200762017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20077
20078 [BZ #22563]
20079 * bits/types/__cancel_jmp_buf_tag.h: New file.
20080 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20081 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20082 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20083 * nptl/Makefile (headers): Add
20084 bits/types/__cancel_jmp_buf_tag.h.
20085 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20086 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20087 * sysdeps/nptl/pthread.h: Include
20088 <bits/types/__cancel_jmp_buf_tag.h>.
20089 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20090 __cancel_jmp_buf.
20091 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20092
1a49fc59
L
200932017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20094
20095 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20096 --enable-static-pie variants to x86_64, x32 and i686.
20097
8e52f573
JM
200982017-12-19 Joseph Myers <joseph@codesourcery.com>
20099
66425185
JM
20100 [BZ #22631]
20101 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20102 argument for attrubutes. All callers changed.
20103 (__inline_mathop1): Likewise. All callers changed.
20104 (__inline_mathop): Likewise. All callers changed.
20105 [__USE_MISC] (scalbn): Use __inline_forward instead of
20106 __inline_forward_c.
20107 [__USE_ISOC99] (scalbln): Likewise.
20108 [__USE_ISOC99] (nearbyint): Likewise.
20109 [__USE_ISOC99] (lrint): Likewise.
20110 [__USE_MISC] (scalbnf): Likewise.
20111 [__USE_ISOC99] (scalblnf): Likewise.
20112 [__USE_ISOC99] (nearbyintf): Likewise.
20113 [__USE_ISOC99] (lrintf): Likewise.
20114 [__USE_MISC] (scalbnl): Likewise.
20115 [__USE_ISOC99] (scalblnl): Likewise.
20116 [__USE_ISOC99] (nearbyintl): Likewise.
20117 [__USE_ISOC99] (lrintl): Likewise.
20118 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20119 __inline_mathop and __m81_defun changed.
20120
8e52f573
JM
20121 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20122 CPU or FPU for ARM hard-float configurations.
20123
1421f39b
JM
201242017-12-18 Joseph Myers <joseph@codesourcery.com>
20125
40c4162d
JM
20126 * nptl/tst-attr3.c: Include <libc-diag.h>.
20127 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20128
5983df32
JM
20129 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20130
1421f39b
JM
20131 * string/tester.c (test_strncat): Also disable -Warray-bounds
20132 warnings for two tests.
20133
00c714df
L
201342017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20135
20136 [BZ #22614]
20137 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20138 $(cc-pie-default) == yes.
20139 * config.make.in (cc-pie-default): New.
20140 * configure.ac (libc_cv_pie_default): Renamed to ...
20141 (libc_cv_cc_pie_default): This.
20142 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20143 * configure: Regenerated.
20144
8e1472d2
FW
201452017-12-18 Florian Weimer <fweimer@redhat.com>
20146
20147 [BZ #20204]
20148 ld.so: Harden dl-libc/libdl hooks.
20149 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20150 (rtld_active): New function.
20151 * dlfcn/dladdr.c (__dladdr): Call it.
20152 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20153 * dlfcn/dlclose.c (__dlcose): Likewise.
20154 * dlfcn/dlerror.c (__dlerror): Likewise.
20155 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20156 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20157 * dlfcn/dlopen.c (__dlopen): Likewise.
20158 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20159 * dlfcn/dlsym.c (__dlsym): Likewise.
20160 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20161 * libio/vtables.c (_IO_vtable_check): Likewise.
20162 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20163 (__libc_dlclose): Likewise.
20164 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20165 assignment.
20166
49b036bc
JM
201672017-12-18 Joseph Myers <joseph@codesourcery.com>
20168
20169 [BZ #22446]
20170 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20171 buffers for readlink input and output.
20172
368b6c8d
ST
201732017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20174
c85c564d
ST
20175 [BZ #22624]
20176 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20177 inhibit_stack_protector.
20178
368b6c8d
ST
20179 [BZ #22624]
20180 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20181 inhibit_stack_protector.
20182
bb195224
DL
201832017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20184
20185 [BZ #22627]
20186 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20187 code and invocation.
20188
14d886ed
SN
201892017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20190
20191 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20192
7d38eb38
AJ
201932017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20194
20195 [BZ #22505]
20196 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20197
2e77deef
RS
201982017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20199
20200 * sysdeps/s390/fpu/libm-test-ulps: Update.
20201
0b9bef6d
RS
202022017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20203
20204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20205
984ae996
RS
202062017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20207
20208 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20209 constants to s_sincosf.h file.
20210 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20211 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20212 implementation.
20213 * sysdeps/ieee754/flt-32/s_sincosf.h:
20214 New file.
20215
363e4519 202162017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
20217
20218 [BZ #14681]
20219 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20220 before mtrace.
20221
9d7a3741
L
202222017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20223
20224 [BZ #19574]
20225 * INSTALL: Regenerated.
20226 * Makeconfig (real-static-start-installed-name): New.
20227 (pic-default): Updated for --enable-static-pie.
20228 (pie-default): New for --enable-static-pie.
20229 (default-pie-ldflag): Likewise.
20230 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20231 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20232 Replace $(static-start-installed-name) with
20233 $(real-static-start-installed-name).
20234 (+prectorT): Updated for --enable-static-pie.
20235 (+postctorT): Likewise.
20236 (CFLAGS-.o): Add $(pie-default).
20237 (CFLAGS-.op): Likewise.
20238 * NEWS: Mention --enable-static-pie.
20239 * config.h.in (ENABLE_STATIC_PIE): New.
20240 * configure.ac (--enable-static-pie): New configure option.
20241 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20242 (have-static-pie): Likewise.
20243 Enable static PIE if linker supports --no-dynamic-linker.
20244 (ENABLE_STATIC_PIE): New AC_DEFINE.
20245 (enable-static-pie): New LIBC_CONFIG_VAR.
20246 * configure: Regenerated.
20247 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20248 gr$(start-installed-name) for --enable-static-pie.
20249 (extra-objs): Likewise.
20250 (install-lib): Likewise.
20251 (extra-objs): Add static-reloc.o and static-reloc.os
20252 ($(objpfx)$(start-installed-name)): Also depend on
20253 $(objpfx)static-reloc.o.
20254 ($(objpfx)r$(start-installed-name)): New.
20255 ($(objpfx)g$(start-installed-name)): Also depend on
20256 $(objpfx)static-reloc.os.
20257 ($(objpfx)gr$(start-installed-name)): New.
20258 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20259 in libc.a.
20260 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20261 initimage.
20262 * csu/static-reloc.c: New file.
20263 * elf/Makefile (routines): Add dl-reloc-static-pie.
20264 (elide-routines.os): Likewise.
20265 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20266 (tst-tls1-static-non-pie-no-pie): New.
20267 * elf/dl-reloc-static-pie.c: New file.
20268 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20269 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20270 STATIC_PIE_BOOTSTRAP.
20271 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20272 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20273 (tests-static): Likewise.
20274 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20275 (tst-gmon-static-no-pie): New.
20276 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20277 (CRT-tst-gmon-static-pie): Likewise.
20278 (tst-gmon-static-pie-ENV): Likewise.
20279 (tests-special): Likewise.
20280 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20281 (clean-tst-gmon-static-pie-data): Likewise.
20282 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20283 * gmon/tst-gmon-static-pie.c: New file.
20284 * manual/install.texi: Document --enable-static-pie.
20285 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20286 (_dl_get_dl_main_map): Likewise.
20287 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20288 * sysdeps/x86_64/configure.ac: Likewise.
20289 * sysdeps/i386/configure: Regenerated.
20290 * sysdeps/x86_64/configure: Likewise.
20291 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20292 (ASFLAGS-.op): Likewise.
20293
95511aab
JM
202942017-12-15 Joseph Myers <joseph@codesourcery.com>
20295
20296 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20297 * posix/tst-mmap-offset.c (fname): Use /tmp.
20298 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20299
a7e3edf4
SE
203002017-12-15 Steve Ellcey <sellcey@cavium.com>
20301
20302 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20303
d232f2e1
TS
203042017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20305
20306 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20307 errno.
20308
174edbde
JM
203092017-12-15 Joseph Myers <joseph@codesourcery.com>
20310
5170fa49
JM
20311 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20312 --with-float=hard for arm-linux-gnueabihf configurations.
20313
f2da2fd8
JM
20314 [BZ #14121]
20315 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20316 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20317 ($(mo-installed)): Use $(objpfx)%.mo.
20318 (realclean): Remove rule.
20319
0c4fe28d
JM
20320 * po/Makefile (linguas): Remove rule and dependencies.
20321 (linguas.mo): Likewise.
20322 (.PHONY): Do not depend on linguas and linguas.mo.
20323 (podir): Remove variable.
20324 (pofiles): Likewise.
20325 [$(pofiles)] (%.po): Remove rule.
20326
174edbde
JM
20327 * sysdeps/sparc/sparc32/Makefile
20328 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20329 start-of-line whitespace in argument of echo.
20330 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20331 with whitespace. Generate __wrap_.udiv alias.
20332 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20333 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20334 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20335 * sysdeps/sparc/sparc32/urem.S: Likewise.
20336
1e36806f
RS
203372017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20338
20339 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20340 for aligned inputs.
20341
aa6932aa
SP
203422017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20343
5f1603c3
SP
20344 * benchtests/bench-strcmp.c: Print output in JSON format.
20345
aa6932aa
SP
20346 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20347
3ff3dfa5
FW
203482017-12-14 Florian Weimer <fweimer@redhat.com>
20349
20350 [BZ #22607]
20351 CVE-2017-1000409
20352 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20353 the expanded path string.
20354
8a0b17e4
FW
203552017-12-14 Florian Weimer <fweimer@redhat.com>
20356
20357 [BZ #22606]
20358 CVE-2017-1000408
20359 * elf/dl-load.c (system_dirs): Update comment.
20360 (nsystem_dirs_len): Use array_length.
20361 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20362
f58bd7f0
FW
203632017-12-14 Florian Weimer <fweimer@redhat.com>
20364
20365 Simplify compiling most of support/ outside of glibc.
20366 * support/check_addrinfo.c: Include <string.h>.
20367 * support/check_dns_packet.c: Likewise.
20368 * support/check_hostent.c: Likewise.
20369 * support/support_can_chroot.c: Include <support/xunistd.h>.
20370 * support/support_format_addrinfo.c: Include <stdlib.h>
20371 * support/support_format_dns_packet.c: Include <stdbool.h>.
20372 * support/support_format_hostent.c: Include <stdlib.h>.
20373 * support/support_format_netent.c: Likewise.
20374 * support/support_write_string.c: Include <support/xunistd.h>.
20375 * support/xdlfcn.c: Include <stddef.h>.
20376
4ca945e9
L
203772017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20378
20379 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20380
1b6e07f8
PM
203812017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20382 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20383
e6a1c5dc
PM
20384 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20385 (sysdeps_routines): Add memset-niagara7.
20386 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20387 Likewise.
20388 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20389 file.
20390 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20391 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20392 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20393 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20394 Add niagara7 option.
20395 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20396 memset.
20397
1b6e07f8
PM
20398 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20399 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20400 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20401 Likewise.
20402 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20403 New file.
20404 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20405 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20406 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20407 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20408 and __memmove_niagara7.
20409 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20410 Add niagara7 option.
20411 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20412 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20413 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20414 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20415 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20416
bfb7bf22
JM
204172017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20418
767a26d6
JM
20419 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20420 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20421 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20422 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20423
bfb7bf22
JM
20424 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20425 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20426 _dl_sparc_cap_flags array.
20427 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20428
2bce01eb
SP
204292017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20430
20431 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20432 time whenever possible.
20433
363e4519 204342017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
20435
20436 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20437 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20438
6f7c0092
JM
204392017-12-12 Joseph Myers <joseph@codesourcery.com>
20440
20441 * soft-fp/fmadf4.c: Move to ....
20442 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20443 * soft-fp/fmasf4.c: Move to ....
20444 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20445 * soft-fp/fmatf4.c: Move to ....
20446 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20447 * sysdeps/ieee754/soft-fp/Makefile: New file.
20448 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20449 * sysdeps/arm/preconfigure: Regenerated.
20450 * sysdeps/arm/nofpu/Implies: New file.
20451 * sysdeps/arm/s_fma.c: Remove file.
20452 * sysdeps/arm/s_fmaf.c: Likewise.
20453 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20454 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20455 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20456 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20457 * sysdeps/microblaze/s_fma.c: Remove file.
20458 * sysdeps/microblaze/s_fmaf.c: Likewise.
20459 * sysdeps/mips/mips32/nofpu/Implies: New file.
20460 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20461 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20462 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20463 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20464 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20465 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20466 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20467 implementation.
20468 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20469 * sysdeps/nios2/s_fma.c: Remove file.
20470 * sysdeps/nios2/s_fmaf.c: Likewise.
20471 * sysdeps/sh/nofpu/Implies: New file.
20472 * sysdeps/sh/s_fma.c: Remove file.
20473 * sysdeps/sh/s_fmaf.c: Likewise.
20474 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20475 * sysdeps/tile/s_fma.c: Remove file.
20476 * sysdeps/tile/s_fmaf.c: Likewise.
20477
ac817e08
L
204782017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20479
20480 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20481 Add s_cosf-sse2 and s_cosf-fma.
20482 (CFLAGS-s_cosf-fma.c): New.
20483 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20484 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20485 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20486
eb428576
SE
204872017-12-12 Steve Ellcey <sellcey@cavium.com>
20488
20489 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20490
c80acdc3
AZ
204912017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20492
cc683f7e
AZ
20493 * libio/Makefile (tests): Add tst-bz22415.
20494 (tst-bz22415-ENV): New rule.
20495 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20496 (tests-special): Add tst-bz22415-mem.out.
20497 ($(objpfx)tst-bz22415-mem.out): New rule.
20498 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20499 in case of a successful seek operation.
20500 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20501 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20502 buffer is required.
20503 * libio/tst-bz22415.c: New test.
20504
c80acdc3
AZ
20505 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20506
363e4519 205072017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
20508
20509 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20510 __IPC_64 to 0 to avoid IPC_64 being set.
20511
4e0dca54
SN
205122017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20513
20514 [BZ #22593]
20515 * math/bits/mathcalls.h (nextafter): Remove const.
20516 (nexttoward): Likewise.
20517
8df5d347
JM
205182017-12-12 Joseph Myers <joseph@codesourcery.com>
20519
20520 * configure.ac (--with-fp): Remove configure option.
20521 (with_fp_cond): New variable.
20522 (libc_cv_with_fp): New configure test. Use this variable instead
20523 of with_fp.
20524 * configure: Regenerated.
20525 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20526 * manual/install.texi (Configuring and compiling): Remove
20527 --without-fp.
20528 * INSTALL: Regenerated.
20529 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20530 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20531 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20532 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20533 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20534 use --without-fp to configure glibc.
20535
0cee1257
RJ
205362017-12-12 Rical Jasan <ricaljasan@pacific.net>
20537
20538 * manual/locale.texi (nl_langinfo): Fix a typo.
20539
363e4519 205402017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
20541
20542 [BZ #22588]
20543 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20544
36975e8e
L
205452017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20546
20547 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20548 (CFLAGS-argp-parse.c): Likewise.
20549 (CFLAGS-argp-fmtstream.c): Likewise.
20550 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20551 (CPPFLAGS-sha512-crypt.c): Likewise.
20552 (CPPFLAGS-md5-crypt.c): Likewise.
20553 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20554 (CFLAGS-stack_chk_fail_local.c): Likewise.
20555 (CFLAGS-backtrace.c): Likewise.
20556 (CFLAGS-sprintf_chk.c): Likewise.
20557 (CFLAGS-snprintf_chk.c): Likewise.
20558 (CFLAGS-vsprintf_chk.c): Likewise.
20559 (CFLAGS-vsnprintf_chk.c): Likewise.
20560 (CFLAGS-asprintf_chk.c): Likewise.
20561 (CFLAGS-vasprintf_chk.c): Likewise.
20562 (CFLAGS-obprintf_chk.c): Likewise.
20563 (CFLAGS-dprintf_chk.c): Likewise.
20564 (CFLAGS-vdprintf_chk.c): Likewise.
20565 (CFLAGS-printf_chk.c): Likewise.
20566 (CFLAGS-fprintf_chk.c): Likewise.
20567 (CFLAGS-vprintf_chk.c): Likewise.
20568 (CFLAGS-vfprintf_chk.c): Likewise.
20569 (CFLAGS-gets_chk.c): Likewise.
20570 (CFLAGS-fgets_chk.c): Likewise.
20571 (CFLAGS-fgets_u_chk.c): Likewise.
20572 (CFLAGS-fread_chk.c): Likewise.
20573 (CFLAGS-fread_u_chk.c): Likewise.
20574 (CFLAGS-swprintf_chk.c): Likewise.
20575 (CFLAGS-vswprintf_chk.c): Likewise.
20576 (CFLAGS-wprintf_chk.c): Likewise.
20577 (CFLAGS-fwprintf_chk.c): Likewise.
20578 (CFLAGS-vwprintf_chk.c): Likewise.
20579 (CFLAGS-vfwprintf_chk.c): Likewise.
20580 (CFLAGS-fgetws_chk.c): Likewise.
20581 (CFLAGS-fgetws_u_chk.c): Likewise.
20582 (CFLAGS-read_chk.c): Likewise.
20583 (CFLAGS-pread_chk.c): Likewise.
20584 (CFLAGS-pread64_chk.c): Likewise.
20585 (CFLAGS-recv_chk.c): Likewise.
20586 (CFLAGS-recvfrom_chk.c): Likewise.
20587 (CFLAGS-tst-longjmp_chk.c): Likewise.
20588 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20589 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20590 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20591 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20592 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20593 (CFLAGS-tst-chk1.c): Likewise.
20594 (CFLAGS-tst-chk2.c): Likewise.
20595 (CFLAGS-tst-chk3.c): Likewise.
20596 (CFLAGS-tst-chk4.cc): Likewise.
20597 (CFLAGS-tst-chk5.cc): Likewise.
20598 (CFLAGS-tst-chk6.cc): Likewise.
20599 (CFLAGS-tst-lfschk1.c): Likewise.
20600 (CFLAGS-tst-lfschk2.c): Likewise.
20601 (CFLAGS-tst-lfschk3.c): Likewise.
20602 (CFLAGS-tst-lfschk4.cc): Likewise.
20603 (CFLAGS-tst-lfschk5.cc): Likewise.
20604 (CFLAGS-tst-lfschk6.cc): Likewise.
20605 (CFLAGS-tst-ssp-1.c): Likewise.
20606 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20607 (CFLAGS-scandir64.c): Likewise.
20608 (CFLAGS-scandir-tail.c): Likewise.
20609 (CFLAGS-scandir64-tail.c): Likewise.
20610 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20611 (CFLAGS-dl-tunables.c): Likewise.
20612 (CFLAGS-dl-runtime.c): Likewise.
20613 (CFLAGS-dl-lookup.c): Likewise.
20614 (CFLAGS-dl-iterate-phdr.c): Likewise.
20615 (CFLAGS-vismain.c): Likewise.
20616 (CFLAGS-tst-linkall-static.c): Likewise.
20617 (CFLAGS-tst-linkall-static.c): Likewise.
20618 (CPPFLAGS-dl-load.c): Likewise.
20619 (CFLAGS-ldconfig.c): Likewise.
20620 (CFLAGS-dl-cache.c): Likewise.
20621 (CFLAGS-cache.c): Likewise.
20622 (CFLAGS-rtld.c): Likewise.
20623 (CFLAGS-multiload.c): Likewise.
20624 (CFLAGS-filtmod1.c): Likewise.
20625 (CFLAGS-tst-align.c): Likewise.
20626 (CFLAGS-tst-align2.c): Likewise.
20627 (CFLAGS-tst-alignmod.c): Likewise.
20628 (CFLAGS-tst-alignmod2.c): Likewise.
20629 (CPPFLAGS-tst-execstack.c): Likewise.
20630 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20631 (CFLAGS-tst-latepthreadmod.c): Likewise.
20632 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20633 (CFLAGS-getgrnam_r.c): Likewise.
20634 (CFLAGS-getgrent_r.c): Likewise.
20635 (CFLAGS-getgrent.c): Likewise.
20636 (CFLAGS-fgetgrent.c): Likewise.
20637 (CFLAGS-fgetgrent_r.c): Likewise.
20638 (CFLAGS-putgrent.c): Likewise.
20639 (CFLAGS-initgroups.c): Likewise.
20640 (CFLAGS-getgrgid.c): Likewise.
20641 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20642 (CFLAGS-getsgent.c): Likewise.
20643 (CFLAGS-fgetsgent.c): Likewise.
20644 (CFLAGS-fgetsgent_r.c): Likewise.
20645 (CFLAGS-putsgent.c): Likewise.
20646 (CFLAGS-getsgnam.c): Likewise.
20647 (CFLAGS-getsgnam_r.c): Likewise.
20648 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20649 (CFLAGS-iconv_charmap.c): Likewise.
20650 (CFLAGS-dummy-repertoire.c): Likewise.
20651 (CFLAGS-charmap.c): Likewise.
20652 (CFLAGS-linereader.c): Likewise.
20653 (CFLAGS-simple-hash.c): Likewise.
20654 (CFLAGS-gconv_conf.c): Likewise.
20655 (CFLAGS-iconvconfig.c): Likewise.
20656 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20657 (CFLAGS-gethstbyad.c): Likewise.
20658 (CFLAGS-gethstbynm_r.c): Likewise.
20659 (CFLAGS-gethstbynm.c): Likewise.
20660 (CFLAGS-gethstbynm2_r.c): Likewise.
20661 (CFLAGS-gethstbynm2.c): Likewise.
20662 (CFLAGS-gethstent_r.c): Likewise.
20663 (CFLAGS-gethstent.c): Likewise.
20664 (CFLAGS-rcmd.c): Likewise.
20665 (CFLAGS-getnetbynm_r.c): Likewise.
20666 (CFLAGS-getnetbynm.c): Likewise.
20667 (CFLAGS-getnetbyad_r.c): Likewise.
20668 (CFLAGS-getnetbyad.c): Likewise.
20669 (CFLAGS-getnetent_r.c): Likewise.
20670 (CFLAGS-getnetent.c): Likewise.
20671 (CFLAGS-getaliasent_r.c): Likewise.
20672 (CFLAGS-getaliasent.c): Likewise.
20673 (CFLAGS-getrpcent_r.c): Likewise.
20674 (CFLAGS-getrpcent.c): Likewise.
20675 (CFLAGS-getservent_r.c): Likewise.
20676 (CFLAGS-getservent.c): Likewise.
20677 (CFLAGS-getprtent_r.c): Likewise.
20678 (CFLAGS-getprtent.c): Likewise.
20679 (CFLAGS-either_ntoh.c): Likewise.
20680 (CFLAGS-either_hton.c): Likewise.
20681 (CFLAGS-getnetgrent.c): Likewise.
20682 (CFLAGS-getnetgrent_r.c): Likewise.
20683 (CFLAGS-tst-checks-posix.c): Likewise.
20684 (CFLAGS-tst-sockaddr.c): Likewise.
20685 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20686 (CFLAGS-tst-translit.c): Likewise.
20687 (CFLAGS-tst-gettext2.c): Likewise.
20688 (CFLAGS-tst-codeset.c): Likewise.
20689 (CFLAGS-tst-gettext3.c): Likewise.
20690 (CFLAGS-tst-gettext4.c): Likewise.
20691 (CFLAGS-tst-gettext5.c): Likewise.
20692 (CFLAGS-tst-gettext6.c): Likewise.
20693 * io/Makefile (CFLAGS-open.c): Likewise.
20694 (CFLAGS-open64.c): Likewise.
20695 (CFLAGS-creat.c): Likewise.
20696 (CFLAGS-creat64.c): Likewise.
20697 (CFLAGS-fcntl.c): Likewise.
20698 (CFLAGS-poll.c): Likewise.
20699 (CFLAGS-ppoll.c): Likewise.
20700 (CFLAGS-lockf.c): Likewise.
20701 (CFLAGS-statfs.c): Likewise.
20702 (CFLAGS-fstatfs.c): Likewise.
20703 (CFLAGS-statvfs.c): Likewise.
20704 (CFLAGS-fstatvfs.c): Likewise.
20705 (CFLAGS-fts.c): Likewise.
20706 (CFLAGS-fts64.c): Likewise.
20707 (CFLAGS-ftw.c): Likewise.
20708 (CFLAGS-ftw64.c): Likewise.
20709 (CFLAGS-lockf.c): Likewise.
20710 (CFLAGS-posix_fallocate.c): Likewise.
20711 (CFLAGS-posix_fallocate64.c): Likewise.
20712 (CFLAGS-fallocate.c): Likewise.
20713 (CFLAGS-fallocate64.c): Likewise.
20714 (CFLAGS-read.c): Likewise.
20715 (CFLAGS-write.c): Likewise.
20716 (CFLAGS-test-stat.c): Likewise.
20717 (CFLAGS-test-lfs.c): Likewise.
20718 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20719 (CFLAGS-fputc.c): Likewise.
20720 (CFLAGS-fputwc.c): Likewise.
20721 (CFLAGS-freopen64.c): Likewise.
20722 (CFLAGS-freopen.c): Likewise.
20723 (CFLAGS-fseek.c): Likewise.
20724 (CFLAGS-fseeko64.c): Likewise.
20725 (CFLAGS-fseeko.c): Likewise.
20726 (CFLAGS-ftello64.c): Likewise.
20727 (CFLAGS-ftello.c): Likewise.
20728 (CFLAGS-fwide.c): Likewise.
20729 (CFLAGS-genops.c): Likewise.
20730 (CFLAGS-getc.c): Likewise.
20731 (CFLAGS-getchar.c): Likewise.
20732 (CFLAGS-getwc.c): Likewise.
20733 (CFLAGS-getwchar.c): Likewise.
20734 (CFLAGS-iofclose.c): Likewise.
20735 (CFLAGS-iofflush.c): Likewise.
20736 (CFLAGS-iofgetpos64.c): Likewise.
20737 (CFLAGS-iofgetpos.c): Likewise.
20738 (CFLAGS-iofgets.c): Likewise.
20739 (CFLAGS-iofgetws.c): Likewise.
20740 (CFLAGS-iofputs.c): Likewise.
20741 (CFLAGS-iofputws.c): Likewise.
20742 (CFLAGS-iofread.c): Likewise.
20743 (CFLAGS-iofsetpos64.c): Likewise.
20744 (CFLAGS-iofsetpos.c): Likewise.
20745 (CFLAGS-ioftell.c): Likewise.
20746 (CFLAGS-iofwrite.c): Likewise.
20747 (CFLAGS-iogetdelim.c): Likewise.
20748 (CFLAGS-iogetline.c): Likewise.
20749 (CFLAGS-iogets.c): Likewise.
20750 (CFLAGS-iogetwline.c): Likewise.
20751 (CFLAGS-ioputs.c): Likewise.
20752 (CFLAGS-ioseekoff.c): Likewise.
20753 (CFLAGS-ioseekpos.c): Likewise.
20754 (CFLAGS-iosetbuffer.c): Likewise.
20755 (CFLAGS-iosetvbuf.c): Likewise.
20756 (CFLAGS-ioungetc.c): Likewise.
20757 (CFLAGS-ioungetwc.c): Likewise.
20758 (CFLAGS-oldfileops.c): Likewise.
20759 (CFLAGS-oldiofclose.c): Likewise.
20760 (CFLAGS-oldiofgetpos64.c): Likewise.
20761 (CFLAGS-oldiofgetpos.c): Likewise.
20762 (CFLAGS-oldiofsetpos64.c): Likewise.
20763 (CFLAGS-oldiofsetpos.c): Likewise.
20764 (CFLAGS-peekc.c): Likewise.
20765 (CFLAGS-putc.c): Likewise.
20766 (CFLAGS-putchar.c): Likewise.
20767 (CFLAGS-putwc.c): Likewise.
20768 (CFLAGS-putwchar.c): Likewise.
20769 (CFLAGS-rewind.c): Likewise.
20770 (CFLAGS-wfileops.c): Likewise.
20771 (CFLAGS-wgenops.c): Likewise.
20772 (CFLAGS-oldiofopen.c): Likewise.
20773 (CFLAGS-iofopen.c): Likewise.
20774 (CFLAGS-iofopen64.c): Likewise.
20775 (CFLAGS-oldtmpfile.c): Likewise.
20776 (CFLAGS-tst_putwc.c): Likewise.
20777 * locale/Makefile (CFLAGS-md5.c): Likewise.
20778 (CFLAGS-charmap.c): Likewise.
20779 (CFLAGS-locfile.c): Likewise.
20780 (CFLAGS-charmap-dir.c): Likewise.
20781 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20782 (CFLAGS-getpt.c): Likewise.
20783 (CFLAGS-pt_chown.c): Likewise.
20784 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20785 (CFLAGS-obstack.c): Likewise.
20786 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20787 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20788 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20789 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20790 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20791 (CFLAGS-test-tgmath.c): Likewise.
20792 (CFLAGS-test-tgmath2.c): Likewise.
20793 (CFLAGS-test-tgmath-ret.c): Likewise.
20794 (CFLAGS-test-powl.c): Likewise.
20795 (CFLAGS-test-snan.c): Likewise.
20796 (CFLAGS-test-signgam-finite.c): Likewise.
20797 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20798 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20799 (CFLAGS-test-signgam-uchar.c): Likewise.
20800 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20801 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20802 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20803 (CFLAGS-test-signgam-uint.c): Likewise.
20804 (CFLAGS-test-signgam-uint-init.c): Likewise.
20805 (CFLAGS-test-signgam-uint-static.c): Likewise.
20806 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20807 (CFLAGS-test-signgam-ullong.c): Likewise.
20808 (CFLAGS-test-signgam-ullong-init.c): Likewise.
20809 (CFLAGS-test-signgam-ullong-static.c): Likewise.
20810 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20811 (CFLAGS-test-math-cxx11.cc): Likewise.
20812 (CFLAGS-test-math-isinff.cc): Likewise.
20813 (CFLAGS-test-math-iszero.cc): Likewise.
20814 (CFLAGS-test-math-issignaling.cc): Likewise.
20815 (CFLAGS-test-math-iscanonical.cc): Likewise.
20816 (CFLAGS-test-iszero-excess-precision.c): Likewise.
20817 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
20818 (CFLAGS-test-flt-eval-method.c): Likewise.
20819 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
20820 (CFLAGS-test-finite-macros.c): Likewise.
20821 * misc/Makefile (CFLAGS-select.c): Likewise.
20822 (CFLAGS-tsearch.c): Likewise.
20823 (CFLAGS-lsearch.c): Likewise.
20824 (CFLAGS-pselect.c): Likewise.
20825 (CFLAGS-readv.c): Likewise.
20826 (CFLAGS-writev.c): Likewise.
20827 (CFLAGS-preadv.c): Likewise.
20828 (CFLAGS-preadv64.c): Likewise.
20829 (CFLAGS-pwritev.c): Likewise.
20830 (CFLAGS-pwritev64.c): Likewise.
20831 (CFLAGS-preadv2.c): Likewise.
20832 (CFLAGS-preadv64v2.c): Likewise.
20833 (CFLAGS-pwritev2.c): Likewise.
20834 (CFLAGS-pwritev64v2.c): Likewise.
20835 (CFLAGS-usleep.c): Likewise.
20836 (CFLAGS-syslog.c): Likewise.
20837 (CFLAGS-error.c): Likewise.
20838 (CFLAGS-getpass.c): Likewise.
20839 (CFLAGS-mkstemp.c): Likewise.
20840 (CFLAGS-mkstemp64.c): Likewise.
20841 (CFLAGS-getsysstats.c): Likewise.
20842 (CFLAGS-getusershell.c): Likewise.
20843 (CFLAGS-err.c): Likewise.
20844 (CFLAGS-tst-tsearch.c): Likewise.
20845 (CFLAGS-msync.c): Likewise.
20846 (CFLAGS-fdatasync.c): Likewise.
20847 (CFLAGS-fsync.c): Likewise.
20848 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
20849 (CFLAGS-unwind.c): Likewise.
20850 (CFLAGS-unwind-forcedunwind.c): Likewise.
20851 (CFLAGS-pthread_cancel.c): Likewise.
20852 (CFLAGS-pthread_setcancelstate.c): Likewise.
20853 (CFLAGS-pthread_setcanceltype.c): Likewise.
20854 (CFLAGS-cancellation.c): Likewise.
20855 (CFLAGS-libc-cancellation.c): Likewise.
20856 (CFLAGS-pthread_exit.c): Likewise.
20857 (CFLAGS-forward.c): Likewise.
20858 (CFLAGS-pthread_testcancel.c): Likewise.
20859 (CFLAGS-pthread_join.c): Likewise.
20860 (CFLAGS-pthread_timedjoin.c): Likewise.
20861 (CFLAGS-pthread_once.c): Likewise.
20862 (CFLAGS-pthread_cond_wait.c): Likewise.
20863 (CFLAGS-sem_wait.c): Likewise.
20864 (CFLAGS-sem_timedwait.c): Likewise.
20865 (CFLAGS-fcntl.c): Likewise.
20866 (CFLAGS-lockf.c): Likewise.
20867 (CFLAGS-pread.c): Likewise.
20868 (CFLAGS-pread64.c): Likewise.
20869 (CFLAGS-pwrite.c): Likewise.
20870 (CFLAGS-pwrite64.c): Likewise.
20871 (CFLAGS-wait.c): Likewise.
20872 (CFLAGS-waitpid.c): Likewise.
20873 (CFLAGS-sigwait.c): Likewise.
20874 (CFLAGS-msgrcv.c): Likewise.
20875 (CFLAGS-msgsnd.c): Likewise.
20876 (CFLAGS-tcdrain.c): Likewise.
20877 (CFLAGS-open.c): Likewise.
20878 (CFLAGS-open64.c): Likewise.
20879 (CFLAGS-pause.c): Likewise.
20880 (CFLAGS-recv.c): Likewise.
20881 (CFLAGS-send.c): Likewise.
20882 (CFLAGS-accept.c): Likewise.
20883 (CFLAGS-sendto.c): Likewise.
20884 (CFLAGS-connect.c): Likewise.
20885 (CFLAGS-recvfrom.c): Likewise.
20886 (CFLAGS-recvmsg.c): Likewise.
20887 (CFLAGS-sendmsg.c): Likewise.
20888 (CFLAGS-close.c): Likewise.
20889 (CFLAGS-read.c): Likewise.
20890 (CFLAGS-write.c): Likewise.
20891 (CFLAGS-nanosleep.c): Likewise.
20892 (CFLAGS-sigsuspend.c): Likewise.
20893 (CFLAGS-msync.c): Likewise.
20894 (CFLAGS-fdatasync.c): Likewise.
20895 (CFLAGS-fsync.c): Likewise.
20896 (CFLAGS-pt-system.c): Likewise.
20897 (CFLAGS-tst-cleanup2.c): Likewise.
20898 (CFLAGS-tst-cleanupx2.c): Likewise.
20899 (CFLAGS-flockfile.c): Likewise.
20900 (CFLAGS-ftrylockfile.c): Likewise.
20901 (CFLAGS-funlockfile.c): Likewise.
20902 (CFLAGS-tst-initializers1.c): Likewise.
20903 (CFLAGS-tst-initializers1-c89.c): Likewise.
20904 (CFLAGS-tst-initializers1-c99.c): Likewise.
20905 (CFLAGS-tst-initializers1-c11.c): Likewise.
20906 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
20907 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
20908 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20909 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
20910 (CFLAGS-nscd_getgr_r.c): Likewise.
20911 (CFLAGS-nscd_gethst_r.c): Likewise.
20912 (CFLAGS-nscd_getai.c): Likewise.
20913 (CFLAGS-nscd_initgroups.c): Likewise.
20914 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
20915 (CFLAGS-pause.c): Likewise.
20916 (CFLAGS-pread.c): Likewise.
20917 (CFLAGS-pread64.c): Likewise.
20918 (CFLAGS-pwrite.c): Likewise.
20919 (CFLAGS-pwrite64.c): Likewise.
20920 (CFLAGS-sleep.c): Likewise.
20921 (CFLAGS-wait.c): Likewise.
20922 (CFLAGS-waitid.c): Likewise.
20923 (CFLAGS-waitpid.c): Likewise.
20924 (CFLAGS-getopt.c): Likewise.
20925 (CFLAGS-wordexp.c): Likewise.
20926 (CFLAGS-sysconf.c): Likewise.
20927 (CFLAGS-pathconf.c): Likewise.
20928 (CFLAGS-fpathconf.c): Likewise.
20929 (CFLAGS-spawn.c): Likewise.
20930 (CFLAGS-spawnp.c): Likewise.
20931 (CFLAGS-spawni.c): Likewise.
20932 (CFLAGS-glob.c): Likewise.
20933 (CFLAGS-glob64.c): Likewise.
20934 (CFLAGS-getconf.c): Likewise.
20935 (CFLAGS-nanosleep.c): Likewise.
20936 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20937 (CFLAGS-getpwent.c): Likewise.
20938 (CFLAGS-getpw.c): Likewise.
20939 (CFLAGS-fgetpwent_r.c): Likewise.
20940 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20941 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20942 (CFLAGS-mq_timedreceive.c): Likewise.
20943 (CFLAGS-mq_timedsend.c): Likewise.
20944 (CFLAGS-clock_nanosleep.c): Likewise.
20945 (CFLAGS-librt-cancellation.c): Likewise.
20946 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20947 (CFLAGS-getspent.c): Likewise.
20948 (CFLAGS-fgetspent.c): Likewise.
20949 (CFLAGS-fgetspent_r.c): Likewise.
20950 (CFLAGS-putspent.c): Likewise.
20951 (CFLAGS-getspnam.c): Likewise.
20952 (CFLAGS-getspnam_r.c): Likewise.
20953 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20954 (CFLAGS-sigsuspend.c): Likewise.
20955 (CFLAGS-sigtimedwait.c): Likewise.
20956 (CFLAGS-sigwait.c): Likewise.
20957 (CFLAGS-sigwaitinfo.c): Likewise.
20958 (CFLAGS-sigreturn.c): Likewise.
20959 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20960 (CFLAGS-vfwprintf.c): Likewise.
20961 (CFLAGS-tmpfile.c): Likewise.
20962 (CFLAGS-tmpfile64.c): Likewise.
20963 (CFLAGS-tempname.c): Likewise.
20964 (CFLAGS-psignal.c): Likewise.
20965 (CFLAGS-vprintf.c): Likewise.
20966 (CFLAGS-cuserid.c): Likewise.
20967 (CFLAGS-errlist.c): Likewise.
20968 (CFLAGS-siglist.c): Likewise.
20969 (CFLAGS-scanf15.c): Likewise.
20970 (CFLAGS-scanf17.c): Likewise.
20971 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20972 (CFLAGS-msort.c): Likewise.
20973 (CFLAGS-qsort.c): Likewise.
20974 (CFLAGS-system.c): Likewise.
20975 (CFLAGS-fmtmsg.c): Likewise.
20976 (CFLAGS-strfmon.c): Likewise.
20977 (CFLAGS-strfmon_l.c): Likewise.
20978 (CFLAGS-strfromd.c): Likewise.
20979 (CFLAGS-strfromf.c): Likewise.
20980 (CFLAGS-strfroml.c): Likewise.
20981 (CFLAGS-tst-bsearch.c): Likewise.
20982 (CFLAGS-tst-qsort.c): Likewise.
20983 (CFLAGS-tst-makecontext2.c): Likewise.
20984 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20985 (CFLAGS-xnlm_prot.c): Likewise.
20986 (CFLAGS-xrstat.c): Likewise.
20987 (CFLAGS-xyppasswd.c): Likewise.
20988 (CFLAGS-xklm_prot.c): Likewise.
20989 (CFLAGS-xrex.c): Likewise.
20990 (CFLAGS-xsm_inter.c): Likewise.
20991 (CFLAGS-xmount.c): Likewise.
20992 (CFLAGS-xrusers.c): Likewise.
20993 (CFLAGS-xspray.c): Likewise.
20994 (CFLAGS-xnfs_prot.c): Likewise.
20995 (CFLAGS-xrquota.c): Likewise.
20996 (CFLAGS-xkey_prot.c): Likewise.
20997 (CFLAGS-auth_unix.c): Likewise.
20998 (CFLAGS-key_call.c): Likewise.
20999 (CFLAGS-pmap_rmt.c): Likewise.
21000 (CFLAGS-clnt_perr.c): Likewise.
21001 (CFLAGS-openchild.c): Likewise.
21002 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21003 (CFLAGS-msgsnd.c): Likewise.
21004 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21005 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21006 (CFLAGS-tzset.c): Likewise.
21007 (CFLAGS-getdate.c): Likewise.
21008 (CFLAGS-test_time.c): Likewise.
21009 (CPPFLAGS-tst-tzname.c): Likewise.
21010 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21011 (CFLAGS-zic.c): Likewise.
21012 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21013 (CFLAGS-wcswidth.c): Likewise.
21014 (CFLAGS-wcstol.c): Likewise.
21015 (CFLAGS-wcstoul.c): Likewise.
21016 (CFLAGS-wcstoll.c): Likewise.
21017 (CFLAGS-wcstoull.c): Likewise.
21018 (CFLAGS-wcstod.c): Likewise.
21019 (CFLAGS-wcstold.c): Likewise.
21020 (CFLAGS-wcstof128.c): Likewise.
21021 (CFLAGS-wcstof.c): Likewise.
21022 (CFLAGS-wcstol_l.c): Likewise.
21023 (CFLAGS-wcstoul_l.c): Likewise.
21024 (CFLAGS-wcstoll_l.c): Likewise.
21025 (CFLAGS-wcstoull_l.c): Likewise.
21026 (CFLAGS-wcstod_l.c): Likewise.
21027 (CFLAGS-wcstold_l.c): Likewise.
21028 (CFLAGS-wcstof128_l.c): Likewise.
21029 (CFLAGS-wcstof_l.c): Likewise.
21030 (CPPFLAGS-tst-wchar-h.c): Likewise.
21031 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 21032
f4b2aea6
PC
210332017-12-11 Paul A. Clarke <pc@us.ibm.com>
21034
21035 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21036
c9cd7b0c
AZ
210372017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21038 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21039
21040 * manual/tunables.texi (Hardware Capability Tunables): Document
21041 glibc.tune.cached_memopt.
21042 * sysdeps/powerpc/cpu-features.c: New file.
21043 * sysdeps/powerpc/cpu-features.h: New file.
21044 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21045 _dl_powerpc_cpu_features.
21046 * sysdeps/powerpc/dl-tunables.list: New file.
21047 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21048 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21049 (INIT_ARCH): Initialize use_aligned_memopt.
21050 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21051 IS_IN(rtld))]: Restrict dl_platform_init availability and
21052 initialize CPU features used by tunables.
21053 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21054 Add memcpy-power8-cached.
21055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21056 __memcpy_power8_cached.
21057 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21058 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21059 New file.
21060
e70c6fee
L
210612017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21062
21063 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21064 (CFLAGS-noinl-tester.c): Likewise.
21065 (CFLAGS-tst-strlen.c): Likewise.
21066 (CFLAGS-stratcliff.c): Likewise.
21067 (CFLAGS-test-ffs.c): Likewise.
21068 (CFLAGS-tst-inlcall.c): Likewise.
21069 (CFLAGS-tst-xbzero-opt.c): Likewise.
21070 (CFLAGS-memcpy.c): Likewise.
21071 (CFLAGS-wordcopy.c): Likewise.
21072
dee94366
SL
210732017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21074
21075 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21076 Store r15 on stack and add cfi rule.
21077 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21078 Likewise.
21079
363e4519 210802017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
21081
21082 [BZ #22577]
21083 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21084 call.
21085
9d0ffa60
L
210862017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21087
21088 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21089 Add s_sinf-sse2 and s_sinf-fma.
21090 (CFLAGS-s_sinf-fma.c): New.
21091 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21092 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21093 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21094
9574c7b6
L
210952017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21096
21097 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21098
d15e83c5
JM
210992017-12-07 Joseph Myers <joseph@codesourcery.com>
21100
21101 [BZ #22568]
21102 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21103 part of result to imaginary part of argument if it is zero and the
21104 real part of the argument is not finite.
21105 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21106 of result to real part of argument if it is zero and the imaginary
21107 part of the argument is not finite.
21108
d89756eb
MF
211092017-12-07 Mike FABIAN <mfabian@redhat.com>
21110
21111 [BZ #22524]
21112 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21113 and to the list of locales to be built for testing.
21114 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21115 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21116 and build the collation rules upon that.
21117
1f9055ce
JM
211182017-12-07 Joseph Myers <joseph@codesourcery.com>
21119
21120 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21121 * manual/math.texi (Mathematics): Document support for _Float32.
21122 * math/Makefile (test-types): Add float32.
21123 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21124 * stdlib/Versions (GLIBC_2.27): Likewise.
21125 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21126 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21127 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21128 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21129 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21130 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21131 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21132 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21133 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21134 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21135 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21136 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21137 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21138 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21139 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21140 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21141 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21142 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21143 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21144 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21145 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21146 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21147 Likewise.
21148 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21149 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21150 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21151 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21152 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21154 Likewise.
21155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21156 Likewise.
21157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21158 Likewise.
21159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21160 Likewise.
21161
21162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21163 Likewise.
21164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21165 Likewise.
21166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21167 Likewise.
21168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21169 Likewise.
21170 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21171 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21172 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21173 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21174 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21175 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21176 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21177 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21178 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21179 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21181 Likewise.
21182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21183 Likewise.
21184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21185 Likewise.
21186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21187 Likewise.
21188 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21189 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21190 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21191 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21192 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21193 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21194 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21195 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21196
5244527d
JM
211972017-12-06 Joseph Myers <joseph@codesourcery.com>
21198
fb1ca2aa
JM
21199 * stdlib/strtof.c: Include <bits/floatn.h>
21200 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21201 and later undefine as macro. Define as weak alias if
21202 [!USE_WIDE_CHAR].
21203 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21204 and later undefine as macro. Define as weak alias if
21205 [USE_WIDE_CHAR].
21206 * stdlib/strtof_l.c: Include <bits/floatn.h>
21207 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21208 and later undefine as macro. Define as weak alias if
21209 [!USE_WIDE_CHAR].
21210 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21211 and later undefine as macro. Define as weak alias if
21212 [USE_WIDE_CHAR].
21213
fc10cc3f
JM
21214 * stdlib/strfromf.c: Include <bits/floatn.h>.
21215 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21216 and later undefine as macro and define as weak alias.
21217
e420d228
JM
21218 * math/test-float32.h: New file.
21219
26007a2f
JM
21220 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21221 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21222 (libm_alias_float_other_r): Create f32 alias.
21223 (libm_alias_float_r): Use semicolon before call to
21224 libm_alias_float_other_r.
21225
c191f64c
JM
21226 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21227 second argument to libm_alias_float_other.
21228 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21229 second argument to libm_alias_float_other.
21230 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21231 argument to libm_alias_float_other.
21232
5244527d
JM
21233 [BZ #22561]
21234 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21235 real part of result for argument 0 + i * NaN.
21236 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21237 results for tests of 0 + i * NaN.
21238
d73fac82
AZ
212392017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21240
21241 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21242
7ec094e8
DM
212432017-12-06 David S. Miller <davem@davemloft.net>
21244
21245 * sysdeps/sparc/fpu/libm-test-ulps: Update
21246 exp_{downward,towardzero,upward} ulps.
21247
53994f12
JM
212482017-12-06 Joseph Myers <joseph@codesourcery.com>
21249
1dbe6f64
JM
21250 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21251 variables static.
21252
53994f12
JM
21253 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21254 (Y0_2D): Likewise.
21255 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21256 (Y0_2D): Likewise.
21257 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21258 (Y0_2D): Likewise.
21259 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21260 (Y0_2D): Likewise.
21261
62ea2193
MF
212622017-12-06 Mike FABIAN <mfabian@redhat.com>
21263
21264 [BZ #22515]
21265 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21266 and to the list of locales to be built for testing.
21267 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21268 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21269 and build the collation rules upon that.
21270
87235d70
RS
212712017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21272
21273 * NEWS: Add sinf to list of optimized functions.
21274
0d93b7fd
JM
212752017-12-06 Joseph Myers <joseph@codesourcery.com>
21276
21277 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21278 (__HAVE_FLOAT32X): Likewise.
21279 * manual/math.texi (Mathematics): Document support for _Float64
21280 and _Float32x.
21281 * math/Makefile (test-types): Add float64 and float32x.
21282 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21283 functions.
21284 * stdlib/Versions (GLIBC_2.27): Likewise.
21285 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21286 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21287 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21288 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21289 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21290 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21291 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21292 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21293 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21294 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21295 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21296 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21297 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21298 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21299 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21300 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21301 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21302 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21303 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21304 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21305 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21306 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21307 Likewise.
21308 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21309 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21310 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21311 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21312 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21314 Likewise.
21315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21316 Likewise.
21317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21318 Likewise.
21319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21320 Likewise.
21321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21322 Likewise.
21323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21324 Likewise.
21325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21326 Likewise.
21327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21328 Likewise.
21329 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21330 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21331 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21332 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21333 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21334 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21335 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21336 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21337 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21338 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21340 Likewise.
21341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21342 Likewise.
21343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21344 Likewise.
21345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21346 Likewise.
21347 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21348 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21349 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21350 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21351 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21352 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21353 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21354 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21355
f7787234
JM
213562017-12-05 Joseph Myers <joseph@codesourcery.com>
21357
21358 * bits/floatn-common.h: Include <bits/long-double.h>.
21359 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21360 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21361 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21362 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21363 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21364 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21365 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21366 (__builtin_huge_valf64): Use __builtin_huge_vall.
21367 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21368 (__builtin_inff64): Use __builtin_infl.
21369 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21370 (__builtin_nanf64): Use __builtin_nanl.
21371 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21372 (__builtin_nansf64): Use __builtin_nansl.
21373
363e4519
DL
213742017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21375 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 21376 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
21377
21378 * elf/dl-tunables.list: Add elision parameters.
21379 * manual/tunables.texi: Add entries about elision tunable.
21380 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21381 Add callback functions to dynamically enable/disable elision.
21382 Add multiple callbacks functions to set elision parameters.
21383 Deleted __libc_enable_secure check.
21384 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21385 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21386 * configure: Regenerated.
21387 * configure.ac: Option enable_lock_elision was deleted.
21388 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21389 * config.make.in: Remove references to enable_lock_elision.
21390 * manual/install.texi: Elision configure option was removed.
21391 * INSTALL: Regenerated to remove enable_lock_elision.
21392 * nptl/Makefile:
21393 Disable elision so it can verify error case for destroying a mutex.
21394 * sysdeps/powerpc/nptl/elide.h:
21395 Cleanup ENABLE_LOCK_ELISION check.
21396 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21397 * sysdeps/s390/configure: Regenerated.
21398 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21399 * nptl/tst-mutex8.c:
21400 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21401 * sysdeps/powerpc/powerpc32/sysdep.h:
21402 Deleted all ENABLE_LOCK_ELISION checks.
21403 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21404 * sysdeps/powerpc/sysdep.h: Likewise.
21405 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21406 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21407 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21408 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21409 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21410 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21411 enable-lock-elision.
21412
a5a2a76b
JM
214132017-12-05 Joseph Myers <joseph@codesourcery.com>
21414
21415 * stdlib/strtod.c: Include <bits/floatn.h>.
21416 (BUILD_DOUBLE): New macro.
21417 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21418 (strtof64): Define and later undefine as macro. Define as weak
21419 alias if [!USE_WIDE_CHAR].
21420 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21421 (wcstof64): Define and later undefine as macro. Define as weak
21422 alias if [USE_WIDE_CHAR].
21423 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21424 (strtof32x): Define and later undefine as macro. Define as weak
21425 alias if [!USE_WIDE_CHAR].
21426 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21427 (wcstof32x): Define and later undefine as macro. Define as weak
21428 alias if [USE_WIDE_CHAR].
21429 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21430 (BUILD_DOUBLE): New macro.
21431 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21432 (strtof64_l): Define and later undefine as macro. Define as weak
21433 alias if [!USE_WIDE_CHAR].
21434 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21435 (wcstof64_l): Define and later undefine as macro. Define as weak
21436 alias if [USE_WIDE_CHAR].
21437 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21438 (strtof32x_l): Define and later undefine as macro. Define as weak
21439 alias if [!USE_WIDE_CHAR].
21440 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21441 (wcstof32x_l): Define and later undefine as macro. Define as weak
21442 alias if [USE_WIDE_CHAR].
21443
94d80dfc
AZ
214442017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21445
21446 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21447 (reduced): Use ones as double instead of integer.
21448
00d54af7
SN
214492017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21450
21451 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21452
f2d64d62
JM
214532017-12-05 Joseph Myers <joseph@codesourcery.com>
21454
1f70eae4
JM
21455 * stdlib/strfromd.c: Include <bits/floatn.h>.
21456 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21457 and later undefine as macro and define as weak alias.
21458 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21459 Likewise.
21460
e2c4dce5
JM
21461 * math/test-float32x.h: New file.
21462 * math/test-float64.h: Likewise.
21463
f2d64d62
JM
21464 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21465 (libm_alias_double_other_r_f64): New macro.
21466 (libm_alias_double_other_r_f32x): Likewise.
21467 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21468 libm_alias_double_other_r_f32x.
21469 (libm_alias_double_r): Use semicolon before call to
21470 libm_alias_double_other_r.
21471 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21472 <bits/floatn.h>.
21473 (libm_alias_double_other_r_f64): New macro.
21474 (libm_alias_double_other_r_f32x): Likewise.
21475 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21476 libm_alias_double_other_r_f32x.
21477
91c318e7
L
214782017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21479
21480 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21481 int.
21482 (SINF_FUNC): Likewise. Replace floor with simple casts.
21483
de9661d6
MF
214842017-12-05 Mike FABIAN <mfabian@redhat.com>
21485
21486 [BZ #22517]
21487 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21488 and to the list of locales to be built for testing.
21489 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21490 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21491 and build the collation rules upon that.
21492
f18b8dc7
CM
214932017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21494
21495 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21496 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21497 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21498 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21499 instead of __insn__xxx.
21500 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21501 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21502 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21503 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21504 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21505 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21506
446d22e9
FW
215072017-12-05 Florian Weimer <fweimer@redhat.com>
21508
21509 Linux: Implement interfaces for memory protection keys
21510 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21511 xsignal, xsysconf.
21512 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21513 * support/xunistd.h (xsysconf): Declare.
21514 * support/xraise.c: New file.
21515 * support/xsigaction.c: Likewise.
21516 * support/xsignal.c: Likewise.
21517 * support/xsysconf.c: Likewise.
21518 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21519 pkey_set, pkey_get, pkey_mprotect.
21520 [misc] (tests): Add tst-pkey.
21521 (tst-pkey): Link with -lpthread.
21522 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21523 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21524 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21525 (PKEY_DISABLE_WRITE): Define.
21526 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21527 Declare.
21528 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21529 (SEGV_PKUERR): Add.
21530 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21531 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21532 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21533 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21534 Add.
21535 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21536 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21537 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21538 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21539 * sysdeps/unix/sysv/linux/**.abilist: Update.
21540
da616c14
FW
215412017-12-05 Florian Weimer <fweimer@redhat.com>
21542
21543 * support/tst-test_compare.c (subprocess): Use long long instead
21544 of long argument for consistent type width across 32-bit and
21545 64-bit architectures.
21546 (do_test): Adjust expected output.
21547
216933b2
JM
215482017-12-05 Joseph Myers <joseph@codesourcery.com>
21549
21550 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21551 (cosf): Define using libm_alias_float.
21552 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21553 (fabsf): Define using libm_alias_float.
21554 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21555 (fmaf): Define using libm_alias_float.
21556 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21557 (rintf): Define using libm_alias_float.
21558 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21559 (sinf): Define using libm_alias_float.
21560 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21561 <libm-alias-float.h>.
21562 (modff): Define using libm_alias_float.
21563 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21564 <libm-alias-float.h>.
21565 (logbf): Define using libm_alias_float.
21566 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21567 <libm-alias-float.h>.
21568 (ceilf): Define using libm_alias_float.
21569 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21570 <libm-alias-float.h>.
21571 (copysignf): Define using libm_alias_float.
21572 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21573 <libm-alias-float.h>.
21574 (floorf): Define using libm_alias_float.
21575 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21576 <libm-alias-float.h>.
21577 (llrintf): Define using libm_alias_float.
21578 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21579 <libm-alias-float.h>.
21580 (llroundf): Define using libm_alias_float.
21581 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21582 <libm-alias-float.h>.
21583 (lrintf): Define using libm_alias_float.
21584 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21585 <libm-alias-float.h>.
21586 (lroundf): Define using libm_alias_float.
21587 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21588 <libm-alias-float.h>.
21589 (nearbyintf): Define using libm_alias_float.
21590 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21591 <libm-alias-float.h>.
21592 (rintf): Define using libm_alias_float.
21593 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21594 <libm-alias-float.h>.
21595 (roundf): Define using libm_alias_float.
21596 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21597 <libm-alias-float.h>.
21598 (truncf): Define using libm_alias_float.
21599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21600 Include <libm-alias-float.h>.
21601 (ceilf): Define using libm_alias_float.
21602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21603 Include <libm-alias-float.h>.
21604 (copysignf): Define using libm_alias_float.
21605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21606 Include <libm-alias-float.h>.
21607 (floorf): Define using libm_alias_float.
21608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21609 Include <libm-alias-float.h>.
21610 (llrintf): Define using libm_alias_float.
21611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21612 Include <libm-alias-float.h>.
21613 (llroundf): Define using libm_alias_float.
21614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21615 Include <libm-alias-float.h>.
21616 (logbf): Define using libm_alias_float.
21617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21618 Include <libm-alias-float.h>.
21619 (lrintf): Define using libm_alias_float.
21620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21621 Include <libm-alias-float.h>.
21622 (lroundf): Define using libm_alias_float.
21623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21624 Include <libm-alias-float.h>.
21625 (modff): Define using libm_alias_float.
21626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21627 Include <libm-alias-float.h>.
21628 (roundf): Define using libm_alias_float.
21629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21630 Include <libm-alias-float.h>.
21631 (truncf): Define using libm_alias_float.
21632 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21633 <libm-alias-float.h>.
21634 (llrintf): Define using libm_alias_float.
21635 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21636 <libm-alias-float.h>.
21637 (llroundf): Define using libm_alias_float.
21638 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21639 <libm-alias-float.h>.
21640 (ceilf): Define using libm_alias_float.
21641 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21642 <libm-alias-float.h>.
21643 (floorf): Define using libm_alias_float.
21644 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21645 <libm-alias-float.h>.
21646 (llroundf): Define using libm_alias_float.
21647 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21648 <libm-alias-float.h>.
21649 (lroundf): Define using libm_alias_float.
21650 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21651 <libm-alias-float.h>.
21652 (roundf): Define using libm_alias_float.
21653 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21654 <libm-alias-float.h>.
21655 (truncf): Define using libm_alias_float.
21656 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21657 <libm-alias-float.h>.
21658 (copysignf): Define using libm_alias_float.
21659 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21660 <libm-alias-float.h>.
21661 (llrintf): Define using libm_alias_float.
21662 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21663 <libm-alias-float.h>.
21664 (llroundf): Define using libm_alias_float.
21665 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21666 <libm-alias-float.h>.
21667 (lrintf): Define using libm_alias_float.
21668 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21669 <libm-alias-float.h>.
21670 (lroundf): Define using libm_alias_float.
21671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21672 <libm-alias-float.h>.
21673 (ceilf): Define using libm_alias_float.
21674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21675 <libm-alias-float.h>.
21676 (copysignf): Define using libm_alias_float.
21677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21678 <libm-alias-float.h>.
21679 (cosf): Define using libm_alias_float.
21680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21681 <libm-alias-float.h>.
21682 (floorf): Define using libm_alias_float.
21683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21684 <libm-alias-float.h>.
21685 (llrintf): Define using libm_alias_float.
21686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21687 <libm-alias-float.h>.
21688 (llroundf): Define using libm_alias_float.
21689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21690 <libm-alias-float.h>.
21691 (logbf): Define using libm_alias_float.
21692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21693 <libm-alias-float.h>.
21694 (modff): Define using libm_alias_float.
21695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21696 <libm-alias-float.h>.
21697 (roundf): Define using libm_alias_float.
21698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21699 <libm-alias-float.h>.
21700 (sinf): Define using libm_alias_float.
21701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21702 <libm-alias-float.h>.
21703 (truncf): Define using libm_alias_float.
21704 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21705 <libm-alias-float.h>.
21706 (ceilf): Define using libm_alias_float.
21707 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21708 <libm-alias-float.h>.
21709 (copysignf): Define using libm_alias_float.
21710 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21711 <libm-alias-float.h>.
21712 (floorf): Define using libm_alias_float.
21713 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21714 <libm-alias-float.h>.
21715 (llrintf): Define using libm_alias_float.
21716 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21717 <libm-alias-float.h>.
21718 (llroundf): Define using libm_alias_float.
21719 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21720 <libm-alias-float.h>.
21721 (nearbyintf): Define using libm_alias_float.
21722 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21723 <libm-alias-float.h>.
21724 (rintf): Define using libm_alias_float.
21725 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21726 <libm-alias-float.h>.
21727 (roundf): Define using libm_alias_float.
21728 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21729 <libm-alias-float.h>.
21730 (truncf): Define using libm_alias_float.
21731 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21732 <libm-alias-float.h>.
21733 (ceilf): Define using libm_alias_float.
21734 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21735 <libm-alias-float.h>.
21736 (floorf): Define using libm_alias_float.
21737 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21738 <libm-alias-float.h>.
21739 (llroundf): Define using libm_alias_float.
21740 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21741 <libm-alias-float.h>.
21742 (roundf): Define using libm_alias_float.
21743 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21744 <libm-alias-float.h>.
21745 (truncf): Define using libm_alias_float.
21746 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21747 <libm-alias-float.h>.
21748 (copysignf): Define using libm_alias_float.
21749 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21750 <libm-alias-float.h>.
21751 (llrintf): Define using libm_alias_float.
21752 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21753 <libm-alias-float.h>.
21754 (llroundf): Define using libm_alias_float.
21755 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21756 <libm-alias-float.h>.
21757 (cosf): Define using libm_alias_float.
21758 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21759 <libm-alias-float.h>.
21760 (llrintf): Define using libm_alias_float.
21761 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21762 <libm-alias-float.h>.
21763 (llroundf): Define using libm_alias_float.
21764 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21765 <libm-alias-float.h>.
21766 (sinf): Define using libm_alias_float.
21767
93485524
FW
217682017-12-04 Florian Weimer <fweimer@redhat.com>
21769
21770 * support/check.h (TEST_COMPARE): Define.
21771 (support_test_compare_failure): Declare.
21772 * support/Makefile (libsupport-routines): Add
21773 support_test_compare_failure.
21774 (tests): Add tst-test_compare.
21775 * support /support_test_compare_failure.c: New file.
21776 * support/tst-test_compare.c: Likewise.
21777
96b06a19
MF
217782017-12-04 Mike FABIAN <mfabian@redhat.com>
21779
21780 [BZ #22527]
21781 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21782 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21783 available, this rewrite of the collation rules does reproduce
21784 the test file in the same order.
21785
1f6d91f3
MF
217862017-12-04 Mike FABIAN <mfabian@redhat.com>
21787
21788 [BZ #10580]
21789 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21790 digraphs in the month and day names. Using single code points for
21791 digraphs is deprecated. While there are dedicated Unicode
21792 codepoints, for the digraphs, these are included for backwards
21793 compatibility and modern texts use a sequence of Basic Latin
21794 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21795 This makes the month and day names agree exactly with CLDR now,
21796 CLDR does not use the single code points for the digraphs either.
21797
2e49fed8
CM
217982017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21799
21800 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21801
73895b49
JM
218022017-12-04 Joseph Myers <joseph@codesourcery.com>
21803
21804 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
21805 of floor.
21806
4c1d801a
SP
218072017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
21808
21809 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
21810 Define only for libc.so.
21811
478593e6
SL
218122017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
21813
21814 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21815 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 21816 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
21817 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
21818 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21819
7863a711
RS
218202017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21821
21822 [BZ #5997]
21823 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
21824
800a496a
JDA
218252017-12-02 John David Anglin <danglin@gcc.gnu.org>
21826
b3f7fb12
JDA
21827 [BZ libc/19170]
21828 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
21829 PREINIT_FUNCTION_WEAK is nonzero.
21830 (gmon_initializer): New function. Put procedure label for it in
21831 .init_array section.
21832 (_init): Don't call PREINIT_FUNCTION.
21833 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
21834 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
21835 value when map argument is null.
21836
800a496a
JDA
21837 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
21838 depi instruction from PIC pc-relative sequence.
21839 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
21840 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
21841 (elf_machine_load_address): Likewise.
21842 (elf_machine_runtime_setup): Likewise.
21843
d17542d2
JM
218442017-12-02 Joseph Myers <joseph@codesourcery.com>
21845
21846 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
21847 <libm-alias-double.h>.
21848 (logb): Define using libm_alias_double.
21849 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21850 <libm-alias-double.h>.
21851 (copysign): Define using libm_alias_double.
21852 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
21853 <libm-alias-double.h>.
21854 (llrint): Define using libm_alias_double.
21855 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
21856 <libm-alias-double.h>.
21857 (llround): Define using libm_alias_double.
21858 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21859 <libm-alias-double.h>.
21860 (lrint): Define using libm_alias_double.
21861 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21862 <libm-alias-double.h>.
21863 (lround): Define using libm_alias_double.
21864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21865 Include <libm-alias-double.h>.
21866 (copysign): Define using libm_alias_double.
21867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
21868 Include <libm-alias-double.h>.
21869 (llrint): Define using libm_alias_double.
21870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
21871 Include <libm-alias-double.h>.
21872 (llround): Define using libm_alias_double.
21873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
21874 <libm-alias-double.h>.
21875 (logb): Define using libm_alias_double.
21876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
21877 Include <libm-alias-double.h>.
21878 (lrint): Define using libm_alias_double.
21879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
21880 Include <libm-alias-double.h>.
21881 (lround): Define using libm_alias_double.
21882 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
21883 <libm-alias-double.h>.
21884 (llrint): Define using libm_alias_double.
21885 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21886 <libm-alias-double.h>.
21887 (llround): Define using libm_alias_double.
21888 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21889 <libm-alias-double.h>.
21890 (llround): Define using libm_alias_double.
21891 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21892 <libm-alias-double.h>.
21893 (lround): Define using libm_alias_double.
21894 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21895 <libm-alias-double.h>.
21896 (copysign): Define using libm_alias_double.
21897 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
21898 <libm-alias-double.h>.
21899 (llrint): Define using libm_alias_double.
21900 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21901 <libm-alias-double.h>.
21902 (llround): Define using libm_alias_double.
21903 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21904 <libm-alias-double.h>.
21905 (lrint): Define using libm_alias_double.
21906 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21907 <libm-alias-double.h>.
21908 (lround): Define using libm_alias_double.
21909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
21910 <libm-alias-double.h>.
21911 (copysign): Define using libm_alias_double.
21912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
21913 <libm-alias-double.h>.
21914 (llrint): Define using libm_alias_double.
21915 (lrint): Likewise.
21916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
21917 <libm-alias-double.h>.
21918 (llround): Define using libm_alias_double.
21919 (lround): Likewise.
21920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
21921 <libm-alias-double.h>.
21922 (logb): Define using libm_alias_double.
21923 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21924 <libm-alias-double.h>.
21925 (copysign): Define using libm_alias_double.
21926 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21927 <libm-alias-double.h>.
21928 (llrint): Define using libm_alias_double.
21929 (lrint): Likewise.
21930 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21931 <libm-alias-double.h>.
21932 (llround): Define using libm_alias_double.
21933 (lround): Likewise.
21934 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21935 <libm-alias-double.h>.
21936 (llround): Define using libm_alias_double.
21937 (lround): Likewise.
21938 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21939 <libm-alias-double.h>.
21940 (copysign): Define using libm_alias_double.
21941 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21942 <libm-alias-double.h>.
21943 (llrint): Define using libm_alias_double.
21944 (lrint): Likewise.
21945 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21946 <libm-alias-double.h>.
21947 (llround): Define using libm_alias_double.
21948 (lround): Likewise.
21949 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21950 <libm-alias-double.h>.
21951 (llrint): Define using libm_alias_double.
21952 (lrint): Likewise.
21953 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21954 <libm-alias-double.h>.
21955 (llround): Define using libm_alias_double.
21956 (lround): Likewise.
21957
ec2cf3f4
JM
219582017-12-01 Joseph Myers <joseph@codesourcery.com>
21959
0ddde474
JM
21960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21961 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21962 compat symbol based on llround.
21963
0d5ba561
JM
21964 * sysdeps/powerpc/power7/fpu/s_logb.c
21965 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21966 symbol based on __logb, not on logb.
21967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21968 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21970 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21971
51ea3b20
JM
21972 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21973 (rint): Define using libm_alias_double.
21974 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21975 <libm-alias-double.h>.
21976 (modf): Define using libm_alias_double.
21977 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21978 <libm-alias-double.h>.
21979 (ceil): Define using libm_alias_double.
21980 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21981 <libm-alias-double.h>.
21982 (floor): Define using libm_alias_double.
21983 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21984 <libm-alias-double.h>.
21985 (nearbyint): Define using libm_alias_double.
21986 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21987 <libm-alias-double.h>.
21988 (rint): Define using libm_alias_double.
21989 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21990 <libm-alias-double.h>.
21991 (round): Define using libm_alias_double.
21992 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21993 <libm-alias-double.h>.
21994 (trunc): Define using libm_alias_double.
21995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21996 <libm-alias-double.h>.
21997 (ceil): Define using libm_alias_double.
21998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21999 Include <libm-alias-double.h>.
22000 (floor): Define using libm_alias_double.
22001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22002 <libm-alias-double.h>.
22003 (modf): Define using libm_alias_double.
22004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22005 Include <libm-alias-double.h>.
22006 (round): Define using libm_alias_double.
22007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22008 Include <libm-alias-double.h>.
22009 (trunc): Define using libm_alias_double.
22010 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22011 <libm-alias-double.h>.
22012 (ceil): Define using libm_alias_double.
22013 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22014 <libm-alias-double.h>.
22015 (floor): Define using libm_alias_double.
22016 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22017 <libm-alias-double.h>.
22018 (round): Define using libm_alias_double.
22019 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22020 <libm-alias-double.h>.
22021 (trunc): Define using libm_alias_double.
22022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22023 <libm-alias-double.h>.
22024 (ceil): Define using libm_alias_double.
22025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22026 <libm-alias-double.h>.
22027 (floor): Define using libm_alias_double.
22028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22029 <libm-alias-double.h>.
22030 (modf): Define using libm_alias_double.
22031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22032 <libm-alias-double.h>.
22033 (round): Define using libm_alias_double.
22034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22035 <libm-alias-double.h>.
22036 (trunc): Define using libm_alias_double.
22037 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22038 <libm-alias-double.h>.
22039 (ceil): Define using libm_alias_double.
22040 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22041 <libm-alias-double.h>.
22042 (floor): Define using libm_alias_double.
22043 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22044 <libm-alias-double.h>.
22045 (nearbyint): Define using libm_alias_double.
22046 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22047 <libm-alias-double.h>.
22048 (rint): Define using libm_alias_double.
22049 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22050 <libm-alias-double.h>.
22051 (round): Define using libm_alias_double.
22052 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22053 <libm-alias-double.h>.
22054 (trunc): Define using libm_alias_double.
22055 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22056 <libm-alias-double.h>.
22057 (ceil): Define using libm_alias_double.
22058 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22059 <libm-alias-double.h>.
22060 (floor): Define using libm_alias_double.
22061 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22062 <libm-alias-double.h>.
22063 (round): Define using libm_alias_double.
22064 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22065 <libm-alias-double.h>.
22066 (trunc): Define using libm_alias_double.
22067
ec2cf3f4
JM
22068 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22069 (fabs): Define using libm_alias_double.
22070 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22071 (fma): Define using libm_alias_double.
22072 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22073 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22074 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22075 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22076
5b7bd975
AZ
220772017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22078
0594b13f
AZ
22079 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22080
dbdfcf3b
AZ
22081 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22082 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22083 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22084
5b7bd975
AZ
22085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22086 due redirect macro.
22087
ef9ecfa6
AS
220882017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22089
22090 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22091
5b4e5e78
AZ
220922017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22093
2a14526b
AZ
22094 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22095 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22096 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22097 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22098
dbeb74ef 22099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
22100 (libm-sysdep_routines): Add s_nearbyintf-generic and
22101 s_nearbyint-generic.
22102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22103 New file.
22104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22106 Likewise.
22107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22108 Likewise.
22109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22110 file.
22111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22112 Likewise.
22113
22114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
22115 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22117 file.
22118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22120 Likewise.
22121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22124
fa7ded96
AZ
22125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22126 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22128 file.
22129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22131 Likewise.
22132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22135
e240cf0e
AZ
22136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22137 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22139 file.
22140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22142 Likewise.
22143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22146
5b4e5e78
AZ
22147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22148 (sysdep_calls): New rule.
22149 (sysdep_routines): Use sysdep_calls as base.
22150 (libm-sysdep_routines): Add generic rule for symbols shared with
22151 libc. Add s_copysign-generic and s_copysign-generic objects.
22152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22153 New file.
22154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22156 Likewise.
22157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22160
d985adae
MF
221612017-12-01 Mike FABIAN <mfabian@redhat.com>
22162
22163 [BZ #22519]
22164 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22165 the list of locales to be built for testing.
22166 * localedata/is_IS.UTF-8.in: New file.
22167 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22168 on iso14651_t1.
22169
ff84a0e0
JM
221702017-12-01 Joseph Myers <joseph@codesourcery.com>
22171
22172 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22173 <libm-alias-float.h>.
22174 (fabsf): Define using libm_alias_float.
22175
ef5d8b43
L
221762017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22177
22178 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22179
c0535adf
JM
221802017-11-30 Joseph Myers <joseph@codesourcery.com>
22181
f938b397
JM
22182 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22183 <libm-alias-float.h>.
22184 (fabsf): Define using libm_alias_float.
22185 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22186 <libm-alias-float.h>.
22187 (lrintf): Define using libm_alias_float.
22188 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22189 <libm-alias-float.h>.
22190 (rintf): Define using libm_alias_float.
22191
2251fad0
JM
22192 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22193 <libm-alias-double.h>.
22194 (fabs): Define using libm_alias_double.
22195 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22196 <libm-alias-double.h>.
22197 (lrint): Define using libm_alias_double.
22198 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22199 <libm-alias-double.h>.
22200 (rint): Define using libm_alias_double.
22201
e53df1de
JM
22202 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22203 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22204 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22205 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22206 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22207 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22208 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22209 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22210 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22211 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22212 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22213 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22214 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22215 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22216 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22217 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22218 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22219 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22220 s_atan_template.c.
22221 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22222 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22223 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22224 s_ceil_template.c.
22225 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22226 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22227 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22228 s_cos_template.c.
22229 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22230 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22231 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22232 s_expm1_template.c.
22233 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22234 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22235 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22236 s_fabs_template.c.
22237 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22238 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22239 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22240 s_floor_template.c.
22241 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22242 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22243 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22244 s_frexp_template.c.
22245 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22246 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22247 s_lrint_template.c.
22248 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22249 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22250 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22251 s_modf_template.c.
22252 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22253 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22254 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22255 s_nearbyint_template.c.
22256 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22257 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22258 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22259 s_remquo_template.c.
22260 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22261 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22262 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22263 s_rint_template.c.
22264 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22265 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22266 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22267 s_sin_template.c.
22268 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22269 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22270 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22271 s_sincos_template.c.
22272 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22273 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22274 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22275 s_tan_template.c.
22276 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22277 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22278 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22279 s_tanh_template.c.
22280 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22281 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22282 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22283 s_trunc_template.c.
22284 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22285 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22286 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22287 s_atan.c instead of including s_atan.c.
22288 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22289 s_atanf.c instead of including s_atanf.c.
22290 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22291 s_atanl.c instead of including s_atanl.c.
22292 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22293 instead of s_atan.c.
22294 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22295 instead of s_atanf.c.
22296 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22297 instead of s_atanl.c.
22298
c0535adf
JM
22299 * scripts/update-copyrights: Do not handle intl/plural.c
22300 specially.
22301
1faaf703
JB
223022017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22303
22304 [BZ #22432]
22305 * configure.ac (BISON): Require to be present.
22306 * configure: Regenerated.
22307 * intl/Makefile (generated): Add plural.c.
22308 [$(BISON) != no]: Make code unconditional.
22309 (plural.c): Change rule to $(objpfx)plural.c.
22310 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22311 * intl/plural.c: Remove.
22312 * manual/install.texi (Tools for Compilation): Document bison as
22313 required.
22314 * INSTALL: Regenerated.
22315
faec6323
JM
223162017-11-30 Joseph Myers <joseph@codesourcery.com>
22317
bd6ea9ed
JM
22318 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22319 <libm-alias-double.h>.
22320 (llrint): Define using libm_alias_double.
22321 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22322 <libm-alias-float.h>.
22323 (llrintf): Define using libm_alias_float.
22324 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22325 <libm-alias-ldouble.h>.
22326 (llrintl): Define using libm_alias_ldouble.
22327
faec6323
JM
22328 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22329 declare_mgen_alias instead of weak_alias.
22330 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22331 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22332 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22333
023cade3
AZ
223342017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22335
9e2279a0
AZ
22336 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22337 Add add_n-generic.
22338 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22339 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22340 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22341
75f37c71
AZ
22342 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22343 Add submul_1-generic.
22344 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22345 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22346 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22347
b70cbbfc 22348 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
22349 Add addmul_1-generic.
22350 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22351 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22352 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22353
22354 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
22355 Add sub_n-generic.
22356 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22357 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22358 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22359
023cade3
AZ
22360 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22361 Add mul_1-generic.
22362 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22363 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22364 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22365
fbb5fd03
MF
223662017-11-30 Mike FABIAN <mfabian@redhat.com>
22367
22368 According to CLDR, collation rules for Serbian and Bosnian
22369 should be the same as for Croatian.
22370
22371 [BZ #22534]
22372 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22373 and to the list of locales to be built for testing.
22374 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22375 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22376 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22377 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22378
5e56e937
MF
223792017-11-30 Mike FABIAN <mfabian@redhat.com>
22380
22381 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22382 to make test case pass.
22383 * localedata/hr_HR.UTF-8.in: Add more test strings.
22384
cf4341ca
MF
223852017-11-30 Mike FABIAN <mfabian@redhat.com>
22386
22387 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22388
363e4519 223892017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
22390
22391 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22392 the list of locales to built for testing.
22393 * localedata/hr_HR.UTF-8.in: New file.
22394
363e4519 223952017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
22396
22397 [BZ #10580]
22398 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22399 iso14651_t1.
22400 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22401 CLDR (except use ligatures for the digraphs, CLDR does not use
22402 the ligatures), add first_workday, some fixes in the date and time
22403 formats.
22404 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22405 for Đ and đ.
22406 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22407 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22408 Add int_p_cs_precedes and int_n_cs_precedes.
22409 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22410 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22411 LC_MONETARY now).
22412 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22413 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22414 name_miss.
22415 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22416 and lang_lib. Change postal_fmt.
22417
f33632cc
L
224182017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22419
22420 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22421 <setjmp.h>.
22422 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22423 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22424 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22425 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22426 * sysdeps/generic/setjmpP.h: New file.
22427 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22428 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22429 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22430 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22431 Add jmp_buf-ssp.sym.
22432 (tests): Add tst-saved_mask-1.
22433
34697694
AS
224342017-11-30 Arjun Shankar <arjun@redhat.com>
22435
22436 [BZ #22375]
37ac8e63 22437 CVE-2017-17426
34697694
AS
22438 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22439 instead of request2size.
22440
3e5efdbd
JM
224412017-11-30 Joseph Myers <joseph@codesourcery.com>
22442
18305fba
JM
22443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22444 (__lllrint): Remove alias.
22445 (lllrint): Likewise.
22446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22447 (__lllrintf): Likewise.
22448 (lllrintf): Likewise.
22449
3e5efdbd
JM
22450 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22451 <libm-alias-float.h>.
22452 (copysignf): Define using libm_alias_float.
22453 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22454 <libm-alias-float.h>.
22455 (fabsf): Define using libm_alias_float.
22456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22457 Include <libm-alias-float.h>.
22458 (copysignf): Define using libm_alias_float.
22459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22460 <libm-alias-float.h>.
22461 (fabsf): Define using libm_alias_float.
22462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22463 <libm-alias-float.h>.
22464 (fdimf): Define using libm_alias_float.
22465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22466 <libm-alias-float.h>.
22467 (fmaf): Define using libm_alias_float.
22468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22469 <libm-alias-float.h>.
22470 (llrintf): Define using libm_alias_float.
22471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22472 Include <libm-alias-float.h>.
22473 (nearbyintf): Define using libm_alias_float.
22474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22475 <libm-alias-float.h>.
22476 (rintf): Define using libm_alias_float.
22477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22478 <libm-alias-float.h>.
22479 (llrintf): Define using libm_alias_float.
22480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22481 <libm-alias-float.h>.
22482 (lrintf): Define using libm_alias_float.
22483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22484 <libm-alias-float.h>.
22485 (nearbyintf): Define using libm_alias_float.
22486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22487 <libm-alias-float.h>.
22488 (rintf): Define using libm_alias_float.
22489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22490 <libm-alias-float.h>.
22491 (ceilf): Define using libm_alias_float.
22492 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22493 <libm-alias-float.h>.
22494 (floorf): Define using libm_alias_float.
22495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22496 <libm-alias-float.h>.
22497 (fmaf): Define using libm_alias_float.
22498 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22499 <libm-alias-float.h>.
22500 (lrintf): Define using libm_alias_float.
22501 (llrintf): Likewise.
22502 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22503 <libm-alias-float.h>.
22504 (nearbyintf): Define using libm_alias_float.
22505 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22506 <libm-alias-float.h>.
22507 (rintf): Define using libm_alias_float.
22508 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22509 <libm-alias-float.h>.
22510 (truncf): Define using libm_alias_float.
22511 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22512 <libm-alias-float.h>.
22513 (copysignf): Define using libm_alias_float.
22514 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22515 <libm-alias-float.h>.
22516 (fabsf): Define using libm_alias_float.
22517 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22518 <libm-alias-float.h>.
22519 (lrintf): Define using libm_alias_float.
22520 (llrintf): Likewise.
22521 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22522 <libm-alias-float.h>.
22523 (nearbyintf): Define using libm_alias_float.
22524 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22525 <libm-alias-float.h>.
22526 (rintf): Define using libm_alias_float.
22527
011fba7e
JM
225282017-11-29 Joseph Myers <joseph@codesourcery.com>
22529
875cd548
JM
22530 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22531 <libm-alias-double.h>.
22532 (copysign): Define using libm_alias_double.
22533 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22534 <libm-alias-double.h>.
22535 (fabs): Define using libm_alias_double.
22536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22537 Include <libm-alias-double.h>.
22538 (copysign): Define using libm_alias_double.
22539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22540 <libm-alias-double.h>.
22541 (fabs): Define using libm_alias_double.
22542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22543 <libm-alias-double.h>.
22544 (fdim): Define using libm_alias_double.
22545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22546 <libm-alias-double.h>.
22547 (fma): Define using libm_alias_double.
22548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22549 <libm-alias-double.h>.
22550 (llrint): Define using libm_alias_double.
22551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22552 Include <libm-alias-double.h>.
22553 (nearbyint): Define using libm_alias_double.
22554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22555 <libm-alias-double.h>.
22556 (rint): Define using libm_alias_double.
22557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22558 <libm-alias-double.h>.
22559 (fabs): Define using libm_alias_double.
22560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22561 <libm-alias-double.h>.
22562 (llrint): Define using libm_alias_double.
22563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22564 <libm-alias-double.h>.
22565 (nearbyint): Define using libm_alias_double.
22566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22567 <libm-alias-double.h>.
22568 (rint): Define using libm_alias_double.
22569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22570 <libm-alias-double.h>.
22571 (ceil): Define using libm_alias_double.
22572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22573 <libm-alias-double.h>.
22574 (floor): Define using libm_alias_double.
22575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22576 <libm-alias-double.h>.
22577 (fma): Define using libm_alias_double.
22578 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22579 <libm-alias-double.h>.
22580 (lrint): Define using libm_alias_double.
22581 (llrint): Likewise.
22582 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22583 <libm-alias-double.h>.
22584 (nearbyint): Define using libm_alias_double.
22585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22586 <libm-alias-double.h>.
22587 (rint): Define using libm_alias_double.
22588 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22589 <libm-alias-double.h>.
22590 (trunc): Define using libm_alias_double.
22591 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22592 <libm-alias-double.h>.
22593 (copysign): Define using libm_alias_double.
22594 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22595 <libm-alias-double.h>.
22596 (fabs): Define using libm_alias_double.
22597 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22598 <libm-alias-double.h>.
22599 (lrint): Define using libm_alias_double.
22600 (llrint): Likewise.
22601 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22602 <libm-alias-double.h>.
22603 (nearbyint): Define using libm_alias_double.
22604 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22605 <libm-alias-double.h>.
22606 (rint): Define using libm_alias_double.
22607
cf4ebc27
JM
22608 [BZ #22229]
22609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22610 <math_ldbl_opt.h>.
22611 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22612
0c097378
JM
22613 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22614 SPARC --disable-multi-arch glibc variants.
22615
34bb10aa
JM
22616 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22617 <libm-alias-float.h>.
22618 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22619 if [SHARED].
22620 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22621 <libm-alias-float.h>.
22622 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22623 if [SHARED].
22624 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22625 <libm-alias-float.h>.
22626 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22627 if [SHARED].
22628 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22629 <libm-alias-float.h>.
22630 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22631 if [SHARED].
22632 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22633 <libm-alias-float.h>.
22634 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22635 if [SHARED].
22636 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22637 <libm-alias-float.h>.
22638 (ceilf): Define using libm_alias_float.
22639 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22640 <libm-alias-float.h>.
22641 (floorf): Define using libm_alias_float.
22642 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22643 <libm-alias-float.h>.
22644 (fmaf): Define using libm_alias_float.
22645 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22646 <libm-alias-float.h>.
22647 (nearbyintf): Define using libm_alias_float.
22648 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22649 <libm-alias-float.h>.
22650 (rintf): Define using libm_alias_float.
22651 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22652 <libm-alias-float.h>.
22653 (truncf): Define using libm_alias_float.
22654 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22655 (copysignf): Define using libm_alias_float.
22656 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22657 (cosf): Define using libm_alias_float.
22658 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22659 (fabsf): Define using libm_alias_float.
22660 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22661 (fmaxf): Define using libm_alias_float.
22662 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22663 (fminf): Define using libm_alias_float.
22664 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22665 (llrintf): Define using libm_alias_float.
22666 [!__ILP32__] (lrintf): Likewise.
22667 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22668 (sincosf): Define using libm_alias_float.
22669 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22670 (sinf): Define using libm_alias_float.
22671 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22672 (lrintf): Define using libm_alias_float.
22673
011fba7e
JM
22674 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22675 <libm-alias-double.h>.
22676 (atan): Define using libm_alias_double.
22677 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22678 <libm-alias-double.h>.
22679 (ceil): Define using libm_alias_double.
22680 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22681 <libm-alias-double.h>.
22682 (floor): Define using libm_alias_double.
22683 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22684 <libm-alias-double.h>.
22685 (fma): Define using libm_alias_double.
22686 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22687 <libm-alias-double.h>.
22688 (nearbyint): Define using libm_alias_double.
22689 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22690 <libm-alias-double.h>.
22691 (rint): Define using libm_alias_double.
22692 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22693 <libm-alias-double.h>.
22694 (sin): Define using libm_alias_double.
22695 (cos): Likewise.
22696 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22697 <libm-alias-double.h>.
22698 (tan): Define using libm_alias_double.
22699 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22700 <libm-alias-double.h>.
22701 (trunc): Define using libm_alias_double.
22702 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22703 (copysign): Define using libm_alias_double.
22704 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22705 (fabs): Define using libm_alias_double.
22706 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22707 (fmax): Define using libm_alias_double.
22708 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22709 (fmin): Define using libm_alias_double.
22710 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22711 (llrint): Define using libm_alias_double.
22712 [!__ILP32__] (lrint): Likewise.
22713 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22714 (lrint): Define using libm_alias_double.
22715
1cbd7bfe
AZ
227162017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22717
21bfcc3d
AZ
22718 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22719 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22720 objects.
22721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22722 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22723 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22724 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22725 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22726 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22727
522228dd
AZ
22728 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22729 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22730 objects.
22731 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22732 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22733 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22737
2a6f4fab
AZ
22738 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22739 (libm-sysdep_routines): Add s_nearbyint-generic and
22740 s_nearbyintf-generic objects.
22741 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22742 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22743 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22744 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22745 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22746 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22747
712b5b83
AZ
22748 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22749 Add s_finitef-generic and s_finite-generic objects.
22750 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22751 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22753 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22754 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22755 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22756
c96d3335
AZ
22757 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22758 Add s_isinff-generic and s_isinf-generic objects.
22759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22765
c6862a23
AZ
22766 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22767 Add s_isnanf-generic and s_isnan-generic objects.
22768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22774
1cbd7bfe
AZ
22775 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22776 macro.
22777 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22778 rule.
22779 (sysdep_routines): Use sysdep_calls as base.
22780 (libm-sysdep_routines): Add generic rule for symbols shared with
22781 libc. Add s_signbit-generic and s_signbitf-generic objects.
22782 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22783 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22784 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22785 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22786 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22787 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22788
aa1142c5
JM
227892017-11-29 Joseph Myers <joseph@codesourcery.com>
22790
22791 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22792 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22793 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22794 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22795 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22796 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22797 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22798 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22799 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22800 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22801 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22802 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22803 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22804 libm_alias_float_r.
22805 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22806 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
22807 (logf): Likewise.
22808 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
22809 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
22810 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
22811 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
22812 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
22813 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
22814 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
22815 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
22816 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
22817 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
22818 libm_alias_float.
22819 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
22820 (cosf): Likewise.
22821 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
22822 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
22823 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
22824 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
22825 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
22826 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
22827 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
22828 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
22829 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
22830 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
22831 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
22832 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
22833 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
22834 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
22835 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
22836 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
22837 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
22838 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
22839 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
22840 libm_alias_float.
22841 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
22842 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
22843 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
22844 * sysdeps/ia64/fpu/w_lgammaf_main.c
22845 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
22846 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
22847
363e4519
DL
228482017-11-28 Mike FABIAN <mfabian@redhat.com>
22849 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
22850
22851 [BZ #17750]
22852 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
22853 * localedata/fr_CA.UTF-8.in: New file with test data for backward
22854 accents sorting.
22855 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
22856 sorting.
22857 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
22858 * localedata/locales/de_DE (LC_COLLATE): Likewise.
22859 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
22860 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
22861 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
22862 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
22863 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
22864 instead of “ifdef DIACRIT_BACKWARD”.
22865
a55430cb
AZ
228662017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22867
22868 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
22869 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
22870 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
22871 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
22872 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
22873 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
22874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
22875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
22876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
22877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
22878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
22879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
22880 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
22881 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
22882 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
22883 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22884 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
22885 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
22886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22887 ($(have-as-vis3) == yes): Remove conditional.
22888 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
22889 Likewise.
22890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
22891 file.
22892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
22893 file.
22894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
22895 file.
22896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
22897 file.
22898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
22899 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
22900 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
22901 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
22902 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
22903 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
22904 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
22905 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
22906
0609ec0a
JM
229072017-11-29 Joseph Myers <joseph@codesourcery.com>
22908
22909 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
22910 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
22911 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
22912 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
22913 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
22914 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
22915 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
22916 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
22917 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
22918 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
22919 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
22920 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
22921 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
22922 libm_alias_double_r.
22923 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22924 (log): Likewise.
22925 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22926 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22927 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22928 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22929 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22930 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22931 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22932 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22933 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22934 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22935 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22936 libm_alias_double.
22937 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22938 (cos): Likewise.
22939 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22940 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22941 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22942 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22943 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22944 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22945 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22946 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22947 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22948 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22949 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22950 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22951 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22952 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22953 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22954 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22955 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22956 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22957 libm_alias_double.
22958 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22959 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22960 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22961 * sysdeps/ia64/fpu/w_lgamma_main.c
22962 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22963 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22964
d5bfa34a
JDA
229652017-11-28 John David Anglin <danglin@gcc.gnu.org>
22966
22967 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22968 address of $global$ into %dp register earlier. Use pc-relative
22969 instruction sequence for PIC case.
22970
bc4e8f9b
JM
229712017-11-28 Joseph Myers <joseph@codesourcery.com>
22972
e4602cba
JM
22973 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22974 (asinhf): Define using libm_alias_float.
22975 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22976 (atanf): Define using libm_alias_float.
22977 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22978 (cbrtf): Define using libm_alias_float.
22979 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22980 (ceilf): Define using libm_alias_float.
22981 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22982 (copysignf): Define using libm_alias_float.
22983 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22984 (expm1f): Define using libm_alias_float.
22985 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22986 (fabsf): Define using libm_alias_float.
22987 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22988 (floorf): Define using libm_alias_float.
22989 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22990 (fmaxf): Define using libm_alias_float.
22991 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22992 (fminf): Define using libm_alias_float.
22993 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22994 (frexpf): Define using libm_alias_float.
22995 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22996 (llrintf): Define using libm_alias_float.
22997 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22998 (logbf): Define using libm_alias_float.
22999 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23000 (lrintf): Define using libm_alias_float.
23001 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23002 (nearbyintf): Define using libm_alias_float.
23003 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23004 (remquof): Define using libm_alias_float.
23005 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23006 (rintf): Define using libm_alias_float.
23007 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23008 (truncf): Define using libm_alias_float.
23009 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23010 <libm-alias-float.h>.
23011 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23012 if [SHARED].
23013 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23014 <libm-alias-float.h>.
23015 (expf): Define using libm_alias_float, or libm_alias_float_other
23016 if [SHARED].
23017 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23018 <libm-alias-float.h>.
23019 (log2f): Define using libm_alias_float, or libm_alias_float_other
23020 if [SHARED].
23021 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23022 <libm-alias-float.h>.
23023 (logf): Define using libm_alias_float, or libm_alias_float_other
23024 if [SHARED].
23025 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23026 <libm-alias-float.h>.
23027 (powf): Define using libm_alias_float, or libm_alias_float_other
23028 if [SHARED].
23029 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23030 <libm-alias-float.h>.
23031 (cosf): Define using libm_alias_float.
23032 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23033 <libm-alias-float.h>.
23034 (sincosf): Define using libm_alias_float.
23035 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23036 <libm-alias-float.h>.
23037 (sinf): Define using libm_alias_float.
23038 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23039 (fmaxf): Define using libm_alias_float.
23040 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23041 (fminf): Define using libm_alias_float.
23042 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23043 <libm-alias-float.h>.
23044 (fmaf): Define using libm_alias_float.
23045
bc4e8f9b
JM
23046 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23047 (asinh): Define using libm_alias_double.
23048 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23049 (atan): Define using libm_alias_double.
23050 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23051 (cbrt): Define using libm_alias_double.
23052 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23053 (ceil): Define using libm_alias_double.
23054 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23055 (copysign): Define using libm_alias_double.
23056 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23057 (expm1): Define using libm_alias_double.
23058 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23059 (fabs): Define using libm_alias_double.
23060 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23061 (fdim): Define using libm_alias_double.
23062 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23063 (floor): Define using libm_alias_double.
23064 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23065 (fmax): Define using libm_alias_double.
23066 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23067 (fmin): Define using libm_alias_double.
23068 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23069 (frexp): Define using libm_alias_double.
23070 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23071 (llrint): Define using libm_alias_double.
23072 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23073 (logb): Define using libm_alias_double.
23074 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23075 (lrint): Define using libm_alias_double.
23076 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23077 (nearbyint): Define using libm_alias_double.
23078 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23079 (remquo): Define using libm_alias_double.
23080 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23081 (rint): Define using libm_alias_double.
23082 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23083 (trunc): Define using libm_alias_double.
23084 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23085 (fmax): Define using libm_alias_double.
23086 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23087 (fmin): Define using libm_alias_double.
23088 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23089 (fma): Define using libm_alias_double.
23090
8d81ce0c
L
230912017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23092
23093 [BZ #22370]
23094 * elf/dl-hwcaps.c (ROUND): Removed.
23095 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23096 and ELF_NOTE_NEXT_OFFSET.
23097 * elf/dl-load.c (ROUND): Removed.
23098 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23099 * elf/readelflib.c (ROUND): Removed.
23100 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23101 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23102 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23103 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23104
6940bd96
JM
231052017-11-28 Joseph Myers <joseph@codesourcery.com>
23106
313ba463
JM
23107 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23108 [!__fmaf] (fmaf): Define using libm_alias_float.
23109
6940bd96
JM
23110 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23111 [!__fma] (fma): Define using libm_alias_double.
23112 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23113
22c69b6a
MF
231142017-11-28 Mike FABIAN <mfabian@redhat.com>
23115
23116 [BZ #22336]
23117 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23118 and implement the collation rules for cs from CLDR on top of that.
23119 * Makefile: Add cs_CZ.UTF-8 to test-input.
23120 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23121
8d7d3ba8
SP
231222017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23123
23124 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23125
0422ed1e
VR
231262017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23127 Icarus Sparry <icarus.w.sparry@intel.com>
23128
23129 * benchtests/Makefile:Add BENCHSET to allow subsets of
23130 benchmarks to be run.
23131 * benchtests/README: Add documentation for: Running subsets of
23132 benchmarks.
23133
0595e360
VR
231342017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23135
d5090db3
VR
23136 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23137 range of tests names.
23138
0595e360
VR
23139 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23140 result from property and remove "max", min" and "mean" from
23141 required properties based on benchtests/bench-skeleton.c.
23142
b4c645c2
FW
231432017-11-28 Florian Weimer <fweimer@redhat.com>
23144
23145 [BZ #20826]
23146 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23147 due to Internet requirement.
23148 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23149 tst-getaddrinfo5.
23150 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23151
88684de7
AZ
231522017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23153
69056564
AZ
23154 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23155 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23156 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23157 (sysdep_routines): Add memset-ultra1.
23158 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23159 file.
23160 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23161 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23162 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23163 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23164 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23165 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23166 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23167 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23168
88684de7
AZ
23169 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23170 file.
23171 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23172 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23173 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23174 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23175 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23176 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23177 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23178 macro.
23179 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23180 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23181 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23182 (sysdep_routines): Add memcpy-ultra1.
23183 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23184 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23185
d8124864
JM
231862017-11-28 Joseph Myers <joseph@codesourcery.com>
23187
f433d0b3
JM
23188 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23189 (cfloat_versions): Take function argument without trailing 'f'.
23190 Call libm_alias_float_other.
23191 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23192 * sysdeps/alpha/fpu/cargf.c: Likewise.
23193 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23194 * sysdeps/alpha/fpu/conjf.c: Likewise.
23195 * sysdeps/alpha/fpu/crealf.c: Likewise.
23196 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23197 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23198 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23199 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23200 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23201 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23202 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23203 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23204 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23205 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23206 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23207 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23208 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23209 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23210 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23211 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23212 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23213 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23214 (clog10f): Use libm_alias_float_other.
23215 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23216 (ceilf): Define using libm_alias_float.
23217 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23218 (copysignf): Define using libm_alias_float.
23219 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23220 (fabsf): Define using libm_alias_float.
23221 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23222 (floorf): Define using libm_alias_float.
23223 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23224 (fmaxf): Define using libm_alias_float.
23225 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23226 (fminf): Define using libm_alias_float.
23227 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23228 (lrintf): Define using libm_alias_float.
23229 (llrintf): Likewise.
23230 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23231 (lroundf): Define using libm_alias_float.
23232 (llroundf): Likewise.
23233 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23234 (rintf): Define using libm_alias_float.
23235 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23236 (truncf): Define using libm_alias_float.
23237
15ff4900
JM
23238 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23239 (ceilf): Define using libm_alias_float.
23240 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23241 (floorf): Define using libm_alias_float.
23242 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23243 (fmaf): Define using libm_alias_float.
23244 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23245 (fmaxf): Define using libm_alias_float.
23246 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23247 (fminf): Define using libm_alias_float.
23248 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23249 (llrintf): Define using libm_alias_float.
23250 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23251 (llroundf): Define using libm_alias_float.
23252 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23253 (lrintf): Define using libm_alias_float.
23254 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23255 (lroundf): Define using libm_alias_float.
23256 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23257 <libm-alias-float.h>.
23258 (nearbyintf): Define using libm_alias_float.
23259 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23260 (rintf): Define using libm_alias_float.
23261 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23262 (roundf): Define using libm_alias_float.
23263 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23264 (truncf): Define using libm_alias_float.
23265
5de60638
JM
23266 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23267 (ceil): Define using libm_alias_double.
23268 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23269 (copysign): Define using libm_alias_double.
23270 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23271 (fabs): Define using libm_alias_double.
23272 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23273 (floor): Define using libm_alias_double.
23274 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23275 (fmax): Define using libm_alias_double.
23276 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23277 (fmin): Define using libm_alias_double.
23278 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23279 (lrint): Define using libm_alias_double.
23280 (llrint): Likewise.
23281 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23282 (lround): Define using libm_alias_double.
23283 (llround): Likewise.
23284 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23285 (rint): Define using libm_alias_double.
23286 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23287 (trunc): Define using libm_alias_double.
23288
d8124864
JM
23289 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23290 (libm_alias_double_r): Add semicolon after weak_alias call.
23291
f07d2ec8
JM
232922017-11-27 Joseph Myers <joseph@codesourcery.com>
23293
23294 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23295 (ceil): Define using libm_alias_double.
23296 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23297 (floor): Define using libm_alias_double.
23298 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23299 (fma): Define using libm_alias_double.
23300 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23301 (fmax): Define using libm_alias_double.
23302 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23303 (fmin): Define using libm_alias_double.
23304 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23305 (llrint): Define using libm_alias_double.
23306 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23307 (llround): Define using libm_alias_double.
23308 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23309 (lrint): Define using libm_alias_double.
23310 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23311 (lround): Define using libm_alias_double.
23312 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23313 (nearbyint): Define using libm_alias_double.
23314 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23315 (rint): Define using libm_alias_double.
23316 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23317 (round): Define using libm_alias_double.
23318 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23319 (trunc): Define using libm_alias_double.
23320
4bab0224
FW
233212017-11-27 Florian Weimer <fweimer@redhat.com>
23322
23323 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23324 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23325 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23326 (tests): Add tst-mlock2.
23327 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23328 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23329 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23330 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23331 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23332 for mlock. Document mlock2.
23333
a23aa5b7
JM
233342017-11-27 Joseph Myers <joseph@codesourcery.com>
23335
23336 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23337 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23338 Likewise.
23339 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23340 Likewise.
23341 * sysdeps/x86/Makeconfig: New file.
23342 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23343 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23344 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23345 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23346 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23347 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23348 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23349 Likewise.
23350 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23351 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23352 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23353 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23354 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23355 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23356 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23357 * manual/math.texi (Mathematics): Document support for _Float64x.
23358 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23359 * stdlib/Versions (GLIBC_2.27): Likewise.
23360 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23361 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23362 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23363 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23364 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23365 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23366 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23367 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23368 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23369 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23370 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23371 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23373 Likewise.
23374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23375 Likewise.
23376 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23377 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23378 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23379 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23380 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23381 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23382 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23383 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23384 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23385 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23386 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23387 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23388 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23389 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23390
c2c299fd
AS
233912017-11-27 Andreas Schwab <schwab@suse.de>
23392
23393 * elf/Makefile (dl-routines): Add dl-sort-maps.
23394 * elf/dl-sort-maps.c: New file.
23395 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23396 (_dl_sort_maps): Declare.
23397 * elf/dl-fini.c (_dl_sort_fini): Remove.
23398 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23399 * elf/dl-close.c (_dl_close_worker): Likewise.
23400 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23401 open-coding it.
23402 * elf/dl-open.c (dl_open_worker): Likewise.
23403
9d4b0117
JM
234042017-11-24 Joseph Myers <joseph@codesourcery.com>
23405
de61465c
JM
23406 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23407 using libm_alias_float128.
23408 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23409 Likewise.
23410 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23411 Likewise.
23412 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23413 (setpayloadsigf128): Likewise.
23414 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23415 Likewise.
23416 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23417 Likewise.
23418
9ae6d171
JM
23419 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23420 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23421 -mfloat128 to CFLAGS.
23422 ($(foreach
23423 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23424 Likewise.
23425 (CFLAGS-libm-test-support-float64x.c): New variable.
23426 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23427 $(f128-loader-link) to gnulib-tests.
23428
6e70d156
JM
23429 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23430 (libm_alias_float128_other_r): If
23431 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23432 alias.
23433 (libm_alias_float128_r): Add semicolon after weak_alias call.
23434 * sysdeps/generic/libm-alias-ldouble.h
23435 (libm_alias_ldouble_other_r_f128): New macro.
23436 (libm_alias_ldouble_other_r_f64x): Likewise.
23437 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23438 and libm_alias_ldouble_other_r_f64x.
23439 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23440 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23441 (libm_alias_ldouble_other_r_f128): New macro.
23442 (libm_alias_ldouble_other_r_f64x): Likewise.
23443 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23444 and libm_alias_ldouble_other_r_f64x.
23445
df2806cd
JM
23446 * stdlib/strfroml.c: Always include <stdlib.h>.
23447 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23448 undefine as macro and define as weak alias.
23449 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23450 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23451 <stdlib.h>.
23452 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23453 Define and later undefine as macro and define as weak alias.
23454
0df4fe35
JM
23455 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23456 Define and later undefine as macro. Define as weak alias if
23457 [!USE_WIDE_CHAR].
23458 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23459 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23460 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23461 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23462 Define and later undefine as macro. Define as weak alias if
23463 [!USE_WIDE_CHAR].
23464 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23465 Define and later undefine as macro. Define as weak alias if
23466 [USE_WIDE_CHAR].
23467 * sysdeps/ieee754/float128/strtof128_l.c
23468 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23469 Define and later undefine as macro. Define as weak alias if
23470 [!USE_WIDE_CHAR].
23471 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23472 Define and later undefine as macro. Define as weak alias if
23473 [USE_WIDE_CHAR].
23474 * sysdeps/ieee754/ldbl-128/strtold_l.c
23475 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23476 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23477 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23478 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23479 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23480 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23481 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23482 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23483 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23484 * sysdeps/ieee754/ldbl-96/strtold_l.c
23485 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23486 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23487 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23488 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23489
ae7207d0
JM
23490 * math/test-float64x.h: New file.
23491 * math/Makefile (type-float64x-yes): New variable.
23492 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23493
9596fc69
JM
23494 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23495 function-like macro.
23496 (min_of_type_): Likewise.
23497 (min_of_type_l): Likewise.
23498 (min_of_type_f128): Likewise.
23499 (min_of_type): Pass () as last argument of __MATH_TG.
23500
46453c3c
JM
23501 * stdlib/tst-strtod-round-skeleton.c
23502 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23503 headers.
23504
01e659e7
JM
23505 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23506 for combinations of long double with _Float64 and _Float64x.
23507
5c60afdd
JM
23508 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23509 (__DECL_SIMD_cosf32): Likewise.
23510 (__DECL_SIMD_cosf64): Likewise.
23511 (__DECL_SIMD_cosf32x): Likewise.
23512 (__DECL_SIMD_cosf64x): Likewise.
23513 (__DECL_SIMD_cosf128x): Likewise.
23514 (__DECL_SIMD_sinf16): Likewise.
23515 (__DECL_SIMD_sinf32): Likewise.
23516 (__DECL_SIMD_sinf64): Likewise.
23517 (__DECL_SIMD_sinf32x): Likewise.
23518 (__DECL_SIMD_sinf64x): Likewise.
23519 (__DECL_SIMD_sinf128x): Likewise.
23520 (__DECL_SIMD_sincosf16): Likewise.
23521 (__DECL_SIMD_sincosf32): Likewise.
23522 (__DECL_SIMD_sincosf64): Likewise.
23523 (__DECL_SIMD_sincosf32x): Likewise.
23524 (__DECL_SIMD_sincosf64x): Likewise.
23525 (__DECL_SIMD_sincosf128x): Likewise.
23526 (__DECL_SIMD_logf16): Likewise.
23527 (__DECL_SIMD_logf32): Likewise.
23528 (__DECL_SIMD_logf64): Likewise.
23529 (__DECL_SIMD_logf32x): Likewise.
23530 (__DECL_SIMD_logf64x): Likewise.
23531 (__DECL_SIMD_logf128x): Likewise.
23532 (__DECL_SIMD_expf16): Likewise.
23533 (__DECL_SIMD_expf32): Likewise.
23534 (__DECL_SIMD_expf64): Likewise.
23535 (__DECL_SIMD_expf32x): Likewise.
23536 (__DECL_SIMD_expf64x): Likewise.
23537 (__DECL_SIMD_expf128x): Likewise.
23538 (__DECL_SIMD_powf16): Likewise.
23539 (__DECL_SIMD_powf32): Likewise.
23540 (__DECL_SIMD_powf64): Likewise.
23541 (__DECL_SIMD_powf32x): Likewise.
23542 (__DECL_SIMD_powf64x): Likewise.
23543 (__DECL_SIMD_powf128x): Likewise.
23544
9d4b0117
JM
23545 * stdlib/Versions (libc): Move entries for wcstof128 and
23546 wcstof128_l to ....
23547 * wcsmbs/Versions (libc): ... here.
23548 Include <float128-abi.h>.
23549
7911dd47
FW
235502017-11-24 Florian Weimer <fweimer@redhat.com>
23551
23552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23553 bits/mman-shared.h.
23554 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23555 <bits/mman-shared.h>.
23556 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23557 to ...
23558 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23559 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23560 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23561 <bits/mman-shared.h>.
23562
c45d78aa
AZ
235632017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23564
23565 [BZ #22457]
23566 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23567 posix_memalign/free.
23568 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23569
3ffc4cc1
MF
235702017-11-22 Mike FABIAN <mfabian@redhat.com>
23571
23572 [BZ #22469]
23573 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23574 and implement the collation rules for pl from CLDR on top of that.
23575 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23576 of locales to be built for testing.
23577 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23578
3a327316
JM
235792017-11-23 Joseph Myers <joseph@codesourcery.com>
23580
23581 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23582 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23583 libm_alias_ldouble_other.
23584 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23585 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23586 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23587 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23588 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23589 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23590 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23591 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23592 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23593 libm_alias_ldouble_r.
23594 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23595 libm_alias_ldouble_other.
23596 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23597 (log10l): Likewise.
23598 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23599 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23600 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23601 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23602 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23603 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23604 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23605 (atan2l): Likewise.
23606 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23607 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23608 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23609 libm_alias_ldouble.
23610 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23611 (cosl): Likewise.
23612 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23613 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23614 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23615 (expl): Likewise.
23616 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23617 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23618 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23619 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23620 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23621 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23622 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23623 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23624 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23625 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23626 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23627 libm_alias_ldouble.
23628 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23629 libm_alias_ldouble_other.
23630 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23631 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23632 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23633 libm_alias_ldouble.
23634 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23635 libm_alias_ldouble_other.
23636 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23637 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23638 * sysdeps/ia64/fpu/w_lgammal_main.c
23639 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23640 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23641
0a947e06
FW
236422017-11-23 Florian Weimer <fweimer@redhat.com>
23643
23644 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23645 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23646 alike. Remove freeres marker.
23647 * malloc/arena.c (arena_thread_freeres): Call
23648 tcache_thread_shutdown.
23649
67f36c79
FW
236502017-11-23 Florian Weimer <fweimer@redhat.com>
23651
23652 [BZ #22459]
23653 Export nscd hash function as __nss_hash.
23654 * include/nss.h (__nss_hash): Declare.
23655 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23656 symbol.
23657 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23658 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23659 of __nscd_hash.
23660 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23661 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23662 * nss/Makefiles (routines): Add nss_hash.
23663 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23664 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23665 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23666 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23667
cccb6d4e
FW
236682017-11-23 Florian Weimer <fweimer@redhat.com>
23669
23670 [BZ #22478]
23671 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23672 Return error code, not -1.
23673 * signal/tst-sigwait-eintr.c: New file.
23674 * signal/Makefile (tests): Add tst-sigwait-eintr.
23675
59d2cbb1
FW
236762017-11-23 Florian Weimer <fweimer@redhat.com>
23677
23678 Linux: Add memfd_create system call wrapper
23679 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23680 tst-memfd_create.
23681 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23682 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23683 [__USE_GNU] (memfd_create): Declare.
23684 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23685 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23686 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23687 * sysdeps/unix/sysv/linux/**.abilist: Update.
23688 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23689
a90d1ac2
JM
236902017-11-22 Joseph Myers <joseph@codesourcery.com>
23691
0a9d1d62
JM
23692 * localedata/gen-locale.sh: Fix typo in variable name.
23693
754034c4
JM
23694 * resolv/res_debug.c (p_secstodate): Condition definition on
23695 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23696 directly as __p_secstodate, and as a compat symbol. Do not use
23697 libresolv_hidden_def.
23698 * resolv/resolv.h (p_secstodate): Remove macro and function
23699 declaration.
23700 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23701 using p_secstodate.
23702 * include/resolv.h (__p_secstodate): Do not use
23703 libresolv_hidden_proto.
23704 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23705 (tests-internal): ... here.
23706 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23707 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23708 and declare and use __p_secstodate and use compat_symbol_reference
23709 in that case.
23710 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23711 implementation returning 77.
23712
f120cda6
JM
23713 [BZ #22463]
23714 * resolv/res_debug.c: Include <libc-diag.h>.
23715 (p_secstodate): Assert time_t at least as wide as u_long. On
23716 overflow, use integer seconds since the epoch as output, or use
23717 "<overflow>" as output and set errno to EOVERFLOW if integer
23718 seconds since the epoch would be 14 or more characters.
23719 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23720 for sprintf call.
23721 * resolv/tst-p_secstodate.c: New file.
23722 * resolv/Makefile (tests): Add tst-p_secstodate.
23723 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23724
a90d1ac2
JM
23725 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23726 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23727 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23728
0285e6bd
PE
237292017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23730
23731 * posix/regcomp.c (init_word_char): Add comments.
23732
4bae6150
JM
237332017-11-22 Joseph Myers <joseph@codesourcery.com>
23734
23735 [BZ #22447]
23736 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23737 strlen to compute length of ut_user and set trailing NUL byte of
23738 result explicitly.
23739
4b7af5fc
MF
237402017-11-21 Mike FABIAN <mfabian@redhat.com>
23741
23742 [BZ #15537]
23743 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23744 using “copy "iso14651_t1"” and then implementing the
23745 collation rules for lv from CLDR on top of that.
23746 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23747 of locales to be built for testing.
23748 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23749 sorting.
23750
922bb78c
JM
237512017-11-21 Joseph Myers <joseph@codesourcery.com>
23752
23753 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23754 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23755 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23756 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23757 [__USE_MISC] (MADV_HWPOISON): New macro.
23758 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23759
a3aaa598
AZ
237602017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23761
23762 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23763 -Wmissing-braces on GCC 4.9.
23764
8beba15d
SL
237652017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23766
23767 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23768 * sysdeps/s390/s390-32/start.S (_start): Likewise
23769 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23770 (thread_start): Likewise.
23771 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23772 (thread_start): Likewise.
23773 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23774 (__makecontext_ret): Likewise.
23775 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23776 (__makecontext_ret): Likewise.
23777
80eb52e3
SL
237782017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23779
23780 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23781 __wcschrnul): Remove attribute_hidden.
23782
567d8c1f
PE
237832017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23784
23785 regex: don't assume uint64_t or uint32_t
23786 This avoids -Werror=overflow errors for 32-bit systems in
23787 the 64-bit case. Problem reported by Joseph Myers in:
23788 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23789 Also, when this code is used in Gnulib it ports to platforms
23790 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23791 them, and on some 32-bit compilers there is no uint64_t.
23792 Problem reported by Gianluigi Tiesi in:
23793 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23794 * posix/regcomp.c (init_word_char): Don't assume that the types
23795 uint64_t and uint32_t exist. Adapted from Gnulib patch
23796 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23797 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23798
4d7632ff
SP
237992017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23800
5a67c4fa
SP
23801 * sysdeps/aarch64/memset-reg.h: New file.
23802 * sysdeps/aarch64/memset.S: Use it.
23803 (__memset): Rename to MEMSET macro.
23804 [ZVA_MACRO]: Use zva_macro.
23805 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23806 Add memset_generic and memset_falkor.
23807 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23808 (__libc_ifunc_impl_list): Add memset ifuncs.
23809 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
23810 local variable zva_size.
23811 * sysdeps/aarch64/multiarch/memset.c: New file.
23812 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
23813 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
23814 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
23815 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
23816 (DCZID_DZP_MASK): New macro.
23817 (DCZID_BS_MASK): Likewise.
23818 (init_cpu_features): Read and set zva_size.
23819 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
23820 (struct cpu_features): New member zva_size.
23821
eb332f9f
SP
23822 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
23823 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
23824 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
23825
4d7632ff
SP
23826 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
23827 backwards. Fix timing computation.
23828 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
23829 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
23830 on memset by N at a time. Fix timing computation.
23831
a465b89e
FW
238322017-11-20 Florian Weimer <fweimer@redhat.com>
23833
23834 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
23835 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
23836
0f74bbf5
FW
238372017-11-19 Florian Weimer <fweimer@redhat.com>
23838
23839 manual: Document mprotect
23840 * manual/memory.texi (Memory Protection): New section.
23841 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
23842 documentation of PROT_* flags and reference the Memory Protection
23843 section instead.
23844
f6e965ee
FW
238452017-11-19 Florian Weimer <fweimer@redhat.com>
23846
23847 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
23848 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
23849 (Scatter-Gather): ... to here. Remove misleading comment.
23850
363e4519 238512017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 23852
5f9d1949
CB
23853 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
23854 style.
23855
ea69a5c8
CB
23856 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
23857 when /proc/<pid>/setgroups does not exist.
23858
8db7f48c
FW
238592017-11-18 Florian Weimer <fweimer@redhat.com>
23860
23861 * sysdeps/unix/sysv/linux/tst-ttyname.c
23862 (become_root_in_mount_ns): Remove.
23863 (do_in_chroot_1): Call support_enter_mount_namespace.
23864 (do_in_chroot_2): Likewise.
23865 (do_test): Call support_become_root early.
23866
273a0c49
FW
238672017-11-18 Florian Weimer <fweimer@redhat.com>
23868
23869 * support/namespace.h (support_enter_mount_namespace): Declare.
23870 * support/support_enter_mount_namespace.c: New file.
23871 * support/Makefile (libsupport-routines): Add
23872 support_enter_mount_namespace.
23873
8adfb0ee
FW
238742017-11-18 Florian Weimer <fweimer@redhat.com>
23875
23876 * support/temp_file.c (support_create_temp_directory): Use
23877 test_dir and do not rely on the presence of the XXXXXX suffix.
23878 * support/temp_file.h (support_create_temp_directory): Update
23879 comment.
23880 * support/tst-xreadlink.c (do_test): Adjust.
23881 * support/support_chroot.c (support_chroot_create): Likewise.
23882
df0c40ee
TMQMF
238832017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23884
23885 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
23886 macro.
23887 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
23888 htm-no-suspend.
23889
015c6dc2
JM
238902017-11-17 Joseph Myers <joseph@codesourcery.com>
23891
f58e5f48
JM
23892 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23893 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23894 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23895 (ceill): Define using libm_alias_ldouble.
23896 * sysdeps/x86_64/fpu/s_copysignl.S: Include
23897 <libm-alias-ldouble.h>.
23898 (copysignl): Define using libm_alias_ldouble.
23899 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23900 (fabsl): Define using libm_alias_ldouble.
23901 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23902 (floorl): Define using libm_alias_ldouble.
23903 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23904 (fmaxl): Define using libm_alias_ldouble.
23905 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23906 (fminl): Define using libm_alias_ldouble.
23907 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23908 (llrintl): Define using libm_alias_ldouble.
23909 (lrintl): Likewise.
23910 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
23911 <libm-alias-ldouble.h>.
23912 (nearbyintl): Define using libm_alias_ldouble.
23913 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23914 (truncl): Define using libm_alias_ldouble.
23915 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
23916 <libm-alias-ldouble.h>.
23917 (lrintl): Define using libm_alias_ldouble.
23918
2ce30701
JM
23919 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23920 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23921 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
23922 (asinhl): Define using libm_alias_ldouble.
23923 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23924 (atanl): Define using libm_alias_ldouble.
23925 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23926 (cbrtl): Define using libm_alias_ldouble.
23927 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23928 (ceill): Define using libm_alias_ldouble.
23929 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23930 (copysignl): Define using libm_alias_ldouble.
23931 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23932 (fabsl): Define using libm_alias_ldouble.
23933 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23934 (floorl): Define using libm_alias_ldouble.
23935 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23936 (fmaxl): Define using libm_alias_ldouble.
23937 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23938 (fminl): Define using libm_alias_ldouble.
23939 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23940 (frexpl): Define using libm_alias_ldouble.
23941 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23942 (llrintl): Define using libm_alias_ldouble.
23943 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23944 (logbl): Define using libm_alias_ldouble.
23945 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23946 (lrintl): Define using libm_alias_ldouble.
23947 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23948 (nearbyintl): Define using libm_alias_ldouble.
23949 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23950 (nextafterl): Define using libm_alias_ldouble.
23951 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23952 (remquol): Define using libm_alias_ldouble.
23953 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23954 (rintl): Define using libm_alias_ldouble.
23955 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23956 (truncl): Define using libm_alias_ldouble.
23957 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23958 (fmaxl): Define using libm_alias_ldouble.
23959 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23960 (fminl): Define using libm_alias_ldouble.
23961
015c6dc2
JM
23962 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23963 to C syntax instead of availability and properties of types.
23964 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23965 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23966 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23967 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23968 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23969 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23970
ce003e5d
FW
239712017-11-17 Florian Weimer <fweimer@redhat.com>
23972
23973 support_become_root: Enable file creation in namespaces.
23974 * support/support_become_root.c (setup_mapping): New function.
23975 (support_become_root): Call it.
23976
e7df6c5c
JM
239772017-11-17 Joseph Myers <joseph@codesourcery.com>
23978
23979 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23980 macro.
23981
58a813bf
AZ
239822017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23983
23984 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23985 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23986
f97773d1
JM
239872017-11-16 Joseph Myers <joseph@codesourcery.com>
23988
6a6aa1f3
JM
23989 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23990
f97773d1
JM
23991 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23992 version to 4.14.
23993
a306c790
SP
239942017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23995
7b0fb870
SP
23996 * INSTALL: Fix botched up regeneration.
23997
23998 * NEWS: Update sourceare link to https.
a306c790
SP
23999 * configure.ac: Likewise.
24000 * crypt/md5test-giant.c: Likewise.
24001 * dlfcn/bug-atexit1.c: Likewise.
24002 * dlfcn/bug-atexit2.c: Likewise.
24003 * localedata/README: Likewise.
24004 * malloc/tst-mallocfork.c: Likewise.
24005 * manual/install.texi: Likewise.
24006 * nptl/tst-pthread-getattr.c: Likewise.
24007 * stdio-common/tst-fgets.c: Likewise.
24008 * stdio-common/tst-fwrite.c: Likewise.
24009 * sunrpc/Makefile: Likewise.
24010 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24011 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
24012 * configure: Regenerate.
24013 * INSTALL: Regenerate.
a306c790 24014
7532837d
MS
240152017-11-15 Martin Sebor <msebor@redhat.com>
24016
24017 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24018 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24019 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24020
495a56fd
LS
240212017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24022
d9611e30
LS
24023 [BZ #22145]
24024 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24025 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24026
a09dfc19
LS
24027 [BZ #22145]
24028 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24029 Defer is_pty check until end of the function.
24030 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24031
2fbce9c2
LS
24032 [BZ #22145]
24033 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24034 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24035 (ttyname): Likewise.
24036 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24037 (__ttyname_r): Likewise.
24038
d10d6cab
LS
24039 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24040 int to bool.
24041
9b5a8750
LS
24042 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24043
495a56fd
LS
24044 * manual/terminal.texi (Is It a Terminal):
24045 Mention ENODEV for ttyname and ttyname_r.
24046
fa680dc6
JM
240472017-11-15 Joseph Myers <joseph@codesourcery.com>
24048
78cde19f
JM
24049 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24050 constant and macro.
24051
fa680dc6
JM
24052 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24053 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24054 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24055 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24056 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24057 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24058
ad4f43a2
AZ
240592017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24060
1ba1d8a4
AZ
24061 * signal/sigrelse.c (sigrelse): Optimize implementation.
24062
ad4f43a2
AZ
24063 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24064 (__sigpause): Rely on __sigsuspend to implement single thread
24065 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24066
d0212d42
JM
240672017-11-15 Joseph Myers <joseph@codesourcery.com>
24068
24069 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24070 kernel version to 4.14.
24071
2180fee1
SE
240722017-11-15 Steve Ellcey <sellcey@cavium.com>
24073
24074 [BZ #22442]
24075 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24076 Check if ifname is too long.
24077
cad7ca39
LS
240782017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24079
24080 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24081
58c9f659
MF
240822017-11-15 Mike FABIAN <mfabian@redhat.com>
24083
24084 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24085 was accidentally lost.
24086
0fa87c01
MF
240872017-11-15 Mike FABIAN <mfabian@redhat.com>
24088
24089 * localedata/locales/az_IR: Add standard copyright header.
24090
34eb4157
FW
240912017-11-15 Florian Weimer <fweimer@redhat.com>
24092
24093 [BZ #22439]
24094 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24095 not just the top one. Output a new "subheaps" statistic.
24096
7a9368a1
FW
240972017-11-15 Florian Weimer <fweimer@redhat.com>
24098
24099 [BZ #22408]
24100 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24101 under the per-arena lock.
24102 * malloc/Makefile (tests): Add tst-malloc_info.
24103 (tst-malloc_info): Link with libpthread.
24104 * malloc/tst-malloc_info.c: New file.
24105
be3a79a3
JM
241062017-11-15 Joseph Myers <joseph@codesourcery.com>
24107
24108 [BZ #21660]
24109 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24110 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24111 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24112 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24113 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24114 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24115 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24116 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24117 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24118 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24119 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24120 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24121 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24122 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24123 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24124 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24125 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24126 (__floating_type): Likewise.
24127 (__real_integer_type): Likewise.
24128 (__complex_integer_type): Likewise.
24129 (__expr_is_real): Likewise.
24130 (__tgmath_real_type_sub): Likewise.
24131 (__tgmath_real_type): Likewise.
24132 (__tgmath_complex_type_sub): Likewise.
24133 (__tgmath_complex_type): Likewise.
24134 (__TGMATH_F128): Likewise.
24135 (__TGMATH_CF128): Likewise.
24136 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24137 new macros.
24138 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24139 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24140 Likewise.
24141 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24142 Likewise.
24143 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24144 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24145 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24146 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24147 Likewise.
24148 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24149 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24150 Likewise.
24151 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24152 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24153 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24154 Likewise.
24155 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24156 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24157 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24158 (cimag): Likewise.
24159 (creal): Likewise.
24160
ec72135e
JM
241612017-11-14 Joseph Myers <joseph@codesourcery.com>
24162
2e64ec9c
JM
24163 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24164 for stpncpy calls for GCC 8.
24165 (test_strncat): Disable -Wstringop-truncation warning for strncat
24166 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24167 strncat call for GCC 7.
24168 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24169 calls for GCC 8.
24170 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24171 trailing NUL.
24172
ec72135e
JM
24173 * string/bug-strncat1.c: Include <libc-diag.h>.
24174 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24175
363e4519 241762017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
24177
24178 [BZ #22387]
24179 * localedata/locales/aa_DJ: Improved readibility by replacing
24180 <Uxxxx> sequences in the ASCII printable range by their ASCII
24181 character equivalents.
24182 * localedata/locales/aa_ER: Likewise.
24183 * localedata/locales/aa_ER@saaho: Likewise.
24184 * localedata/locales/aa_ET: Likewise.
24185 * localedata/locales/af_ZA: Likewise.
24186 * localedata/locales/agr_PE: Likewise.
24187 * localedata/locales/ak_GH: Likewise.
24188 * localedata/locales/am_ET: Likewise.
24189 * localedata/locales/anp_IN: Likewise.
24190 * localedata/locales/ar_AE: Likewise.
24191 * localedata/locales/ar_BH: Likewise.
24192 * localedata/locales/ar_DZ: Likewise.
24193 * localedata/locales/ar_EG: Likewise.
24194 * localedata/locales/ar_IN: Likewise.
24195 * localedata/locales/ar_IQ: Likewise.
24196 * localedata/locales/ar_JO: Likewise.
24197 * localedata/locales/ar_KW: Likewise.
24198 * localedata/locales/ar_LB: Likewise.
24199 * localedata/locales/ar_LY: Likewise.
24200 * localedata/locales/ar_MA: Likewise.
24201 * localedata/locales/ar_OM: Likewise.
24202 * localedata/locales/ar_QA: Likewise.
24203 * localedata/locales/ar_SA: Likewise.
24204 * localedata/locales/ar_SD: Likewise.
24205 * localedata/locales/ar_SS: Likewise.
24206 * localedata/locales/ar_SY: Likewise.
24207 * localedata/locales/ar_TN: Likewise.
24208 * localedata/locales/ar_YE: Likewise.
24209 * localedata/locales/as_IN: Likewise.
24210 * localedata/locales/ast_ES: Likewise.
24211 * localedata/locales/ayc_PE: Likewise.
24212 * localedata/locales/az_AZ: Likewise.
24213 * localedata/locales/az_IR: Likewise.
24214 * localedata/locales/be_BY: Likewise.
24215 * localedata/locales/be_BY@latin: Likewise.
24216 * localedata/locales/bem_ZM: Likewise.
24217 * localedata/locales/ber_DZ: Likewise.
24218 * localedata/locales/ber_MA: Likewise.
24219 * localedata/locales/bg_BG: Likewise.
24220 * localedata/locales/bhb_IN: Likewise.
24221 * localedata/locales/bho_IN: Likewise.
24222 * localedata/locales/bi_VU: Likewise.
24223 * localedata/locales/bn_BD: Likewise.
24224 * localedata/locales/bn_IN: Likewise.
24225 * localedata/locales/bo_CN: Likewise.
24226 * localedata/locales/bo_IN: Likewise.
24227 * localedata/locales/br_FR: Likewise.
24228 * localedata/locales/brx_IN: Likewise.
24229 * localedata/locales/bs_BA: Likewise.
24230 * localedata/locales/byn_ER: Likewise.
24231 * localedata/locales/ca_AD: Likewise.
24232 * localedata/locales/ca_ES: Likewise.
24233 * localedata/locales/ca_FR: Likewise.
24234 * localedata/locales/ca_IT: Likewise.
24235 * localedata/locales/ce_RU: Likewise.
24236 * localedata/locales/chr_US: Likewise.
24237 * localedata/locales/cmn_TW: Likewise.
24238 * localedata/locales/crh_UA: Likewise.
24239 * localedata/locales/cs_CZ: Likewise.
24240 * localedata/locales/csb_PL: Likewise.
24241 * localedata/locales/cv_RU: Likewise.
24242 * localedata/locales/cy_GB: Likewise.
24243 * localedata/locales/da_DK: Likewise.
24244 * localedata/locales/de_AT: Likewise.
24245 * localedata/locales/de_BE: Likewise.
24246 * localedata/locales/de_CH: Likewise.
24247 * localedata/locales/de_DE: Likewise.
24248 * localedata/locales/de_IT: Likewise.
24249 * localedata/locales/de_LI: Likewise.
24250 * localedata/locales/de_LU: Likewise.
24251 * localedata/locales/doi_IN: Likewise.
24252 * localedata/locales/dv_MV: Likewise.
24253 * localedata/locales/dz_BT: Likewise.
24254 * localedata/locales/el_CY: Likewise.
24255 * localedata/locales/el_GR: Likewise.
24256 * localedata/locales/en_AG: Likewise.
24257 * localedata/locales/en_AU: Likewise.
24258 * localedata/locales/en_BW: Likewise.
24259 * localedata/locales/en_CA: Likewise.
24260 * localedata/locales/en_DK: Likewise.
24261 * localedata/locales/en_GB: Likewise.
24262 * localedata/locales/en_HK: Likewise.
24263 * localedata/locales/en_IE: Likewise.
24264 * localedata/locales/en_IL: Likewise.
24265 * localedata/locales/en_IN: Likewise.
24266 * localedata/locales/en_NG: Likewise.
24267 * localedata/locales/en_NZ: Likewise.
24268 * localedata/locales/en_PH: Likewise.
24269 * localedata/locales/en_SG: Likewise.
24270 * localedata/locales/en_US: Likewise.
24271 * localedata/locales/en_ZA: Likewise.
24272 * localedata/locales/en_ZM: Likewise.
24273 * localedata/locales/en_ZW: Likewise.
24274 * localedata/locales/eo: Likewise.
24275 * localedata/locales/es_AR: Likewise.
24276 * localedata/locales/es_BO: Likewise.
24277 * localedata/locales/es_CL: Likewise.
24278 * localedata/locales/es_CO: Likewise.
24279 * localedata/locales/es_CR: Likewise.
24280 * localedata/locales/es_CU: Likewise.
24281 * localedata/locales/es_DO: Likewise.
24282 * localedata/locales/es_EC: Likewise.
24283 * localedata/locales/es_ES: Likewise.
24284 * localedata/locales/es_GT: Likewise.
24285 * localedata/locales/es_HN: Likewise.
24286 * localedata/locales/es_MX: Likewise.
24287 * localedata/locales/es_NI: Likewise.
24288 * localedata/locales/es_PA: Likewise.
24289 * localedata/locales/es_PE: Likewise.
24290 * localedata/locales/es_PR: Likewise.
24291 * localedata/locales/es_PY: Likewise.
24292 * localedata/locales/es_SV: Likewise.
24293 * localedata/locales/es_US: Likewise.
24294 * localedata/locales/es_UY: Likewise.
24295 * localedata/locales/es_VE: Likewise.
24296 * localedata/locales/et_EE: Likewise.
24297 * localedata/locales/eu_ES: Likewise.
24298 * localedata/locales/eu_ES@euro: Likewise.
24299 * localedata/locales/fa_IR: Likewise.
24300 * localedata/locales/ff_SN: Likewise.
24301 * localedata/locales/fi_FI: Likewise.
24302 * localedata/locales/fil_PH: Likewise.
24303 * localedata/locales/fo_FO: Likewise.
24304 * localedata/locales/fr_BE: Likewise.
24305 * localedata/locales/fr_CA: Likewise.
24306 * localedata/locales/fr_CH: Likewise.
24307 * localedata/locales/fr_FR: Likewise.
24308 * localedata/locales/fr_LU: Likewise.
24309 * localedata/locales/fur_IT: Likewise.
24310 * localedata/locales/fy_DE: Likewise.
24311 * localedata/locales/fy_NL: Likewise.
24312 * localedata/locales/ga_IE: Likewise.
24313 * localedata/locales/gd_GB: Likewise.
24314 * localedata/locales/gez_ER: Likewise.
24315 * localedata/locales/gez_ET: Likewise.
24316 * localedata/locales/gl_ES: Likewise.
24317 * localedata/locales/gu_IN: Likewise.
24318 * localedata/locales/gv_GB: Likewise.
24319 * localedata/locales/ha_NG: Likewise.
24320 * localedata/locales/hak_TW: Likewise.
24321 * localedata/locales/he_IL: Likewise.
24322 * localedata/locales/hi_IN: Likewise.
24323 * localedata/locales/hif_FJ: Likewise.
24324 * localedata/locales/hne_IN: Likewise.
24325 * localedata/locales/hr_HR: Likewise.
24326 * localedata/locales/hsb_DE: Likewise.
24327 * localedata/locales/ht_HT: Likewise.
24328 * localedata/locales/hu_HU: Likewise.
24329 * localedata/locales/hy_AM: Likewise.
24330 * localedata/locales/i18n: Likewise.
24331 * localedata/locales/ia_FR: Likewise.
24332 * localedata/locales/id_ID: Likewise.
24333 * localedata/locales/ig_NG: Likewise.
24334 * localedata/locales/ik_CA: Likewise.
24335 * localedata/locales/is_IS: Likewise.
24336 * localedata/locales/it_CH: Likewise.
24337 * localedata/locales/it_IT: Likewise.
24338 * localedata/locales/iu_CA: Likewise.
24339 * localedata/locales/ja_JP: Likewise.
24340 * localedata/locales/ka_GE: Likewise.
24341 * localedata/locales/kk_KZ: Likewise.
24342 * localedata/locales/kl_GL: Likewise.
24343 * localedata/locales/kn_IN: Likewise.
24344 * localedata/locales/ko_KR: Likewise.
24345 * localedata/locales/kok_IN: Likewise.
24346 * localedata/locales/ks_IN: Likewise.
24347 * localedata/locales/ks_IN@devanagari: Likewise.
24348 * localedata/locales/ku_TR: Likewise.
24349 * localedata/locales/kw_GB: Likewise.
24350 * localedata/locales/ky_KG: Likewise.
24351 * localedata/locales/lb_LU: Likewise.
24352 * localedata/locales/lg_UG: Likewise.
24353 * localedata/locales/li_BE: Likewise.
24354 * localedata/locales/li_NL: Likewise.
24355 * localedata/locales/lij_IT: Likewise.
24356 * localedata/locales/ln_CD: Likewise.
24357 * localedata/locales/lo_LA: Likewise.
24358 * localedata/locales/lt_LT: Likewise.
24359 * localedata/locales/lv_LV: Likewise.
24360 * localedata/locales/lzh_TW: Likewise.
24361 * localedata/locales/mag_IN: Likewise.
24362 * localedata/locales/mai_IN: Likewise.
24363 * localedata/locales/mg_MG: Likewise.
24364 * localedata/locales/mhr_RU: Likewise.
24365 * localedata/locales/mi_NZ: Likewise.
24366 * localedata/locales/mk_MK: Likewise.
24367 * localedata/locales/ml_IN: Likewise.
24368 * localedata/locales/mn_MN: Likewise.
24369 * localedata/locales/mni_IN: Likewise.
24370 * localedata/locales/mr_IN: Likewise.
24371 * localedata/locales/ms_MY: Likewise.
24372 * localedata/locales/mt_MT: Likewise.
24373 * localedata/locales/my_MM: Likewise.
24374 * localedata/locales/nan_TW: Likewise.
24375 * localedata/locales/nan_TW@latin: Likewise.
24376 * localedata/locales/nb_NO: Likewise.
24377 * localedata/locales/nds_DE: Likewise.
24378 * localedata/locales/nds_NL: Likewise.
24379 * localedata/locales/ne_NP: Likewise.
24380 * localedata/locales/nhn_MX: Likewise.
24381 * localedata/locales/niu_NU: Likewise.
24382 * localedata/locales/niu_NZ: Likewise.
24383 * localedata/locales/nl_AW: Likewise.
24384 * localedata/locales/nl_BE: Likewise.
24385 * localedata/locales/nl_NL: Likewise.
24386 * localedata/locales/nn_NO: Likewise.
24387 * localedata/locales/nr_ZA: Likewise.
24388 * localedata/locales/nso_ZA: Likewise.
24389 * localedata/locales/oc_FR: Likewise.
24390 * localedata/locales/om_ET: Likewise.
24391 * localedata/locales/om_KE: Likewise.
24392 * localedata/locales/or_IN: Likewise.
24393 * localedata/locales/os_RU: Likewise.
24394 * localedata/locales/pa_IN: Likewise.
24395 * localedata/locales/pa_PK: Likewise.
24396 * localedata/locales/pap_AW: Likewise.
24397 * localedata/locales/pap_CW: Likewise.
24398 * localedata/locales/pl_PL: Likewise.
24399 * localedata/locales/ps_AF: Likewise.
24400 * localedata/locales/pt_BR: Likewise.
24401 * localedata/locales/pt_PT: Likewise.
24402 * localedata/locales/quz_PE: Likewise.
24403 * localedata/locales/raj_IN: Likewise.
24404 * localedata/locales/ro_RO: Likewise.
24405 * localedata/locales/ru_RU: Likewise.
24406 * localedata/locales/ru_UA: Likewise.
24407 * localedata/locales/rw_RW: Likewise.
24408 * localedata/locales/sa_IN: Likewise.
24409 * localedata/locales/sat_IN: Likewise.
24410 * localedata/locales/sc_IT: Likewise.
24411 * localedata/locales/sd_IN: Likewise.
24412 * localedata/locales/sd_IN@devanagari: Likewise.
24413 * localedata/locales/se_NO: Likewise.
24414 * localedata/locales/sgs_LT: Likewise.
24415 * localedata/locales/shs_CA: Likewise.
24416 * localedata/locales/si_LK: Likewise.
24417 * localedata/locales/sid_ET: Likewise.
24418 * localedata/locales/sk_SK: Likewise.
24419 * localedata/locales/sl_SI: Likewise.
24420 * localedata/locales/sm_WS: Likewise.
24421 * localedata/locales/so_DJ: Likewise.
24422 * localedata/locales/so_ET: Likewise.
24423 * localedata/locales/so_KE: Likewise.
24424 * localedata/locales/so_SO: Likewise.
24425 * localedata/locales/sq_AL: Likewise.
24426 * localedata/locales/sq_MK: Likewise.
24427 * localedata/locales/sr_ME: Likewise.
24428 * localedata/locales/sr_RS: Likewise.
24429 * localedata/locales/sr_RS@latin: Likewise.
24430 * localedata/locales/ss_ZA: Likewise.
24431 * localedata/locales/st_ZA: Likewise.
24432 * localedata/locales/sv_FI: Likewise.
24433 * localedata/locales/sv_SE: Likewise.
24434 * localedata/locales/sw_KE: Likewise.
24435 * localedata/locales/sw_TZ: Likewise.
24436 * localedata/locales/szl_PL: Likewise.
24437 * localedata/locales/ta_IN: Likewise.
24438 * localedata/locales/ta_LK: Likewise.
24439 * localedata/locales/tcy_IN: Likewise.
24440 * localedata/locales/te_IN: Likewise.
24441 * localedata/locales/tg_TJ: Likewise.
24442 * localedata/locales/th_TH: Likewise.
24443 * localedata/locales/the_NP: Likewise.
24444 * localedata/locales/ti_ER: Likewise.
24445 * localedata/locales/ti_ET: Likewise.
24446 * localedata/locales/tig_ER: Likewise.
24447 * localedata/locales/tk_TM: Likewise.
24448 * localedata/locales/tl_PH: Likewise.
24449 * localedata/locales/tn_ZA: Likewise.
24450 * localedata/locales/to_TO: Likewise.
24451 * localedata/locales/tpi_PG: Likewise.
24452 * localedata/locales/tr_CY: Likewise.
24453 * localedata/locales/tr_TR: Likewise.
24454 * localedata/locales/ts_ZA: Likewise.
24455 * localedata/locales/tt_RU: Likewise.
24456 * localedata/locales/tt_RU@iqtelif: Likewise.
24457 * localedata/locales/ug_CN: Likewise.
24458 * localedata/locales/uk_UA: Likewise.
24459 * localedata/locales/unm_US: Likewise.
24460 * localedata/locales/ur_IN: Likewise.
24461 * localedata/locales/ur_PK: Likewise.
24462 * localedata/locales/uz_UZ: Likewise.
24463 * localedata/locales/uz_UZ@cyrillic: Likewise.
24464 * localedata/locales/ve_ZA: Likewise.
24465 * localedata/locales/vi_VN: Likewise.
24466 * localedata/locales/wa_BE: Likewise.
24467 * localedata/locales/wae_CH: Likewise.
24468 * localedata/locales/wal_ET: Likewise.
24469 * localedata/locales/wo_SN: Likewise.
24470 * localedata/locales/xh_ZA: Likewise.
24471 * localedata/locales/yi_US: Likewise.
24472 * localedata/locales/yo_NG: Likewise.
24473 * localedata/locales/yue_HK: Likewise.
24474 * localedata/locales/yuw_PG: Likewise.
24475 * localedata/locales/zh_CN: Likewise.
24476 * localedata/locales/zh_HK: Likewise.
24477 * localedata/locales/zh_SG: Likewise.
24478 * localedata/locales/zh_TW: Likewise.
24479 * localedata/locales/zu_ZA: Likewise.
24480
cae87e64
FW
244812017-11-13 Florian Weimer <fweimer@redhat.com>
24482
24483 * support/next_to_fault.h, support/next_to_fault.c: New files.
24484 * support/Makefile (libsupport-routines): Add next_to_fault.
24485 * resolv/tst-inet_pton.c (struct next_to_fault)
24486 (next_to_fault_allocate, next_to_fault_free): Remove.
24487 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24488
4a306ef1
L
244892017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24490
24491 * elf/dl-support.c: Include <dl-procruntime.c>.
24492 * include/link.h: Include <link_map.h>.
24493 * sysdeps/generic/dl-procruntime.c: New file.
24494 * sysdeps/generic/link_map.h: Likewise.
24495 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24496 the writable ld.so namespace.
24497
e69897bf
PE
244982017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24499
24500 timezone: pacify GCC -Wstringop-truncation
24501 Problem reported by Martin Sebor in:
24502 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24503 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24504
1ffe1ccb
FW
245052017-11-12 Florian Weimer <fweimer@redhat.com>
24506
eceed671
FW
24507 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24508 tst-xreadlink.
24509 (tests): Add tst-xreadlink.
1ffe1ccb
FW
24510 * support/support.h (xstrndup): Declare.
24511 * support/xunistd.h (xunlink, xreadlink): Declare.
24512 * support/temp_file.h (support_create_temp_directory): Declare.
24513 * support/temp_file.c (support_create_temp_directory): New function.
24514 * support/support_chroot.c (support_chroot_create): Use it.
24515 * support/xreadlink.c: New file.
24516 * support/xstrndup.c: Likewise.
24517 * support/xunlink.c: Likewise.
24518 * support/tst-xreadlink.c: Likewise.
24519
456b40a9
JDA
245202017-11-11 John David Anglin <danglin@gcc.gnu.org>
24521
24522 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24523
c0a25aa9
FW
245242017-11-11 Florian Weimer <fweimer@redhat.com>
24525
24526 [BZ #22409]
24527 [BZ #22412]
24528 * resolv/res_comp.c (printable_string, binary_hnok)
24529 (binary_leading_dash): New functions.
24530 (res_hnok): Reimplement using these functions and ns_name_pton.
24531 (res_ownok): Likewise.
24532 (res_mailok): Reimplement using printable_string, ns_name_pton and
24533 binary_hnok.
24534 (res_dnok): Reimplement using printable_string and ns_name_pton.
24535 * resolv/tst-res_hnok.c (tests): Add additional tests.
24536 (LETTERDIGITS, PRINTABLE): Define.
24537 (do_test): Adjust one_char results.
24538
9e0ad304
FW
245392017-11-11 Florian Weimer <fweimer@redhat.com>
24540
24541 [BZ #22413]
24542 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24543 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24544
e2a9fca8
FW
245452017-11-11 Florian Weimer <fweimer@redhat.com>
24546
24547 * resolv/tst-ns_name_pton.c: New file.
24548 * resolv/Makefile (tests): Add tst-ns_name_pton.
24549 (tst-ns_name_pton): Link against libresolv.
24550
5c1a6923
FW
245512017-11-11 Florian Weimer <fweimer@redhat.com>
24552
24553 * resolv/tst-res_hnok.c: New file.
24554 * resolv/Makefile (tests): Add tst-res_hnok.
24555 (tst-res_hnok): Link against libresolv.
24556
a19c0a1d
FW
245572017-11-11 Florian Weimer <fweimer@redhat.com>
24558
24559 * resolv/tst-resolv-network.c: Use test framework instead explicit
24560 main function.
24561
8cb5295d
L
245622017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24563
24564 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24565 <jmp_buf-macros.h>.
24566 [!_ISOMAC] (STR_HELPER): New.
24567 [!_ISOMAC] (STR): Likewise.
24568 [!_ISOMAC] (TEST_SIZE): Likewise.
24569 [!_ISOMAC] (TEST_ALIGN): Likewise.
24570 [!_ISOMAC] (TEST_OFFSET): Likewise.
24571 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24572 field offsets of jmp_buf as well as sigjmp_buf.
24573 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24574 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24575 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24576 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24577 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24578 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24579 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24580 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24581 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24582 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24583 Likewise.
24584 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24585 Likewise.
24586 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24588 Likewise.
24589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24590 Likewise.
24591 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24592 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24593 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24594 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24595 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24597 Likewise.
24598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24599 Likewise.
24600 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24601 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24602 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24603
58c4a161
JM
246042017-11-07 Joseph Myers <joseph@codesourcery.com>
24605
3683b423
JM
24606 * include/float.h
24607 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24608 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24609 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24610 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24611 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24612 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24613 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24614 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24615 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24616 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24617 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24618 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24619 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24620 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24621 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24622 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24623 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24624 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24625 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24626 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24627 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24628 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24629 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24630 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24631 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24632 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24633 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24634 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24635 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24636 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24637 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24638 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24639 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24640 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24641 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24642 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24643 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24644 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24645 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24646 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24647 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24648 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24649 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24650 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24651 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24652 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24653 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24654 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24655 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24656 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24657 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24658 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24659 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24660 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24661 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24662 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24663 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24664 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24665 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24666 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24667 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24668 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24669 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24670 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24671 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24672 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24673 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24674 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24675 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24676 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24677 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24678 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24679 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24680 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24681 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24682 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24683 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24684 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24685 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24686 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24687 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24688 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24689 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24690 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24691 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24692 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24693 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24694 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24695
58c4a161
JM
24696 * stdlib/tst-strtod.h (F16): New macro.
24697 (F32): Likewise.
24698 (F64): Likewise.
24699 (F32X): Likewise.
24700 (F64X): Likewise.
24701 (F128X): Likewise.
24702 (IF_FLOAT16): Likewise.
24703 (IF_FLOAT32): Likewise.
24704 (IF_FLOAT64): Likewise.
24705 (IF_FLOAT32X): Likewise.
24706 (IF_FLOAT64X): Likewise.
24707 (IF_FLOAT128X): Likewise.
24708 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24709 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24710 (STRTOD_TEST_FOREACH): Likewise.
24711 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24712 (CHOOSE_f64): Likewise.
24713 (CHOOSE_f32x): Likewise.
24714 (CHOOSE_f64x): Likewise.
24715
feda96a1
AS
247162017-11-07 Andreas Schwab <schwab@suse.de>
24717
24718 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24719
1bd0cbb8
MF
247202017-11-07 Mike FABIAN <mfabian@redhat.com>
24721
24722 [BZ #22403]
24723 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24724 to be escaped.
24725 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24726 to be escaped.
24727
363e4519 247282017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
24729
24730 [BZ #22403]
24731 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24732 to be escaped.
24733 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24734 to be escaped.
24735 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24736 to be escaped.
24737
dff91cd4
AZ
247382017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24739
06be6368
AZ
24740 [BZ #22298]
24741 * nptl/allocatestack.c (allocate_stack): Check if
24742 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24743 __PTHREAD_MUTEX_HAVE_PREV is defined.
24744 * nptl/descr.h (pthread): Likewise.
24745 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24746 Likewise.
24747 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24748 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24749 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24750 * sysdeps/nptl/bits/thread-shared-types.h
24751 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24752 defines.
24753 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24754 of __WORDSIZE for internal layout.
24755 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24756 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24757 instead of __WORDSIZE whether to use an union for __spins and __list
24758 fields.
24759 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24760 case.
24761 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24762 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24763 defines.
24764 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24765 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24766 Likewise.
24767 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24768 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24769 Likewise.
24770 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24771 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24772 Likewise.
24773 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24774 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24775 Likewise.
24776 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24777 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24778 Likewise.
24779 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24780 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24781 Likewise.
24782 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24783 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24784 Likewise.
24785 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24786 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24787 Likewise.
24788 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24789 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24790 Likewise.
24791 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24792 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24793 Likewise.
24794 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24795 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24796 Likewise.
24797 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24798 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24799 Likewise.
24800 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24801 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24802 Likewise.
24803 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24804 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24805 Likewise.
24806
72b3c6ee
AZ
24807 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
24808 New macros.
24809 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
24810 checks for expected input type size.
24811 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24812 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24813 Likewise.
24814 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24815 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
24816 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24817 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
24818 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24819 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
24820 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
24821 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
24822 superflous runtime assert check.
24823 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
24824 Likewise.
24825 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
24826 Likewise.
24827 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24828 Likewise.
24829 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
24830 Likewise.
24831 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
24832 Likewise.
24833 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
24834 Likewise.
24835 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
24836 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
24837 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24838 Likewise.
24839 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24840 Likewise.
24841 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24842 Likewise.
24843 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
24844 Likewise.
24845 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24846 Likewise.
24847 * nptl/pthread_attr_setinheritsched.c
24848 (__pthread_attr_setinheritsched): Likewise.
24849 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
24850 Likewise.
24851 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
24852 Likewise.
24853 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
24854 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
24855 __old_pthread_attr_setstack): Likewise.
24856 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24857 Likewise.
24858 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24859 Likewise.
24860 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
24861 Likewise.
24862 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24863 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24864 Likewise.
24865 * nptl/tst-typesizes.c: Remove file.
24866
dff91cd4
AZ
24867 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
24868 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
24869 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
24870 checks for internal pthread_mutex_t offsets.
24871 * sysdeps/aarch64/nptl/pthread-offsets.h
24872 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
24873 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
24874 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
24875 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
24876 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
24877 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
24878 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
24879 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
24880 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
24881 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
24882 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
24883 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
24884 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
24885 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
24886 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
24887 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
24888 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
24889 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
24890
b7fc95f8
FW
248912017-11-07 Florian Weimer <fweimer@redhat.com>
24892
24893 * bits/mman-linux.h: Move ...
24894 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
24895 comment.
24896 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
24897 outdated comment.
24898
6b860364
RS
248992017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24900
24901 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
24902 Redefine STRNLEN as __strnlen_power8.
24903
802c1f16
AZ
249042017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24905
d83da3a4
AZ
24906 * signal/sighold.c (sighold): Optimize implementation.
24907
6a4235f1
AZ
24908 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
24909 __NR_rt_sigqueueinfo.
24910
8b0e795a
AZ
24911 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
24912 __sigtimedwait.
24913 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
24914 assume __NR_rt_sigtimedwait.
24915 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
24916 and add LIBC_CANCEL_HANDLED for cancellation marking.
24917 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24918
a1a638dd
AZ
24919 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24920 (sysdeps_routines): Add memchr_noneon.
24921 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
24922 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
24923 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24924 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24925 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24926 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24927 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24928
802c1f16
AZ
24929 * sysdeps/arm/arm-ifunc.h: New file.
24930 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24931 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24932 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24933 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24934 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24935 (__memcpy_neon): Avoid create hidden alias.
24936 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24937 (__memcpy_vfp): Likewise.
24938 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24939 (sysdep_routines): Add memcpy_arm.
24940 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24941
abcb584d
L
249422017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24943
24944 [BZ #22362]
24945 * Makerules (make-link-multidir): New.
24946 * config.make.in (multidir): New.
24947 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24948 * configure: Regenerated.
24949 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24950 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24951 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24952 New target.
24953
4e2dff67
JM
249542017-11-06 Joseph Myers <joseph@codesourcery.com>
24955
24956 [BZ #22402]
24957 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24958 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24959
a1c7cd3c
MF
249602017-11-04 Mike FABIAN <mfabian@redhat.com>
24961
24962 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24963 to be escaped.
24964
b9af29c0
FW
249652017-11-04 Florian Weimer <fweimer@redhat.com>
24966
24967 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24968
4ca70e1a
JM
249692017-11-03 Joseph Myers <joseph@codesourcery.com>
24970
24971 * math/math.h [__HAVE_DISTINCT_FLOAT16
24972 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24973 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24974 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24975 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24976 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24977 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24978 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24979 (__MATH_TG_F32): New macro.
24980 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24981 (__MATH_TG_F64X): Likewise.
24982 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24983 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24984
ba0e6668
DL
249852017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24986
24987 * po/de.po: Update translations.
24988 * po/ru.po: Likewise.
24989
bc18a6d3
FW
249902017-11-03 Florian Weimer <fweimer@redhat.com>
24991
24992 * manual/filesys.texi (Hard Links): Document linkat.
24993
97255170
JM
249942017-11-03 Joseph Myers <joseph@codesourcery.com>
24995
86ec4865
JM
24996 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24997 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24998 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24999 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25000 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25001 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25002 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25003 the same as _Float128.
25004 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25005 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25006 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25007
97255170
JM
25008 * stdlib/stdlib.h
25009 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25010 Declare.
25011 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25012 Likewise.
25013 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25014 Likewise.
25015 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25016 (strtof32x): Likewise.
25017 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25018 (strtof64x): Likewise.
25019 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25020 (strtof128x): Likewise.
25021 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25022 (strfromf16): Likewise.
25023 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25024 (strfromf32): Likewise.
25025 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25026 (strfromf64): Likewise.
25027 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25028 (strfromf32x): Likewise.
25029 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25030 (strfromf64x): Likewise.
25031 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25032 (strfromf128x): Likewise.
25033 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25034 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25035 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25036 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25037 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25038 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25039
6d58ce5e
RH
250402017-11-03 Richard Henderson <rth@twiddle.net>
25041
25042 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25043
659ca267
SN
250442017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25045
25046 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25047
94d2f0af
SN
250482017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25049
25050 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25051 DT_TLSDESC_GOT initialization.
25052 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25053 (_dl_tlsdesc_resolve_hold): Likewise.
25054 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25055 (_dl_tlsdesc_resolve_hold): Likewise.
25056 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25057 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25058
28e1ddf3
SN
250592017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25060
25061 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25062
0ca3d1d6
SN
250632017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25064
25065 [BZ #18572]
25066 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25067 non-lazily for R_ARM_TLS_DESC.
25068
2c1d4e5f
SN
250692017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25070
25071 [BZ #17078]
25072 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25073 R_ARM_TLS_DESC case.
25074 (elf_machine_lazy_rel): Remove the prelink check.
25075
91c5a366
SN
250762017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25077
25078 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25079 DT_TLSDESC_GOT initialization.
25080 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25081 (_dl_tlsdesc_resolve_rela): Likewise.
25082 (_dl_tlsdesc_resolve_hold): Likewise.
25083 (_dl_tlsdesc_undefweak): Remove ldar.
25084 (_dl_tlsdesc_dynamic): Likewise.
25085 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25086 (_dl_tlsdesc_resolve_rela): Likewise.
25087 (_dl_tlsdesc_resolve_hold): Likewise.
25088 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25089 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25090 (_dl_tlsdesc_resolve_rela): Likewise.
25091 (_dl_tlsdesc_resolve_hold): Likewise.
25092
b7cf203b
SN
250932017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25094
25095 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25096 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25097
0cc5b022
SN
250982017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25099
25100 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25101 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25102
43ddff2e
JM
251032017-11-02 Joseph Myers <joseph@codesourcery.com>
25104
25105 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25106 Declare.
25107 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25108 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25109 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25110 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25111 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25112 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25113 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25114 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25115 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25116 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25117 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25118
5baac970
MF
251192017-11-02 Mike FABIAN <mfabian@redhat.com>
25120
25121 [BZ #22382]
25122 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25123 * localedata/locales/tpi_PG: Add standard header.
25124
ef11081f
FW
251252017-11-02 Florian Weimer <fweimer@redhat.com>
25126
25127 test-errno-linux: quotactl can fail with EPERM in containers.
25128 * sysdeps/unix/sysv/linux/test-errno-linux.c
25129 (LIST, LIST_FORWARD): New macros.
25130 (check_error_in_list): New function.
25131 (test_wrp_rv): Accept list of permitted error codes.
25132 (test_wrp_rv2): Remove.
25133 (test_wrp): Call test_wrp_rv with list of error codes.
25134 (test_wrp2): Accept list of error codes.
25135 (do_test): Adjust. Allow EPERM for quotactl.
25136
d10b132b
FW
251372017-11-02 Florian Weimer <fweimer@redhat.com>
25138
25139 * stdio-common/bug16.c (do_test): Use array_length.
25140 * stdio-common/errlist.c (_sys_nerr): Likewise.
25141 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25142 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25143 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25144 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25145 (do_test): Use array_length.
25146 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25147 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25148 * stdio-common/tst-printf-round.c (do_test): Likewise.
25149 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25150 (CHECK): Use array_length.
25151 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25152 * stdio-common/tstscanf.c (main): Likewise.
25153 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25154
c94a5688
FW
251552017-11-02 Florian Weimer <fweimer@redhat.com>
25156
25157 Add array_length and array_end macros.
25158 * include/array_length.h: New file.
25159
2fac6a6c
FW
251602017-11-02 Florian Weimer <fweimer@redhat.com>
25161
25162 [BZ #22332]
25163 * posix/tst-glob-tilde.c (do_noescape): New variable.
25164 (one_test): Process it.
25165 (do_test): Set do_noescape. Add unescaping test case.
25166
2f1b212e
JM
251672017-11-01 Joseph Myers <joseph@codesourcery.com>
25168
260fbd0a
JM
25169 * math/complex.h
25170 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25171 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25172 with appropriate macros defined and undefined.
25173 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25174 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25175 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25176 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25177 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25178 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25179 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25180 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25181 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25182 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25183
2f1b212e
JM
25184 * math/complex.h
25185 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25186 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25187 that for long double. Do not condition define and undefine of
25188 _Mdouble_complex_ on [__CFLOAT128].
25189
95b93c6e
L
251902017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25191
25192 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25193 of <sysdeps/generic/sysdep.h>.
25194 (ALIGNARG): Removed.
25195 (ASM_SIZE_DIRECTIVE): Likewise.
25196 (ENTRY): Likewise.
25197 (END): Likewise.
25198 (ENTRY_CHK): Likewise.
25199 (END_CHK): Likewise.
25200 (syscall_error): Likewise.
25201 (mcount): Likewise.
25202 (PSEUDO_END): Likewise.
25203 (L): Likewise.
25204 (atom_text_section): Likewise.
25205 * sysdeps/x86/sysdep.h: New file.
25206 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25207 of <sysdeps/generic/sysdep.h>.
25208 (ALIGNARG): Removed.
25209 (ASM_SIZE_DIRECTIVE): Likewise.
25210 (ENTRY): Likewise.
25211 (END): Likewise.
25212 (ENTRY_CHK): Likewise.
25213 (END_CHK): Likewise.
25214 (syscall_error): Likewise.
25215 (mcount): Likewise.
25216 (PSEUDO_END): Likewise.
25217 (L): Likewise.
25218 (atom_text_section): Likewise.
25219
1bb36539
RL
252202017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25221
25222 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25223 category of LC_CTYPE set to "i18n:2012".
25224 * localedata/locales/i18n_ctype: Regenerate.
25225
067f5d97 252262017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 25227
87bbc4cf
YN
25228 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25229 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25230 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25231 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25232
e8681faa
YN
25233 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25234 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25235 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25236 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25237
540af6e2
JM
252382017-10-31 Joseph Myers <joseph@codesourcery.com>
25239
43e66283
JM
25240 * math/complex.h
25241 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25242 New macro.
25243 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25244 Likewise.
25245 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25246 Likewise.
25247 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25248 (CMPLXF32X): Likewise.
25249 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25250 (CMPLXF64X): Likewise.
25251 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25252 (CMPLXF128X): Likewise.
25253
540af6e2
JM
25254 * math/math.h
25255 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25256 (__MATH_EVAL_FMT2): Define to add 0.0f.
25257
58af72b4
AM
252582017-10-31 Alan Modra <amodra@gmail.com>
25259
25260 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25261 include sysdep.h.
25262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25276 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25277 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25278 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25279 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25280 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25281 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25282 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25283 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25284 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25285 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25286 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25287 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25288 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25289 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25290 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25291 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25292 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25293 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25294 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25295 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25296 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25297 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25298 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25299 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25300 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25301 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25302 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25303 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25304 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25305 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25306 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25307 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25308 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25309 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25310 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25311 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25312 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25313 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25314 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25315 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25316 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25317 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25318 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25319 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25320 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25321 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25322 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25323 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25324 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25325 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25326 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25327 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25328 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25329 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25330 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25331
25332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25333 include sysdep.h and math_ldbl_opt.h.
25334
25335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25336 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25361
112f30b3
AM
253622017-10-31 Alan Modra <amodra@gmail.com>
25363
25364 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25365 string/strncase_l.c, not string/strncase.c.
25366 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25367 (libc_hidden_def): Redefine.
25368
e9e7eced
AM
253692017-10-31 Alan Modra <amodra@gmail.com>
25370
25371 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25372 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25373 (__strcasecmp): Don't define.
25374
f7b465cf
AM
253752017-10-31 Alan Modra <amodra@gmail.com>
25376
25377 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25378 IS_IN (libc).
25379 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25380 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25381 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25382
d46b09f9
AM
253832017-10-31 Alan Modra <amodra@gmail.com>
25384
25385 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25386 USE_AS_STPNCPY.
25387
e9b8e194
AM
253882017-10-31 Alan Modra <amodra@gmail.com>
25389
25390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25391 Redefine only when SHARED.
25392
eda162dd
JM
253932017-10-30 Joseph Myers <joseph@codesourcery.com>
25394
b61afe8c
JM
25395 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25396 Include <bits/math-finite.h> with appropriate macros defined and
25397 undefined.
25398 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25399 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25400 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25401 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25402 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25403
eda162dd
JM
25404 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25405 [!_Mlong_double_] (_Mlong_double_): Likewise.
25406 [!_Mfloat16_] (_Mfloat16_): Likewise.
25407 [!_Mfloat32_] (_Mfloat32_): Likewise.
25408 [!_Mfloat64_] (_Mfloat64_): Likewise.
25409 [!_Mfloat128_] (_Mfloat128_): Likewise.
25410 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25411 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25412 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25413 (_Mdouble_): Define without indirection through those macros.
25414 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25415 [!_Mfloat128_] (_Mfloat128_): Likewise.
25416 [_Mlong_double_] (_Mlong_double_): Likewise.
25417 (_Mdouble_): Define without indirection through those macros.
25418 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25419 not add -D_Mlong_double_=double.
25420 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25421 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25422
4ad5106e
L
254232017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25424
25425 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25426
fe326df7
L
254272017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25428
25429 * sysdeps/x86/libc-start.c: Reformat.
25430
c5cc4514
L
254312017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25432
25433 [BZ #22353]
25434 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25435 (1): Renamed to ...
25436 (L(Src0)): This.
25437 (L(Src1)): New.
25438 (L(Src2)): Likewise.
25439 (L(1)): Renamed to ...
25440 (L(Src3)): This.
25441
ce12269f
JM
254422017-10-30 Joseph Myers <joseph@codesourcery.com>
25443
25444 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25445 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25446 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25447 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25448 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25449 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25450 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25451 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25452 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25453 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25454 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25455 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25456 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25457 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25458 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25459 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25460 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25461 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25462 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25463 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25464 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25465 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25466 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25467 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25468 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25469 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25470 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25471 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25472 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25473 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25474 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25475 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25476 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25477 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25478 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25479 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25480 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25481 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25482 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25483 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25484 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25485 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25486 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25487 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25488 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25489 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25490 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25491 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25492 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25493 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25494 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25495 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25496 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25497 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25498 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25499 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25500 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25501 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25502 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25503 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25504 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25505 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25506 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25507 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25508 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25509 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25510
4484b9e2
FW
255112017-10-30 Florian Weimer <fweimer@redhat.com>
25512
25513 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25514 always defined.
25515 * io/tst-mkdirat.c (do_test): Likewise.
25516 * io/tst-mkfifoat.c (do_test): Likewise.
25517 * io/tst-mknodat.c (do_test): Likewise.
25518 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25519 * locale/programs/locale.c (select_dirs): Likewise.
25520 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25521 * posix/bug-glob2.c (my_readdir): Likewise.
25522 * posix/tst-dir.c (main): Likewise.
25523 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25524 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25525
68fe16dd
FW
255262017-10-30 Florian Weimer <fweimer@redhat.com>
25527
25528 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25529 just __USE_GNU.
25530
dadf23f0
FW
255312017-10-30 Florian Weimer <fweimer@redhat.com>
25532
25533 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25534 Convert to support/test-driver.c.
25535 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25536 New macro parameters.
25537 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25538 * posix/tst-gnuglob.c: New file.
25539 * posix/tst-gnuglob64.c: Likewise.
25540 * posix/Makefile (tests): Add tst-gnuglob64.
25541
363e4519 255422017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
25543
25544 [BZ #19485]
25545 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25546 and use a better translation for March in “mon”.
25547 * localedata/locales/csb_PL: Use more ASCII to improve the
25548 readability of the source.
25549
b110af82
MF
255502017-10-30 Mike FABIAN <mfabian@redhat.com>
25551
25552 [BZ #13953]
25553 * localedata/locales/km_KH: Use ASCII as much
25554 as possible for better readability of the source and
25555 remove useless comments.
25556 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25557 was commented out and apparently wrong anyway because it was
25558 using Lao characters. If Buddhist era should be used
25559 for km_KH, a native speaker should write the correct formaat
25560 for Khmer.
25561 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25562 (According to CLDR, the first weekday for Cambodia is Sunday).
25563 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25564 (These were using Lao characters which must be wrong. If we get
25565 the correct data from a native speaker, we could add it back, until
25566 then it is better not to have name_mr and name_mrs at all than
25567 having it wrong).
25568
f301e533
RL
255692017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25570
25571 * locale/loadlocale.c: Correct size of
25572 _nl_value_type_LC_<category> arrays.
25573
7e9d7073
JM
255742017-10-27 Joseph Myers <joseph@codesourcery.com>
25575
25576 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25577 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25578 with appropriate macros defined and undefined.
25579 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25580 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25581 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25582 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25583 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25584
63d3b468
L
255852017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25586
25587 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25588 "-O2 -march=i586".
25589
a4cc02c7
MF
255902017-10-27 Mike FABIAN <mfabian@redhat.com>
25591
25592 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25593 with lowercase letters to make it agree with CLDR.
25594
1e5971ec
MF
255952017-10-27 Mike FABIAN <mfabian@redhat.com>
25596
25597 [BZ #15260]
25598 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25599 first letters of yesstr and nostr in yesexpr and noexpr,
25600 not for the full words.
25601 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25602 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25603 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25604 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25605 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25606 first letters of yesstr and nostr in yesexpr and noexpr,
25607 until now only English was matched in yesexpr and noexpr.
25608 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25609 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25610 fil but not for tl. As tl and fil are very similar, using fil
25611 is probably better than using English.
25612
363e4519 256132017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
25614
25615 [BZ #21706]
25616 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25617 in yesstr and nostr.
25618
5d220788
JM
256192017-10-26 Joseph Myers <joseph@codesourcery.com>
25620
ecc7da5b
JM
25621 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25622 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25623 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25624 Likewise.
25625 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25626 Likewise.
25627 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25628 Likewise.
25629 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25630 Likewise.
25631 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25632 (SNANF128X): Likewise.
25633
5d220788
JM
25634 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25635 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25636 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25637 (HUGE_VAL_F32): Likewise.
25638 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25639 (HUGE_VAL_F64): Likewise.
25640 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25641 (HUGE_VAL_F32X): Likewise.
25642 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25643 (HUGE_VAL_F64X): Likewise.
25644 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25645 (HUGE_VAL_F128X): Likewise.
25646
363e4519 256472017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
25648
25649 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25650 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25651 for the br_FR locale.
25652
363e4519 256532017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
25654
25655 [BZ #21706]
25656 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25657
337ff3c5
CD
256582017-10-25 Carlos O'Donell <carlos@redhat.com>
25659
02eec681
CD
25660 * locale/programs/record-status.h: Define globals, and function
25661 prototypes. Move function bodies...
25662 * locale/programs/record-status.c: ... to here. New file.
25663 * iconv/Makefile (iconv_prog-modules): Add record-status.
25664 * locale/Makefile (lib-modules): Likewise.
25665 * iconv/iconv_prog.c: Remove verbose.
25666 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25667 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25668 record a warning about ASCII compatibility.
25669 * locale/programs/ld-monetary.c (monetary_finish): If
25670 warn_int_curr_symbol is true then record a warning about the symbol
25671 not being in our ISO 4217 list.
25672 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25673 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25674 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25675 (OPT_NO_WARN): Define.
25676 (OPT_WARN): Define.
25677 (options): Add entry for --no-warnings, and --warnings.
25678 (set_warnings): New function to enable/disable warnings.
25679 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25680 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25681 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25682 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25683 Pass flags to generate_locale.
25684 (generate_locale): Accept new flag argument and pass it to localedef
25685 invocation.
25686 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25687 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25688
56fa555a
CD
25689 * localedata/Makefile (test-input-data): Use full file name.
25690 * localedata/da_DK.in: Rename to...
25691 * localedata/da_DK.ISO-8859-1.in: ...this.
25692 * localedata/de_DE.in: Rename to...
25693 * localedata/de_DE.ISO-8859-1.in: ...this.
25694 * localedata/en_US.in: Rename to...
25695 * localedata/en_US.ISO-8859-1.in: ...this.
25696 * localedata/fr_FR.in: Rename to...
25697 * localedata/fr_FR.UTF-8.in: ... this.
25698 * localedata/hr_HR.in: Rename to...
25699 * localedata/hr_HR.ISO-8859-2.in: ...this.
25700 * localedata/hu_HU.in: Rename to...
25701 * localedata/hu_HU.UTF-8.in: ...this.
25702 * localedata/si_LK.in: Rename to...
25703 * localedata/si_LK.UTF-8.in: ...this.
25704 * localedata/sv_SE.in: Rename to...
25705 * localedata/sv_SE.ISO-8859-1.in: ...this.
25706 * localedata/tr_TR.in: Rename to...
25707 * localedata/tr_TR.UTF-8.in: ...this.
25708 * localedata/uk_UA.in: Rename to...
25709 * localedata/uk_UA.UTF-8.in: ...this.
25710 * localedata/sort-test.sh: Test file is locale name with the
25711 suffix.
25712
337ff3c5
CD
25713 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25714 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25715 file.
25716 * localedata/locales/i18n_ctype: Regenerate.
25717 * localedata/locales/tr_TR: Likewise.
25718 * localedata/locales/translit_circle: Likewise.
25719 * localedata/locales/translit_cjk_compat: Likewise.
25720 * localedata/locales/translit_combining: Likewise.
25721 * localedata/locales/translit_compat: Likewise.
25722 * localedata/locales/translit_font: Likewise.
25723 * localedata/locales/translit_fraction: Likewise.
25724
63da5cd4
RS
257252017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25726
25727 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25728 lxvd2x/stxvd2x with lvx/stvx.
25729 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25730
a122dbfb
L
257312017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25732
25733 * include/alloc_buffer.h: Replace "if if " with "if " in
25734 comments.
25735 * sysdeps/mips/memcpy.S: Likkewise.
25736 * sysdeps/mips/memset.S: Likewise.
25737 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25738 Likewise.
25739 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25740 Likewise.
25741 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25742 Likewise.
25743
9be7530c
MF
257442017-10-25 Mike FABIAN <mfabian@redhat.com>
25745
25746 [BZ #15261]
25747 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25748 yesexpr and noexpr.
25749 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25750 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25751 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25752 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25753 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25754 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25755 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25756
6ccbf6ff
MF
257572017-10-25 Mike FABIAN <mfabian@redhat.com>
25758
25759 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25760 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25761 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25762 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25763 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25764 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25765 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25766 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25767 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25768 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25769 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25770 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25771
58b1a7ea
MF
257722017-10-25 Mike FABIAN <mfabian@redhat.com>
25773
25774 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25775 as possible for better readability of the source.
25776 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25777 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25778 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25779 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25780 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25781 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25782 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25783 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25784 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25785 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25786 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25787 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25788 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25789 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25790 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25791 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25792 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25793 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25794 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25795 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25796 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25797 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25798 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25799 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25800 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25801 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25802 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25803 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25804 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25805 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25806 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
25807 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25808 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
25809 * localedata/locales/en_US (LC_MESSAGES): Likewise.
25810 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
25811 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
25812 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
25813 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
25814 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
25815 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
25816 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
25817 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
25818 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
25819 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
25820 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
25821 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
25822 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
25823 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
25824 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
25825 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
25826 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
25827 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
25828 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
25829 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25830 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25831 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
25832 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
25833 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25834 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
25835 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
25836 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
25837 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
25838 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
25839 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
25840 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
25841 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
25842 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
25843 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
25844 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
25845 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
25846 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
25847 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
25848 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
25849 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
25850 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25851 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
25852 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
25853 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
25854 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
25855 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
25856 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
25857 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
25858 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
25859 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25860 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
25861 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
25862 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
25863 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25864 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
25865 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
25866 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
25867 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
25868 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25869 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
25870 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
25871 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25872 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
25873 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25874 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
25875 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
25876 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
25877 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
25878 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
25879 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
25880 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
25881 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
25882 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
25883 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
25884 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
25885 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
25886 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
25887 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
25888 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25889 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
25890 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
25891 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
25892 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
25893 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
25894 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
25895 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
25896 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
25897 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
25898 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
25899 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
25900 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
25901 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
25902 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
25903 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
25904 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
25905 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
25906 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
25907 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
25908 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
25909 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
25910 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
25911 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
25912 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
25913 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
25914 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
25915 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
25916 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
25917 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
25918 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
25919 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
25920 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
25921 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25922 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
25923 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25924 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25925 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25926 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25927 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25928 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25929 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25930 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25931 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25932 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25933 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25934 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25935 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25936 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25937 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25938 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25939 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25940 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25941 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25942 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25943 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25944 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25945 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25946 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25947 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25948 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25949 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25950
17e78edb
MF
259512017-10-25 Mike FABIAN <mfabian@redhat.com>
25952
25953 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25954 (Use first letters of yesstr and nostr correctly instead of using
25955 full words).
25956
74e7284f
MF
259572017-10-25 Mike FABIAN <mfabian@redhat.com>
25958
25959 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25960 (Use first letters of yesstr and nostr correctly).
25961
b41a0ff1
MF
259622017-10-25 Mike FABIAN <mfabian@redhat.com>
25963
25964 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25965 also check for the first characters of yesstr and nostr.
25966 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25967 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25968
d971f380
MF
259692017-10-25 Mike FABIAN <mfabian@redhat.com>
25970
25971 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25972 also check for Chinese characters.
25973
effc9e1d
MF
259742017-10-25 Mike FABIAN <mfabian@redhat.com>
25975
25976 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25977 match also for the contents of yesstr and nostr. As the first letter
25978 of yesstr and nostr is equal, checking only for the first letter
25979 is not enough.
25980
10320881
MF
259812017-10-25 Mike FABIAN <mfabian@redhat.com>
25982
25983 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25984 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25985
d8682a15
MF
259862017-10-25 Mike FABIAN <mfabian@redhat.com>
25987
25988 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25989 of main contributor.
25990
1bfb86ae
MF
259912017-10-25 Mike FABIAN <mfabian@redhat.com>
25992
25993 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25994 instead of using English.
25995
da33d60b
MF
259962017-10-25 Mike FABIAN <mfabian@redhat.com>
25997
25998 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25999 by including the first letters of nostr and yesexpr in the regexp.
26000 Also make it more readable by using ASCII where possible.
26001
725bbb3e
MF
260022017-10-25 Mike FABIAN <mfabian@redhat.com>
26003
26004 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26005 the first letter of nostr in the regexp. It agrees with CLDR now.
26006 Also make it more readable by using ASCII where possible.
26007
fe043d8a
MF
260082017-10-24 Mike FABIAN <mfabian@redhat.com>
26009
26010 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26011 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26012 these strings contain a U+17D6 (which somewhat looks like a colon)
26013 instead of a real colon to separate the full words for “yes”
26014 and “no” from the single letter responses.
26015
360a8df3
MF
260162017-10-24 Mike FABIAN <mfabian@redhat.com>
26017
26018 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26019 it agree with CLDR (include the first letter of yesstr).
26020 Also make it more readable by using ASCII where possible.
26021
bab7b6b0
MF
260222017-10-24 Mike FABIAN <mfabian@redhat.com>
26023
26024 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26025 and improve yesexpr and noexpr. The yesstr and nostr apparently
26026 came from CLDR. And CLDR has a bug there: these strings contain
26027 a U+0903 (which looks like a colon) instead of a real colon
26028 to separate the full words for “yes” and “no” from the single
26029 letter responses.
26030
3e79f758
MF
260312017-10-24 Mike FABIAN <mfabian@redhat.com>
26032
26033 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26034 letters of the full yesstr and nostr in yesexpr and noexpr.
26035
4960c879
MF
260362017-10-24 Mike FABIAN <mfabian@redhat.com>
26037
26038 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26039 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26040 * localedata/locales/an_ES: Make source more readable by using ASCII
26041 where possible.
26042
b06a054f
MF
260432017-10-24 Mike FABIAN <mfabian@redhat.com>
26044
26045 [BZ #20952]
26046 * localedata/locales/yuw_PG: New file.
26047 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26048 * locale/iso-639.def: Add Yau (Uruwa).
26049
905a7725
WD
260502017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26051
26052 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26053
3f6bb8a3
WD
260542017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26055
26056 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26057 (__libc_realloc): Likewise.
26058 (_mid_memalign): Likewise.
26059 (__libc_calloc): Likewise.
26060
1d479c8c
MF
260612017-10-23 Mike FABIAN <mfabian@redhat.com>
26062
26063 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26064 by adding the generic +1 and -0 as in all other locales.
26065 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26066 day names and make it more readable by using ASCII where possible.
26067
91c3985c
JM
260682017-10-24 Joseph Myers <joseph@codesourcery.com>
26069
26070 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26071 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26072
aa95a241
AZ
260732017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26074
26075 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26076 WNOHANG in waitpid call.
26077
db9bab09
SP
260782017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26079
a2e0a7f1
SP
26080 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26081 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26082
db9bab09
SP
26083 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26084 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26085 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26086 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26087 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26088 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26089 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26090 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26091 variables.
26092
5062680c
MC
260932017-10-23 Michael Collison <michael.collison@arm.com>
26094
26095 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26096 with __builtin_sqrt.
26097 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26098 with __builtin_sqrtf.
26099 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26100 with __builtin_ceil.
26101 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26102 with __builtin_ceilf.
26103 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26104 with __builtin_floor.
26105 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26106 with __builtin_floorf.
26107 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26108 with __builtin_fma.
26109 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26110 with __builtin_fmaf.
26111 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26112 with __builtin_fmax.
26113 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26114 with __builtin_fmaxf.
26115 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26116 with __builtin_fmin.
26117 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26118 with __builtin_fminf.
26119 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26120 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26121 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26122 with builtin_rint and conversion to int.
26123 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26124 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26125 with builtin_llround.
26126 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26127 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26128 with builtin_rint and conversion to long int.
26129 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26130 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26131 with builtin_lround.
26132 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26133 with builtin_lroundf.
26134 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26135 statements with __builtin_nearbyint.
26136 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26137 statements with __builtin_nearbyintf.
26138 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26139 with __builtin_rint.
26140 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26141 with __builtin_rintf.
26142 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26143 with __builtin_round.
26144 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26145 with __builtin_roundf.
26146 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26147 with __builtin_trunc.
26148 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26149 with __builtin_truncf.
be080b6c
SN
26150 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26151 and s_l[l]round[f].c too.
5062680c 26152
174935af
AM
261532017-10-23 Alan Modra <amodra@gmail.com>
26154
26155 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26156 Adjust stack after restoring regs. Add missing LR cfi_restore.
26157
750a0e49
AM
261582017-10-23 Alan Modra <amodra@gmail.com>
26159
26160 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26161 Move LR save and frame setup/teardown and LR restore to
26162 immediately around memset call. Provide cfi.
26163
5313581c
L
261642017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26165
26166 * sysdeps/i386/fpu/e_powf.S: Removed.
26167 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26168 * sysdeps/i386/fpu/w_powf.c: Likewise.
26169 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26170 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26171 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26172 Add e_powf-sse2.
26173 (CFLAGS-e_powf-sse2.c): New.
26174 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26175 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26176
6089a3ee
L
261772017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26178
26179 * sysdeps/i386/fpu/e_log2f.S: Removed.
26180 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26181 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26182 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26183 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26184 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26185 Add e_log2f-sse2.
26186 (CFLAGS-e_log2f-sse2.c): New.
26187 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26188 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26189
80bb5935
L
261902017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26191
26192 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26193 Add e_powf-fma.
26194 (CFLAGS-e_powf-fma.c): New.
26195 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26196 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26197
5c7adbd8
L
261982017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26199
26200 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26201 Add e_log2f-fma.
26202 (CFLAGS-e_log2f-fma.c): New.
26203 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26204 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26205
0ccc7153
L
262062017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26207
26208 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26209 Add e_logf-fma.
26210 (CFLAGS-e_logf-fma.c): New.
26211 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26212 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26213
fe596486
L
262142017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26215
26216 * sysdeps/i386/fpu/e_logf.S: Removed.
26217 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26218 * sysdeps/i386/fpu/w_logf.c: Likewise.
26219 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26220 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26221 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26222 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26223 Add e_logf-sse2.
26224 (CFLAGS-e_logf-sse2.c): New.
26225 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26226 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26227
7eda65f6
L
262282017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26229
26230 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26231 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26232 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26233 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26234 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26235 Add e_exp2f-sse2.
26236 (CFLAGS-e_exp2f-sse2.c): New.
26237 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26238 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26239
5d15c969
L
262402017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26241
26242 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26243 Add e_exp2f-fma.
26244 (CFLAGS-e_exp2f-fma.c): New.
26245 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26246 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26247
b2f6137e
L
262482017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26249
26250 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26251 * sysdeps/i386/fpu/e_expf.S: Likewise.
26252 * sysdeps/i386/fpu/math_errf.c: Likewise.
26253 * sysdeps/i386/fpu/w_expf.c: Likewise.
26254 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26255 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26256 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26257 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26258 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26259 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26260 Remove e_expf-ia32.
26261 (CFLAGS-e_expf-sse2.c): New.
26262 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26263 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26264
e1f59beb
L
262652017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26266
26267 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26268 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26269 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26270 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26271 e_expf.c.
26272 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26273 New.
26274 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26275 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26276 Renamed to ...
26277 (__redirect_expf): This.
26278 (SYMBOL_NAME): Changed to expf.
26279 (__ieee754_expf): Renamed to ...
26280 (__expf): This.
26281 (__GI___expf): This.
26282 (__ieee754_expf): Add strong_alias.
26283 (__expf_finite): Likewise.
26284 (__expf): New.
26285 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26286
363e4519 262872017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
26288
26289 [BZ #22332]
26290 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26291 unescaping.
26292
e80fc1fc
FW
262932017-10-21 Florian Weimer <fweimer@redhat.com>
26294
26295 * posix/Makefile (tests): Add tst-glob-tilde.
26296 (tests-special): Add tst-glob-tilde-mem.out
26297 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26298 (tst-glob-tilde-mem.out): Add mtrace check.
26299 * posix/tst-glob-tilde.c: New file.
26300
797ba44b
JM
263012017-10-20 Joseph Myers <joseph@codesourcery.com>
26302
26303 * bits/floatn-common.h: New file.
26304 * math/Makefile (headers): Add bits/floatn-common.h.
26305 * bits/floatn.h: Include <bits/floatn-common.h>.
26306 * sysdeps/ia64/bits/floatn.h: Likewise.
26307 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26308 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26309 * sysdeps/powerpc/bits/floatn.h: Likewise.
26310 * sysdeps/x86/bits/floatn.h: Likewise.
26311
fe05e1cb
AZ
263122017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26313
8f6f5362
AZ
26314 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26315 indicates whether compiler emits an warning for alias for
26316 functions with incompatible types.
26317
fe05e1cb
AZ
26318 [BZ #22273]
26319 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26320 the auxiliary process is terminated by a signal before calling _exit
26321 or execve.
26322
b52b0d79
L
263232017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26324
26325 [BZ #21265]
26326 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26327 New.
26328 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26329 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26330 and bit_arch_XSAVEC_Usable if needed.
26331 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26332 and bit_arch_Use_dl_runtime_resolve_opt.
26333 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26334 Removed.
26335 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26336 (bit_arch_Prefer_No_AVX512): Updated.
26337 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26338 (bit_arch_XSAVEC_Usable): New.
26339 (STATE_SAVE_OFFSET): Likewise.
26340 (STATE_SAVE_MASK): Likewise.
26341 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26342 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26343 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26344 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26345 (index_arch_XSAVEC_Usable): New.
26346 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26347 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26348 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26349 is enabled.
26350 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26351 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26352 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26353 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26354 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26355 _dl_runtime_resolve_xsavec.
26356 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26357 Removed.
26358 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26359 instead of VEC_SIZE.
26360 (REGISTER_SAVE_BND0): Removed.
26361 (REGISTER_SAVE_BND1): Likewise.
26362 (REGISTER_SAVE_BND3): Likewise.
26363 (REGISTER_SAVE_RAX): Always defined to 0.
26364 (VMOV): Removed.
26365 (_dl_runtime_resolve_avx): Likewise.
26366 (_dl_runtime_resolve_avx_slow): Likewise.
26367 (_dl_runtime_resolve_avx_opt): Likewise.
26368 (_dl_runtime_resolve_avx512): Likewise.
26369 (_dl_runtime_resolve_avx512_opt): Likewise.
26370 (_dl_runtime_resolve_sse): Likewise.
26371 (_dl_runtime_resolve_sse_vex): Likewise.
26372 (USE_FXSAVE): New.
26373 (_dl_runtime_resolve_fxsave): Likewise.
26374 (USE_XSAVE): Likewise.
26375 (_dl_runtime_resolve_xsave): Likewise.
26376 (USE_XSAVEC): Likewise.
26377 (_dl_runtime_resolve_xsavec): Likewise.
26378 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26379 Removed.
26380 (_dl_runtime_resolve_avx512_opt): Likewise.
26381 (_dl_runtime_resolve_avx): Likewise.
26382 (_dl_runtime_resolve_avx_opt): Likewise.
26383 (_dl_runtime_resolve_sse): Likewise.
26384 (_dl_runtime_resolve_sse_vex): Likewise.
26385 (_dl_runtime_resolve_fxsave): New.
26386 (_dl_runtime_resolve_xsave): Likewise.
26387 (_dl_runtime_resolve_xsavec): Likewise.
26388
363e4519 263892017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
26390
26391 [BZ #22320]
26392 CVE-2017-15670
26393 * posix/glob.c (__glob): Fix one-byte overflow.
26394
6d43de4b
WD
263952017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26396
26397 * malloc/malloc.c (sysdep-cancel.h): Add include.
26398
a15d53e2
WD
263992017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26400
26401 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26402
b9a558e7
WH
264032017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26404
26405 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26406 (tests): Remove $(objpfx)ga_test depdendency.
26407 * resolv/ga_test.c: Remove file.
26408
b6b08b8e
MF
264092017-10-20 Mike FABIAN <mfabian@redhat.com>
26410
26411 [BZ #18812]
26412 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26413 * localedata/locales/kab_DZ: New file.
26414
9ba7e810
L
264152017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26416
26417 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26418 _dl_relocate_static_pie instead of _dl_start to compute load
26419 address in static PIE.
26420
4027a4fd
L
264212017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26422
26423 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26424
2f9314b4
MF
264252017-10-20 Mike FABIAN <mfabian@redhat.com>
26426
26427 [BZ #13605]
26428 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26429 * localedata/locales/shn_MM: New file.
26430
63b4baa4
FW
264312017-10-20 Florian Weimer <fweimer@redhat.com>
26432
26433 [BZ #22321]
26434 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26435 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26436 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26437 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26438 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26439 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26440
95ccb619
L
264412017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26442
26443 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26444
37bb78cb
JM
264452017-10-19 Joseph Myers <joseph@codesourcery.com>
26446
76f2ed92
JM
26447 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26448
37bb78cb
JM
26449 [BZ #22322]
26450 * sysdeps/mips/bits/long-double.h: Move to ....
26451 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26452
d74e6f6c
WD
264532017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26454
26455 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26456
363e4519 264572017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
26458 H.J. Lu <hongjiu.lu@intel.com>
26459
26460 [BZ #22299]
26461 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26462 GLRO(dl_platform) to NULL.
26463 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26464 (modules-names): Add tst-platformmod-1 and
26465 x86_64/tst-platformmod-2.
26466 (CFLAGS-tst-platform-1.c): New.
26467 (CFLAGS-tst-platformmod-1.c): Likewise.
26468 (CFLAGS-tst-platformmod-2.c): Likewise.
26469 (LDFLAGS-tst-platformmod-2.so): Likewise.
26470 ($(objpfx)tst-platform-1): Likewise.
26471 ($(objpfx)tst-platform-1.out): Likewise.
26472 (tst-platform-1-ENV): Likewise.
26473 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26474 * sysdeps/x86_64/tst-platform-1.c: New file.
26475 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26476 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26477
4b0fa403
MF
264782017-10-19 Mike FABIAN <mfabian@redhat.com>
26479
26480 [BZ #13994]
26481 * locale/iso-639.def: Add Karbi.
26482 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26483 * localedata/locales/mjw_IN: New file.
26484
81325b12
JM
264852017-10-18 Joseph Myers <joseph@codesourcery.com>
26486
26487 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26488 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26489 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26490 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26491 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26492 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26493 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26494 <bits/floatn.h>.
26495 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26496 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26497 * manual/math.texi (Mathematics): Document additional architecture
26498 support for _Float128.
26499 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26500 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26501 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26502 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26503 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26504 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26505 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26506 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26507 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26508 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26509 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26510 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26511 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26512 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26513 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26514
a68ba2f3
SN
265152017-10-18 Renlin Li <renlin.li@arm.com>
26516
26517 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26518 _DYNAMIC symbol to calculate load address.
26519
346729f6
PC
265202017-10-18 Paul A. Clarke <pc@us.ibm.com>
26521
26522 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26523 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26524 summary bits.
26525 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26526 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26527
508b1e71
MF
265282017-10-18 Mike FABIAN <mfabian@redhat.com>
26529
26530 [BZ #16777]
26531 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26532 and improve readability by using more ASCII.
26533 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26534 and improve readability by using more ASCII.
26535
2c2245b9
WD
265362017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26537
26538 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26539 not all targets support atomics on bool.
26540
13c92696
JM
265412017-10-17 Joseph Myers <joseph@codesourcery.com>
26542
26543 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26544 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26545 __f128.
26546 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26547 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26548 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26549 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26550 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26551 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26552
71d85045
AZ
265532017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26554
26555 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26556 defines.
26557
3381be5c
WD
265582017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26559
26560 [BZ #22159]
26561 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26562 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26563 (do_check_remalloced_chunk): Fix build bug.
26564 (do_check_malloc_state): Add assert that checks arena->top.
26565 (malloc_consolidate): Remove initialization.
26566 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 26567 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 26568
e956075a
WD
265692017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26570
26571 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26572 (have_fastchunks): Remove.
26573 (clear_fastchunks): Remove.
26574 (set_fastchunks): Remove.
26575 (malloc_state): Add have_fastchunks.
26576 (malloc_init_state): Use have_fastchunks.
26577 (do_check_malloc_state): Remove incorrect invariant checks.
26578 (_int_malloc): Use have_fastchunks.
26579 (_int_free): Likewise.
26580 (malloc_consolidate): Likewise.
26581
e4dd4ace
WD
265822017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26583
26584 * malloc/malloc.c (tcache_put): Inline.
26585 (tcache_get): Inline.
26586
5bf58bc7
AJ
265872017-10-17 Jordi Mallach <jordi@gnu.org>
26588
26589 Aurelien Jarno <aurelien@aurel32.net>
26590 [BZ #2522]
26591 * localedata/locales/ca_ES@valencia: New file.
26592 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26593
386e1c26
RN
265942017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26595
26596 [BZ #22296]
26597 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26598 < 6.x
26599
4e17c78e
AZ
266002017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26601
3d265601
AZ
26602 * scripts/build-many-glibcs.py (Context.add_all_configs):
26603 Add arm-linux-gnueabihf multiarch extra_glibcs.
26604
4e17c78e
AZ
26605 * sysdeps/generic/ifunc-init.h: New file.
26606 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26607
56a752ab
MF
266082017-10-17 Mike FABIAN <mfabian@redhat.com>
26609
26610 [BZ #22019]
26611 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26612 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26613 * stdlib/tst-strfmon_l.c: adapt test case.
26614
c38a4bfd
JM
266152017-10-16 Joseph Myers <joseph@codesourcery.com>
26616
26617 * sysdeps/generic/float128-abi.h: New file.
26618 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26619 non-__prefixed symbols to ....
26620 * math/Versions: ... here. Include <float128-abi.h>.
26621 * stdlib/Versions ... and here. Include <float128-abi.h>
26622
76009b26
FW
266232017-10-16 Florian Weimer <fweimer@redhat.com>
26624
26625 * version.h (VERSION): Switch to ".9000" as the development
26626 version suffix.
26627
7ece6cd5
FW
266282017-10-16 Florian Weimer <fweimer@redhat.com>
26629
26630 [BZ #22050]
26631 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26632 compat_symbol_reference to access non-default version.
26633
d8287b36
FW
266342017-10-16 Florian Weimer <fweimer@redhat.com>
26635
26636 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26637
3480ddc4
CD
266382017-10-16 Carlos O'Donell <carlos@redhat.com>
26639
26640 * include/shlib-compat.h (compat_symbol_reference): Update
26641 comment.
26642
02010e79
JM
266432017-10-16 Joseph Myers <joseph@codesourcery.com>
26644
596f7013
JM
26645 * math/Makefile (test-types): Add
26646 $(type-float128-$(float128-alias-fcts)).
26647 * math/test-float128.h (TYPE_STR): Define conditional on
26648 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26649 (ULP_IDX): Likewise.
26650 (ULP_I_IDX): Likewise.
26651
02010e79
JM
26652 * stdlib/strtold.c: Include <bits/floatn.h>
26653 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26654 and later undefine as macro. Define as weak alias if
26655 [!USE_WIDE_CHAR].
26656 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26657 and later undefine as macro. Define as weak alias if
26658 [USE_WIDE_CHAR].
26659 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26660 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26661 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26662 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26663 Define and later undefine as macro. Define as weak alias if
26664 [USE_WIDE_CHAR].
26665 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26666 <bits/floatn.h>.
26667 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26668 Define and later undefine as macro. Define as weak alias if
26669 [!USE_WIDE_CHAR].
26670 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26671 Define and later undefine as macro. Define as weak alias if
26672 [USE_WIDE_CHAR].
26673
ea91c315
CD
266742017-10-15 Carlos O'Donell <carlos@redhat.com>
26675
26676 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26677 record_verbose messages.
26678
8e57c943
L
266792017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26680
26681 [BZ #22052]
26682 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26683 to silence -O3 -Wall warning with GCC 7.
26684
a4777c46
L
266852017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26686
26687 * Makeconfig (+link-static-before-libc): Use the first of
26688 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26689 * gmon/Makefile (tests): Add tst-gmon-static.
26690 (tests-static): Likewise.
26691 (CFLAGS-tst-gmon-static.c): New.
26692 (CRT-tst-gmon-static): Likewise.
26693 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26694 (tst-gmon-static-ENV): Likewise.
26695 (tests-special): Likewise.
26696 ($(objpfx)tst-gmon-static.out): Likewise.
26697 (clean-tst-gmon-static-data): Likewise.
26698 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26699 * gmon/tst-gmon-static-gprof.sh: New file.
26700 * gmon/tst-gmon-static.c: Likewise.
26701
bc3821bb
CD
267022017-10-13 Carlos O'Donell <carlos@redhat.com>
26703
26704 [BZ #22295]
26705 * locale/programs/linereader.c (get_string): Don't warn on
26706 non-symbolic character.
26707
a3e23a2c
CD
26708 [BZ #22294]
26709 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26710 int_curr_symbol.
26711
f16491eb
CD
26712 [BZ #22292]
26713 * locale/programs/record-status.h: New file
26714 * locale/programs/locale.c: Add comment.
26715 * locale/programs/charmap-dir.c: Don't include error.h.
26716 (charmap_opendir): Use record_error.
26717 * locale/programs/charmap.c: Don't include error.h.
26718 (charmap_read): Use record_error, and record_warning.
26719 (parse_charmap): Likewise.
26720 * locale/programs/ld-address.c: Don't include error.h.
26721 (address_finish): Use record_error, and record_warning.
26722 * locale/programs/ld-collate.c: Don't include error.h.
26723 (collate_finish): Use record_error, and record_error_at_line.
26724 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26725 (ctype_class_new): Likewise.
26726 (ctype_map_new): Likewise.
26727 (set_one_default): Likewise.
26728 (set_class_defaults): Likewise.
26729 (translit_flatten): Likewise.
26730 (allocate_arrays): Use record_error, and record_verbose.
26731 * locale/programs/ld-identification.c: Don't include error.h.
26732 (indentation_finish): Use record_error and record_warning.
26733 * locale/programs/ld-measurement.c: Don't include error.h.
26734 (measurement_finish): Use record_error.
26735 * locale/programs/ld-messages.c
26736 (message_finish): Likewise.
26737 * locale/programs/ld-monetary.c
26738 (monetary_finish): Likewise.
26739 * locale/programs/ld-name.c (name_finish): Use record_error
26740 and record_warning.
26741 * locale/programs/ld-numeric.c
26742 (numeric_finish): Use record_error.
26743 * locale/programs/ld-paper.c: Don't include error.h.
26744 (paper_finish): Use record_error.
26745 * locale/programs/ld-telephone.c: Don't include error.h.
26746 (telephone_finish): Use record_error.
26747 * locale/programs/ld-time.c (time_finish): Likewise.
26748 * locale/programs/linereader.h (lr_error): Make inline func.
26749 * locale/programs/localedef.c: Define recorded_warning_count,
26750 and recorded_error_count.
26751 (main): Use record_error. Use recorded_error_count and
26752 recorded_warning_count to issue correct error returns.
26753 (add_to_readlist): Use record_error.
26754 (find_locale): Likewise.
26755 (load_locale): Likewise.
26756 * locale/programs/localedef.h: Remove be_quiet
26757 and WITH_CUR_LOCALE.
26758 * locale/programs/locarchive.c (compare_from_file): Use
26759 record_error.
26760 * locale/programs/locfile.c (write_locale_data): Use
26761 record_error.
26762 * locale/programs/repertoire.c: Dont include error.h.
26763 (repertoire_complain): Use record_error.
26764 * localedata/tst-fmon.sh: Expect failures from localedef.
26765 * localedata/tst-locale.sh: Likewise.
26766 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26767
8dc8be75
CD
26768 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26769 (REPORTS): Likewise.
26770 (check): Likewise.
26771 (i18n): Rename to...
26772 (i18n_ctype): ...this.
26773 (i18n-report): Rename to...
26774 (i18n_ctype-report): ...this.
26775 * localedata/locales/i18n_ctype: Regenerate.
26776 * localedata/locales/i18n: copy i18n_ctype.
26777
f8718a9e
JM
267782017-10-13 Joseph Myers <joseph@codesourcery.com>
26779
18c08b96
JM
26780 * stdlib/strfroml.c: Include <bits/floatn.h>.
26781 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26782 Define before include of <stdlib.h> and undefine afterwards, then
26783 define as weak alias.
26784
f8718a9e
JM
26785 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26786 Undefine and restore default definition. Use
26787 libm_alias_ldouble_other.
26788
e4f530da
PZ
267892017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26790
26791 [BZ #22153]
26792 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26793 in coredumps.
26794
86445888
JC
267952017-10-13 James Clarke <jrtc27@jrtc27.com>
26796
26797 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26798 Assign sym_map to be map for local symbols, as TLS relocations
26799 use sym_map to determine whether the symbol is defined and to
26800 extract the TLS information.
26801 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26802 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26803
179dcdb7
TMQMF
268042017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26805
e8dbd6a3
TMQMF
26806 [BZ #22189]
26807 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
26808 (math_force_eval): Add powerpc version.
26809
179dcdb7
TMQMF
26810 [BZ #22142]
26811 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
26812 -DBL_MAX.
26813 (do_test): Likewise.
26814 * stdio-common/tst-printf.sh: Likewise.
26815 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
26816 ifdef clause in order to set the carry bit right. Replace r0 by
26817 0 without changing the behavior.
26818
7d25d410
JM
268192017-10-13 Joseph Myers <joseph@codesourcery.com>
26820
006e7664
JM
26821 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
26822 <libm-alias-ldouble.h>.
26823 (fabsl): Define using libm_alias_ldouble.
26824 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
26825 <libm-alias-ldouble.h>.
26826 (fabsl): Define using libm_alias_ldouble.
26827
1def91b3
JM
26828 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
26829 Remove conditional code.
26830
7d25d410
JM
26831 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
26832 Rename to __clog10_internal_l.
26833 (__clog10_internal_l): Define aliases using
26834 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
26835 with __clog10.
26836
077ee129
RS
268372017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26838
26839 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
26840 * benchtests/sincosf-inputs: New file.
26841 * benchtests/cosf-inputs: New file.
26842 * benchtests/sinf-inputs: New file.
26843
5ba41de9
SN
268442017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
26845
26846 * posix/tst-spawn.c (do_test): Wait for both children.
26847
d165ca64
L
268482017-10-12 H.J. Lu <hongjiu.lu@intel.com>
26849
26850 [BZ #22284]
26851 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
26852 tests-pie): Add tst-gmon-pie.
26853 (CFLAGS-tst-gmon-pie.c): New.
26854 (CRT-tst-gmon-pie): Likewise.
26855 (tst-gmon-pie-ENV): Likewise.
26856 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
26857 ($(objpfx)tst-gmon-pie.out): Likewise.
26858 (clean-tst-gmon-pie-data): Likewise.
26859 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
26860 * gmon/gmon.c [PIC]: Include <link.h>.
26861 [PIC] (callback): New function.
26862 (write_hist): Add an argument for load address. Subtract load
26863 address from PCs.
26864 (write_call_graph): Likewise.
26865 (write_gmon): Call __dl_iterate_phdr to get load address, pass
26866 it to write_hist and write_call_graph.
7bacdcfc 26867 * gmon/tst-gmon-pie.c: New file.
d165ca64 26868
bc9620d0
JM
268692017-10-11 Joseph Myers <joseph@codesourcery.com>
26870
26871 * math/Makefile (test-types-basic): New variable.
26872 (test-types): Likewise.
26873 (libm-test-support): Use $(test-types) instead of $(types).
26874 (libm-tests-base-normal): Likewise.
26875 (libm-tests-base-finite): Likewise.
26876 (libm-tests-base-inline): Likewise.
26877 (generated): Likewise.
26878 ($(objpfx)libm-test-support-$(t).c): Likewise.
26879 (libm-tests-for-type iterator): Likewise.
26880 (libm-test-support iterator): Likewise.
26881 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
26882 (ulp_idx): Use ULP_IDX.
26883 * math/test-ldouble.h: Include <float.h>.
26884 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
26885 (ULP_IDX): New macro.
26886 (ULP_I_IDX): Likewise.
26887 * math/test-double.h (ULP_IDX): Likewise.
26888 (ULP_I_IDX): Likewise.
26889 * math/test-float.h (ULP_IDX): Likewise.
26890 (ULP_I_IDX): Likewise.
26891 * math/test-float128.h (ULP_IDX): Likewise.
26892 (ULP_I_IDX): Likewise.
26893
09c76a74
AZ
268942017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26895
26896 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
26897 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26898 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26899 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
26900 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26901 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
26902 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
26903 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26904 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26905 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26906 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
26907 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26908 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26909 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26910 (SINGLE_THREAD_BY_GLOBAL): Define.
26911 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26912 Likewise.
26913 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26914 Likewise.
26915 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26916 Likewise.
26917 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26918 Likewise.
26919 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
26920 (SINGLE_THREAD_BY_GLOBAL): Likewise.
26921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26922 Likewise.
26923
2faa42da
AS
269242017-10-11 Andreas Schwab <schwab@suse.de>
26925
26926 * nis/Makefile (aux): Remove.
26927 * nscd/Makefile (aux): Add nscd_hash.
26928 (nscd-modules): Likewise.
26929 ($(objpfx)nscd): Don't depend on libnsl.
26930 * nscd/nscd_hash.c: New file.
26931 * nscd/nscd_hash.h: Likewise.
26932 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26933 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26934 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26935 instead of <nis/rpcsvc/nis.h>.
26936 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26937
d8425e11
FW
269382017-10-11 Florian Weimer <fweimer@redhat.com>
26939
26940 [BZ #22078]
26941 Avoid large NSS buffers with many addresses, aliases.
26942 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26943 using dynarrays and struct alloc_buffer.
26944 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26945 (tst-nss-files-hosts-multi): Link with -ldl.
26946 * nss/tst-nss-files-hosts-multi.c: New file.
26947
78e806fd
FW
269482017-10-11 Florian Weimer <fweimer@redhat.com>
26949
26950 [BZ #18023]
26951 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26952 scratch_buffer. Eliminate gotos.
26953
541f19ba
JM
269542017-10-11 Joseph Myers <joseph@codesourcery.com>
26955
0ff64d3a
JM
26956 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26957 libm_alias_ldouble_other.
26958 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26959 undefine and redefine.
26960 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26961 (exp10l): Do not define here.
26962 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26963 (weak_alias): Undefine and redefine.
26964 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26965 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26966 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26967 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26968
541f19ba
JM
26969 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26970 [!__fma] (fma): Define using libm_alias_double.
26971 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26972 [!__fmaf] (fmaf): Define using libm_alias_float.
26973 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26974 (fmal): Define using libm_alias_ldouble.
26975
24b6515d
JM
269762017-10-10 Joseph Myers <joseph@codesourcery.com>
26977
26978 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26979 New macro.
26980 (libm_alias_double_other): Likewise.
26981 (libm_alias_double_r): Use libm_alias_double_other_r.
26982 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26983 New macro.
26984 (libm_alias_float_other): Likewise.
26985 (libm_alias_float_r): Use libm_alias_float_other_r.
26986 * sysdeps/generic/libm-alias-float128.h
26987 (libm_alias_float128_other_r): New macro.
26988 (libm_alias_float128_other): Likewise.
26989 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26990 * sysdeps/generic/libm-alias-ldouble.h
26991 (libm_alias_ldouble_other_r): New macro.
26992 (libm_alias_ldouble_other): Likewise.
26993 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26994 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26995 (libm_alias_double_other_r): New macro.
26996 (libm_alias_double_other): Likewise.
26997 (libm_alias_double_r): Use libm_alias_double_other_r.
26998 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26999 (libm_alias_ldouble_other_r): New macro.
27000 (libm_alias_ldouble_other): Likewise.
27001 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27002 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27003 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27004 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27005 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27006 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27007 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27008 * math/w_exp2f.c: Use libm_alias_float_other.
27009 * math/w_expf.c: Likewise.
27010 * math/w_log2f.c: Likewise.
27011 * math/w_logf.c: Likewise.
27012 * math/w_powf.c: Likewise.
27013 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27014 [!__exp2f]: Use libm_alias_float_other.
27015 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27016 [!__expf]: Use libm_alias_float_other.
27017 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27018 [!__log2f]: Use libm_alias_float_other.
27019 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27020 [!__logf]: Use libm_alias_float_other.
27021 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27022 [!__powf]: Use libm_alias_float_other.
27023
8ed70de2
FW
270242017-10-10 Florian Weimer <fweimer@redhat.com>
27025
27026 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27027 function.
27028 (_nss_files_gethostbyname3_r): Call it.
27029
a8dce619
JM
270302017-10-09 Joseph Myers <joseph@codesourcery.com>
27031
27032 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27033 error. Remove default definition of declare_mgen_alias.
27034 [!declare_mgen_alias_r]: Likewise.
27035 * sysdeps/generic/math-type-macros-double.h
27036 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27037 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27038 (declare_mgen_alias_r): Likewise.
27039 * sysdeps/generic/math-type-macros-float128.h
27040 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27041 * sysdeps/generic/math-type-macros-ldouble.h
27042 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27043 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27044 macro.
27045 (declare_mgen_alias_r_s): Likewise.
27046 (declare_mgen_alias_r): Likewise.
27047 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27048 (lgamma_r): Define using libm_alias_double_r.
27049 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27050 (lgammaf_r): Define using libm_alias_float_r.
27051 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27052 (lgammal_r): Define using libm_alias_ldouble_r.
27053 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27054 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27055
bedac136
AZ
270562017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27057
27058 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27059 extern declaration.
27060
c7509db2
JM
270612017-10-09 Joseph Myers <joseph@codesourcery.com>
27062
27063 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27064
d6c064e9
JW
270652017-10-09 Jonathan Wakely <jwakely@redhat.com>
27066
27067 [BZ #21326]
27068 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27069 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27070 * math/Makefile (test-math-cxx11): New test.
27071 * math/test-math-cxx11.cc: New file.
27072
98e07420
CB
270732017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27074
27075 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27076
645ac9aa
CB
27077 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27078 call to allocate the slave pty file descriptor.
27079
fd3b4e7c
JM
270802017-10-06 Joseph Myers <joseph@codesourcery.com>
27081
f85a176f
JM
27082 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27083 [!__fma] (fma): Define using libm_alias_double.
27084 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27085 [!__fma] (fma): Define using libm_alias_double.
27086
fd3b4e7c
JM
27087 * sysdeps/ieee754/float128/float128_private.h: Include
27088 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27089 (libm_alias_ldouble_r): Undefine and redefine.
27090 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27091 <libm-alias-ldouble.h>.
27092 (asinhl): Define using libm_alias_ldouble.
27093 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27094 <libm-alias-ldouble.h>.
27095 (atanl): Define using libm_alias_ldouble.
27096 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27097 <libm-alias-ldouble.h>.
27098 (cbrtl): Define using libm_alias_ldouble.
27099 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27100 <libm-alias-ldouble.h>.
27101 (ceill): Define using libm_alias_ldouble.
27102 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27103 <libm-alias-ldouble.h>.
27104 (copysignl): Define using libm_alias_ldouble.
27105 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27106 <libm-alias-ldouble.h>.
27107 (cosl): Define using libm_alias_ldouble.
27108 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27109 <libm-alias-ldouble.h>.
27110 (erfl): Define using libm_alias_ldouble.
27111 (erfcl): Likewise.
27112 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27113 <libm-alias-ldouble.h>.
27114 (expm1l): Define using libm_alias_ldouble.
27115 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27116 <libm-alias-ldouble.h>.
27117 (fabsl): Define using libm_alias_ldouble.
27118 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27119 <libm-alias-ldouble.h>.
27120 (floorl): Define using libm_alias_ldouble.
27121 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27122 <libm-alias-ldouble.h>.
27123 (fmal): Define using libm_alias_ldouble.
27124 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27125 <libm-alias-ldouble.h>.
27126 (frexpl): Define using libm_alias_ldouble.
27127 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27128 libm_alias_ldouble.
27129 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27130 <libm-alias-ldouble.h>.
27131 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27132 libm_alias_ldouble.
27133 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27134 <libm-alias-ldouble.h>.
27135 (getpayloadl): Define using libm_alias_ldouble.
27136 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27137 <libm-alias-ldouble.h>.
27138 (llrintl): Define using libm_alias_ldouble.
27139 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27140 <libm-alias-ldouble.h>.
27141 (llroundl): Define using libm_alias_ldouble.
27142 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27143 <libm-alias-ldouble.h>.
27144 (logbl): Define using libm_alias_ldouble.
27145 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27146 <libm-alias-ldouble.h>.
27147 (lrintl): Define using libm_alias_ldouble.
27148 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27149 <libm-alias-ldouble.h>.
27150 (lroundl): Define using libm_alias_ldouble.
27151 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27152 <libm-alias-ldouble.h>.
27153 (modfl): Define using libm_alias_ldouble.
27154 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27155 <libm-alias-ldouble.h>.
27156 (nearbyintl): Define using libm_alias_ldouble.
27157 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27158 <libm-alias-ldouble.h>.
27159 (nextafterl): Define using libm_alias_ldouble.
27160 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27161 <libm-alias-ldouble.h>.
27162 (nextupl): Define using libm_alias_ldouble.
27163 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27164 <libm-alias-ldouble.h>.
27165 (remquol): Define using libm_alias_ldouble.
27166 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27167 <libm-alias-ldouble.h>.
27168 (rintl): Define using libm_alias_ldouble.
27169 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27170 <libm-alias-ldouble.h>.
27171 (roundevenl): Define using libm_alias_ldouble.
27172 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27173 <libm-alias-ldouble.h>.
27174 (roundl): Define using libm_alias_ldouble.
27175 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27176 using libm_alias_ldouble.
27177 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27178 <libm-alias-ldouble.h>.
27179 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27180 Define using libm_alias_ldouble.
27181 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27182 <libm-alias-ldouble.h>.
27183 (sincosl): Define using libm_alias_ldouble.
27184 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27185 <libm-alias-ldouble.h>.
27186 (sinl): Define using libm_alias_ldouble.
27187 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27188 <libm-alias-ldouble.h>.
27189 (tanhl): Define using libm_alias_ldouble.
27190 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27191 <libm-alias-ldouble.h>.
27192 (tanl): Define using libm_alias_ldouble.
27193 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27194 <libm-alias-ldouble.h>.
27195 (totalorderl): Define using libm_alias_ldouble.
27196 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27197 <libm-alias-ldouble.h>.
27198 (totalordermagl): Define using libm_alias_ldouble.
27199 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27200 <libm-alias-ldouble.h>.
27201 (truncl): Define using libm_alias_ldouble.
27202 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27203 libm_alias_ldouble.
27204 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27205 libm_alias_ldouble.
27206 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27207 <libm-alias-ldouble.h>.
27208 (weak_alias): Do not undefine and redefine.
27209 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27210 (copysignl): Define with long_double_symbol only if [IS_IN
27211 (libc)].
27212 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27213 <libm-alias-ldouble.h>.
27214 (weak_alias): Do not undefine and redefine.
27215 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27216 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27217 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27218 <libm-alias-ldouble.h>.
27219 (weak_alias): Do not undefine and redefine.
27220 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27221 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27222 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27223 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27224 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27225 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27226 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27227 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27228 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27229 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27230 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27231 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27232 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27233 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27234 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27235 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27236 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27237 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27238 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27239 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27240 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27241 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27242 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27243 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27244 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27245 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27246
1e26d351
CD
272472017-10-06 Carlos O'Donell <carlos@redhat.com>
27248
27249 [BZ #22111]
27250 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27251 (tcache_thread_freeres): Set tcache_shutting_down before
27252 freeing the tcache.
27253 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27254 * malloc/tst-malloc-tcache-leak.c: New file.
27255
d1386762
RS
272562017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27257
27258 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27259 back to powerpc32 file.
27260 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27261 (memrchr): Add __memrchr_power8 to ifunc list.
27262 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27263 extra bytes for unaligned inputs.
27264
6dff1983
JM
272652017-10-06 Joseph Myers <joseph@codesourcery.com>
27266
27267 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27268 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27269 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27270 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27271 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27272
86f9568a
JM
272732017-10-05 Joseph Myers <joseph@codesourcery.com>
27274
0db0b931
JM
27275 * sysdeps/arm/libm-test-ulps: Update.
27276
86f9568a
JM
27277 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27278 <libm-alias-ldouble.h>.
27279 (asinhl): Define using libm_alias_ldouble.
27280 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27281 <libm-alias-ldouble.h>.
27282 (cbrtl): Define using libm_alias_ldouble.
27283 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27284 <libm-alias-ldouble.h>.
27285 (copysignl): Define using libm_alias_ldouble.
27286 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27287 <libm-alias-ldouble.h>.
27288 (cosl): Define using libm_alias_ldouble.
27289 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27290 <libm-alias-ldouble.h>.
27291 (erfl): Define using libm_alias_ldouble.
27292 (erfcl): Likewise.
27293 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27294 <libm-alias-ldouble.h>.
27295 (fmal): Define using libm_alias_ldouble.
27296 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27297 <libm-alias-ldouble.h>.
27298 (frexpl): Define using libm_alias_ldouble.
27299 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27300 libm_alias_ldouble.
27301 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27302 <libm-alias-ldouble.h>.
27303 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27304 libm_alias_ldouble.
27305 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27306 <libm-alias-ldouble.h>.
27307 (getpayloadl): Define using libm_alias_ldouble.
27308 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27309 <libm-alias-ldouble.h>.
27310 (llrintl): Define using libm_alias_ldouble.
27311 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27312 <libm-alias-ldouble.h>.
27313 (llroundl): Define using libm_alias_ldouble.
27314 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27315 <libm-alias-ldouble.h>.
27316 (lrintl): Define using libm_alias_ldouble.
27317 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27318 <libm-alias-ldouble.h>.
27319 (lroundl): Define using libm_alias_ldouble.
27320 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27321 <libm-alias-ldouble.h>.
27322 (modfl): Define using libm_alias_ldouble.
27323 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27324 <libm-alias-ldouble.h>.
27325 (nextupl): Define using libm_alias_ldouble.
27326 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27327 <libm-alias-ldouble.h>.
27328 (remquol): Define using libm_alias_ldouble.
27329 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27330 <libm-alias-ldouble.h>.
27331 (roundevenl): Define using libm_alias_ldouble.
27332 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27333 <libm-alias-ldouble.h>.
27334 (roundl): Define using libm_alias_ldouble.
27335 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27336 using libm_alias_ldouble.
27337 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27338 <libm-alias-ldouble.h>.
27339 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27340 <libm-alias-ldouble.h>.
27341 (setpayloadsigl): Define using libm_alias_ldouble.
27342 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27343 <libm-alias-ldouble.h>.
27344 (sincosl): Define using libm_alias_ldouble.
27345 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27346 <libm-alias-ldouble.h>.
27347 (sinl): Define using libm_alias_ldouble.
27348 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27349 <libm-alias-ldouble.h>.
27350 (tanhl): Define using libm_alias_ldouble.
27351 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27352 <libm-alias-ldouble.h>.
27353 (tanl): Define using libm_alias_ldouble.
27354 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27355 <libm-alias-ldouble.h>.
27356 (totalorderl): Define using libm_alias_ldouble.
27357 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27358 <libm-alias-ldouble.h>.
27359 (totalordermagl): Define using libm_alias_ldouble.
27360 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27361 libm_alias_ldouble.
27362 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27363 libm_alias_ldouble.
27364
9ec87fd2
SP
273652017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27366
dd5bc7f1
SP
27367 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27368 memmove_falkor.
27369 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27370 (__libc_ifunc_impl_list): Likewise.
27371 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27372 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27373
5bfb0404
SP
27374 * benchtests/bench-memmove-walk.c: New file.
27375 * benchtests/Makefile (string-benchset): Add it.
27376
36bb8edf
SP
27377 * benchtests/bench-memset-walk.c: New file.
27378 * benchtests/Makefile (string-benchset): Add it.
27379
9ec87fd2
SP
27380 * benchtests/bench-memcpy-walk.c: New file.
27381 * benchtests/Makefile (string-benchset): Add it.
27382
1e9522c6
FW
273832017-10-05 Florian Weimer <fweimer@redhat.com>
27384
27385 nscd: Eliminate compilation time dependency in the build output.
27386 * nscd/nscd_stat.c (STATDATA_VERSION)
27387 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27388 (STATDATA_VERSION_FULL): New macro definitions.
27389 (compilation): Remove.
27390 (struct statdata): Adjust version member.
27391 (send_stats): Set version from STATDATA_VERSION_FULL.
27392 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27393
644d3857
JM
273942017-10-05 Joseph Myers <joseph@codesourcery.com>
27395
27396 * configure.ac (--enable-add-ons): Remove option.
27397 (machine): Do not mention add-ons in comment.
27398 (LIBC_PRECONFIGURE): Likewise.
27399 (add_ons): Remove variable and sanity checks and logic to locate
27400 add-ons.
27401 (add_ons_automatic): Remove variable.
27402 (configured_add_ons): Likewise.
27403 (add_ons_sfx): Likewise.
27404 (add_ons_pfx): Likewise.
27405 (add_on_subdirs): Likewise.
27406 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27407 consideration of add-ons in Implies handling.
27408 (sysdeps_add_ons): Likewise.
27409 * configure: Regenerated.
27410 * libidn/configure.ac: Remove.
27411 * libidn/configure: Likewise.
27412 * sysdeps/unix/inet/configure.ac: New file.
27413 * sysdeps/unix/inet/configure: New generated file.
27414 * sysdeps/unix/inet/Subdirs: Add libidn.
27415 * Makeconfig (sysdeps-srcdirs): Remove variable.
27416 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27417 ($(common-objpfx)config.status): Do not depend on add-on files.
27418 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27419 comment.
27420 (all-subdirs): Do not include $(add-on-subdirs).
27421 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27422 * config.make.in (add-ons): Remove variable.
27423 (add-on-subdirs): Likewise.
27424 (sysdeps-add-ons): Likewise.
27425 * manual/Makefile (add-chapters): Remove.
27426 ($(objpfx)texis): Do not depend on $(add-chapters).
27427 (nonexamples): Do not handle $(add-chapters).
27428 (examples): Do not handle $(add-ons).
27429 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27430 libc-texinfo.sh.
27431 * manual/install.texi (Installation): Do not mention add-ons.
27432 (--enable-add-ons): Do not document configure option.
27433 * INSTALL: Regenerated.
27434 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27435 * manual/maint.texi (Hierarchy Conventions): Do not mention
27436 add-ons.
27437 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27438 --enable-add-ons.
27439 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27440 add-ons.
27441 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27442 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27443
19f82f35
AS
274442017-10-05 Andreas Schwab <schwab@suse.de>
27445
27446 [BZ #15142]
27447 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27448 (_IO_flush_all_lockp): Always lock list_all_lock.
27449 (_IO_flush_all_linebuffered): Likewise.
27450 (_IO_unbuffer_all): Likewise.
27451
91e7cf98
FW
274522017-10-05 Florian Weimer <fweimer@redhat.com>
27453
27454 [BZ #15436]
27455 Do not flush stdio streams on abort.
27456 * stdlib/abort.c (fflush): Remove macro definition.
27457 (abort): Remove stages related to stdio flushing.
27458
0c251257
FW
274592017-10-05 Florian Weimer <fweimer@redhat.com>
27460
27461 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27462
7ea59e3e
SL
274632017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27464
27465 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27466
84d0e6f0
FW
274672017-10-05 Florian Weimer <fweimer@redhat.com>
27468
27469 * support/support_format_hostent.c (support_format_hostent): Add
27470 more error information for NETDB_INTERNAL.
27471
ee417882
L
274722017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27473
27474 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27475 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27476 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27477 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27478 AC_DEFINE if multi-arch is enabled.
27479 * sysdeps/i386/configure: Regenerated.
27480
a67029ff
L
274812017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27482
27483 * Makeconfig (+link-static-before-libc): Use
27484 $(DEFAULT-LDFLAGS-$(@F)).
27485 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27486 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27487 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27488
5dba84b3
L
274892017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27490
27491 * elf/Makefile (tests): Add tst-main1.
27492 (modules-names): Add tst-main1mod.
27493 ($(objpfx)tst-main1): New.
27494 (CRT-tst-main1): Likewise.
27495 (LDFLAGS-tst-main1): Likewise.
27496 (LDLIBS-tst-main1): Likewise.
27497 (tst-main1mod.so-no-z-defs): Likewise.
27498 * elf/tst-main1.c: New file.
27499 * elf/tst-main1mod.c: Likewise.
27500
758f1bfa
L
275012017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27502
27503 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27504
7e16a5d1
JM
275052017-10-04 Joseph Myers <joseph@codesourcery.com>
27506
27507 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27508 (fma): Define using libm_alias_double.
27509 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27510 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27511 <math_ldbl_opt.h>.
27512 (fmal): Do not define as compat symbol here.
27513 * sysdeps/alpha/fpu/s_fma.c: New file.
27514
db4f87ba
SN
275152017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27516
27517 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27518
72d13ed1
JM
275192017-10-04 Joseph Myers <joseph@codesourcery.com>
27520
32d372d5
JM
27521 [BZ #22229]
27522 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27523 <math_ldbl_opt.h>
27524 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27525 and libc.
27526 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27527 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27528 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27529 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27531 Include <math_ldbl_opt.h>
27532 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27533 and libc.
27534 (compat_symbol): Undefine and redefine.
27535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27536 <math_ldbl_opt.h>
27537 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27538 (compat_symbol): Undefine and redefine.
27539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27540 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27541 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27542 GLIBC_2_1 for libm.
27543 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27544 GLIBC_2.0 copysignl symbol.
27545 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27546 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27547
72d13ed1
JM
27548 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27549
11c4f501
FW
275502017-10-04 Florian Weimer <fweimer@redhat.com>
27551
27552 * scripts/check-local-headers.sh: Ignore nspr4 header file
27553 directory in addition to nspr.
27554
57b4af19
GT
275552017-10-04 Guido Trentalancia <guido@trentalancia.net>
27556
27557 [BZ #17956]
27558 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27559 * configure: Regenerate.
27560 * crypt/Makefile (nss-cpp-flags): New variable.
27561 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27562 (CPPFLAGS-md5-crypt.c): Use it.
27563 * scripts/check-local-headers.sh: Ignore nspr header file
27564 directory.
27565
64d1e08e
AS
275662017-10-04 Andreas Schwab <schwab@suse.de>
27567
27568 * nis/Makefile (services): Remove compat.
27569 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27570 ($(objpfx)libnss_compat.so): Remove rule.
27571 * nis/Versions (libnss_compat): Remove.
27572 * nss/Makefile (services): Add compat.
27573 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27574 * nss/Versions (libnss_compat): Define.
27575 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27576 Don't include <rpc/types.h>. Replace bool_t by bool.
27577 * nss/nss_compat/compat-initgroups.c: Likewise.
27578 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27579 instead of <rpcsrv/ypclnt.h>.
27580 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27581 yp_get_default_domain.
27582 * nss/nss_compat/compat-pwd.c: Likewise.
27583 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27584 yp_get_default_domain.
27585 * nss/nss_compat/nisdomain.c: New file.
27586 * nss/nss_compat/nisdomain.h: Likewise.
27587
86c27ade
SN
275882017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27589
27590 [BZ #22244]
27591 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27592 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27593
8f8f8ef7
SN
275942017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27595
27596 [BZ #22243]
27597 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27598 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27599
95577475
L
276002017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27601
27602 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27603 "movl main@GOTOFF(%ebx), %eax".
27604
02d2d892
L
276052017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27606
27607 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27608 allow undefined _DYNAMIC in PIE libc.a.
27609 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27610 Likewse.
27611
0c609d19
L
276122017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27613
27614 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27615 check _DYNAMIC.
27616
c34a19ed
L
276172017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27618
27619 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27620 check _DYNAMIC.
27621
cdd4155d
L
276222017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27623
27624 * math/test-math-iscanonical.cc (error): Replace bool with int.
27625
4699cb8b
JM
276262017-10-03 Joseph Myers <joseph@codesourcery.com>
27627
d8f619b3
JM
27628 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27629 (modf): Define using libm_alias_double, only if [!__modf].
27630 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27631 <libm-alias-double.h>.
27632 (modf): Define using libm_alias_double, only if [!__modf].
27633 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27634 compat symbol here.
27635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27636 (weak_alias): Do not undefine and redefine.
27637 (strong_alias): Likewise.
27638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27639 (weak_alias): Likewise.
27640 (strong_alias): Likewise.
27641
4699cb8b
JM
27642 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27643 (logb): Define using libm_alias_double, only if [!__logb].
27644 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27645 <libm-alias-double.h>.
27646 (logb): Define using libm_alias_double, only if [!__logb].
27647 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27649 (weak_alias): Do not undefine and redefine.
27650 (strong_alias): Likewise.
27651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27652 (weak_alias): Likewise.
27653 (strong_alias): Likewise.
27654
bcc4e4bb
L
276552017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27656
27657 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27658 Check SHARED instead PIC.
27659
39793865
JM
276602017-10-03 Joseph Myers <joseph@codesourcery.com>
27661
7f1cbdf8
JM
27662 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27663 [!__fmaf] (fmaf): Define using libm_alias_float.
27664
39793865
JM
27665 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27666 (frexp): Define using libm_alias_double.
27667 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27668 <libm-alias-double.h>.
27669 (frexp): Define using libm_alias_double.
27670 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27671 compat symbol here.
27672
aa0235df
GG
276732017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27674
27675 [BZ #22235]
27676 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27677 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27678 (CFLAGS-test-math-iscanonical.cc): New variable.
27679 * math/test-math-iscanonical.cc: New file.
27680 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27681 Provide a C++ implementation based on function overloading,
27682 rather than using __MATH_TG, which uses C-only builtins.
27683 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27684 Likewise.
27685 * sysdeps/powerpc/powerpc64le/Makefile
27686 (CFLAGS-test-math-iscanonical.cc): New variable.
27687
a1132b5e
JM
276882017-10-03 Joseph Myers <joseph@codesourcery.com>
27689
27690 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27691 (ceil): Define using libm_alias_double.
27692 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27693 (floor): Define using libm_alias_double.
27694 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27695 <libm-alias-double.h>.
27696 (llround): Define using libm_alias_double.
27697 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27698 <libm-alias-double.h>.
27699 (lround): Define using libm_alias_double.
27700 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27701 <libm-alias-double.h>.
27702 (nearbyint): Define using libm_alias_double.
27703 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27704 <libm-alias-double.h>.
27705 (remquo): Define using libm_alias_double.
27706 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27707 (rint): Define using libm_alias_double.
27708 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27709 (round): Define using libm_alias_double.
27710 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27711 (trunc): Define using libm_alias_double.
27712 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27713 <libm-alias-double.h>.
27714 (ceil): Define using libm_alias_double.
27715 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27716 <libm-alias-double.h>.
27717 (floor): Define using libm_alias_double.
27718 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27719 <libm-alias-double.h>.
27720 (llround): Define using libm_alias_double.
27721 [_LP64] (lround): Likewise.
27722 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27723 <libm-alias-double.h>.
27724 [!_LP64] (lround): Define using libm_alias_double.
27725 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27726 <libm-alias-double.h>.
27727 (nearbyint): Define using libm_alias_double.
27728 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27729 <libm-alias-double.h>.
27730 (remquo): Define using libm_alias_double.
27731 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27732 <libm-alias-double.h>.
27733 (rint): Define using libm_alias_double.
27734 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27735 <libm-alias-double.h>.
27736 (round): Define using libm_alias_double.
27737 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27738 <libm-alias-double.h>.
27739 (trunc): Define using libm_alias_double.
27740 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27741 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27742 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27743 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27744 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27745 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27746 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27747 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27748 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27749
f275f64e
SN
277502017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27751
27752 * math/w_remainder.c: New file.
27753 * math/w_remainderf.c: New file.
27754 * math/w_remainderl.c: New file.
27755
b8818ab5
L
277562017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27757
27758 * elf/rtld.c (BOOTSTRAP_MAP): New.
27759 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27760 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27761 Likewise.
27762 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27763 Likewise.
27764 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27765 Likewise.
27766
3d1870fa
ST
277672017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27768
27769 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27770 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27771 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27772 rtld_hidden_data_ver): Define to empty.
27773 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27774 __assert_perror_fail): Likewise.
27775 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27776 (__rewinddir): Likewise.
27777 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27778 (__profile_frequency): Likewise.
27779 * include/setjmp.h (__sigsetjmp): Likewise.
27780 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27781 __libc_sigaction): Likewise.
27782 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27783 not set hidden attribute.
27784 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27785 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27786 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27787 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27788 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27789 __fxstatat64): Likewise.
27790 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27791 (__uname): Likewise.
27792 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27793 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27794 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27795 (NO_RTLD_HIDDEN): Set.
27796 * sysdeps/mach/hurd/configure: Refresh.
27797 * config.h.in: Refresh.
27798
527cd19c
JM
277992017-10-02 Joseph Myers <joseph@codesourcery.com>
27800
38722448
JM
27801 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27802 (atan): Define using libm_alias_double.
27803 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27804 (tan): Define using libm_alias_double.
27805 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27806 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
27807
527cd19c
JM
27808 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
27809 define as weak alias of __atan. Do not define any aliases if
27810 [__atan].
27811 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
27812 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
27813 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
27814 as weak alias of __tan. Do not define any aliases if [__tan].
27815 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
27816 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
27817 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
27818 __atan.
27819 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
27820 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
27821 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
27822 and define as weak alias of __atan.
27823 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
27824 __atan.
27825 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
27826 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
27827 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
27828 define as weak alias of __tan.
27829
bdc5c592
SN
278302017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27831
27832 * math/w_lgamma.c: New file.
27833 * math/w_lgammaf.c: New file.
27834 * math/w_lgammal.c: New file.
27835
bd4430c2
SN
278362017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27837
27838 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
27839 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
27840 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
27841 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
27842 * sysdeps/ieee754/flt-32/w_logf.c: New file.
27843 * sysdeps/ieee754/flt-32/w_powf.c: New file.
27844 * sysdeps/i386/fpu/w_log2f.c: New file.
27845 * sysdeps/i386/fpu/w_logf.c: New file.
27846 * sysdeps/i386/fpu/w_powf.c: New file.
27847 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
27848 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
27849 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
27850
f7a0b063
SN
278512017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27852 H.J. Lu <hongjiu.lu@intel.com>
27853
27854 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
27855 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
27856 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
27857 * sysdeps/ieee754/flt-32/w_expf.c: New file.
27858 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
27859 the new expf code.
27860 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
27861 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
27862 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
27863 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
27864 * sysdeps/i386/fpu/w_exp2f.c: New file.
27865 * sysdeps/i386/fpu/w_expf.c: New file.
27866 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
27867 * sysdeps/x86_64/fpu/w_expf.c: New file.
27868
72d3d281
SN
278692017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27870
27871 * math/Versions (logf): New libm symbol at GLIBC_2.27.
27872 (log2f): Likewise.
27873 (powf): Likewise.
27874 * math/w_log2f.c: New file.
27875 * math/w_logf.c: New file.
27876 * math/w_powf.c: New file.
27877 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
27878 * math/w_logf_compat.c (__logf_compat): Likewise.
27879 * math/w_powf_compat.c (__powf_compat): Likewise.
27880 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
27881 * sysdeps/ia64/fpu/e_logf.S: Likewise.
27882 * sysdeps/ia64/fpu/e_powf.S: Likewise.
27883 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27884 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27885 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27886 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27887 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27888 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27889 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27890 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27891 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27892 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27893 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27894 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27896 Likewise.
27897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27898 Likewise.
27899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27900 Likewise.
27901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27902 Likewise.
27903 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27904 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27905 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27906 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27907 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27909 Likewise.
27910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27911 Likewise.
27912 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27913 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27914 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27915
59ba2d2b
RS
279162017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27917
27918 * sysdeps/powerpc/powerpc64/multiarch/Makefile
27919 (sysdep_routines): Add memrchr_power8.
27920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27921 (memrchr): Add __memrchr_power8 to list of memrchr functions.
27922 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
27923 New file.
27924 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27925 (memrchr): Add __memrchr_power8 to ifunc list.
27926 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27927
397286ea
L
279282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27929
27930 [BZ #18822]
27931 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27932 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27933 libc_hidden_def.
27934 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27935 (__posix_fallocate64_l64): Likewise.
27936
d0a4512b
L
279372017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27938
27939 [BZ #18822]
27940 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27941 (__sched_setaffinity_new): Add libc_hidden_proto and
27942 libc_hidden_def.
27943
c0769f70
L
279442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27945
27946 [BZ #18822]
27947 * include/glob.h (__glob64): Add libc_hidden_proto.
27948 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27949 libc_hidden_def.
27950
0e7d5b6e
L
279512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27952
27953 [BZ #18822]
27954 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27955 attribute_hidden.
27956
bde06c87
L
279572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27958
27959 [BZ #18822]
27960 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27961
fa426590
L
279622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27963
27964 [BZ #18822]
27965 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27966 libc_hidden_def.
27967
2f8a05d8
L
279682017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27969
27970 [BZ #18822]
27971 * csu/version.c (__libc_print_version): Add attribute_hidden.
27972
7bfd08ac
L
279732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27974
27975 [BZ #18822]
27976 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27977
0e1fd06c
L
279782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27979
27980 [BZ #18822]
27981 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27982
36e7ae1e
L
279832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27984
27985 [BZ #18822]
27986 * nscd/nscd_helper.c (__nis_hash): New prototype.
27987
87078544
L
279882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27989
27990 [BZ #18822]
27991 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27992 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27993 libc_hidden_def.
27994 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27995 * termios/tcgetattr.c (__tcgetattr): Likewise.
27996
dd3121df
L
279972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27998
27999 [BZ #18822]
28000 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28001 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28002 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28003 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28004 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28005
047d1a81
L
280062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28007
28008 [BZ #18822]
28009 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28010
fd331b11
L
280112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28012
28013 [BZ #18822]
28014 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28015 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28016
57f859bd
L
280172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28018
28019 [BZ #18822]
28020 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28021
d1903329
L
280222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28023
28024 [BZ #18822]
28025 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28026 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28027
b4744101
L
280282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28029
28030 [BZ #18822]
28031 * include/ifreq.h: New file.
28032 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28033 (__ifreq): Likewise.
28034 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28035 (__ifreq): Likewise.
28036
43b7dfd1
L
280372017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28038
28039 [BZ #18822]
28040 * include/idna.h: New file.
28041 * inet/getnameinfo.c: Include <idna.h> instead of
28042 <libidn/idna.h>.
28043 (__idna_to_unicode_lzlz): Removed.
28044 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28045 <libidn/idna.h>.
28046 (__idna_to_ascii_lz): Removed.
28047 (__idna_to_unicode_lzlz): Likewise.
28048
2c0cd8f8
L
280492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28050
28051 [BZ #18822]
28052 * include/plural-exp.h: New file.
28053 * intl/plural-exp.c: Include <plural-exp.h> instead of
28054 "plural-exp.h".
28055
8369d216
L
280562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28057
28058 [BZ #18822]
28059 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28060 "getsourcefilter.h".
28061 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28062 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28063 "getsourcefilter.h".
28064 (__get_sol): Removed.
28065
a0aef783
L
280662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28067
28068 [BZ #18822]
28069 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28070 to ...
28071 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28072
3ee8209b
L
280732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28074
28075 [BZ #18822]
28076 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28077 attribute_hidden.
28078
6036fc38
L
280792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28080
28081 [BZ #18822]
28082 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28083
fe84fed0
L
280842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28085
28086 [BZ #18822]
28087 * include/search.h (__tdestroy): Add libc_hidden_proto.
28088 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28089
048dd681
L
280902017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28091
28092 [BZ #18822]
28093 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28094
6e342af6
L
280952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28096
28097 [BZ #18822]
28098 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28099 attribute_hidden.
28100
6a088436
L
281012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28102
28103 [BZ #18822]
28104 * include/signal.h (__kill): Add libc_hidden_proto.
28105 (__sigblock): Likewise.
28106 (__sigprocmask): Likewise.
28107 (__sigaltstack): Likewise.
28108 * signal/kill.c (__kill): Add libc_hidden_def.
28109 * signal/sigblock.c (__sigblock): Likewise.
28110 * signal/sigprocmask.c (__sigprocmask): Likewise.
28111 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28112 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28113 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28114 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28115 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28116 Likewise.
28117 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28118 Likewise.
28119 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28120 (__sigprocmask): Likewise.
28121 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28122 Likewise.
28123 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28124 (__sigprocmask): Likewise.
28125 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28126 Likewise.
28127
78cf1d74
L
281282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28129
28130 [BZ #18822]
28131 * include/string.h (__strsep): Add libc_hidden_proto.
28132 * string/strsep.c (__strsep): Add libc_hidden_def.
28133
85b35894
L
281342017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28135
28136 [BZ #18822]
28137 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28138 attribute_hidden.
28139 (__spawni): Likewise.
28140
225f7eec
L
281412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28142
28143 [BZ #18822]
28144 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28145 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28146 libc_hidden_def.
28147
372fe247
L
281482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28149
28150 [BZ #18822]
28151 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28152
9e5ee8b8
L
281532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28154
28155 [BZ #18822]
28156 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28157 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28158 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28159 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28160 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28161 Likewise.
28162 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28163 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28164
2ff16592
L
281652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28166
28167 [BZ #18822]
28168 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28169 (__dcigettext): Likewise.
28170
b5648377
L
281712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28172
28173 [BZ #18822]
28174 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28175 libc_hidden_proto.
28176 (__get_nprocs): Likewise.
28177 (__get_phys_pages): Likewise.
28178 (__get_avphys_pages): Likewise.
28179 (__get_child_max): Add attribute_hidden.
28180 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28181 (__get_nprocs): Likewise.
28182 (__get_phys_pages): Likewise.
28183 (__get_avphys_pages): Likewise.
28184 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28185 libc_hidden_def.
28186 (__get_nprocs): Likewise.
28187 (__get_phys_pages): Likewise.
28188 (__get_avphys_pages): Likewise.
28189 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28190 libc_hidden_def.
28191 (__get_nprocs_conf): Likewise.
28192 (__get_phys_pages): Likewise.
28193 (__get_avphys_pages): Likewise.
28194
0389a6aa
L
281952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28196
28197 [BZ #18822]
28198 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28199 attribute_hidden.
28200 (__netlink_close): Likewise.
28201 (__netlink_free_handle): Likewise.
28202 (__netlink_request): Likewise.
28203
d48354d8
L
282042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28205
28206 [BZ #18822]
28207 * include/rpc/rpc.h (__rpc_thread_variables): Add
28208 attribute_hidden.
28209 (__rpc_thread_svc_cleanup): Likewise.
28210 (__rpc_thread_clnt_cleanup): Likewise.
28211 (__rpc_thread_key_cleanup): Likewise.
28212
d6daff12
L
282132017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28214
28215 [BZ #18822]
28216 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28217 (__writev): Likewise.
28218 * misc/readv.c (__readv): Add libc_hidden_def.
28219 * misc/writev.c (__writev): Likewise.
28220 * sysdeps/posix/readv.c (__readv): Likewise.
28221 * sysdeps/posix/writev.c (__writev): Likewise.
28222 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28223 (__readv): Likewise.
28224 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28225 (__writev): Likewise.
28226
b68f8620
L
282272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28228
28229 [BZ #18822]
28230 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28231 (__regcomp): Add libc_hidden_proto.
28232 (__regexec): Likewise.
28233 (__regfree): Likewise.
28234 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28235 (__regfree): Likewise.
28236 * posix/regexec.c (__regexec): Likewise.
28237
59c04e67
L
282382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28239
28240 [BZ #18822]
28241 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28242 (__getutent): Likewise.
28243 (__getutid): Likewise.
28244 (__getutline): Likewise.
28245 (__pututline): Likewise.
28246 (__getutent_r): Likewise.
28247 (__getutid_r): Likewise.
28248 (__getutline_r): Likewise.
28249 (__utmpname): Add attribute_hidden.
28250 (__setutent): Likewise.
28251 (__endutent): Likewise.
28252 * login/getutent.c (__getutent): Add libc_hidden_def.
28253 * login/getutent_r.c (__getutent_r): Likewise.
28254 (__pututline): Likewise.
28255 * login/getutid.c (__getutid): Likewise.
28256 * login/getutid_r.c (__getutid_r): Likewise.
28257 * login/getutline.c (__getutline): Likewise.
28258 * login/getutline_r.c (__getutline_r): Likewise.
28259 * login/updwtmp.c (__updwtmp): Likewise.
28260
4587a421
L
282612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28262
28263 [BZ #18822]
28264 * include/dirent.h (__opendir): Always add attribute_hidden.
28265 (__fdopendir): Likewise.
28266 (__closedir): Likewise.
28267 (__readdir): Likewise.
28268 (__readdir64): Add libc_hidden_proto.
28269 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28270 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28271 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28272 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28273 New alias.
28274
9635ce69
L
282752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28276
28277 [BZ #18822]
28278 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28279 * include/netdb.h (__gethostbyaddr_r): Likewise.
28280 (__gethostbyname_r): Likewise.
28281 (__gethostbyname2_r): Likewise.
28282 (__getnetbyaddr_r): Likewise.
28283 (__getnetbyname_r): Likewise.
28284 (__getservbyname_r): Likewise.
28285 (__getservbyport_r): Likewise.
28286 (__getprotobyname_r): Likewise.
28287 (__getprotobynumber_r): Likewise.
28288 (__getnetgrent_r): Likewise.
28289 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28290 (__getrpcbynumber_r): Likewise.
28291 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28292
2e0a6909
L
282932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28294
28295 [BZ #18822]
28296 * include/stdio.h (__fcloseall): Add attribute_hidden.
28297 (__getline): Likewise.
28298 (__path_search): Likewise.
28299 (__gen_tempname): Likewise.
28300 (__libc_message): Likewise.
28301 (__flockfile): Likewise.
28302 (__funlockfile): Likewise.
28303 (__fxprintf): Likewise.
28304 (__fxprintf_nocancel): Likewise.
28305
94fd682c
L
283062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28307
28308 [BZ #18822]
28309 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28310 (__sgetsgent_r): Likewise.
28311
e1b33bba
L
283122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28313
28314 [BZ #18822]
28315 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28316 (__statfs64): Likewise.
28317 (__fstatfs64): Likewise.
28318 * include/sys/statvfs.h (__statvfs64): Likewise.
28319 (__fstatvfs64): Likewise.
28320 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28321 (__statfs_filesize_max): Likewise.
28322 (__statfs_symlinks): Likewise.
28323 (__statfs_chown_restricted): Likewise.
28324
b0f56784
L
283252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28326
28327 [BZ #18822]
28328 * include/time.h (__tzstring): Add attribute_hidden.
28329 (__tzfile_read): Likewise.
28330 (__tzfile_compute): Likewise.
28331 (__tzfile_default): Likewise.
28332 (__tzset_parse_tz): Likewise.
28333 (__offtime): Likewise.
28334 (__asctime_r): Likewise.
28335 (__tzset): Likewise.
28336 (__tz_convert): Likewise.
28337 (__getdate_r): Likewise.
28338 (__getclktck): Likewise.
28339
a4338d99
L
283402017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28341
28342 [BZ #18822]
28343 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28344 (__nscd_unmap): Likewise.
28345 (__nscd_cache_search): Likewise.
28346 (__nscd_get_nl_timestamp): Likewise.
28347 (__nscd_getpwnam_r): Likewise.
28348 (__nscd_getpwuid_r): Likewise.
28349 (__nscd_getgrnam_r): Likewise.
28350 (__nscd_getgrgid_r): Likewise.
28351 (__nscd_gethostbyname_r): Likewise.
28352 (__nscd_gethostbyname2_r): Likewise.
28353 (__nscd_gethostbyaddr_r): Likewise.
28354 (__nscd_getai): Likewise.
28355 (__nscd_getgrouplist): Likewise.
28356 (__nscd_getservbyname_r): Likewise.
28357 (__nscd_getservbyport_r): Likewise.
28358 (__nscd_innetgr): Likewise.
28359 (__nscd_setnetgrent): Likewise.
28360
a2ca1652
L
283612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28362
28363 [BZ #18822]
28364 * include/gmp.h: Declare internal functions only if _ISOMAC is
28365 undefined.
28366 (__mpn_extract_double): Add attribute_hidden.
28367 (__mpn_extract_long_double): Likewise.
28368 (__mpn_extract_float128): Likewise.
28369 (__mpn_construct_float): Likewise.
28370 (__mpn_construct_double): Likewise.
28371 (__mpn_construct_long_double): Likewise.
28372 (__mpn_construct_float128): Likewise.
28373 (mpn_add_1): Likewise.
28374 (mpn_addmul_1): Likewise.
28375 (mpn_add_n): Likewise.
28376 (mpn_cmp): Likewise.
28377 (mpn_divrem): Likewise.
28378 (mpn_lshift): Likewise.
28379 (mpn_mul): Likewise.
28380 (mpn_mul_1): Likewise.
28381 (mpn_rshift): Likewise.
28382 (mpn_sub_1): Likewise.
28383 (mpn_submul_1): Likewise.
28384 (mpn_sub_n): Likewise.
28385
44af8a32
L
283862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28387
28388 [BZ #18822]
28389 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28390 (__wcscat): Likewise.
28391 (__btowc): Likewise.
28392 (__wcrtomb): Likewise.
28393 (__mbsrtowcs): Likewise.
28394 (__wcsrtombs): Likewise.
28395 (__mbsnrtowcs): Likewise.
28396 (__wcsnrtombs): Likewise.
28397 (__wcsncpy): Likewise.
28398 (__wcpncpy): Likewise.
28399 (__wmemcpy): Likewise.
28400 (__wmempcpy): Likewise.
28401 (__wmemmove): Likewise.
28402 (__wcschrnul): Likewise.
28403 (__vfwscanf): Likewise.
28404 (__vswprintf): Likewise.
28405 (__fwprintf): Likewise.
28406 (__vfwprintf): Likewise.
28407
783cd767
L
284082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28409
28410 [BZ #18822]
28411 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28412 (__getgrgid_r): Likewise.
28413 (__getgrnam_r): Likewise.
28414 * include/pwd.h (__getpwuid_r): Likewise.
28415 (__getpwnam_r): Likewise.
28416 (__fgetpwent_r): Likewise.
28417 * include/shadow.h (__getspnam_r): Likewise.
28418 (__sgetspent_r): Likewise.
28419 (__fgetspent_r): Likewise.
28420
7ec4b39a
L
284212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28422
28423 [BZ #18822]
28424 * include/unistd.h (__access): Add attribute_hidden.
28425 (__lseek64): Likewise.
28426 (__libc_pread64): Likewise.
28427 (__pipe2): Likewise.
28428 (__sleep): Likewise.
28429 (__chdir): Likewise.
28430 (__fchdir): Likewise.
28431 (__getcwd): Likewise.
28432 (__rmdir): Likewise.
28433 (__execvpe): Likewise.
28434 (__execve): Likewise.
28435 (__setsid): Likewise.
28436 (__getuid): Likewise.
28437 (__geteuid): Likewise.
28438 (__getgid): Likewise.
28439 (__getegid): Likewise.
28440 (__getgroups): Likewise.
28441 (__group_member): Likewise.
28442 (__ttyname_r): Likewise.
28443 (__isatty): Likewise.
28444 (__readlink): Likewise.
28445 (__unlink): Likewise.
28446 (__gethostname): Likewise.
28447 (__profil): Likewise.
28448 (__getdtablesize): Likewise.
28449 (__brk): Likewise.
28450 (__ftruncate): Likewise.
28451 (__ftruncate64): Likewise.
28452
8345a760
L
284532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28454
28455 [BZ #18822]
28456 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28457 * argp/argp-fs-xinl.c: Likewise.
28458 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28459 * argp/argp-parse.c: Include <argp.h>.
28460 * argp/argp-xinl.c: Likewise.
28461 * include/argp-fmtstream.h: New file.
28462 * include/argp.h (__argp_error): Add attribute_hidden.
28463 (__argp_failure): Likewise.
28464 (__argp_input): Likewise.
28465 (__argp_state_help): Likewise.
28466
c26dd7c6
L
284672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28468
28469 [BZ #18822]
28470 * include/wchar.h (____wcstof_l_internal): New prototype.
28471 (____wcstod_l_internal): Likewise.
28472 (____wcstold_l_internal): Likewise.
28473 (____wcstol_l_internal): Likewise.
28474 (____wcstoul_l_internal): Likewise.
28475 (____wcstoll_l_internal): Likewise.
28476 (____wcstoull_l_internal): Likewise.
28477 (____wcstof128_l_internal): Likewise.
28478 * sysdeps/ieee754/float128/wcstof128.c
28479 (____wcstof128_l_internal): Removed.
28480 * sysdeps/ieee754/float128/wcstof128_l.c
28481 (____wcstof128_l_internal): Likewise.
28482 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28483 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28484 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28485 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28486 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28487 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28488 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28489 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28490 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28491 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28492
3aff5644
L
284932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28494
28495 [BZ #18822]
28496 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28497 instead of <sys/statvfs.h>.
28498 (__internal_statvfs): Removed.
28499 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28500 instead of <sys/statvfs.h>.
28501 (__internal_statvfs64): Removed.
28502 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28503 "internal_statvfs.h" instead of <sys/statvfs.h>.
28504 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28505 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28506 instead of <sys/statvfs.h>.
28507 (__internal_statvfs): Removed.
28508 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28509 instead of <sys/statvfs.h>.
28510 (__internal_statvfs64): Removed.
28511
8bcdb7e0
L
285122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28513
28514 [BZ #18822]
28515 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28516 (__gconv_close): Likewise.
28517 (__gconv): Likewise.
28518 (__gconv_find_transform): Likewise.
28519 (__gconv_lookup_cache): Likewise.
28520 (__gconv_compare_alias_cache): Likewise.
28521 (__gconv_load_cache): Likewise.
28522 (__gconv_get_path): Likewise.
28523 (__gconv_close_transform): Likewise.
28524 (__gconv_release_cache): Likewise.
28525 (__gconv_find_shlib): Likewise.
28526 (__gconv_release_shlib): Likewise.
28527 (__gconv_get_builtin_trans): Likewise.
28528 (__gconv_compare_alias): Likewise.
28529 * include/dlfcn.h (_dlerror_run): Likewise.
28530 * include/stdio.h (__fortify_fail_abort): Likewise.
28531 * include/time.h (__tz_compute): Likewise.
28532 (__strptime_internal): Likewise.
28533 * intl/gettextP.h (_nl_find_domain): Likewise.
28534 (_nl_load_domain): Likewise.
28535 (_nl_find_msg): Likewise.
28536 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28537 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28538 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28539 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28540 (__gai_find_request): Likewise.
28541 (__gai_remove_request): Likewise.
28542 (__gai_notify): Likewise.
28543 (__gai_notify_only): Likewise.
28544 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28545 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28546 (_dl_non_dynamic_init): Likewise.
28547 (_dl_aux_init): Likewise.
28548 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28549 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28550 Likewise.
28551 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28552 (__wcsmbs_clone_conv): Likewise.
28553 (__wcsmbs_named_conv): Likewise.
28554
8ed3b643
L
285552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28556
28557 [BZ #18822]
28558 * include/stdlib.h (__random): Add attribute_hidden.
28559 (__random_r): Likewise.
28560 (__srandom_r): Likewise.
28561 (__initstate_r): Likewise.
28562 (__setstate_r): Likewise.
28563 (__erand48_r): Likewise.
28564 (__nrand48_r): Likewise.
28565 (__jrand48_r): Likewise.
28566 (__srand48_r): Likewise.
28567 (__seed48_r): Likewise.
28568 (__lcong48_r): Likewise.
28569 (__drand48_iterate): Likewise.
28570 (__setenv): Likewise.
28571 (__unsetenv): Likewise.
28572 (__clearenv): Likewise.
28573 (__ptsname_r): Likewise.
28574 (__posix_openpt): Likewise.
28575 (__add_to_environ): Likewise.
28576 (__realpath): Add libc_hidden_proto.
28577 (__ecvt_r): Likewise.
28578 (__fcvt_r): Likewise.
28579 (__qecvt_r): Likewise.
28580 (__qfcvt_r): Likewise.
28581 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28582 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28583
ef9b6f73
L
285842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28585
28586 [BZ #18822]
28587 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28588 * include/time.h (__mktime_internal): Likewise.
28589 * libio/iolibio.h (__fopen_internal): Likewise.
28590
8da92e72
JDA
285912017-10-01 John David Anglin <danglin@gcc.gnu.org>
28592
28593 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28594 pointer in frame.
28595 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28596 Correct offset used to restore PIC register.
28597
388784cf
JDA
285982017-09-30 John David Anglin <danglin@gcc.gnu.org>
28599
28600 [BZ libc/22165]
28601 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28602 code to load address of __getcontext_ret when generating PIC code.
28603
2000067a
L
286042017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28605
28606 * elf/Makefile (tests-static-internal): Add
28607 tst-tls1-static-non-pie.
28608 (LDFLAGS-tst-tls1-static-non-pie): New.
28609 * elf/tst-tls1-static-non-pie.c: New file.
28610
1e2bffd0
JM
286112017-09-29 Joseph Myers <joseph@codesourcery.com>
28612
28613 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28614 (asinh): Define using libm_alias_double.
28615 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28616 (cbrt): Define using libm_alias_double.
28617 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28618 <libm-alias-double.h>.
28619 (copysign): Define using libm_alias_double.
28620 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28621 (erf): Define using libm_alias_double.
28622 (erfc): Likewise.
28623 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28624 (expm1): Define using libm_alias_double.
28625 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28626 (fabs): Define using libm_alias_double.
28627 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28628 libm_alias_double.
28629 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28630 <libm-alias-double.h>.
28631 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28632 libm_alias_double.
28633 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28634 <libm-alias-double.h>.
28635 (getpayload): Define using libm_alias_double.
28636 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28637 <libm-alias-double.h>.
28638 (llrint): Define using libm_alias_double.
28639 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28640 (lrint): Define using libm_alias_double.
28641 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28642 <libm-alias-double.h>.
28643 (nextup): Define using libm_alias_double.
28644 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28645 <libm-alias-double.h>.
28646 (roundeven): Define using libm_alias_double.
28647 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28648 libm_alias_double.
28649 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28650 <libm-alias-double.h>.
28651 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28652 using libm_alias_double.
28653 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28654 (cos): Define using libm_alias_double.
28655 (sin): Likewise.
28656 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28657 <libm-alias-double.h>.
28658 (sincos): Define using libm_alias_double.
28659 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28660 (tanh): Define using libm_alias_double.
28661 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28662 <libm-alias-double.h>.
28663 (totalorder): Define using libm_alias_double.
28664 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28665 <libm-alias-double.h>.
28666 (totalordermag): Define using libm_alias_double.
28667 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28668 libm_alias_double.
28669 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28670 libm_alias_double.
28671 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28672 <libm-alias-double.h>.
28673 (getpayload): Define using libm_alias_double.
28674 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28675 <libm-alias-double.h>.
28676 (roundeven): Define using libm_alias_double.
28677 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28678 <libm-alias-double.h>.
28679 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28680 <libm-alias-double.h>.
28681 (totalorder): Define using libm_alias_double.
28682 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28683 <libm-alias-double.h>.
28684 (totalordermag): Define using libm_alias_double.
28685 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28686 libc compat symbol here.
28687 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28688 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28689 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28690 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28691 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28692 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28693 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28694 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28695 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28696 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28697
8172aad9
L
286982017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28699
28700 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28701 _dl_relocate_static_pie instead of _dl_start to compute load
28702 address in static PIE. Return 0 if _DYNAMIC is undefined for
28703 static executable.
28704
54464e74
L
287052017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28706
28707 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28708 _DYNAMIC is undefined for static executable.
28709
f6c5e5bc
L
287102017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28711
28712 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28713
2f92505d
JM
287142017-09-29 Joseph Myers <joseph@codesourcery.com>
28715
28716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28717
bd8d53bb
WD
287182017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28719
28720 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28721 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28722 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28723 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28724 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28725 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28726 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28727 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28728 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28729 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28730 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28731 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28732 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28733 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28734 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28735 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28736 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28737
fffb1507
WD
287382017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28739
28740 * math/bits/cmathcalls.h (cimag): Remove inline.
28741 (creal): Remove inline.
28742 (conj): Remove inline.
28743
4ea49f4c
SN
287442017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28745
28746 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28747 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28748 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28749 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28750 (issignalingf_inline): Likewise.
28751 (POWF_LOG2_TABLE_BITS): Likewise.
28752 (POWF_LOG2_POLY_ORDER): Likewise.
28753 (POWF_SCALE_BITS): Likewise.
28754 (POWF_SCALE): Likewise.
28755 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28756 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28757 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28758
875c76c7
SN
287592017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28760
28761 * math/Makefile (type-float-routines): Add e_log2f_data.
28762 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28763 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28764 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28765 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28766 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28767 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28768 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28769
90c42e40
SN
287702017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28771
28772 * math/Makefile (type-float-routines): Add e_logf_data.
28773 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28774 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28775 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28776 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28777 * sysdeps/i386/fpu/e_logf_data.c: New file.
28778 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28779 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28780
4088d8dd
L
287812017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28782
28783 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28784 undefined _DYNAMIC in PIE libc.a.
28785 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28786 Likewse.
28787
4d3693ec
WD
287882017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28789
28790 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28791 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28792 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28793 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28794 (__signbit): Remove.
28795 (__signbitl): Remove.
28796 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28797 (__signbit): Remove.
28798 (__signbitl): Remove.
28799 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28800 (__signbit): Remove.
28801 (__signbitl): Remove.
28802 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28803 (__signbit): Remove.
28804 (__signbitl): Remove.
28805 * sysdeps/tile/bits/mathinline.h: Delete file.
28806 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
28807 (__signbit): Remove.
28808 (__signbitl): Remove.
28809
1e6d0723
WD
288102017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28811
28812 * math/math.h: Improve handling of C99 isgreater macros.
28813 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
28814 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28815 * sysdeps/powerpc/bits/mathinline.h: Likewise.
28816 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28817 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
28818
b2f03cf3
SN
288192017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
28820
28821 * sysdeps/aarch64/libm-test-ulps: Update.
28822
f124cb38
JM
288232017-09-28 Joseph Myers <joseph@codesourcery.com>
28824
28825 [BZ #22225]
28826 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28827 math_opt_barrier on argument when doing arithmetic on it.
28828 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28829 Likewise. Use math_force_eval not math_opt_barrier after
28830 arithmetic.
28831 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
28832 math_opt_barrier on argument when doing arithmetic on it.
28833 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28834 Likewise.
28835
7edd0691
L
288362017-09-27 H.J. Lu <hongjiu.lu@intel.com>
28837
28838 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
28839 libc_hidden_def.
28840 (__freeifaddrs): Likewise.
28841
2c7bbfaf
ST
288422017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28843
28844 * include/dirent.h (__dirfd): New declaration.
28845 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
28846 alias.
28847 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
28848 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
28849 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
28850 * include/unistd.h (__revoke): New declaration.
28851 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
28852 alias.
28853 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28854 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
28855 revoke.
64a4af28
ST
28856 * include/dirent.h (__seekdir): New declaration.
28857 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
28858 redefine as weak alias.
28859 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
28860 of seekdir.
4009ddc6
ST
28861 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
28862 and use libc_hidden_def on them.
28863 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
28864 them.
28865 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
28866 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
28867 instead of getifaddrs and freeifaddrs.
2c7bbfaf 28868
825adeee
L
288692017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28870
28871 [BZ #18822]
28872 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
28873 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
28874 (__dso_handle): Remove declaration.
28875 * dlfcn/tstatexit.c (__dso_handle): Removed.
28876 (main): Don't check __dso_handle.
28877 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
28878 (main): Don't check __dso_handle.
28879 * include/dso_handle.h: New file.
28880 * malloc/mtrace.c: Include <dso_handle.h>.
28881 (mtrace): Pass __dso_handle directly.
28882 * nptl/pthread_atfork.c: Include <dso_handle.h>.
28883 (__dso_handle): Remove declaration.
28884 (__pthread_atfork): Pass __dso_handle directly.
28885 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
28886 (__dso_handle): Removed.
28887 * posix/wordexp-test.c: Include <dso_handle.h>.
28888 (__dso_handle): Remove declaration.
28889 (__app_register_atfork): Pass __dso_handle directly.
28890 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
28891 (__dso_handle): Remove declaration.
28892 (at_quick_exit): Pass __dso_handle directly.
28893 * stdlib/atexit.c: Include <dso_handle.h>.
28894 (__dso_handle): Remove declaration.
28895 (atexit): Pass __dso_handle directly.
28896 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
28897 (__dso_handle): Removed.
28898
bfb0deb3
JM
288992017-09-26 Joseph Myers <joseph@codesourcery.com>
28900
28901 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
28902 using VDSO.
28903
cebcb9f8
AM
289042017-09-26 Alexey Makhalov <amakhalov@vmware.com>
28905
28906 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
28907 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
28908 values to correct default value for given type.
28909
592d5c75
L
289102017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28911
28912 [BZ #22101]
28913 * elf/Makefile (tests): Add tst-debug1.
28914 ($(objpfx)tst-debug1): New.
28915 ($(objpfx)tst-debug1.out): Likewise.
28916 ($(objpfx)tst-debug1mod1.so): Likewise.
28917 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
28918 with p_filesz == 0.
28919 * elf/tst-debug1.c: New file.
28920
2d9193f2
JM
289212017-09-26 Joseph Myers <joseph@codesourcery.com>
28922
28923 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28924 Define using __ifunc.
28925
4c5a7a02
TMQMF
289262017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28927
28928 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28929 exp2f() values.
28930
12ef66c4
JM
289312017-09-26 Joseph Myers <joseph@codesourcery.com>
28932
28933 [BZ #22156]
28934 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28935
44dade71
FW
289362017-09-26 Florian Weimer <fweimer@redhat.com>
28937
28938 * resolv/Makefile (tests-internal): Fix typo in comment.
28939
eaca16f1
FW
289402017-09-26 Florian Weimer <fweimer@redhat.com>
28941
28942 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28943
ccf970c7
AZ
289442017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28945
5f9f31ad
AZ
28946 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28947 Use an union instead of a max_align_t array for __space,
28948 so that __space is the same size on all platforms.
28949 * malloc/scratch_buffer_grow_preserve.c
28950 (__libc_scratch_buffer_grow_preserve): Likewise.
28951
ccf970c7
AZ
28952 [BZ #22183]
28953 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28954 version to 2.
28955 * posix/Makefile (routines): Add glob-lstat-compat and
28956 glob64-lstat-compat.
28957 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28958 * posix/glob-lstat-compat.c: New file.
28959 * posix/glob64-lstat-compat.c: Likewise.
28960 * posix/tst-glob_lstat_compat.c: Likewise.
28961 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28962 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28963 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28964 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28965 Likewise.
28966 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28967 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28968 * posix/glob.c (glob_lstat): New function.
28969 (glob): Rename to __glob and add versioned symbol to 2.27.
28970 (glob_in_dir): Use glob_lstat.
28971 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28972 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28973 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28974 2.27.
28975 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28976 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28977 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28978 gl_lstat on glob call.
28979 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28980 and glob64 symbols.
28981 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28982 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28983 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28984 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28985 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28986 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28987 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28988 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28989 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28990 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28991 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28992 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28994 Likewise.
28995 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28997 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28998 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28999 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29000 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29001 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29004 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29005 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29006 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29007
b4396163
L
290082017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29009
29010 * configure.ac (AS): Require binutils 2.25 or later.
29011 * configure: Regenerated.
29012
8f834987
PP
290132017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29014
29015 [BZ #22207]
29016 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29017 VM size.
29018
3de93d19
DD
290192017-09-25 DJ Delorie <dj@redhat.com>
29020
29021 [BZ #22161]
29022 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29023 resetting timeout.
29024
9947638d
SL
290252017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29026
29027 * sysdeps/ieee754/dbl-64/sincos32.h
29028 [SINCCOS32_H]: Remove define.
29029 [SINCOS32_H]: Define.
29030
f5f0f526
SN
290312017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29032
29033 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29034 (exp2f): Likewise.
29035 * math/w_exp2f.c: New file.
29036 * math/w_expf.c: New file.
29037 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29038 * math/w_expf_compat.c (__expf_compat): Likewise.
29039 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29040 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29041 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29042 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29043 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29044 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29045 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29046 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29047 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29048 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29049 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29050 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29051 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29052 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29054 Likewise.
29055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29056 Likewise.
29057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29058 Likewise.
29059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29060 Likewise.
29061 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29062 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29063 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29064 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29065 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29067 Likewise.
29068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29069 Likewise.
29070 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29071 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29072 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29073
72aa6233
SN
290742017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29075
29076 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29077 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29078 (roundtoint, converttoint): Likewise.
29079 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29080 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29081 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29082 * sysdeps/ieee754/flt-32/math_config.h: New file.
29083 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29084 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29085 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29086 * sysdeps/i386/fpu/math_errf.c: New file.
29087 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29088 * sysdeps/ia64/fpu/math_errf.c: New file.
29089 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29090 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29091
5e6f3253
ST
290922017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29093
29094 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29095 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29096 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29097 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29098 to make sure that these symbols are defined.
b38a42a0
ST
29099 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29100 of <limits.h>
29101 (__need_NULL): Do not define.
29102 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29103 alignment.
29104 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29105 CMGROUP_MAX, cmsgcred): Do not define.
29106 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29107 NULL.
29108 * bits/socket.h: Likewise.
fcafcd16
ST
29109 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29110 __gettimeofday instead of gettimeofday.
29111 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29112 instead of settimeofday.
5e6f3253 29113
2f49ce7d
JM
291142017-09-22 Joseph Myers <joseph@codesourcery.com>
29115
29116 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29117 (asinhf): Define using libm_alias_float.
29118 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29119 (atanf): Define using libm_alias_float.
29120 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29121 (cbrtf): Define using libm_alias_float.
29122 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29123 (ceilf): Define using libm_alias_float.
29124 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29125 <libm-alias-float.h>.
29126 (copysignf): Define using libm_alias_float.
29127 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29128 (cosf): Define using libm_alias_float.
29129 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29130 (erff): Define using libm_alias_float.
29131 (erfcf): Likewise.
29132 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29133 (expm1f): Define using libm_alias_float.
29134 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29135 (fabsf): Define using libm_alias_float.
29136 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29137 (floorf): Define using libm_alias_float.
29138 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29139 (frexpf): Define using libm_alias_float.
29140 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29141 libm_alias_float.
29142 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29143 <libm-alias-float.h>.
29144 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29145 libm_alias_float.
29146 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29147 <libm-alias-float.h>.
29148 (getpayloadf): Define using libm_alias_float.
29149 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29150 <libm-alias-float.h>.
29151 (llrintf): Define using libm_alias_float.
29152 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29153 <libm-alias-float.h>.
29154 (llroundf): Define using libm_alias_float.
29155 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29156 (logbf): Define using libm_alias_float.
29157 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29158 (lrintf): Define using libm_alias_float.
29159 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29160 (lroundf): Define using libm_alias_float.
29161 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29162 (modff): Define using libm_alias_float.
29163 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29164 <libm-alias-float.h>.
29165 (nearbyintf): Define using libm_alias_float.
29166 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29167 <libm-alias-float.h>.
29168 (nextafterf): Define using libm_alias_float.
29169 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29170 <libm-alias-float.h>.
29171 (nextupf): Define using libm_alias_float.
29172 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29173 <libm-alias-float.h>.
29174 (remquof): Define using libm_alias_float.
29175 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29176 (rintf): Define using libm_alias_float.
29177 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29178 <libm-alias-float.h>.
29179 (roundevenf): Define using libm_alias_float.
29180 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29181 (roundf): Define using libm_alias_float.
29182 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29183 using libm_alias_float.
29184 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29185 <libm-alias-float.h>.
29186 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29187 Define using libm_alias_float.
29188 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29189 <libm-alias-float.h>.
29190 (sincosf): Define using libm_alias_float.
29191 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29192 (sinf): Define using libm_alias_float.
29193 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29194 (tanf): Define using libm_alias_float.
29195 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29196 (tanhf): Define using libm_alias_float.
29197 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29198 <libm-alias-float.h>.
29199 (totalorderf): Define using libm_alias_float.
29200 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29201 <libm-alias-float.h>.
29202 (totalordermagf): Define using libm_alias_float.
29203 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29204 (truncf): Define using libm_alias_float.
29205 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29206 libm_alias_float.
29207 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29208 libm_alias_float.
29209
c5c4a626
GG
292102017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29211
29212 [BZ #22146]
29213 math/math.h: Let fpclassify use the builtin in C++ mode, even
29214 when optimazing for size.
29215
23947846
JM
292162017-09-22 Joseph Myers <joseph@codesourcery.com>
29217
29218 * csu/Makefile (generated): Do not add version-info.h.
29219 (before-compile): Likewise.
29220 (all-Banner-files): Remove variable.
29221 ($(objpfx)version-info.h): Remove rule.
29222 * csu/version.c (banner): Do not include "version-info.h".
29223 * libidn/Banner: Remove.
29224 * manual/contrib.texi (Simon Josefsson): New entry.
29225
9ac3c682
GG
292262017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29227
29228 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29229 Remove conditionals on LDBL_MANT_DIG.
29230 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29231 (__ieee754_lgammal_r): Likewise.
29232
d2f0ed09
GG
292332017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29234
29235 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29236 _Float128 and L().
29237 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29238 _Float128 and L(). Replace _Float128 with long double and L(x)
29239 with xL, throughout the file.
29240 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29241 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29242 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29243 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29244
c5c2e667
GG
292452017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29246
29247 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29248 sysdeps/ieee754/ldbl-128ibm.
29249 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29250 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29251 of including it. Keep _Float128 and L() intact. These will be
29252 reviewed by a separate patch.
29253 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29254 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29255 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29256 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29257
e010deb2
GG
292582017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29259
29260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29261 (__finitef128): Define to __redirect___finitef128.
29262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29263 (__isinff128): Define to __redirect___isinff128.
29264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29265 (__isnanf128): Define to __redirect___isnanf128.
29266
ffa44804
GG
292672017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29268
29269 * sysdeps/powerpc/powerpc64le/Makefile
29270 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29271 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29272
e5e4d7cc
PP
292732017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29274 Carlos O'Donell <carlos@redhat.com>
29275
29276 [BZ #22180]
29277 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29278 * stdlib/test-dlclose-exit-race.c: New file.
29279 * stdlib/test-dlclose-exit-race-helper.c: New file.
29280 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29281
c10c5267
JM
292822017-09-21 Joseph Myers <joseph@codesourcery.com>
29283
29284 * crypt/Banner: Remove file.
29285 * nptl/Banner: Likewise.
29286 * resolv/Banner: Likewise.
29287 * soft-fp/Banner: Likewise.
29288 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29289 ($(objpfx)version.d): Remove dependency on banner.h.
29290 ($(objpfx)version.os): Likewise.
29291 * nptl/version.c (banner): Do not include banner.h.
29292 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29293 Jelinek and BIND code.
29294
1cc9e59a
PP
292952017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29296 Carlos O'Donell <carlos@redhat.com>
29297
29298 * support/xdlfcn.h: New file.
29299 * support/xdlfcn.c: New file.
29300 * support/Makefile (libsupport-routines): Add xdlfcn.
29301 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29302
ae8372d7
JM
293032017-09-20 Joseph Myers <joseph@codesourcery.com>
29304
29305 [BZ #20142]
29306 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29307 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29308 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29309 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29310 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29311 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29312 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29313 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29314
26e70aec 293152017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
29316 Ricky Zhou <rickyz@google.com>
29317 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
29318
29319 [BZ #14333]
29320 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29321 Remove atomics.
29322 (__new_exitfn): Fail registration when we finished at_exit processing.
29323 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29324 * stdlib/on_exit.c (__on_exit): Likewise.
29325 * stdlib/exit.c (__exit_funcs_done): New variable.
29326 (__run_exit_handlers): Use __exit_funcs_lock.
29327 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29328 declarations.
29329 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29330 (test-cxa_atexit-race, test-on_exit-race): New tests.
29331 * stdlib/test-atexit-race-common.c: New file.
29332 * stdlib/test-atexit-race.c: New file.
29333 * stdlib/test-at_quick_exit-race.c: New file.
29334 * stdlib/test-cxa_atexit-race.c: New file.
29335 * stdlib/test-on_exit-race.c: New file.
29336
0525ce48
SN
293372017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29338
29339 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29340 * benchtests/exp2f-inputs: Copy of expf-inputs.
29341 * benchtests/log2f-inputs: Copy of logf-inputs.
29342
d82468d1
JM
293432017-09-19 Joseph Myers <joseph@codesourcery.com>
29344
29345 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29346 Explicitly take address of first element of array arguments in
29347 call to INLINE_SYSCALL.
29348
43ffc53a
AS
293492017-09-19 Andreas Schwab <schwab@suse.de>
29350
29351 [BZ #22134]
29352 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29353 execveat first.
29354 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29355 unimplemented.
29356 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29357 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29358 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29359 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29360 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29361 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29362 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29363 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29364 * posix/Makefile (tests): Add tst-fexecve.
29365 * posix/tst-fexecve.c: New file.
29366
a5dcc87e
WD
293672017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29368
29369 * benchtests/Makefile: Add logf benchmark.
29370 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29371
7024d544
WD
293722017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29373
29374 * benchtests/Makefile: Add expf benchmark.
29375 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29376
ca3a382e
WD
293772017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29378
29379 * csu/Makefile: Add -funwind-tables to libc-start.c.
29380 * debug/Makefile: Add -funwind-tables to backtrace.c.
29381 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29382 * sysdeps/arm/Makefile: Likewise.
29383 * sysdeps/i386/Makefile: Likewise.
29384 * sysdeps/m68k/Makefile: Likewise.
29385 * sysdeps/mips/Makefile: Likewise.
29386 * sysdeps/nios2/Makefile: Likewise.
29387 * sysdeps/sh/Makefile: Likewise.
29388 * sysdeps/sparc/Makefile: Likewise.
29389
eb375def
JM
293902017-09-19 Joseph Myers <joseph@codesourcery.com>
29391
29392 * benchtests/Makefile (bench-math): Add trunc and truncf.
29393 (CFLAGS-bench-trunc.c): New variable.
29394 (CFLAGS-bench-truncf.c): Likewise.
29395 * benchtests/trunc-inputs: New file.
29396 * benchtests/truncf-inputs: Likewise.
29397
bd17ba29
RS
293982017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29399
29400 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29401
92892fdb
JM
294022017-09-18 Joseph Myers <joseph@codesourcery.com>
29403
6d9b0b5a
JM
29404 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29405 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29406 redefine.
29407 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29408 (exp10l): Define as weak alias.
29409 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29410 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29411 and redefine.
29412 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29413 (remainderl): Define as weak alias.
29414
92892fdb
JM
29415 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29416 (fmal): Define using libm_alias_ldouble.
29417 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29418 (acoshl): Define using libm_alias_ldouble.
29419 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29420 (acosl): Define using libm_alias_ldouble.
29421 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29422 (asinl): Define using libm_alias_ldouble.
29423 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29424 (atan2l): Define using libm_alias_ldouble.
29425 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29426 (atanhl): Define using libm_alias_ldouble.
29427 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29428 (coshl): Define using libm_alias_ldouble.
29429 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29430 (exp10l): Define using libm_alias_ldouble.
29431 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29432 (exp2l): Define using libm_alias_ldouble.
29433 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29434 (expl): Define using libm_alias_ldouble.
29435 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29436 (fmodl): Define using libm_alias_ldouble.
29437 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29438 (hypotl): Define using libm_alias_ldouble.
29439 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29440 (j0l): Define using libm_alias_ldouble.
29441 (y0l): Likewise.
29442 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29443 (j1l): Define using libm_alias_ldouble.
29444 (y1l): Likewise.
29445 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29446 (jnl): Define using libm_alias_ldouble.
29447 (ynl): Likewise.
29448 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29449 (log10l): Define using libm_alias_ldouble.
29450 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29451 (log2l): Define using libm_alias_ldouble.
29452 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29453 (logl): Define using libm_alias_ldouble.
29454 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29455 (powl): Define using libm_alias_ldouble.
29456 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29457 (remainderl): Define using libm_alias_ldouble.
29458 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29459 (sinhl): Define using libm_alias_ldouble.
29460 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29461 (sqrtl): Define using libm_alias_ldouble.
29462 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29463 (tgammal): Define using libm_alias_ldouble.
29464 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29465 (exp10l): Do not use long_double_symbol here.
29466 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29467 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29468 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29469 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29470 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29471 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29472 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29473 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29474 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29475 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29476 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29477 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29478 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29479 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29480 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29481 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29482 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29483 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29484 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29485 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29486 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29487 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29488
6cd380dd
WB
294892017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29490
29491 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29492 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29493
1c6d89e9
ST
294942017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29495
29496 * io/read.c (read): Add libc_hidden_weak.
29497 * sysdeps/mach/hurd/read.c (read): Likewise.
29498 * io/write.c (write): Likewise.
29499 * sysdeps/mach/hurd/write.c (write): Likewise.
29500 * io/pread64.c (__pread64): Likewise.
29501 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29502 * posix/pread64.c (__pread64): Add libc_hidden_def.
29503
06b1de23
SP
295042017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29505
140647ea
SP
29506 * benchtests/scripts/compare_strings.py: New option -g.
29507 (draw_graph): Print a message that a graph is being generated.
29508 (process_results): Generate graph only if -g is passed.
29509 (main): Process option -g.
29510
5a6547b7
SP
29511 * benchtests/scripts/compare_strings.py (process_results):
29512 Better spacing for output.
29513
06b1de23
SP
29514 * benchtests/scripts/compare_strings.py: Use argparse.
29515 * benchtests/README: Document existence of compare_strings.py.
29516
c67a2328
JM
295172017-09-15 Joseph Myers <joseph@codesourcery.com>
29518
9ac44708
JM
29519 * math/s_fma.c: Include <libm-alias-double.h>.
29520 (fma): Define using libm_alias_double.
29521 * math/s_nextafter.c: Include <libm-alias-double.h>.
29522 (nextafter): Define using libm_alias_double.
29523 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29524 (acos): Define using libm_alias_double.
29525 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29526 (aocsh): Define using libm_alias_double.
29527 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29528 (asin): Define using libm_alias_double.
29529 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29530 (atan2): Define using libm_alias_double.
29531 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29532 (atanh): Define using libm_alias_double.
29533 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29534 (cosh): Define using libm_alias_double.
29535 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29536 (exp10): Define using libm_alias_double.
29537 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29538 (exp2): Define using libm_alias_double.
29539 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29540 (exp): Define using libm_alias_double.
29541 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29542 (fmod): Define using libm_alias_double.
29543 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29544 (hypot): Define using libm_alias_double.
29545 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29546 (j0): Define using libm_alias_double.
29547 (y0): Likewise.
29548 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29549 (j1): Define using libm_alias_double.
29550 (y1): Likewise.
29551 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29552 (jn): Define using libm_alias_double.
29553 (yn): Likewise.
29554 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29555 (log10): Define using libm_alias_double.
29556 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29557 (log2): Define using libm_alias_double.
29558 * math/w_log_compat.c: Include <libm-alias-double.h>.
29559 (log): Define using libm_alias_double.
29560 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29561 (pow): Define using libm_alias_double.
29562 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29563 (remainder): Define using libm_alias_double.
29564 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29565 (sinh): Define using libm_alias_double.
29566 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29567 (sqrt): Define using libm_alias_double.
29568 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29569 (tgamma): Define using libm_alias_double.
29570 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29571 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29572 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29573 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29574 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29575 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29576 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29577 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29578 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29579 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29580 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29581 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29582 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29583 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29584 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29585 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29586 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29587 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29588 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29589 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29590 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29591 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29592 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29593 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29594 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29595
c67a2328
JM
29596 * math/e_acoshl.c: Remove.
29597 * math/e_acosl.c: Likewise.
29598 * math/e_asinl.c: Likewise.
29599 * math/e_atan2l.c: Likewise.
29600 * math/e_atanhl.c: Likewise.
29601 * math/e_coshl.c: Likewise.
29602 * math/e_expl.c: Likewise.
29603 * math/e_fmodl.c: Likewise.
29604 * math/e_gammal_r.c: Likewise.
29605 * math/e_hypotl.c: Likewise.
29606 * math/e_j0l.c: Likewise.
29607 * math/e_j1l.c: Likewise.
29608 * math/e_jnl.c: Likewise.
29609 * math/e_lgammal_r.c: Likewise.
29610 * math/e_log10l.c: Likewise.
29611 * math/e_log2l.c: Likewise.
29612 * math/e_logl.c: Likewise.
29613 * math/e_powl.c: Likewise.
29614 * math/e_rem_pio2l.c: Likewise.
29615 * math/e_sinhl.c: Likewise.
29616 * math/e_sqrtf128.c: Likewise.
29617 * math/e_sqrtl.c: Likewise.
29618 * math/k_cosl.c: Likewise.
29619 * math/k_sinl.c: Likewise.
29620 * math/k_tanl.c: Likewise.
29621 * math/s_asinhl.c: Likewise.
29622 * math/s_atanl.c: Likewise.
29623 * math/s_cbrtl.c: Likewise.
29624 * math/s_erfl.c: Likewise.
29625 * math/s_expm1l.c: Likewise.
29626 * math/s_log1pl.c: Likewise.
29627 * math/s_tanhl.c: Likewise.
29628
61c45f25
TMQMF
296292017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29630
29631 [BZ #21745]
29632 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29633 [$(subdir) = math] (sysdep_calls): New variable. Has the
29634 previous contents of sysdep_routines, but re-sorted..
29635 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29636 sysdep_calls.
29637 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29638 defined in sysdep_calls and replace by the respective m_* names.
29639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29640 (compat_symbol): Undefine to avoid duplicated compat symbols in
29641 libc.
29642
5bcdb315
JM
296432017-09-15 Joseph Myers <joseph@codesourcery.com>
29644
29645 * math/s_fmaf.c: Include <libm-alias-float.h>.
29646 (fmaf): Define using libm_alias_float.
29647 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29648 (acosf): Define using libm_alias_float.
29649 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29650 (acoshf): Define using libm_alias_float.
29651 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29652 (asinf): Define using libm_alias_float.
29653 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29654 (atan2f): Define using libm_alias_float.
29655 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29656 (atanhf): Define using libm_alias_float.
29657 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29658 (coshf): Define using libm_alias_float.
29659 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29660 (exp10f): Define using libm_alias_float.
29661 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29662 (fmodf): Define using libm_alias_float.
29663 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29664 (hypotf): Define using libm_alias_float.
29665 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29666 (j0f): Define using libm_alias_float.
29667 (y0f): Likewise.
29668 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29669 (j1f): Define using libm_alias_float.
29670 (y1f): Likewise.
29671 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29672 (jnf): Define using libm_alias_float.
29673 (ynf): Likewise.
29674 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29675 (log10f): Define using libm_alias_float.
29676 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29677 (log2f): Define using libm_alias_float.
29678 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29679 (logf): Define using libm_alias_float.
29680 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29681 (powf): Define using libm_alias_float.
29682 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29683 (remainderf): Define using libm_alias_float.
29684 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29685 (sinhf): Define using libm_alias_float.
29686 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29687 (sqrtf): Define using libm_alias_float.
29688 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29689 (tgammaf): Define using libm_alias_float.
29690
01f28812
JM
296912017-09-14 Joseph Myers <joseph@codesourcery.com>
29692
29693 * include/math.h (roundeven): Change hidden_proto call to
29694 __roundeven.
29695 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29696 alias.
29697 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29698 (y0): Rename to __y0 and define as weak alias.
29699 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29700 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29701 alias.
29702 (y0f): Rename to __y0f and define as weak alias.
29703 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29704 alias.
29705 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29706 (y1): Rename to __y1 and define as weak alias.
29707 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29708 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29709 alias.
29710 (y1f): Rename to __y1f and define as weak alias.
29711 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29712 alias.
29713 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29714 (yn): Rename to __yn and define as weak alias.
29715 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29716 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29717 alias.
29718 (ynf): Rename to __ynf and define as weak alias.
29719 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29720 (fromfp): Define as weak alias.
29721 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29722 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29723 (fromfpx): Define as weak alias.
29724 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29725 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29726 __getpayload and define as weak alias.
29727 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29728 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29729 __roundeven and define as weak alias.
29730 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29731 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29732 __setpayload.
29733 (setpayload): Define as weak alias.
29734 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29735 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29736 __setpayloadsig.
29737 (setpayloadsig): Define as weak alias.
29738 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29739 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29740 __totalorder and define as weak alias.
29741 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29742 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29743 to __totalordermag and define as weak alias.
29744 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29745 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29746 (ufromfp): Define as weak alias.
29747 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29748 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29749 __ufromfpx.
29750 (ufromfpx): Define as weak alias.
29751 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29752 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29753 Rename to __getpayload and define as weak alias.
29754 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29755 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29756 Rename to __roundeven and define as weak alias.
29757 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29758 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29759 Rename to __totalorder and define as weak alias.
29760 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29761 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29762 (totalordermag): Rename to __totalordermag and define as weak
29763 alias.
29764 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29765 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29766 macro.
29767 (__roundevenl): Likewise.
29768 (__totalorderl): Likewise.
29769 (__totalordermagl): Likewise
29770 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29771 __fromfpf128.
29772 (fromfpf128): Define as weak alias.
29773 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29774 __fromfpxf128.
29775 (fromfpxf128): Define as weak alias.
29776 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29777 __setpayloadf128.
29778 (setpayloadf128): Define as weak alias.
29779 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29780 __setpayloadsigf128.
29781 (setpayloadsigf128): Define as weak alias.
29782 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29783 __ufromfpf128.
29784 (ufromfpf128): Define as weak alias.
29785 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29786 __ufromfpxf128.
29787 (ufromfpxf128): Define as weak alias.
29788 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29789 (fromfpf): Define as weak alias.
29790 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29791 __fromfpxf.
29792 (fromfpxf): Define as weak alias.
29793 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29794 __getpayloadf and define as weak alias.
29795 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29796 __roundevenf and define as weak alias.
29797 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29798 __setpayloadf.
29799 (setpayloadf): Define as weak alias.
29800 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29801 __setpayloadsigf.
29802 (setpayloadsigf): Define as weak alias.
29803 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29804 __totalorderf and define as weak alias.
29805 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29806 Rename to __totalordermagf and define as weak alias.
29807 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
29808 __ufromfpf.
29809 (ufromfpf): Define as weak alias.
29810 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
29811 __ufromfpxf.
29812 (ufromfpxf): Define as weak alias.
29813 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
29814 __fromfpl.
29815 (fromfpl): Define as weak alias.
29816 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
29817 __fromfpxl.
29818 (fromfpxl): Define as weak alias.
29819 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
29820 to __getpayloadl and define as weak alias.
29821 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
29822 __roundevenl and define as weak alias.
29823 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
29824 __setpayloadl.
29825 (setpayloadl): Define as weak alias.
29826 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
29827 __setpayloadsigl.
29828 (setpayloadsigl): Define as weak alias.
29829 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
29830 to __totalorderl and define as weak alias.
29831 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
29832 Rename to __totalordermagl and define as weak alias.
29833 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
29834 __ufromfpl.
29835 (ufromfpl): Define as weak alias.
29836 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
29837 __ufromfpxl.
29838 (ufromfpxl): Define as weak alias.
29839 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
29840 __fromfpl.
29841 (fromfpl): Define as weak alias.
29842 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
29843 __fromfpxl.
29844 (fromfpxl): Define as weak alias.
29845 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
29846 Rename to __getpayloadl and define as weak alias.
29847 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
29848 to __roundevenl and define as weak alias. Call __roundeven
29849 instead of roundeven.
29850 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
29851 __setpayloadl.
29852 (setpayloadl): Define as weak alias.
29853 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
29854 __setpayloadsigl.
29855 (setpayloadsigl): Define as weak alias.
29856 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
29857 Rename to __totalorderl and define as weak alias.
29858 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
29859 Rename to __totalordermagl and define as weak alias.
29860 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
29861 __ufromfpl.
29862 (ufromfpl): Define as weak alias.
29863 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
29864 __ufromfpxl.
29865 (ufromfpxl): Define as weak alias.
29866 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
29867 __fromfpl.
29868 (fromfpl): Define as weak alias.
29869 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
29870 __fromfpxl.
29871 (fromfpxl): Define as weak alias.
29872 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
29873 __getpayloadl and define as weak alias.
29874 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
29875 __roundevenl and define as weak alias.
29876 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
29877 __setpayloadl.
29878 (setpayloadl): Define as weak alias.
29879 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
29880 __setpayloadsigl.
29881 (setpayloadsigl): Define as weak alias.
29882 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
29883 __totalorderl and define as weak alias.
29884 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
29885 Rename to __totalordermagl and define as weak alias.
29886 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
29887 __ufromfpl.
29888 (ufromfpl): Define as weak alias.
29889 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
29890 __ufromfpxl.
29891 (ufromfpxl): Define as weak alias.
29892
29c933fb
SP
298932017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
29894
503c92c3
SP
29895 * benchtests/bench-string.h (realloc_bufs): New function.
29896 (test_init): Call it.
29897 * benchtests/bench-memset-large.c (do_test): Likewise.
29898 * benchtests/bench-memset.c (do_test): Likewise.
29899
29c933fb
SP
29900 * benchtests/bench-memset-large.c: Print output in JSON
29901 format.
29902 * benchtests/bench-memset.c: Likewise.
29903
799c8d69
MF
299042017-09-14 Mike FABIAN <mfabian@redhat.com>
29905
29906 [BZ #21084]
29907 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
29908 * iconvdata/Makefile: Add IBM858.
29909 * iconvdata/gconv-modules: Likewise.
29910 * iconvdata/tst-tables.sh: Likewise.
29911 * iconvdata/ibm858.c: New file.
29912 * localedata/charmaps/IBM858: Likewise.
29913
c207f7ce 299142017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
29915
29916 [BZ #22023]
29917 * locales/niu_NZ (LC_TIME): copy "niu_NU".
29918 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
29919
f28a0926
AK
299202017-09-14 Mike FABIAN <mfabian@redhat.com>
29921
29922 [BZ #22112]
29923 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29924 and add tel_int_fmt.
29925
02093e62
JM
299262017-09-14 Joseph Myers <joseph@codesourcery.com>
29927
29928 * sysdeps/generic/libm-alias-float128.h: New file.
29929 * sysdeps/generic/math-type-macros-float128.h: Include
29930 <libm-alias-float128.h>.
29931 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29932
1aae75ef
JM
299332017-09-13 Joseph Myers <joseph@codesourcery.com>
29934
29935 * sysdeps/generic/libm-alias-ldouble.h: New file.
29936 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29937 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29938 * sysdeps/generic/math-type-macros-ldouble.h: Include
29939 <libm-alias-ldouble.h>.
29940 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29941 libm_alias_ldouble.
29942
bcea7ad6
SN
299432017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29944
29945 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29946 * math/w_exp_compat.c: ... here.
29947 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29948 * math/w_expf_compat.c: ... here.
29949 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29950 * math/w_expl_compat.c: ... here.
29951 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29952 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29953 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29954 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29955
0fc56478
JM
299562017-09-13 Joseph Myers <joseph@codesourcery.com>
29957
29958 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29959 redefine.
29960 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29961 macro.
29962 (ldexpl): Only define as compat symbol for libc, not libm.
29963 (scalbnl): Define as compat symbol for libc here.
29964 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29965 define for [IS_IN (libc)].
29966 (__ldexpl_2): Remove alias.
29967 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29968 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29969 name in long_double_symbol call.
29970 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29971 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29972 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29973 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29974 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29975 Remove macro.
29976 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29977 Define as compat symbol.
29978
3ca622e4
AZ
299792017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29980
29981 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29982 * sysdeps/unix/sysv/linux/alpha/Makefile
29983 [$(subdir) = csu] (sysdep_routines): Remove rule.
29984
620ff9ee
JM
299852017-09-13 Joseph Myers <joseph@codesourcery.com>
29986
29987 * sysdeps/generic/libm-alias-double.h: New file.
29988 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29989 * sysdeps/generic/math-type-macros-double.h: Include
29990 <libm-alias-double.h>.
29991 [declare_mgen_alias] (declare_mgen_alias): Define to use
29992 libm_alias_double.
29993 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29994 (M_LIBM_NEED_COMPAT): Remove macro.
29995 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29996 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29997 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29998 code.
29999 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30000 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30001 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30002 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30003 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30004 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30005 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30006 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30007 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30008 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30009 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30010 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30011 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30012 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30013 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30014 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30015 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30016 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30017 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30018 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30019 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30020 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30021 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30022 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30023 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30024 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30025 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30026 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30027 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30028 macro.
30029 (declare_mgen_alias): New macro.
30030 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30031 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30033 (M_LIBM_NEED_COMPAT): Remove macro.
30034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30035 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30036 <first-versions.h>.
30037 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30038 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30039
a891caff
JM
300402017-09-12 Joseph Myers <joseph@codesourcery.com>
30041
30042 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30043 (declare_mgen_alias_2): Remove.
30044 * sysdeps/generic/math-type-macros-double.h
30045 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30046 Likewise.
30047 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30048 alias.
30049 (ldexp): Define with declare_mgen_alias.
30050 (scalbn): Likewise.
30051
a1a78204
SE
300522017-09-12 Steve Ellcey <sellcey@cavium.com>
30053
30054 * grp/initgroups.c: Include config.h.
30055 (DEFAULT_CONFIG): New macro.
30056 (internal_getgrouplist): Use DEFAULT_CONFIG.
30057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30058 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30059 (DEFAULT_DEFCONFIG): New macro.
30060 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30061 * nss/grp-lookup.c: Include config.h
30062 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30063 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30064 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30065 * manual/nss.texi: Update default values section.
30066
ef8adeb0
L
300672017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30068
30069 [BZ #21967]
30070 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30071 New.
30072 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30073 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30074 Handle MathVec_Prefer_No_AVX512.
30075 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30076 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30077 is set.
30078
a166531f
ST
300792017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30080
30081 * posix/sched_primax.c (__sched_get_priority_max): Add
30082 libc_hidden_def.
30083 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30084 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30085 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30086 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30087 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30088 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30089 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30090 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30091 Add aliases.
30092
4b7d1efb
JM
300932017-09-11 Joseph Myers <joseph@codesourcery.com>
30094
30095 * sysdeps/generic/libm-alias-float.h: New file.
30096 * sysdeps/generic/math-type-macros-float.h: Include
30097 <libm-alias-float.h>.
30098 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30099
45ff3463
L
301002017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30101
30102 [BZ #22093]
30103 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30104 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30105 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30106 (HWCAP_IMPORTANT): Likewise.
30107 (HWCAP_X86_64): New enum.
30108 (HWCAP_X86_AVX512_1): Updated.
30109 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30110 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30111 (modules-names): Add x86_64/tst-x86_64mod-1.
30112 (LDFLAGS-tst-x86_64mod-1.so): New.
30113 ($(objpfx)tst-x86_64-1): Likewise.
30114 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30115 (tst-x86_64-1-clean): Likewise.
30116 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30117 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30118
891abfd3
SP
301192017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30120
30121 * po/sv.po: Update translations.
30122 * po/fr.po: Likewise.
30123
00c3da43
ST
301242017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30125
30126 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30127 seconds.
3bdfd9fb
ST
30128 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30129 seconds.
65b22ebc 30130 * elf/rtld-Rules: Fix $(error) use.
00c3da43 30131
96480903
MF
301322017-09-09 Mike FABIAN <mfabian@redhat.com>
30133
30134 [BZ #14925]
30135 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30136 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30137 * localedata/locales/bn_BD: “Bengali” was still used in some
30138 comments. Change it to “Bangla”.
30139
4c03a696
MT
301402017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30141
30142 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30143
9c9ec581
SE
301442017-09-08 Steve Ellcey <sellcey@cavium.com>
30145
30146 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30147 thunderx2t99p1 to list of cpu names.
30148 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30149 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30150
f00bce74
SE
301512017-09-08 Steve Ellcey <sellcey@cavium.com>
30152
30153 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30154 Use strcmp instead of tunable_is_name.
30155
27342d17
JM
301562017-09-08 Joseph Myers <joseph@codesourcery.com>
30157
af1b7c8c
JM
30158 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30159 (F_GET_RW_HINT): New macro.
30160 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30161 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30162 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30163 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30164 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30165 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30166 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30167 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30168 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30169
27342d17
JM
30170 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30171 (F_ADD_SEALS): New macro.
30172 [__USE_GNU] (F_GET_SEALS): Likewise.
30173 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30174 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30175 [__USE_GNU] (F_SEAL_GROW): Likewise.
30176 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30177
c66c9082
AZ
301782017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30179
07b4f49d
AZ
30180 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30181 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30182 * posix/glob_internal.h (__glob_pattern_type):
30183 * posix/glob.c (glob):
30184 * posix/glob_pattern_p.c (__glob_pattern_p):
30185 Use them.
30186
116f1c64
AZ
30187 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30188 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30189 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30190 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30191 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30193 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30194 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30195 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30196 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30197 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30198 * sysdeps/wordsize-64/glob.c: Likewise.
30199 * sysdeps/wordsize-64/glob64.c: Likewise.
30200 * sysdeps/wordsize-64/globfree.c: Likewise.
30201 * sysdeps/wordsize-64/globfree64.c: Likewise.
30202 * sysdeps/unix/sysv/linux/glob.c: New file.
30203 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30204 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30205 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30206 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30207 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30208 adds !GLOB_NO_OLD_VERSION as an extra condition.
30209 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30210 using relative path instead of absolute one.
30211 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30212 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30213 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30214 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30215 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30216 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30217
ffca8901
AZ
30218 [BZ #1062]
30219 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30220 (glob): Use the same scratch buffer for both getlogin_r and
30221 getpwnam_r. Don’t require preallocation of the login name. This
30222 simplifies storage allocation, and corrects the handling of
30223 long login names.
30224
5a79f975
AZ
30225 [BZ #1062]
30226 * posix/glob.c (glob): Port recent patches to platforms
30227 lacking getpwnam_r.
30228 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30229 returns an error number rather than setting errno.
30230
e00f2425
AZ
30231 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30232 instead of GCC extension.
30233 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30234 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30235 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30236
5554304f
AZ
30237 [BZ #866]
30238 [BZ #1062]
30239 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30240 * posix/bug-glob1.c: Remove file.
30241 * posix/tst-glob_symlinks.c: New file.
30242 * posix/glob.c (__lstat64): New macro.
30243 (is_dir): New function.
30244 (glob, glob_in_dir): Match symlinks even if they are dangling.
30245 (link_stat, link_exists_p): Remove. All uses removed.
30246
686f2ea1
AZ
30247 [BZ #1062]
30248 [BZ #19971]
30249 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30250 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30251 All uses removed.
30252
c66c9082 30253 [BZ #1062]
914c9994 30254 CVE-2017-15671
c66c9082
AZ
30255 * posix/Makefile (routines): Add globfree, globfree64, and
30256 glob_pattern_p.
30257 * posix/flexmember.h: New file.
30258 * posix/glob_internal.h: Likewise.
30259 * posix/glob_pattern_p.c: Likewise.
30260 * posix/globfree.c: Likewise.
30261 * posix/globfree64.c: Likewise.
30262 * sysdeps/gnu/globfree64.c: Likewise.
30263 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30264 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30265 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30266 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30267 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30268 * sysdeps/wordsize-64/globfree.c: Likewise.
30269 * sysdeps/wordsize-64/globfree64.c: Likewise.
30270 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30271 [NDEBUG): Remove comments.
30272 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30273 (dirent_type): New type. Use uint_fast8_t not
30274 uint8_t, as C99 does not require uint8_t.
30275 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30276 (struct readdir_result): Use dirent_type. Do not define skip_entry
30277 unless it is needed; this saves a byte on platforms lacking d_ino.
30278 (readdir_result_type, readdir_result_skip_entry):
30279 New functions, replacing ...
30280 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 30281 these functions, which were removed. This makes the callers
c66c9082
AZ
30282 easier to read. All callers changed.
30283 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30284 (size_add_wrapv, glob_use_alloca): New static functions.
30285 (glob, glob_in_dir): Check for size_t overflow in several places,
30286 and fix some size_t checks that were not quite right.
30287 Remove old code using SHELL since Bash no longer
30288 uses this.
30289 (glob, prefix_array): Separate MS code better.
30290 (glob_in_dir): Remove old Amiga and VMS code.
30291 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30292 separate files.
30293 (glob_in_dir): Do not rely on undefined behavior in accessing
30294 struct members beyond their bounds. Use a flexible array member
30295 instead
30296 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30297 0/1. Caller changed.
30298 (glob): Fix memory leaks.
30299 * posix/glob64 (globfree64): Move to separate file.
30300 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30301 (globfree64): Remove hidden alias.
30302 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30303 oldglob.
30304 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30305 separate file.
30306 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30307 define.
30308 Move compat code to separate file.
30309 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30310 separate file.
30311
78bfa877
L
303122017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30313
30314 * resolv/tst-resolv-qtypes.c (domain): Changed to
30315 "const char domain[] =".
30316
05f0011f
JM
303172017-09-07 Joseph Myers <joseph@codesourcery.com>
30318
85bec0f2
JM
30319 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30320 version to 3.1.6.
30321
5c23ee6e
JM
30322 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30323 (TCP_MD5SIG_EXT): Likewise.
30324 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30325 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30326 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30327
05f0011f
JM
30328 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30329
7c9c5be9
MF
303302017-09-07 Mike FABIAN <mfabian@redhat.com>
30331
30332 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30333
c207f7ce 303342017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
30335
30336 [BZ #22100]
30337 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30338
507fe027
ST
303392017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30340
30341 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30342 before assuming that the file is empty. Avoid testing buffer content
30343 when nread == 0.
30344
65687ac7
AZ
303452017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30346
7bbbb4b9 30347 [BZ #18858]
65687ac7
AZ
30348 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30349 Remove define.
30350 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30351 Likewise.
30352 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30353 Likewise.
30354 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30355 Likewise.
30356 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30357 Likewise.
30358 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30359 Likewise.
30360 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30361 Likewise.
30362
ab5ac271
FW
303632017-09-06 Florian Weimer <fweimer@redhat.com>
30364
30365 * malloc/dynarray_emplace_enlarge.c
30366 (__libc_dynarray_emplace_enlarge): Add missing else.
30367
a8304730
FW
303682017-09-06 Florian Weimer <fweimer@redhat.com>
30369
30370 [BZ #22096]
30371 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30372 case of failure to obtain the global conf object.
30373
5670c4ab
FW
303742017-09-06 Florian Weimer <fweimer@redhat.com>
30375
30376 [BZ #22095]
30377 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30378 dynarray allocation failure.
30379
c77eb969
FW
303802017-09-06 Florian Weimer <fweimer@redhat.com>
30381
30382 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30383 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30384 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30385 New functions.
30386 (response): Call them. Add 'p', '6' flag processing.
30387 (test_reverse): New function.
30388 (test_get2_any): Call it.
30389 (test_no_inet6): Add 'p' test.
30390 (test_inet6): Likewise.
30391
5e9c4d17
FW
303922017-09-06 Florian Weimer <fweimer@redhat.com>
30393
30394 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30395 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30396 the QNAME.
30397 (test_gai): Adjust query names. Add additional tests.
30398 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30399 test_get2. Adjust query names. Add additional tests.
30400 (test_no_inet6): New function, extracted from threadfunc.
30401 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30402 Add additional tests.
30403
2ae5be04
MF
304042017-09-06 Mike FABIAN <mfabian@redhat.com>
30405
30406 [BZ #22070]
30407 * localedata/unicode-gen/utf8_gen.py: Set the width for
30408 characters with Prepended_Concatenation_Mark property to 1
30409 * localedata/charmaps/UTF-8: Updated using the improved script.
30410
af83ed5c
MF
304112017-09-06 Mike FABIAN <mfabian@redhat.com>
30412
30413 [BZ #21750]
30414 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30415 use the range notation for all ranges of neighbouring characters
30416 with the same width.
30417
4f3647e4
JM
304182017-09-05 Joseph Myers <joseph@codesourcery.com>
30419
30420 * sysdeps/generic/math-type-macros-double.h: Include
30421 <math-svid-compat.h>.
30422 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30423 * sysdeps/generic/math-type-macros-float.h: Include
30424 <math-svid-compat.h>.
30425 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30426 * sysdeps/generic/math-type-macros-ldouble.h: Include
30427 <math-svid-compat.h>.
30428 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30429 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30430 condition.
30431 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30432 * math/w_acosf_compat.c: Likewise.
30433 * math/w_acosh_compat.c: Likewise.
30434 * math/w_acoshf_compat.c: Likewise.
30435 * math/w_acoshl_compat.c: Likewise.
30436 * math/w_acosl_compat.c: Likewise.
30437 * math/w_asin_compat.c: Likewise.
30438 * math/w_asinf_compat.c: Likewise.
30439 * math/w_asinl_compat.c: Likewise.
30440 * math/w_atan2_compat.c: Likewise.
30441 * math/w_atan2f_compat.c: Likewise.
30442 * math/w_atan2l_compat.c: Likewise.
30443 * math/w_atanh_compat.c: Likewise.
30444 * math/w_atanhf_compat.c: Likewise.
30445 * math/w_atanhl_compat.c: Likewise.
30446 * math/w_cosh_compat.c: Likewise.
30447 * math/w_coshf_compat.c: Likewise.
30448 * math/w_coshl_compat.c: Likewise.
30449 * math/w_exp10_compat.c: Likewise.
30450 * math/w_exp10f_compat.c: Likewise.
30451 * math/w_exp10l_compat.c: Likewise.
30452 * math/w_exp2_compat.c: Likewise.
30453 * math/w_exp2f_compat.c: Likewise.
30454 * math/w_exp2l_compat.c: Likewise.
30455 * math/w_fmod_compat.c: Likewise.
30456 * math/w_fmodf_compat.c: Likewise.
30457 * math/w_fmodl_compat.c: Likewise.
30458 * math/w_hypot_compat.c: Likewise.
30459 * math/w_hypotf_compat.c: Likewise.
30460 * math/w_hypotl_compat.c: Likewise.
30461 * math/w_j0_compat.c: Likewise.
30462 * math/w_j0f_compat.c: Likewise.
30463 * math/w_j0l_compat.c: Likewise.
30464 * math/w_j1_compat.c: Likewise.
30465 * math/w_j1f_compat.c: Likewise.
30466 * math/w_j1l_compat.c: Likewise.
30467 * math/w_jn_compat.c: Likewise.
30468 * math/w_jnf_compat.c: Likewise.
30469 * math/w_jnl_compat.c: Likewise.
30470 * math/w_lgamma_r_compat.c: Likewise.
30471 * math/w_lgammaf_r_compat.c: Likewise.
30472 * math/w_lgammal_r_compat.c: Likewise.
30473 * math/w_log10_compat.c: Likewise.
30474 * math/w_log10f_compat.c: Likewise.
30475 * math/w_log10l_compat.c: Likewise.
30476 * math/w_log2_compat.c: Likewise.
30477 * math/w_log2f_compat.c: Likewise.
30478 * math/w_log2l_compat.c: Likewise.
30479 * math/w_log_compat.c: Likewise.
30480 * math/w_logf_compat.c: Likewise.
30481 * math/w_logl_compat.c: Likewise.
30482 * math/w_pow_compat.c: Likewise.
30483 * math/w_powf_compat.c: Likewise.
30484 * math/w_powl_compat.c: Likewise.
30485 * math/w_remainder_compat.c: Likewise.
30486 * math/w_remainderf_compat.c: Likewise.
30487 * math/w_remainderl_compat.c: Likewise.
30488 * math/w_sinh_compat.c: Likewise.
30489 * math/w_sinhf_compat.c: Likewise.
30490 * math/w_sinhl_compat.c: Likewise.
30491 * math/w_sqrt_compat.c: Likewise.
30492 * math/w_sqrtf_compat.c: Likewise.
30493 * math/w_sqrtl_compat.c: Likewise.
30494 * math/w_tgamma_compat.c: Likewise.
30495 * math/w_tgammaf_compat.c: Likewise.
30496 * math/w_tgammal_compat.c: Likewise.
30497 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30498 [LIBM_SVID_COMPAT].
30499 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30500 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30501 [LIBM_SVID_COMPAT].
30502 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30503 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30504 [LIBM_SVID_COMPAT].
30505 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30506 * sysdeps/i386/fpu/w_sqrt.c: New file.
30507 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30508 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30509 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30510 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30511 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30512 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30513 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30514 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30515 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30516 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30517 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30518 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30519 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30520 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30521 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30522 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30523 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30524 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30525 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30526 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30527 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30528 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30529 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30530 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30531 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30532 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30533 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30534 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30535 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30536 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30537 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30538 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30539 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30540 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30541 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30542 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30543 * sysdeps/ia64/fpu/w_log.c: Likewise.
30544 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30545 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30546 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30547 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30548 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30549 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30550 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30551 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30552 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30553 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30554 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30555 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30556 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30557 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30558 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30559 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30560 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30561 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30562 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30563 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30564 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30565 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30566 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30567 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30568 [LIBM_SVID_COMPAT].
30569 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30570 * sysdeps/ieee754/k_standard.c: Likewise.
30571 * sysdeps/ieee754/k_standardf.c: Likewise.
30572 * sysdeps/ieee754/k_standardl.c: Likewise.
30573 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30574 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30575 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30576 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30577 long_double_symbol call on [LIBM_SVID_COMPAT].
30578 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30579 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30580 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30581 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30582 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30583 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30584 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30585 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30586 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30587 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30588 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30589 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30590 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30591 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30592 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30593 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30594 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30595 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30596 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30597 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30598 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30599 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30600
05b38d64
SE
306012017-09-05 Steve Ellcey <sellcey@cavium.com>
30602
30603 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30604 * malloc/tst-mallocstate.c: Convert from test-skeleton
30605 to test-driver. Ifdef code using TEST_COMPAT macro.
30606 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30607 * math/test-matherr.c: Likewise.
30608
99d67918
JM
306092017-09-05 Joseph Myers <joseph@codesourcery.com>
30610
30611 [BZ #22086]
30612 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30613 comparing word with byte-swapped constant.
30614
c207f7ce 306152017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
30616
30617 [BZ #20498]
30618 * locale/iso-639.def: add Miskito.
30619 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30620 * localedata/locales/miq_NI: New file.
30621
0a587a8a
L
306222017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30623
30624 [BZ #18822]
30625 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30626 (__mkdir): Likewise.
30627 * io/chmod.c (__chmod): Add libc_hidden_def.
30628 * io/mkdir.c (__mkdir): Likewise.
30629 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30630 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30631 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30632 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30633
f3a129b8
JM
306342017-09-04 Joseph Myers <joseph@codesourcery.com>
30635
1650e192
JM
30636 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30637 version to 4.13.
30638
f3a129b8
JM
30639 [BZ #22082]
30640 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30641 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30642
b38042f5
FW
306432017-09-04 Florian Weimer <fweimer@redhat.com>
30644
30645 * math/math.h: Issue warning if log is defined.
30646
059b6404
JM
306472017-09-04 Joseph Myers <joseph@codesourcery.com>
30648
30649 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30650 kernel version to 4.13.
30651
b794e16b
ST
306522017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30653
30654 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
30655 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30656 parameter.
01969395
ST
30657 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30658 just <bits/types.h>.
dd2b31de 30659 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 30660 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 30661 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 30662 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
30663 * misc/preadv2.c: Include <errno.h>.
30664 * misc/preadv64v2.c: Include <errno.h>.
30665 * misc/pwritev2.c: Include <errno.h>.
30666 * misc/pwritev64v2.c: Include <errno.h>.
30667 * sysdeps/posix/preadv2.c: Include <errno.h>.
30668 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30669 Fix <unistd.h> inclusion.
30670 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30671 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
30672 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30673 __strtoul_internal): New functions.
127e7773
ST
30674 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30675 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
30676 * sysdeps/mach/hurd/i386/Makefile
30677 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30678 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30679 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
30680 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30681 __feraiseexcept_renamed to feraiseexcept instead of
30682 __GI_feraiseexcept.
56bf5497 30683 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 30684 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
30685 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30686 RWF_NOWAIT): Define to 0 if undefined already.
30687 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30688 boils down to 0.
6547ec0a
ST
30689 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30690 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 30691
5a80d39d
JM
306922017-09-01 Joseph Myers <joseph@codesourcery.com>
30693
30694 * manual/math.texi (pow10): Do not document.
30695 (pow10f): Likewise.
30696 (pow10l): Likewise.
30697 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30698 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30699 * math/libm-test-exp10.inc (pow10_test): Remove.
30700 (do_test): Do not call pow10.
30701 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30702 [NO_LONG_DOUBLE] (pow10l): Likewise.
30703 * math/w_exp10f_compat.c (pow10f): Likewise.
30704 * math/w_exp10l_compat.c (pow10l): Likewise.
30705 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30706 (pow10): Make into compat symbol.
30707 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30708 (pow10f): Make into compat symbol.
30709 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30710 (pow10l): Make into compat symbol.
30711 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30712 pow10.
30713 (CFLAGS-nldbl-pow10.c): Remove variable..
30714 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30715 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30716 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30717 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30718 Undefine and redefine.
30719 (pow10l): Make into compat symbol.
30720 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30721 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30722 * sysdeps/arm/libm-test-ulps: Likewise.
30723 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30724 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30725 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30726 * sysdeps/microblaze/libm-test-ulps: Likewise.
30727 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30728 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30729 * sysdeps/nios2/libm-test-ulps: Likewise.
30730 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30731 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30732 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30733 * sysdeps/sh/libm-test-ulps: Likewise.
30734 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30735 * sysdeps/tile/libm-test-ulps: Likewise.
30736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30737
3824fc38
PP
307382017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30739
30740 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30741
b3008279
L
307422017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30743
30744 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30745 "../ChangeLog.old/ChangeLog.8".
30746 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30747 "../ChangeLog.old/ChangeLog.14".
30748
136fa185
L
307492017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30750
30751 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30752 Threads Library.
30753
c18d50a2
JM
307542017-09-01 Joseph Myers <joseph@codesourcery.com>
30755
30756 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30757
bedbd859
L
307582017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30759
30760 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30761 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30762
50c66c7a
PP
307632017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30764
30765 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30766 32 atexit handlers.
30767
a617bd11
ZW
307682017-09-01 Zack Weinberg <zackw@panix.com>
30769
30770 * math/math.h (HUGE_VAL): Improve commentary.
30771
e0d2eb5a
AZ
307722017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30773 Andreas Schwab <schwab@suse.de>
30774
30775 [BZ #21530]
30776 * include/stdio.h (__gen_tempfd): New function.
30777 * stdio-common/Makefile (routines): Add gentempfd.
30778 * stdio-common/gentempfd.c: New file.
30779 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30780 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30781 unnamed file first.
30782
f4a6be25
FW
307832017-09-01 Florian Weimer <fweimer@redhat.com>
30784
30785 [BZ #21915]
30786 [BZ #21922]
30787 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30788 result to determine success or failure, not the errno value.
30789 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30790 (tst-nss-files-hosts-erange): Link with -ldl.
30791 * nss/tst-nss-files-hosts-erange.c: New file.
30792 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30793 (do_test): Add NO_DATA tests.
30794 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30795 (do_test): Call it.
30796
5f8340f5
FW
307972017-09-01 Florian Weimer <fweimer@redhat.com>
30798
30799 [BZ #21922]
30800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30801 coming from gethostbyname2_r.
30802
65329bd2
FW
308032017-09-01 Florian Weimer <fweimer@redhat.com>
30804
30805 * support/namespace.h (struct support_chroot_configuration): Add
30806 hosts, host_conf.
30807 (struct support_chroot): Add path_hosts, path_host_conf.
30808 * support/support_chroot.c (write_file): New function.
30809 (support_chroot_create): Call it to process /etc/resolv.conf,
30810 /etc/hosts, /etc/host.conf.
30811 (support_chroot_free): Update.
30812
a2881ef0
FW
308132017-09-01 Florian Weimer <fweimer@redhat.com>
30814
30815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
30816 status indicates it is set.
30817
ad816a5e
FW
308182017-09-01 Florian Weimer <fweimer@redhat.com>
30819
63b52889 30820 [BZ #20532]
ad816a5e
FW
30821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
30822 function lookup failures more reliable.
30823
53250a21
FW
308242017-09-01 Florian Weimer <fweimer@redhat.com>
30825
30826 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
30827 (getcanonname): Likewise.
30828 (gaih_inet): Likewise.
30829
924b121c
FW
308302017-09-01 Florian Weimer <fweimer@redhat.com>
30831
30832 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
30833 (getcanonname): Likewise.
30834 (gaih_inet): Likewise.
30835
d9ff799a 308362017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 30837 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
30838
30839 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
30840 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
30841 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
30842 (IREG_SIZE, OREG_SIZE): New macros.
30843 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
30844 (IREG_SIZE, OREG_SIZE): New macros.
30845 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
30846 (IREG_SIZE): New macro.
30847 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
30848 (IREG_SIZE): New macro.
30849 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
30850 New includes.
30851 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
30852 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30853 (__CONCATX): Handle exceptions correctly on large values that may
30854 set FE_INVALID.
30855 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
30856 Initialize if not already set.
b39d961c 30857 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 30858
102dde84
AZ
308592017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30860
30861 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
30862 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
30863 Likewise.
30864 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
30865 Likewise.
30866 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
30867 Likewise.
30868 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
30869 Likewise.
30870 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
30871 Likewise.
30872 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
30873 Likewise.
30874 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
30875 Likewise.
30876 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
30877 (NO_CANCELLATION): Likewise.
30878 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
30879 Likewise.
30880 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
30881 Likewise.
30882 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
30883 Likewise.
30884 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
30885 (NO_CANCELLATION): Likewise.
30886 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
30887 (NO_CANCELLATION): Likewise.
30888 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
30889 Likewise
30890 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
30891 Likewise.
30892 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
30893 Likewise.
30894 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
30895 Likewise.
30896 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
30897 hidden prototype.
30898 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
30899 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
30900
9eee633b
SE
309012017-08-31 Steve Ellcey <sellcey@cavium.com>
30902
30903 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
30904 in resolver call.
30905
65284eb7
FW
309062017-08-31 Florian Weimer <fweimer@redhat.com>
30907
30908 * include/libc-symbols.h (internal_function): Remove.
30909
41ad5ca6
FW
309102017-08-31 Florian Weimer <fweimer@redhat.com>
30911
30912 * stdlib/fmtmsg.c (internal_addseverity): Remove
30913 internal_function.
30914
2fa6d086
FW
309152017-08-31 Florian Weimer <fweimer@redhat.com>
30916
30917 * stdio-common/printf_fp.c (group_number): Remove
30918 internal_function.
30919 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
30920
b41bd5bc
FW
309212017-08-31 Florian Weimer <fweimer@redhat.com>
30922
30923 * posix/fnmatch.c (internal_function): Remove definition.
30924 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30925 * posix/regcomp.c (peek_token, init_word_char)
30926 (duplicate_node_closure, fetch_token, peek_token)
30927 (peek_token_bracket, build_range_exp, build_collating_symbol):
30928 Likewise.
30929 * posix/regex_internal.c (re_string_construct_common)
30930 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30931 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30932 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30933 (re_string_translate_buffer, re_string_reconstruct)
30934 (re_string_peek_byte_case, re_string_fetch_byte_case)
30935 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30936 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30937 (re_node_set_add_intersect, re_node_set_init_union)
30938 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30939 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30940 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30941 (re_acquire_state_context): Likewise.
30942 * posix/regex_internal.h (internal_function): Remove definition.
30943 (re_string_realloc_buffers, build_wcs_buffer)
30944 (build_wcs_upper_buffer, build_upper_buffer)
30945 (re_string_translate_buffer, re_string_context_at)
30946 (re_string_char_size_at, re_string_wchar_at)
30947 (re_string_elem_size_at): Likewise.
30948 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30949 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30950 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30951 (re_search_internal, re_search_2_stub, re_search_stub)
30952 (re_copy_regs, prune_impossible_nodes, check_matching)
30953 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30954 (free_fail_stack_return, sift_states_iter_mb)
30955 (sift_states_backward, build_sifted_states)
30956 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30957 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30958 (check_subexp_limits, sift_states_bkref, merge_state_array)
30959 (find_recover_state, transit_state, merge_state_with_log)
30960 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30961 (transit_state_mb, transit_state_bkref, get_subexp)
30962 (get_subexp_sub, find_subexp_node, check_arrival)
30963 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30964 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30965 (check_node_accept_bytes, find_collation_sequence_value)
30966 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30967 (acquire_init_state_context, check_halt_node_context)
30968 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30969 (sub_epsilon_src_nodes): Likewise.
30970 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30971 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30972 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30973 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30974 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30975 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30976 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30977 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30978 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30979 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30980 (PREADV): Likewise.
30981 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30982 (PREADV): Likewise.
30983 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30984 (PWRITEV): Likewise.
30985 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30986 (PWRITEV): Likewise.
30987 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30988 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30989
83b09837
FW
309902017-08-31 Florian Weimer <fweimer@redhat.com>
30991
30992 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30993 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30994 Remove internal_function.
30995 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30996 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30997 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30998 (__deallocate_stack, __libc_pthread_init)
30999 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31000 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31001 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31002 Likewise.
31003 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31004 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31005 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31006 Likewise.
31007 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31008 (__pthread_mutex_unlock_usercnt): Likewise.
31009
116ac301
FW
310102017-08-31 Florian Weimer <fweimer@redhat.com>
31011
31012 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31013 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31014 (fts_safe_changedir): Remove internal_function.
31015 * io/ftw.c (internal_function): Remove definition.
31016 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31017
9da93bd7
FW
310182017-08-31 Florian Weimer <fweimer@redhat.com>
31019
31020 * inet/deadline.c (__deadline_current_time)
31021 (__deadline_from_timeval, __deadline_to_ms): Remove
31022 internal_function.
31023 * inet/getnameinfo.c (nrl_domainname): Likewise.
31024 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31025 * inet/inet6_option.c (add_pad): Likewise.
31026 * inet/net-internal.h (__deadline_current_time)
31027 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31028 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31029 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31030 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31031
a60eca2e
JM
310322017-08-31 Joseph Myers <joseph@codesourcery.com>
31033
c0c49d60
JM
31034 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31035 include <bits/nan.h>.
31036 * math/Makefile (headers): Remove bits/nan.h.
31037 * bits/nan.h: Remove.
31038 * sysdeps/ieee754/bits/nan.h: Likewise.
31039 * sysdeps/mips/bits/nan.h: Likewise.
31040
5ef1b213
JM
31041 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31042 not include <bits/inf.h>.
31043 * math/Makefile (headers): Remove bits/inf.h.
31044 * bits/inf.h: Remove.
31045 * sysdeps/ieee754/bits/inf.h: Likewise.
31046
a60eca2e
JM
31047 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31048 bits/huge_vall.h or bits/huge_val_flt128.h.
31049 (HUGE_VAL): Define directly here.
31050 [__USE_ISOC99] (HUGE_VALF): Likewise.
31051 [__USE_ISOC99] (HUGE_VALL): Likewise.
31052 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31053 (HUGE_VAL_F128): Likewise.
31054 * math/Makefile (headers): Remove bits/huge_val.h,
31055 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31056 * bits/huge_val.h: Remove.
31057 * bits/huge_val_flt128.h: Likewise.
31058 * bits/huge_valf.h: Likewise.
31059 * bits/huge_vall.h: Likewise.
31060 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31061 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31062 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31063 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31064 * sysdeps/sh/bits/huge_val.h: Likewise.
31065 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31066 * sysdeps/x86/bits/huge_vall.h: Likewise.
31067
17e00cc6
FW
310682017-08-31 Florian Weimer <fweimer@redhat.com>
31069
31070 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31071 internal_function.
31072 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31073 Likewise.
31074 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31075 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31076 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31077 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31078 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31079 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31080 * elf/dl-libc.c (dlerror_run): Likewise.
31081 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31082 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31083 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31084 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31085 Likewise.
31086 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31087 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31088 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31089 * elf/dl-profile.c (_dl_start_profile): Likewise.
31090 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31091 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31092 Likewise.
31093 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31094 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31095 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31096 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31097 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31098 (_dl_allocate_tls_storage): Likewise.
31099 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31100 (_dl_check_all_versions): Likewise.
31101 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31102 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31103 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31104 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31105 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31106 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31107 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31108 internal_function from __dl_start.
31109 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31110 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31111 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31112 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31113 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31114 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31115 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31116 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31117 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31118 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31119 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31120 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31121 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31122 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31123 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31124 Likewise.
31125 (struct rtld_global_ro): Remove internal_function from the
31126 _dl_lookup_symbol_x member.
31127 (_dl_symbol_value): Remove. No longer defined anywhere.
31128 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31129 internal_function.
31130 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31131 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31132 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31133 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31134 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31135 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31136 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31137 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31138 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31139 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31140 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31141 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31142
8d2f9410
FW
311432017-08-31 Florian Weimer <fweimer@redhat.com>
31144
31145 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31146 Remove internal_function.
31147 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31148 Likewise.
31149 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31150 Likewise.
31151
86e4919f
FW
311522017-08-31 Florian Weimer <fweimer@redhat.com>
31153
31154 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31155 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31156 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31157
59bd52b0
FW
311582017-08-31 Florian Weimer <fweimer@redhat.com>
31159
31160 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31161 (__gai_enqueue_request): Remove internal_function.
31162 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31163 (__gai_remove_request, __gai_notify, __gai_notify_only)
31164 (__gai_sigqueue): Likewise.
31165 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31166 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31167 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31168 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31169 Likewise.
31170
fc3d9497
FW
311712017-08-31 Florian Weimer <fweimer@redhat.com>
31172
31173 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31174 * include/dirent.h (__opendirat, __getdents, __getdents64)
31175 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31176 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31177 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31178 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31179 Likewise.
31180 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31181
18c54fac
FW
311822017-08-31 Florian Weimer <fweimer@redhat.com>
31183
31184 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31185 internal_function.
31186 (GETCWD_RETURN_TYPE): Likewise.
31187
7e01f080
FW
311882017-08-31 Florian Weimer <fweimer@redhat.com>
31189
31190 * include/time.h (__tz_compute, __strptime_internal): Remove
31191 internal_function.
31192 * time/strptime_l.c (__strptime_internal): Likewise.
31193 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31194
d7ccc6c9
FW
311952017-08-31 Florian Weimer <fweimer@redhat.com>
31196
31197 * iconv/gconv.c (__gconv): Remove internal_function.
31198 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31199 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31200 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31201 (__gconv_release_cache): Likewise.
31202 * iconv/gconv_close.c (__gconv_close): Likewise.
31203 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31204 (read_conf_file, __gconv_get_path): Likewise.
31205 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31206 (__gconv_release_step, gen_steps, increment_counter)
31207 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31208 (__gconv_close_transform, free_modules_db): Likewise.
31209 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31210 Likewise.
31211 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31212 (__gconv_find_transform, __gconv_lookup_cache)
31213 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31214 (__gconv_close_transform, __gconv_release_cache)
31215 (__gconv_loaded_object, __gconv_release_shlib)
31216 (__gconv_compare_alias): Likewise.
31217 * iconv/gconv_open.c (__gconv_open): Likewise.
31218 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31219 * iconv/iconvconfig.c (add_module): Likewise.
31220 * intl/dcigettext.c (plural_lookup, guess_category_value)
31221 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31222 * intl/eval-plural.h (plural_eval): Likewise.
31223 * intl/finddomain.c (_nl_find_domain): Likewise.
31224 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31225 (_nl_load_domain, _nl_find_msg): Likewise.
31226 (internal_function): Remove definition.
31227 * intl/loadinfo.h (internal_function): Likewise.
31228 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31229 internal_function.
31230 * intl/localealias.c (internal_function): Remove definition.
31231 (read_alias_file): Remove internal_function.
31232 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31233 * intl/plural-exp.h (internal_function): Remove definition.
31234 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31235 internal_function.
31236 * intl/plural.c: Regenerate.
31237 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31238 * locale/coll-lookup.c (__collidx_table_lookup)
31239 (__collseq_table_lookup): Likewise.
31240 * locale/coll-lookup.h (__collidx_table_lookup)
31241 (__collseq_table_lookup): Likewise.
31242 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31243 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31244 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31245 (_nl_unload_locale): Likewise.
31246 * locale/localeinfo.h (struct __locale_data): Remove
31247 internal_function from cleanup member.
31248 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31249 (_nl_remove_locale, _nl_load_locale_from_archive)
31250 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31251 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31252 (_nl_cleanup_time): Remove internal_function.
31253 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31254 (_nl_parse_alt_digit): Likewise.
31255 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31256 (_nl_select_era_entry): Likewise.
31257 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31258 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31259 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
31260 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31261 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 31262
dab0eece
FW
312632017-08-31 Florian Weimer <fweimer@redhat.com>
31264
31265 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31266 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31267 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31268 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31269 Likewise.
31270 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31271 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31272 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31273 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31274 Likewise.
31275 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31276
ab5bf7cf
FW
312772017-08-31 Florian Weimer <fweimer@redhat.com>
31278
31279 * misc/getttyent.c (skip, value): Remove internal_function.
31280 * misc/syslog.c (openlog_internal): Likewise.
31281 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31282
75b3047e
FW
312832017-08-31 Florian Weimer <fweimer@redhat.com>
31284
31285 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31286 (__nss_rewrite_field): Remove internal_function.
31287 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31288 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31289 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31290 * nss/nsswitch.c (nss_parse_file, nss_getline)
31291 (nss_parse_service_list, nss_new_service): Likewise.
31292 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31293 * nss/valid_field.c (__nss_valid_field): Likewise.
31294 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31295
0c71122c
FW
312962017-08-31 Florian Weimer <fweimer@redhat.com>
31297
31298 * malloc/arena.c (__malloc_fork_lock_parent)
31299 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31300 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31301 internal_function from defintions.
31302 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31303 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31304 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31305 internal_function from declarations.
31306 * malloc/malloc.c (internal_function): Do not define.
31307 (mem2mem_check): Remove internal_function from declaration.
31308 (munmap_chunk, mremap_chunk): Remove internal_function.
31309 * malloc/mtrace.c (tr_where): Likewise.
31310
ca4ec803
FW
313112017-08-31 Florian Weimer <fweimer@redhat.com>
31312
31313 * include/rpc/pmap_clnt.h (__get_socket): Remove
31314 internal_function.
31315 * sunrpc/auth_des.c (synchronize): Likewise.
31316 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31317 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31318 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31319 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31320 (key_call): Likewise.
31321 * sunrpc/pm_getport.c (__get_socket): Likewise.
31322 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31323 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31324 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31325 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31326 (invalidate): Likewise.
31327 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31328 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31329 (set_input_fragment, get_input_bytes): Likewise.
31330
24cffce7
FW
313312017-08-31 Florian Weimer <fweimer@redhat.com>
31332
31333 * malloc/malloc.c (_int_free): Remove locked variable and related
31334 asserts.
31335
ecd0747d
L
313362017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31337
31338 [BZ #22051]
31339 * Makerules (build-module-helper-objlist): Filter out
31340 $(elf-objpfx)sofini.os.
31341 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31342 needed.
31343
5f0704b6
FW
313442017-08-31 Florian Weimer <fweimer@redhat.com>
31345
31346 * libio/fcloseall.c: Assume weak_alias is defined.
31347 * libio/feof.c: Likewise.
31348 * libio/fileno.c: Likewise.
31349 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31350 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31351 definitions.
31352 (_IO_file_open): Call __open directly.
31353 (_IO_new_file_sync): Assume ESPIPE is defined.
31354 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31355 (_IO_new_file_write): Call __write directly.
31356 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31357 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31358 * libio/genops.c: Assume _LIBC is defined.
31359 (save_for_backup): Remove internal_function.
31360 * libio/getc.c: Assume weak_alias is defined.
31361 * libio/getwc.c: Likewise.
31362 * libio/iofclose.c: Assume _LIBC is defined.
31363 * libio/iofdopen.c: Likewise.
31364 (_IO_fcntl): Remove macro definition.
31365 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31366 Call __fcntl directly.
31367 * libio/iofflush.c: Assume weak_alias is defined.
31368 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31369 defined.
31370 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31371 * libio/iofgets.c: Likewise.
31372 * libio/iofopen.c: Assume _LIBC is defined.
31373 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31374 * libio/iofputs.c: Assume weak_alias is defined.
31375 * libio/iofread.c: Likewise.
31376 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31377 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31378 * libio/ioftell.c: Assume weak_alias is defined.
31379 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31380 * libio/iofwide.c: Assume _LIBC is defined.
31381 (_IO_fwide): Drop SHARED conditional because it is implied by
31382 SHLIB_COMPAT.
31383 * libio/iofwrite.c: Assume weak_alias is defined.
31384 * libio/iogetdelim.c: Likewise.
31385 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31386 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31387 (_IO_getwline): Call __wmemcpy directly.
31388 * libio/iopopen.c: Assume _LIBC is defined.
31389 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31390 (_IO_close): Remove macro definitions.
31391 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31392 _exit directly.
31393 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31394 directly.
31395 * libio/ioputs.c: Assume weak_alias is defined.
31396 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31397 * libio/iosetbuffer.c: Assume weak_alias is defined.
31398 * libio/iosetvbuf.c: Likewise.
31399 * libio/ioungetc.c: Likewise.
31400 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31401 libc_hidden_def, libc_hidden_weak, NULL are defined.
31402 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31403 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31404 defined.
31405 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31406 definitions.
31407 (_IO_old_file_init_internal): Drop SHARED conditional because it
31408 is implied by SHLIB_COMPAT.
31409 (_IO_old_file_fopen): Call __open directly.
31410 (_IO_old_file_sync): Assume ESPIPE is defined.
31411 (_IO_old_file_write): Call __write directly.
31412 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31413 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31414 Call __fcntl directly.
31415 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31416 (_IO_old_fgetpos): Assume EIO is defined.
31417 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31418 (_IO_old_fgetpos64): Assume EIO is defined.
31419 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31420 (_IO_old_fsetpos): Assume EIO is defined.
31421 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31422 (_IO_old_fsetpos64): Assume EIO is defined.
31423 * libio/oldiopopen.c: Assume _LIBC is defined.
31424 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31425 (_IO_close): Remove macro definitions.
31426 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31427 directly.
31428 (_IO_old_proc_close): Call __close, __waitpid directly.
31429 * libio/put.c: Assume weak_alias is defined.
31430 * libio/stdfiles.c: Assume _LIBC is defined.
31431 * libio/stdio.c: Likewise.
31432 * libio/wfileops.c: Likewise.
31433 (_IO_wfile_sync): Assume ESPIPE is defined.
31434 * libio/wgenops.c: Assume _LIBC is defined.
31435 (save_for_wbackup): Remove internal_function.
31436
5129873a
FW
314372017-08-31 Florian Weimer <fweimer@redhat.com>
31438
31439 * malloc/malloc.c (top_check): Change return type to void. Remove
31440 internal_function.
31441 * malloc/hooks.c (top_check): Likewise.
31442 (malloc_check, realloc_check, memalign_check): Adjust.
31443
4fa9b3bf
JM
314442017-08-30 Joseph Myers <joseph@codesourcery.com>
31445
31446 [BZ #21457]
31447 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31448 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31449 sigcontext and namespace requirements.
31450 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31451 * sysdeps/m68k/sys/ucontext.h: Likewise.
31452 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31453 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31454 <bits/sigcontext.h>.
31455 (__ctx): Define earlier.
31456 (mcontext_t): Define structure contents rather than using struct
31457 sigcontext.
31458 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31459 __glibc_reserved1 instead of __reserved.
31460 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31461 <bits/sigcontext.h>.
31462 (__ctx): Define earlier.
31463 (mcontext_t): Define structure contents rather than using struct
31464 sigcontext.
31465 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31466 mcontext_t instead of struct sigcontext.
31467 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31468 <bits/sigcontext.h>.
31469 (__ctx): Define earlier.
31470 (mcontext_t): Define structure contents rather than using struct
31471 sigcontext.
31472 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
31473 <bits/sigcontext.h>.
31474 (__ctx): Define earlier.
31475 (mcontext_t): Define structure contents rather than using struct
31476 sigcontext.
31477 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31478 mcontext_t instead of struct sigcontext.
31479 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31480 mcontext_t instead of struct sigcontext.
31481 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31482 <bits/sigcontext.h>.
31483 (__ctx): New macro.
31484 (struct __ia64_fpreg_mcontext): New type.
31485 (mcontext_t): Define structure contents rather than using struct
31486 sigcontext.
31487 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31488 (uc_sigmask): Define using __ctx.
31489 (uc_stack): Likewise.
31490 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31491 <bits/sigcontext.h>.
31492 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31493 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31494 <bits/sigcontext.h>.
31495 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31496 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31497 <bits/sigcontext.h>.
31498 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31499 <bits/sigcontext.h>.
31500 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31501 <bits/sigcontext.h>.
31502 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31503 <bits/sigcontext.h>.
31504 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31505 <bits/sigcontext.h>.
31506 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31507 <bits/sigcontext.h>.
31508 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31509 <bits/sigcontext.h>.
31510 (__ctx): Define earlier.
31511 (mcontext_t): Define structure contents rather than using struct
31512 sigcontext.
31513 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31514 <bits/sigcontext.h>. Include <bits/types.h>.
31515 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31516 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31517 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31518 (test-xfail-UNIX98/signal.h/conform): Likewise.
31519 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31520 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31521 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31522 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31523 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31524 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31525 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31526 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31527 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31528
5898f454
FW
315292017-08-30 Florian Weimer <fweimer@redhat.com>
31530
31531 * malloc/dynarray_emplace_enlarge.c
31532 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31533 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31534 * malloc/tst-dynarray.c (test_long_overflow): New function.
31535 (do_test): Call it.
31536
a9da0bb2
FW
315372017-08-30 Florian Weimer <fweimer@redhat.com>
31538
31539 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31540 (set_arena_corrupt): Remove definitions.
31541 (mtrim): Do not check for corrupt arena.
31542 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31543 Likewise.
31544
ac3ed168
FW
315452017-08-30 Florian Weimer <fweimer@redhat.com>
31546
31547 [BZ #21754]
31548 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31549 check_action.
31550 (ptmalloc_init): Do not set or use check_action.
31551 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31552 call to malloc_printerr. Remove return statement.
31553 (free_check): Likewise. Remove arena unlock.
31554 (top_check): Update comment. Adjust call to malloc_printerr.
31555 Remove heap repair code.
31556 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31557 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31558 (sysmalloc): Adjust call to malloc_printerr.
31559 (munmap_chunk, __libc_realloc): Likewise. Remove return
31560 statement.
31561 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31562 Remove errout label and corresponding gotos.
31563 (_int_free): Likewise. Remove arena unlock.
31564 (do_set_mallopt_check): Do not set check_action.
31565 (malloc_printerr): Adjust parameter list. Do not mark arena as
31566 corrupt.
31567 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31568 comment.
31569 * manual/probes.texi (Memory Allocation Probes): Remove
31570 memory_mallopt_check_action.
31571
44bcba80
SE
315722017-08-30 Steve Ellcey <sellcey@cavium.com>
31573
31574 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31575 Use pointer to uint64_t instead of long int for sp.
31576
ec2c1fce
FW
315772017-08-30 Florian Weimer <fweimer@redhat.com>
31578
31579 [BZ #21754]
31580 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31581 without printing a backtrace. Do not leak any information in the
31582 error message.
31583 * manual/memory.texi (Heap Consistency Checking): Update.
31584 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31585
9ce673b6
FW
315862017-08-30 Florian Weimer <fweimer@redhat.com>
31587
31588 Do not scale NPTL tests with available number of CPUs.
31589 * nptl/tst-cond16.c (count): Set to constant value of 8.
31590 * nptl/tst-cond18.c (count): Likewise.
31591
2f1aef19
JM
315922017-08-29 Joseph Myers <joseph@codesourcery.com>
31593
31594 [BZ #22035]
31595 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31596 Define to take a second argument that is a macro that
31597 concatentates a suffix, not the suffix itself.
31598 (__CONCAT_d): New macro.
31599 (__CONCAT_f): Likewise.
31600 (__CONCAT_l): Likewise.
31601
8325b477
PP
316022017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31603
31604 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31605 by child.
31606
319cbbf6
AZ
316072017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31608 Aurelien Jarno <aurelien@aurel32.net>
31609 Maciej W. Rozycki <macro@imgtec.com>
31610
31611 [BZ #21956]
31612 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31613 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31614 `mips16-syscall6' and `mips16-syscall7'.
31615 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31616 (CFLAGS-mips16-syscall7.c): Remove.
31617 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31618 Remove `__mips16_syscall5', `__mips16_syscall6' and
31619 `__mips16_syscall7'.
31620 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31621 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31622 `__mips_syscall_return'.
31623 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31624 (__mips16_syscall1): Likewise.
31625 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31626 (__mips16_syscall2): Likewise.
31627 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31628 (__mips16_syscall3): Likewise.
31629 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31630 (__mips16_syscall4): Likewise.
31631 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31632 Remove.
31633 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31634 Remove.
31635 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31636 Remove.
31637 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31638 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31639 `__mips16_syscall5'. Remove prototype.
31640 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31641 `__mips16_syscall6'. Remove prototype.
31642 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31643 `__mips16_syscall7'. Remove prototype.
31644 (__nomips16, __mips16_syscall_return): Move to...
31645 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31646 (__nomips16, __mips_syscall_return): ... here.
31647 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31648 `__mips16_syscall_return' to `__mips_syscall_return'.
31649 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31650 `internal_syscall##nr'.
31651 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31652 `internal_syscall##nr'.
31653 (FORCE_FRAME_POINTER): Remove.
31654 (__mips_syscall5): New prototype.
31655 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31656 (__mips_syscall6): New prototype.
31657 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31658 (__mips_syscall7): New prototype.
31659 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31660 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31661 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31662 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31663 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31664 (sysdep_routines): Add libc-do-syscall.
31665 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31666 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31667
01b87c65
AZ
316682017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31669
31670 [BZ #21672]
31671 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31672 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31673 (advise_stack_range): New function.
31674 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31675 stack non required to advise_stack_range at allocatestack.c
31676
16f138a4
SN
316772017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31678
31679 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31680
251bccfa
FW
316812017-08-29 Florian Weimer <fweimer@redhat.com>
31682
31683 [BZ #22026]
31684 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31685 __end_fct. Mangle __end_fct after setting it to NULL.
31686 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31687 (modules-names, modules-names-tests): Add
31688 tst-gconv-init-failure-mod.
31689 (gconv-modules): New target.
31690 (tst-gconv-init-failure-mod.so): Link against libsupport.
31691 (tst-gconv-init-failure): Depend on gconv-modules,
31692 tst-gconv-init-failure-mod.so.
31693 * iconv/tst-gconv-init-failure-mod.c: New file.
31694 * iconv/tst-gconv-init-failure.c: Likewise.
31695 * iconv/test-gconv-modules: Likewise.
31696
e7c18b9d
FW
316972017-08-29 Florian Weimer <fweimer@redhat.com>
31698
31699 [BZ #22025]
31700 * iconv/gconv_db.c (free_derivation): Remove redundant
31701 parentheses.
31702 (gen_steps): Unconditionally mangle __btowc_fct after
31703 initialization.
31704 (increment_counter): Likewise. Do not call init_fct for internal
31705 modules.
31706
7daada03
JM
317072017-08-29 Joseph Myers <joseph@codesourcery.com>
31708
31709 [BZ #22028]
31710 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31711 (_MSUF_): Remove macro.
31712 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31713 Likewise.
31714 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31715 (__REDIRFROM_X): New macro.
31716 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31717 Likewise.
31718 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31719 (__REDIRTO_X): Likewise.
31720 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31721 arguments.
31722 (__MATH_REDIRCALL_2): Likewise.
31723 (__MATH_REDIRCALL_INTERNAL): Likewise.
31724 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31725 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31726 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31727 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31728 * math/test-finite-macros.c: New file.
31729 * math/Makefile (tests): Add test-finite-macros.
31730 (CFLAGS-test-finite-macros.c): New variable.
31731
1cf1232c
PF
317322017-08-29 Patsy Franklin <pfrankli@redhat.com>
31733 Jeff Law <law@redhat.com>
31734
31735 [BZ #22025]
31736 Mangle NULL pointers in iconv/gconv.
31737 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31738 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31739 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31740 is non-NULL before demangling the end_fct. Check for NULL
31741 end_fct after demangling.
31742 (__gconv_release_step): Demangle the end_fct before checking
31743 it for NULL. Remove assert on __shlibc_handle != NULL.
31744 (gen_steps): Don't check btowc_fct for NULL before mangling.
31745 Demangle init_fct before checking for NULL.
31746 (increment_counter): Likewise.
31747 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31748 end_fct for NULL before mangling.
31749 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31750 for NULL.
31751
c207f7ce 317522017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
31753
31754 [BZ #21971]
31755 * locale/iso-639.def: add Morisyen.
31756
42496114
GG
317572017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31758
31759 [BZ #21930]
31760 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31761 (iszero): New C++ implementation that does not use
31762 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31763 signaling nans are enabled, since __builtin_types_compatible_p
31764 is a C-only feature.
31765 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31766 defined, include ieee754_float128.h for access to the union and
31767 member ieee854_float128.ieee.
31768 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31769 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31770 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31771 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31772 options of test-math-zero on powerpc64le.
31773
5e2bc4ff
L
317742017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31775
31776 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31777 Change double to float.
31778
a48c0fb4
JM
317792017-08-28 Joseph Myers <joseph@codesourcery.com>
31780
31781 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31782 unconditional.
31783 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31784 conditional code; define contents only for [LIBM_SVID_COMPAT].
31785
ee17d4e9
FW
317862017-08-28 Florian Weimer <fweimer@redhat.com>
31787
31788 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31789 (abi-lp64_be-options): Remove.
31790 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31791 (abi-hard-options): Likewise.
31792 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31793 (abi-o32_hard-options, abi-o32_soft_2008-options)
31794 (abi-o32_hard_2008-options, abi-n32_soft-options)
31795 (abi-n32_hard-options, abi-n32_soft_2008-options)
31796 (abi-n32_hard_2008-options, abi-n64_soft-options)
31797 (abi-n64_hard-options, abi-n64_soft_2008-options)
31798 (abi-n64_hard_2008-options): Likewise.
31799 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31800 (abi-64-v1-options, abi-64-v2-options): Likewise.
31801 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31802 (abi-64-options): Likewise.
31803 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31804 (abi-64-options): Likewise.
31805 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31806 (abi-64-options): Likewise.
31807 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
31808 (abi-64-options, abi-x32-options): Likewise.
31809
2dba5ce7
FW
318102017-08-28 Florian Weimer <fweimer@redhat.com>
31811
31812 Store supported list of SYS_* system calls in the source tree.
31813 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
31814 (bits/syscall.h): Generate from list file.
31815 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
31816 [$(subdir) = misc] (tests): Add tst-syscall-list.
31817 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
31818 [$(subdir) = misc] (tst-syscall-list-macros.list)
31819 [$(subdir) = misc] (tst-syscall-list-nr.list)
31820 (tst-syscall-list-sys.list): Helper targets for new
31821 tst-syscall-list test.
31822 [$(subdir) = misc] (tst-syscall-list.out): Run test script
31823 tst-syscall-list.sh.
31824 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
31825 target. Do not include bits/syscall.d.
31826 [$(subdir) = misc] (generated): Do not update.
31827 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
31828 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
31829 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
31830 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
31831
5f3b183d
PP
318322017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
31833
31834 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
31835 (tst-cxa_atexit, tst-on_exit): Likewise.
31836 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
31837 tst-cxa_atexit, and tst-on_exit.
31838 * stdlib/tst-atexit-common.c: New file.
31839 * stdlib/tst-atexit.c: New file.
31840 * stdlib/tst-at_quick_exit.c: New file.
31841 * stdlib/tst-cxa_atexit.c: New file.
31842 * stdlib/tst-on_exit.c: New file.
31843
2ef8d469
ST
318442017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31845
31846 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
31847 * mach/stack_chk_fail_local.c: New file.
31848 * hurd/stack_chk_fail_local.c: New file.
31849 * mach/Machrules ($(interface-library)-routines): Add
31850 stack_chk_fail_local.
99ee4d26
ST
31851 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
31852 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
31853 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
31854 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
31855 * hurd/Makefile (CFLAGS-hurdstartup.o,
31856 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 31857
7ab70c98
L
318582017-08-25 H.J. Lu <hongjiu.lu@intel.com>
31859
31860 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31861 (index_cpu_*, index_arch_*): Removed.
31862
39e7a5a6
SN
318632017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31864
31865 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
31866 Use uint64_t instead of unsigned long.
31867
bba5c930
JM
318682017-08-25 Joseph Myers <joseph@codesourcery.com>
31869
a6ccdb08
JM
31870 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
31871 [__HAVE_DISTINCT_FLOAT128].
31872
23761119
JM
31873 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
31874 of <bits/math-finite.h>.
31875 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
31876 inclusion of <bits/math-finite.h>.
31877 * math/bits/math-finite.h (__REDIRTO_X): Do not define
31878 conditionally on [__MATH_DECLARING_LDOUBLE && defined
31879 __NO_LONG_DOUBLE_MATH].
31880 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
31881 (__MATH_REDIRCALL_2): Likewise.
31882 (__MATH_REDIRCALL_INTERNAL): Likewise.
31883 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31884 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
31885 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31886
bba5c930
JM
31887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
31888 Remove file.
31889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
31890 Likewise.
31891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
31892 Likewise.
31893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
31894 Likewise.
31895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
31896 Likewise.
31897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
31898 Likewise.
31899 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31900 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31901 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31902 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
31904 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
31905 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
31906 w_sqrtf_compat-ppc32.
31907
3d7b66f6
GG
319082017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31909
31910 * math/math.h [defined __cplusplus] (issignaling): In the long
31911 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
31912 is not defined. Call __issignaling, otherwise.
31913
ebd6f007
AZ
319142017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31915
31916 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
31917 syscall definitions and replace __builtin_expect with __glibc_likely.
31918 * sysdeps/unix/syscall-template.S: Update comment about cancellable
31919 syscall.
6b5c8607 31920 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
31921 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
31922 definition.
31923 (PSEUDO_END): Likewise.
31924 [IS_IN (libpthread)] (CENABLE): Likewise.
31925 [IS_IN (libpthread)] (CDISABLE): Likewise.
31926 [IS_IN (libc)] (CENABLE): Likewise.
31927 [IS_IN (libc)] (CENABLE): Likewise.
31928 [IS_IN (librt)] (CDISABLE): Likewise.
31929 [IS_IN (librt)] (CDISABLE): Likewise.
31930 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31931 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31932 definition.
31933 (PSEUDO_END): Likewise.
31934 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31935 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31936 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31937 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31938 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31939 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31940 (CENABLE): Likewise.
31941 (CDISABLE): Likewise.
31942 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31943 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31944 defintion.
31945 (PSEUDO_END): Likewise.
31946 [IS_IN (libpthread)] (CENABLE): Likewise.
31947 [IS_IN (libpthread)] (CDISABLE): Likewise.
31948 [IS_IN (libc)] (CENABLE): Likewise.
31949 [IS_IN (libc)] (CENABLE): Likewise.
31950 [IS_IN (librt)] (CDISABLE): Likewise.
31951 [IS_IN (librt)] (CDISABLE): Likewise.
31952 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31953 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31954 definition.
31955 (PSEUDO_END): Likewise.
31956 [IS_IN (libpthread)] (CENABLE): Likewise.
31957 [IS_IN (libpthread)] (CDISABLE): Likewise.
31958 [IS_IN (libc)] (CENABLE): Likewise.
31959 [IS_IN (libc)] (CENABLE): Likewise.
31960 [IS_IN (librt)] (CDISABLE): Likewise.
31961 [IS_IN (librt)] (CDISABLE): Likewise.
31962 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31963 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31964 definition.
31965 (PSEUDO_END): Likewise.
31966 [IS_IN (libpthread)] (CENABLE): Likewise.
31967 [IS_IN (libpthread)] (CDISABLE): Likewise.
31968 [IS_IN (libc)] (CENABLE): Likewise.
31969 [IS_IN (libc)] (CENABLE): Likewise.
31970 [IS_IN (librt)] (CDISABLE): Likewise.
31971 [IS_IN (librt)] (CDISABLE): Likewise.
31972 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31973 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31974 definition.
31975 (PSEUDO_END): Likewise.
31976 [IS_IN (libpthread)] (CENABLE): Likewise.
31977 [IS_IN (libpthread)] (CDISABLE): Likewise.
31978 [IS_IN (libc)] (CENABLE): Likewise.
31979 [IS_IN (libc)] (CENABLE): Likewise.
31980 [IS_IN (librt)] (CDISABLE): Likewise.
31981 [IS_IN (librt)] (CDISABLE): Likewise.
31982 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31983 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
31984 definition.
31985 (PSEUDO_END): Likewise.
31986 [IS_IN (libpthread)] (CENABLE): Likewise.
31987 [IS_IN (libpthread)] (CDISABLE): Likewise.
31988 [IS_IN (libc)] (CENABLE): Likewise.
31989 [IS_IN (libc)] (CENABLE): Likewise.
31990 [IS_IN (librt)] (CDISABLE): Likewise.
31991 [IS_IN (librt)] (CDISABLE): Likewise.
31992 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31993 * sysdeps/unix/sysv/linux/microblaze/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/mips/mips64/sysdep-cancel.h (PSEUDO):
32004 Remove 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 (SINGLE_THREAD_P): Likewise.
32013 * sysdeps/unix/sysv/linux/mips/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/nios2/sysdep-cancel.h (PSEUDO): Remove
32024 definition.
32025 (PSEUDO_END): Likewise.
32026 [IS_IN (libpthread)] (CENABLE): Likewise.
32027 [IS_IN (libpthread)] (CDISABLE): Likewise.
32028 [IS_IN (libc)] (CENABLE): Likewise.
32029 [IS_IN (libc)] (CENABLE): Likewise.
32030 [IS_IN (librt)] (CDISABLE): Likewise.
32031 [IS_IN (librt)] (CDISABLE): Likewise.
32032 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32033 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32034 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32035 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32036 * sysdeps/unix/sysv/linux/s390/s390-32/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 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32047 definition.
32048 (PSEUDO_END): Likewise.
32049 [IS_IN (libpthread)] (CENABLE): Likewise.
32050 [IS_IN (libpthread)] (CDISABLE): Likewise.
32051 [IS_IN (libc)] (CENABLE): Likewise.
32052 [IS_IN (libc)] (CENABLE): Likewise.
32053 [IS_IN (librt)] (CDISABLE): Likewise.
32054 [IS_IN (librt)] (CDISABLE): Likewise.
32055 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32056 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32057 definition.
32058 (PSEUDO_END): Likewise.
32059 [IS_IN (libpthread)] (CENABLE): Likewise.
32060 [IS_IN (libpthread)] (CDISABLE): Likewise.
32061 [IS_IN (libc)] (CENABLE): Likewise.
32062 [IS_IN (libc)] (CENABLE): Likewise.
32063 [IS_IN (librt)] (CDISABLE): Likewise.
32064 [IS_IN (librt)] (CDISABLE): Likewise.
32065 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32066 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32067 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32068 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32069 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32070 definition.
32071 (PSEUDO_END): Likewise.
32072 [IS_IN (libpthread)] (CENABLE): Likewise.
32073 [IS_IN (libpthread)] (CDISABLE): Likewise.
32074 [IS_IN (libc)] (CENABLE): Likewise.
32075 [IS_IN (libc)] (CENABLE): Likewise.
32076 [IS_IN (librt)] (CDISABLE): Likewise.
32077 [IS_IN (librt)] (CDISABLE): Likewise.
32078 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32079 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32080 definition.
32081 (PSEUDO_END): Likewise.
32082 [IS_IN (libpthread)] (CENABLE): Likewise.
32083 [IS_IN (libpthread)] (CDISABLE): Likewise.
32084 [IS_IN (libc)] (CENABLE): Likewise.
32085 [IS_IN (libc)] (CENABLE): Likewise.
32086 [IS_IN (librt)] (CDISABLE): Likewise.
32087 [IS_IN (librt)] (CDISABLE): Likewise.
32088 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32089
8aa48656
SN
320902017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32091
32092 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32093
fcaaca41
L
320942017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32095
32096 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32097
376b40a2
L
320982017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32099
32100 [BZ #21982]
32101 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32102 middle and outer with size_t instead of int. Repleace %d and
32103 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32104 "MAX (outer, nchars - 64)" to support unsigned outer and
32105 nchars. Also exit loop when outer == 0.
32106
2b0b9a1c
AZ
321072017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32108
32109 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32110 * include/signal.h (__sigsuspend_nocancel): Likewise.
32111 * include/time.h (__nanosleep_nocancel): Likewise.
32112 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32113 * login/utmp_file.c: Include non cancellable syscall header.
32114 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32115 prototype.
32116
b9eaca8f
L
321172017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32118
32119 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32120 .byte sequences with AVX512F instructions.
32121 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32122 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32123 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32124 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32125 Likewise.
32126 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32127 Likewise.
32128
5a706f64
SE
321292017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32130 Steve Ellcey <sellcey@cavium.com>
32131
32132 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32133 Use PTR_REG macro in cmp instruction.
32134
b513da7e
GG
321352017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32136
32137 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32138 Change the return type of the ifunc resolver to match the return
32139 type of the target function.
32140
78ca091c
AZ
321412017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32142
b70b6026
AZ
32143 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32144 (preadv64): Likewise.
32145 (pwrite64(: Likewise.
32146 (pwritev64): Likewise.
32147
78ca091c
AZ
32148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32149 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32150 (LOAD_ARGS_0): Likewise.
32151 (LOAD_ARGS_1): Likewise.
32152 (LOAD_ARGS_2): Likewise.
32153 (LOAD_ARGS_3): Likewise.
32154 (LOAD_ARGS_4): Likewise.
32155 (LOAD_ARGS_5): Likewise.
32156 (LOAD_ARGS_6): Likewise.
32157 (LOAD_REGS_0): Likewise.
32158 (LOAD_REGS_1): Likewise.
32159 (LOAD_REGS_2): Likewise.
32160 (LOAD_REGS_3): Likewise.
32161 (LOAD_REGS_4): Likewise.
32162 (LOAD_REGS_5): Likewise.
32163 (LOAD_REGS_6): Likewise.
32164 (ASM_ARGS_0): Likewise.
32165 (ASM_ARGS_1): Likewise.
32166 (ASM_ARGS_2): Likewise.
32167 (ASM_ARGS_3): Likewise.
32168 (ASM_ARGS_4): Likewise.
32169 (ASM_ARGS_5): Likewise.
32170 (ASM_ARGS_6): Likewise.
32171 (LOAD_ARGS_TYPES_1): Likewise.
32172 (LOAD_ARGS_TYPES_2): Likewise.
32173 (LOAD_ARGS_TYPES_3): Likewise.
32174 (LOAD_ARGS_TYPES_4): Likewise.
32175 (LOAD_ARGS_TYPES_5): Likewise.
32176 (LOAD_ARGS_TYPES_6): Likewise.
32177 (LOAD_REGS_TYPES_1): Likewise.
32178 (LOAD_REGS_TYPES_2): Likewise.
32179 (LOAD_REGS_TYPES_3): Likewise.
32180 (LOAD_REGS_TYPES_4): Likewise.
32181 (LOAD_REGS_TYPES_5): Likewise.
32182 (LOAD_REGS_TYPES_6): Likewise.
32183 (TYPEFY): New define.
32184 (ARGIFY): Likewise.
32185 (internal_syscall0): Likewise.
32186 (internal_syscall1): Likewise.
32187 (internal_syscall2): Likewise.
32188 (internal_syscall3): Likewise.
32189 (internal_syscall4): Likewise.
32190 (internal_syscall5): Likewise.
32191 (internal_syscall6): Likewise.
32192 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32193 (INTERNAL_SYSCALL_NCS): Remove define.
32194 (internal_syscall1): Add define.
32195
453a493d
GG
321962017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32197
32198 * math/w_remainder_compat.c: Remove duplicate inclusion of
32199 math-svid-compat.h.
32200 * math/w_remainderf_compat.c: Likewise.
32201 * math/w_remainderl_compat.c: Likewise.
32202
f2f048a5
GG
322032017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32204
32205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32206
d9bef9c0
JM
322072017-08-22 Joseph Myers <joseph@codesourcery.com>
32208
32209 [BZ #21684]
32210 * math/tgmath.h (__floating_type): Simplify definitions.
32211 (__real_integer_type): New macro.
32212 (__complex_integer_type): Likewise.
32213 (__expr_is_real): Likewise.
32214 (__tgmath_real_type_sub): Update comment to describe handling of
32215 complex types.
32216 (__tgmath_complex_type_sub): New macro.
32217 (__tgmath_complex_type): Likewise.
32218 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32219 (__TGMATH_CF128): Use __expr_is_real.
32220 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32221 __expr_is_real.
32222 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32223 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32224 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32225 integer types.
32226
08d6eb46
AZ
322272017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32228
988f991b
AZ
32229 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32230 macro.
32231 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32232 alias.
32233 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32234 Likewise.
32235
6f33fd04
AZ
32236 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32237 nanosleep_not_cancel with __nanosleep_nocancel.
32238 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32239 (__nanosleep_nocancel): New macro.
32240 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32241 function.
32242 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32243 macro.
32244 (__nanosleep_nocancel): New prototype.
32245
08d6eb46
AZ
32246 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32247 pause_not_cancel with __pause_nocancel.
32248 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32249 (__pause_nocancel): New macro.
32250 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32251 macro.
32252 (__pause_nocancel): New prototype.
32253 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32254
ee4e992e
MS
322552017-08-22 Martin Sebor <msebor@redhat.com>
32256
32257 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32258 to return a pointer to the same type as the target function.
32259
20962acb
L
322602017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32261
32262 [BZ #18822]
32263 [BZ #21986]
32264 * include/printf.h (__printf_fphex): Add attribute_hidden.
32265 (__guess_grouping): New prototype.
32266 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32267 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32268 libc_hidden_proto and libc_hidden_def.
32269 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32270 (__vstrfmon_l): Remove the third argument passed to
32271 __guess_grouping.
32272
a16e8bc0
GG
322732017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32274
32275 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32276 definition for issignaling that does not rely on __MATH_TG,
32277 since __MATH_TG uses __builtin_types_compatible_p, which is only
32278 available in C mode.
32279 (CFLAGS-test-math-issignaling.cc): New variable.
32280 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32281 * math/test-math-issignaling.cc: New test for C++ implementation
32282 of type-generic issignaling.
32283 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32284 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32285 options of test-math-issignaling on powerpc64le.
32286
8d2ec553
L
322872017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32288
32289 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32290 building libc.a.
32291 (hidden_proto): Likewise.
32292 (hidden_tls_proto): Likewise.
32293 (__hidden_proto): Likewise.
32294
a4d57b79
FW
322952017-08-22 Florian Weimer <fweimer@redhat.com>
32296
32297 math: Statically link tests of internal functionality.
32298 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32299 atest-exp2.
32300 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32301 (gmp-objs): Remove assignment.
32302 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32303
75dfe623
JM
323042017-08-22 Joseph Myers <joseph@codesourcery.com>
32305
80f91666
JM
32306 [BZ #21987]
32307 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32308 and copy to ...
32309 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32310 ... here.
32311 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32312 ... and here.
32313
75dfe623
JM
32314 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32315 variable definitions above inclusion of ../Rules.
32316
ea99fcd0
JM
323172017-08-21 Joseph Myers <joseph@codesourcery.com>
32318
32319 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32320 case calling __builtin_unreachable.
32321
19926de9
AZ
323222017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32323
a8410a5f
AZ
32324 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32325 __waitpid_nocancel.
32326 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32327 (__waitpid_nocancel): New macro.
32328 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32329 macro.
32330 (__waitpid_nocancel): Replace macro with a function.
32331 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32332 function.
32333
7369800c
AZ
32334 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32335 __fcntl_nocancel.
32336 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32337 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32338
19926de9
AZ
32339 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32340 __writev_nocancel_nostatus.
32341 (write_call_graph): Likewise.
32342 (write_bb_counts): Likewise.
32343 * resolv/herror.c (herror): Likewise.
32344 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32345 macro.
32346 (__writev_nocancel_nostatus): New macro.
32347 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32348 Remove macro.
32349 (__writev_nocancel_nostatus): New function.
32350
813378e9
JM
323512017-08-21 Joseph Myers <joseph@codesourcery.com>
32352
df1deda6
JM
32353 Revert:
32354 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32355
32356 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32357 building libc.a.
32358 (hidden_proto): Likewise.
32359 (hidden_tls_proto): Likewise.
32360 (__hidden_proto): Likewise.
32361
831bbd55
JM
32362 [BZ #21973]
32363 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32364 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32366 Likewise.
32367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32368 Likewise.
32369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32370 Likewise.
32371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32372 Likewise.
32373 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32374 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32375 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32376 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32377 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32378 GLIBC_2.0 sqrtl symbol.
32379
813378e9
JM
32380 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32381 [__USE_MISC] (_LIB_VERSION): Likewise.
32382 [__USE_MISC] (struct exception): Likewise.
32383 [__USE_MISC] (matherr): Likewise.
32384 [__USE_MISC] (DOMAIN): Likewise.
32385 [__USE_MISC] (SING): Likewise.
32386 [__USE_MISC] (OVERFLOW): Likewise.
32387 [__USE_MISC] (UNDERFLOW): Likewise.
32388 [__USE_MISC] (TLOSS): Likewise.
32389 [__USE_MISC] (PLOSS): Likewise.
32390 [__USE_MISC] (HUGE): Likewise.
32391 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32392 * math/math-svid-compat.h: New file.
32393 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32394 and matherrl.
32395 * include/math.h [!_ISOMAC] (__matherr): Remove.
32396 * manual/arith.texi (FP Exceptions): Do not document matherr.
32397 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32398 (tests-internal): New variable.
32399 (install-lib): Do not add libieee.a.
32400 (non-lib.a): Likewise.
32401 (extra-objs): Do not add libieee.a and ieee-math.o.
32402 (CPPFLAGS-s_lib_version.c): Remove variable.
32403 ($(objpfx)libieee.a): Remove rule.
32404 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32405 * math/ieee-math.c: Remove.
32406 * math/libm-test-support.c (matherr): Remove.
32407 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32408 and license notices. Include <math-svid-compat.h> and
32409 <shlib-compat.h>.
32410 (matherr): Undefine as macro. Use compat_symbol_reference.
32411 (_LIB_VERSION): Likewise.
32412 * math/test-matherr-2.c: New file.
32413 * math/test-matherr-3.c: Likewise.
32414 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32415 declaration.
32416 (__kernel_standard_f): Likewise.
32417 (__kernel_standard_l): Likewise.
32418 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32419 <math_private.h>. Include <math-svid-compat.h>.
32420 (_LIB_VERSION): Undefine as macro.
32421 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32422 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32423 [LIBM_SVID_COMPAT], use compat_symbol.
32424 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32425 <math_private.h>. Include <math-svid-compat.h>.
32426 (matherr): Undefine as macro.
32427 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32428 compat_symbol.
32429 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32430 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32431 compat_symbol_reference.
32432 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32433 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32434 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32435 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32436 (MATHERR_D): Remove declaration.
32437 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32438 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32439 [LIBM_BUILD] (pmatherrf): Likewise.
32440 [LIBM_BUILD] (pmatherr): Likewise.
32441 [LIBM_BUILD] (pmatherrl): Likewise.
32442 (DOMAIN): Likewise.
32443 (SING): Likewise.
32444 (OVERFLOW): Likewise.
32445 (UNDERFLOW): Likewise.
32446 (TLOSS): Likewise.
32447 (PLOSS): Likewise.
32448 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32449 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32450 compat_symbol.
32451 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32452 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32453 compat_symbol.
32454 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32455 * math/w_acos_compat.c: Likewise.
32456 * math/w_acosf_compat.c: Likewise.
32457 * math/w_acosh_compat.c: Likewise.
32458 * math/w_acoshf_compat.c: Likewise.
32459 * math/w_acoshl_compat.c: Likewise.
32460 * math/w_acosl_compat.c: Likewise.
32461 * math/w_asin_compat.c: Likewise.
32462 * math/w_asinf_compat.c: Likewise.
32463 * math/w_asinl_compat.c: Likewise.
32464 * math/w_atan2_compat.c: Likewise.
32465 * math/w_atan2f_compat.c: Likewise.
32466 * math/w_atan2l_compat.c: Likewise.
32467 * math/w_atanh_compat.c: Likewise.
32468 * math/w_atanhf_compat.c: Likewise.
32469 * math/w_atanhl_compat.c: Likewise.
32470 * math/w_cosh_compat.c: Likewise.
32471 * math/w_coshf_compat.c: Likewise.
32472 * math/w_coshl_compat.c: Likewise.
32473 * math/w_exp10_compat.c: Likewise.
32474 * math/w_exp10f_compat.c: Likewise.
32475 * math/w_exp10l_compat.c: Likewise.
32476 * math/w_exp2_compat.c: Likewise.
32477 * math/w_exp2f_compat.c: Likewise.
32478 * math/w_exp2l_compat.c: Likewise.
32479 * math/w_fmod_compat.c: Likewise.
32480 * math/w_fmodf_compat.c: Likewise.
32481 * math/w_fmodl_compat.c: Likewise.
32482 * math/w_hypot_compat.c: Likewise.
32483 * math/w_hypotf_compat.c: Likewise.
32484 * math/w_hypotl_compat.c: Likewise.
32485 * math/w_j0_compat.c: Likewise.
32486 * math/w_j0f_compat.c: Likewise.
32487 * math/w_j0l_compat.c: Likewise.
32488 * math/w_j1_compat.c: Likewise.
32489 * math/w_j1f_compat.c: Likewise.
32490 * math/w_j1l_compat.c: Likewise.
32491 * math/w_jn_compat.c: Likewise.
32492 * math/w_jnf_compat.c: Likewise.
32493 * math/w_jnl_compat.c: Likewise.
32494 * math/w_lgamma_main.c: Likewise.
32495 * math/w_lgamma_r_compat.c: Likewise.
32496 * math/w_lgammaf_main.c: Likewise.
32497 * math/w_lgammaf_r_compat.c: Likewise.
32498 * math/w_lgammal_main.c: Likewise.
32499 * math/w_lgammal_r_compat.c: Likewise.
32500 * math/w_log10_compat.c: Likewise.
32501 * math/w_log10f_compat.c: Likewise.
32502 * math/w_log10l_compat.c: Likewise.
32503 * math/w_log2_compat.c: Likewise.
32504 * math/w_log2f_compat.c: Likewise.
32505 * math/w_log2l_compat.c: Likewise.
32506 * math/w_log_compat.c: Likewise.
32507 * math/w_logf_compat.c: Likewise.
32508 * math/w_logl_compat.c: Likewise.
32509 * math/w_pow_compat.c: Likewise.
32510 * math/w_powf_compat.c: Likewise.
32511 * math/w_powl_compat.c: Likewise.
32512 * math/w_remainder_compat.c: Likewise.
32513 * math/w_remainderf_compat.c: Likewise.
32514 * math/w_remainderl_compat.c: Likewise.
32515 * math/w_scalb_compat.c: Likewise.
32516 * math/w_scalbf_compat.c: Likewise.
32517 * math/w_scalbl_compat.c: Likewise.
32518 * math/w_sinh_compat.c: Likewise.
32519 * math/w_sinhf_compat.c: Likewise.
32520 * math/w_sinhl_compat.c: Likewise.
32521 * math/w_sqrt_compat.c: Likewise.
32522 * math/w_sqrtf_compat.c: Likewise.
32523 * math/w_sqrtl_compat.c: Likewise.
32524 * math/w_tgamma_compat.c: Likewise.
32525 * math/w_tgammaf_compat.c: Likewise.
32526 * math/w_tgammal_compat.c: Likewise.
32527 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32528 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32529 * sysdeps/ieee754/k_standard.c: Likewise.
32530 * sysdeps/ieee754/k_standardf.c: Likewise.
32531 * sysdeps/ieee754/k_standardl.c: Likewise.
32532 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32533 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32534 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32535 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32536 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32537 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32538 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32539 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32540 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32542 Likewise.
32543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32544 Likewise.
32545 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32546 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32547 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32548 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32549
4504783c
FW
325502017-08-21 Florian Weimer <fweimer@redhat.com>
32551
32552 [BZ #21864]
32553 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32554 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32555 Move before inclusion of ../Rules.
32556
b5889d25
FW
325572017-08-21 Florian Weimer <fweimer@redhat.com>
32558
32559 [BZ #21972]
32560 * assert/assert.h (assert): Use static_cast (bool) for C++.
32561 Use the ternary operator in the warning branch for GNU C.
32562 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32563 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32564 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32565 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32566 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32567
41e673c1
L
325682017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32569
32570 [BZ #18822]
32571 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32572 (__syscall_clock_gettime): Add attribute_hidden.
32573 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32574 (__start_context): Likewise.
32575
568ff429
L
325762017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32577
32578 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32579 building libc.a.
32580 (hidden_proto): Likewise.
32581 (hidden_tls_proto): Likewise.
32582 (__hidden_proto): Likewise.
32583
7c41b4a1
L
325842017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32585
32586 * include/libc-symbols.h (attribute_hidden): Enable hidden
32587 visibility in libc.a compiled with PIE.
32588
483d7068
L
325892017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32590
32591 [BZ #18822]
32592 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32593 Add attribute_hidden.
32594
325952017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32596
32597 [BZ #21864]
32598 * Makerules (all-nonlib): Add $(others-extras).
32599 * catgets/Makefile (others-extras): New.
32600 * elf/Makefile (others-extras): Likewise.
32601 * nss/Makefile (others-extras): Likewise.
32602
54e4b8f2
L
326032017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32604
32605 [BZ #18822]
32606 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32607 * elf/dl-open.c: Include <libc-internal.h>.
32608 (__libc_multiple_libcs): Removed.
32609 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32610 <hp-timing.h>.
32611 * include/libc-internal.h (__libc_multiple_libcs): New.
32612 * misc/sbrk.c: Include <libc-internal.h>.
32613 (__libc_multiple_libcs): Removed.
32614
1dbbb1ec
L
326152017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32616
32617 [BZ #18822]
32618 * grp/initgroups.c (__nss_group_database): Removed.
32619 (__nss_initgroups_database): Likewise.
32620 * nscd/gai.c (__nss_hosts_database): Likewise.
32621 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32622 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32623 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32624 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32625 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32626 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32627 attribute_hidden.
32628 * nss/nsswitch.c (__nss_database_custom): Define only if
32629 USE_NSCD is defined.
32630 (__nss_configure_lookup): Use __nss_database_custom only if
32631 USE_NSCD is defined.
32632 * nss/nsswitch.h (__nss_database_custom): Declare only if
32633 USE_NSCD is defined. Add attribute_hidden.
32634 (__nss_setent): Add attribute_hidden.
32635 (__nss_endent): Likewise.
32636 (__nss_getent_r): Likewise.
32637 (__nss_getent): Likewise.
32638 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32639
2585d7b8
L
326402017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32641
32642 [BZ #18822]
32643 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32644 libc_hidden_proto and libc_hidden_def.
32645
c8dfa99c
L
326462017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32647
32648 [BZ #18822]
32649 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32650 Add libc_hidden_proto.
32651 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32652 Add libc_hidden_def.
32653
7ed87317
L
326542017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32655
32656 [BZ #21974]
32657 * gmon/Makefile (routines): Remove bb_init_func and
32658 bb_exit_func.
32659 (elide-routines.os): Removed.
9476b904
L
32660 * gmon/bb_exit_func.c: Likewise.
32661 * gmon/bb_init_func.c: Likewise.
7ed87317
L
32662 * include/sys/gmon.h (__bb): Likewise.
32663 (__bb_init_func): Likewise.
32664 (__bb_exit_func): Likewise.
91695eb1 32665 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 32666
94e6ba15
L
326672017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32668
32669 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32670 * include/setjmp.h (____longjmp_chk): Here. Add
32671 attribute_hidden.
32672
7550717e
L
326732017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32674
32675 [BZ #18822]
32676 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32677 attribute_hidden.
32678 (__strspn_sse2): Likewise.
32679
0bb2fabc
AZ
326802017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32681
c181840c
AZ
32682 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32683 (close_not_cancel_no_status): Likewise.
32684 (__close_nocancel): New macro.
32685 (__close_nocancel_nostatus): Likewise.
32686 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32687 macro.
32688 (close_not_cancel): Likewise.
32689 (close_not_cancel_no_status): Likewise.
32690 (__close_nocancel): New prototype.
32691 (__close_nocancel_nostatus): New function.
32692 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32693 * catgets/open_catalog.c (__open_catalog): Replace
32694 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32695 * gmon/gmon.c (write_gmon): Likewise.
32696 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32697 * intl/loadmsgcat.c (close): Likewise.
32698 * io/ftw.c (open_dir_stream): Likewise.
32699 (ftw_startup): Likewise.
32700 * libio/fileops.c (_IO_file_open): Likewise.
32701 (_IO_file_close_mmap): Likewise.
32702 (_IO_file_close): Likewise.
32703 * libio/iopopen.c (_IO_dup2): Likewise.
32704 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32705 * locale/loadlocale.c (_nl_load_locale): Likewise.
32706 * login/utmp_file.c (pututline_file): Likewise.
32707 (endutent_file): Likewise.
32708 * misc/daemon.c (daemon): Likewise.
32709 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32710 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32711 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32712 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32713 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32714 * nscd/nscd_helper.c (open_socket): Likewise.
32715 (__nscd_open_socket): Likewise.
32716 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32717 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32718 (__nscd_innetgr): Likewise.
32719 * nss/nss_db/db-open.c (internal_setent): Likewise.
32720 * resolv/res-close.c (__res_iclose): Likewise.
32721 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32722 * sysdeps/posix/closedir.c (__closedir): Likewise.
32723 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32724 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32725 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32726 (opendir_tail): Likewise.
32727 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32728 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32729 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32730 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32731 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32732 (gethostid): Likewise.
32733 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32734 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32735 Likewise.
32736 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32737 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32738 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32739 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32740 Likewise.
32741 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32742 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32743 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32744 Likewise.
32745 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32746 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32747 Likewise.
32748 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32749 Likewise.
32750 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32751 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32752 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32753 __close_nocancel.
32754
0bb2fabc
AZ
32755 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32756 (openat_not_cancel_3): Likewise.
32757 (openat64_not_cancel_3): Likewise).
32758 (openat_not_cancel_3): Likewise).
32759 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32760 macro.
32761 (openat_not_cancel_3): Likewise.
32762 (openat64_not_cancel): Likewise.
32763 (openat64_not_cancel_3): Likewise.
32764 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32765 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32766 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32767 __open{64}_nocancel.
32768 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32769 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32770 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32771
65a086db
L
327722017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32773
32774 [BZ #18822]
32775 * include/argz.h (__argz_create_sep): New function prototype.
32776 (__argz_append): Likewise.
32777 (__argz_add): Likewise.
32778 (__argz_add_sep): Likewise.
32779 (__argz_delete): Likewise.
32780 (__argz_insert): Likewise.
32781 (__argz_replace): Likewise.
32782 * string/argz.h (__argz_create_sep): Removed.
32783 (__argz_append): Likewise.
32784 (__argz_add): Likewise.
32785 (__argz_add_sep): Likewise.
32786 (__argz_delete): Likewise.
32787 (__argz_insert): Likewise.
32788 (__argz_replace): Likewise.
32789
62753d2c
L
327902017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32791
32792 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32793 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32794 (GNU_PROPERTY_STACK_SIZE): Likewie.
32795 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32796 (GNU_PROPERTY_LOPROC): Likewise.
32797 (GNU_PROPERTY_HIPROC): Likewise.
32798 (GNU_PROPERTY_LOUSER): Likewise.
32799 (GNU_PROPERTY_HIUSER): Likewise.
32800 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32801 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32802 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32803 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32804 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32805 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32806 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
32807 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
32808 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
32809 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
32810 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
32811 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
32812 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
32813 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
32814 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
32815 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
32816 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
32817 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
32818 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
32819 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
32820 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
32821 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
32822 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
32823
6913ad65
GG
328242017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32825
32826 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
32827 in C++ mode.
32828
47a67213
GG
328292017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32830
32831 [BZ #21930]
32832 * math/math.h (isinf): Check if in C or C++ mode before using
32833 __builtin_types_compatible_p, since this is a C mode feature.
32834
a748eb31
AZ
328352017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32836
c647fb88
AZ
32837 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
32838 (__write_nocancel): New macro.
32839 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
32840 Rewrite as a function prototype.
32841 (write_not_cancel): Remove macro.
32842 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
32843 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
32844 (write_gmon): Likewise.
32845 * libio/fileops.c (_IO_new_file_write): Likewise.
32846 * login/utmp_file.c (pututline_file): Likewise.
32847 (updwtmp_file): Likewise.
32848 * stdio-common/psiginfo.c (psiginfo): Likewise.
32849 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32850 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32851 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32852 Likewise.
32853 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32854 Likewise.
32855
a748eb31
AZ
32856 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
32857 (__read_nocancel): New macro.
32858 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32859 __read_nocancel.
32860 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
32861 macro.
32862 (__read_nocancel): New prototype.
32863 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
32864 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
32865 with __read_nocancel.
32866 * intl/loadmsgcat.c (read): Likewise.
32867 * libio/fileops.c (_IO_file_read): Likewise.
32868 * locale/loadlocale.c (_nl_load_locale): Likewise.
32869 * login/utmp_file.c (getutent_r_file): Likewise.
32870 (internal_getut_r): Likewise.
32871 (getutline_r_file): Likewise.
32872 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32873 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32874 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32875 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32876 Likewise.
32877 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
32878 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32879 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32880 Likewise.
32881 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32882 Likewise.
32883 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32884 Likewise.
32885 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32886 Likewise.
32887 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32888
098b9dd4
L
328892017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32890
32891 [BZ #21966]
32892 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
32893 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
32894 usable.
32895
a3fe6a20
DD
328962017-08-17 DJ Delorie <dj@redhat.com>
32897
32898 * bug17079.c: Update to new test harness.
32899 * test-digits-dots.c: Likewise.
32900 * test-netdb.c: Likewise.
32901 * tst-field.c: Likewise.
32902 * tst-nss-getpwent.c: Likewise.
32903 * tst-nss-static.c: Likewise.
32904 * tst-nss-test1.c: Likewise.
32905 * tst-nss-test2.c: Likewise.
32906 * tst-nss-test3.c: Likewise.
32907 * tst-nss-test4.c: Likewise.
32908 * tst-nss-test5.c: Likewise.
32909
c2284574
AZ
329102017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32911
32912 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
32913 (open_not_cancel_2): Likewise.
32914 (open_nocancel): New macro.
32915 (open64_nocancel): Likewise.
32916 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
32917 (open_not_cancel_2): Likewise.
32918 (__open_nocancel): New prototype.
32919 (__open64_nocancel): Likewise.
32920 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32921 __open_nocancel.
32922 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
32923 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32924 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32925 with __open_nocancel.
32926 * csu/check_fds.c (check_one_fd): Likewise.
32927 * gmon/gmon.c (write_gmon): Likewise.
32928 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32929 * intl/loadmsgcat.c (open): Likewise.
32930 * libio/fileops.c (_IO_file_open): Likewise.
32931 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32932 * locale/loadlocale.c (_nl_load_locale): Likewise.
32933 * login/utmp_file.c (setutent_file): Likewise.
32934 * misc/daemon.c (daemon): Likewise.
32935 * nss/nss_db/db-open.c (internal_setent): Likewise.
32936 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32937 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32938 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32939 (__opendir): Likewise.
32940 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32941 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32942 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32943 (gethostid): Likewise.
32944 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32945 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32946 Likewise.
32947 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32948 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32949 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32950 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32951 Likewise.
32952 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32953 Likewise.
32954 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32955 Likewise.
32956 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32957 Likewise.
32958 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32959 Likewise.
32960 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32961 Likewise.
32962 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32963 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32964
d4505b89
WD
329652017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32966
32967 * benchtests/bench-skeleton.c (main): Add support for
32968 latency benchmarking.
32969 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32970
34d6a3cb
L
329712017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32972
32973 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32974 the startup object.
32975
038d1caf
FW
329762017-08-17 Florian Weimer <fweimer@redhat.com>
32977
32978 * include/sys/socket.h (__opensock): Remove internal_function.
32979 * socket/opensock.c (__opensock): Likewise.
32980 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32981
67f0aff0
JM
329822017-08-16 Joseph Myers <joseph@codesourcery.com>
32983
32984 [BZ #21944]
32985 * signal/bits/types/__sigval_t.h: New file.
32986 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32987 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32988 and define sigval_t using __sigval_t.
32989 * include/bits/types/__sigval_t.h: New file.
32990 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32991 instead of <bits/types/__sigval_t.h>.
32992 (struct sigevent): Use __sigval_t instead of sigval_t.
32993 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32994 instead of <bits/types/__sigval_t.h>.
32995 (siginfo_t): Use __sigval_t instead of sigval_t.
32996 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32997 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32998 (struct sigevent): Use __sigval_t instead of sigval_t.
32999 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33000 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33001 (siginfo_t): Use __sigval_t instead of sigval_t.
33002 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33003
87e7bf4d
L
330042017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33005
33006 * NEWS: Remove "[Add new features here]" for 2.27.
33007
5047057f
JM
330082017-08-16 Joseph Myers <joseph@codesourcery.com>
33009
33010 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33011 libc.so.
33012
20c7b195
L
330132017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33014
33015 * NEWS: Mention x86-64 FMA optimization.
33016
24a2e658
L
330172017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33018
33019 [BZ #21912]
33020 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33021 Add e_expf-fma.
33022 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33023 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33024 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33025
eedca977
AS
330262017-08-16 Andreas Schwab <schwab@suse.de>
33027
403143e1
FW
33028 [BZ #16750]
33029 CVE-2009-5064
eedca977
AS
33030 * elf/ldd.bash.in: Never run file directly.
33031
f59f7adb
L
330322017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33033
33034 [BZ #21955]
33035 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33036 (L(SP_INF_0)): Likewise.
33037
6b11a6ad
FW
330382017-08-15 Florian Weimer <fweimer@redhat.com>
33039
33040 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33041 run-built-tests.
33042
bbf5c438
FW
330432017-08-15 Florian Weimer <fweimer@redhat.com>
33044
33045 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33046 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33047 BROKEN_THREAD_SIGNALS code.
33048 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33049 request_list): Remove caller_pid member used for
33050 BROKEN_THREAD_SIGNALS.
33051 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33052 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33053 Remove BROKEN_THREAD_SIGNALS support.
33054 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33055 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33056
6014c65d
FW
330572017-08-15 Florian Weimer <fweimer@redhat.com>
33058
33059 * gmon/Makefile (tests): Add tst-gmon.
33060 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33061 Set.
33062 (tests-special): Add tst-gmon-prof.out.
33063 (tst-gmon.out): Depend on clean-tst-gmon-data.
33064 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33065 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33066 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33067 startup object.
33068 * aclocal.m4 (GPROF): Set and substitute.
33069 * config.amke.in (GPROF): Set.
33070 * configure: Regenerate.
33071
ee72219a
GR
330722017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33073
33074 * elf/elf.h A (NT_PPC_TAR): New macro.
33075 (NT_PPC_PPR): Likewise.
33076 (NT_PPC_DSCR): Likewise.
33077 (NT_PPC_EBB): Likewise.
33078 (NT_PPC_PMU): Likewise.
33079 (NT_PPC_TM_CGPR): Likewise.
33080 (NT_PPC_TM_CFPR): Likewise.
33081 (NT_PPC_TM_CVMX): Likewise.
33082 (NT_PPC_TM_CVSX): Likewise.
33083 (NT_PPC_TM_SPR): Likewise.
33084 (NT_PPC_TM_CTAR): Likewise.
33085 (NT_PPC_TM_CPPR): Likewise.
33086 (NT_PPC_TM_CDSCR): Likewise.
33087
4ebf934e
FW
330882017-08-15 Florian Weimer <fweimer@redhat.com>
33089
33090 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33091 regparm (2) instead of internal_function.
33092 (_MCOUNT_DECL): Adjust.
33093
e9f57484
SL
330942017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33095
33096 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33097 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33098
88ff4d55
JM
330992017-08-14 Joseph Myers <joseph@codesourcery.com>
33100
33101 * conform/data/sys/wait.h-data (si_value): Do not expect for
33102 XPG42.
33103
c88ffc23
FW
331042017-08-14 Florian Weimer <fweimer@redhat.com>
33105
33106 [BZ #21962]
33107 NSS: Create stubs for accidentally exported lookup functions.
33108 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33109 Remove declaration.
33110 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33111 (ether_hostton): Call __nss_ethers_lookup2 instead.
33112 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33113 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33114 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33115 (setup): Call __nss_netgroup_lookup2 instead.
33116 * nss/Makefile (routines): Add compat-lookup.
33117 * nss/Versions (GLIBC_2.27): Add symbol version.
33118 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33119 (DB_COMPAT_FCT): Remove.
33120 * nss/compat-lookup.c: New file.
33121 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33122 from databases.def.
33123 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33124 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33125 (netname2user): Call __nss_publickey_lookup2 instead.
33126 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33127 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33128 instead.
33129
35a29136 331302017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
33131 Sergei Trofimovich <slyfox@inbox.ru>
33132
33133 [BZ #21908]
33134 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33135 Rename to MMAP2_PAGE_UNIT.
33136 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33137 __OFF_T_MATCHES_OFF64_T is not defined.
33138 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33139 uint64_t.
33140 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33141 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33142
fbdc1e3e
FW
331432017-08-14 Florian Weimer <fweimer@redhat.com>
33144
33145 i386: Do not set internal_function.
33146 * config.h.in (USE_REGPARMS, internal_function): Remove.
33147 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33148 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33149
b3f85fd2
FW
331502017-08-14 Florian Weimer <fweimer@redhat.com>
33151
33152 * elf/dl-init.c (_dl_init): Remove internal_function.
33153 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33154 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33155
630bf491
FW
331562017-08-14 Florian Weimer <fweimer@redhat.com>
33157
33158 * elf/rtld.c (_dl_start): Remove internal_function.
33159 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33160 _dl_start.
33161
9fa7449b
FW
331622017-08-14 Florian Weimer <fweimer@redhat.com>
33163
33164 * elf/dl-fini.c (_dl_fini): Remove internal_function
33165 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33166
73322d5f
L
331672017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33168
d863cd71 33169 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
33170 (bit_cpu_SHSTK): Likewise.
33171 (index_cpu_IBT): Likewise.
33172 (index_cpu_SHSTK): Likewise.
33173 (reg_IBT): Likewise.
33174 (reg_SHSTK): Likewise.
33175 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33176 Handle index_cpu_IBT and index_cpu_SHSTK.
33177
dbc303ef
MF
331782017-08-14 Mike FABIAN <mfabian@redhat.com>
33179
33180 [BZ #19982]
33181 * po/fr.po: Fix spelling mistake.
33182
3012cfb0
FW
331832017-08-13 Florian Weimer <fweimer@redhat.com>
33184
33185 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33186 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33187 (_dl_catch_error, _dl_receive_error): Likewise.
33188 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33189 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33190 (_dl_deallocate_tls): Likewise.
33191 * include/dlfcn.h (_dl_addr): Likewise.
33192 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33193 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33194 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33195 Likewise.
33196
52bcdf26
FW
331972017-08-13 Florian Weimer <fweimer@redhat.com>
33198
33199 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33200 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33201 internal_function.
33202 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33203
e1d2ae8d
FW
332042017-08-13 Florian Weimer <fweimer@redhat.com>
33205
33206 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33207 internal_function.
33208 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33209 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33210 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33211 internal_function from _dl_make_stack_executable_hook member.
33212 (_dl_make_stack_executable): Remove internal_function.
33213 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33214 Likewise.
33215 * sysdeps/unix/sysv/linux/dl-execstack.c
33216 (_dl_make_stack_executable): Likewise.
33217
c4ce0382
FW
332182017-08-13 Florian Weimer <fweimer@redhat.com>
33219
33220 * sysdeps/unix/sysv/linux/netlinkaccess.h
33221 (__netlink_assert_response): Remove internal_function.
33222 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33223 (__netlink_assert_response): Likewise.
33224
c4d767f7
FW
332252017-08-13 Florian Weimer <fweimer@redhat.com>
33226
33227 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33228 internal_function.
33229 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33230
b2297409
FW
332312017-08-13 Florian Weimer <fweimer@redhat.com>
33232
33233 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33234 internal_function.
33235 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33236 * inet/netgroup.h (__internal_setnetgrent)
33237 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33238 * inet/getnetgrent_r.c (__internal_setnetgrent)
33239 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33240 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33241 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33242 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33243 * nss/nsswitch.h (db_lookup_function): Likewise.
33244
1b0bfc69
FW
332452017-08-13 Florian Weimer <fweimer@redhat.com>
33246
33247 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33248 Remove internal_function.
33249 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33250 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33251 message argument on the stack.
33252 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33253 Likeweise.
33254
a6bd8722
MF
332552017-08-12 Mike FABIAN <mfabian@redhat.com>
33256
33257 Adapt test case data to the changes in the thousands
33258 separators.
33259
33260 [BZ #20756]
33261 * localedata/tst-langinfo.sh: Adapt test case data.
33262 * stdlib/tst-strfmon_l.c: Likewise.
33263 * stdlib/tst-strtod4.c: Likewise.
33264 * stdlib/tst-strtod5i.c: Likewise.
33265
8b2c63e4
FW
332662017-08-11 Florian Weimer <fweimer@redhat.com>
33267
33268 [BZ #21242]
33269 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33270 Suppress pedantic warning resulting from statement expression.
33271 (__ASSERT_FUNCTION): Add missing __extension__.
33272
61c98291
SP
332732017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33274
86c6519e
SP
33275 * benchtests/bench-memmove-large.c: Print output in JSON
33276 format.
33277 * benchtests/bench-memmove.c: Likewise.
33278
61c98291
SP
33279 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33280 * benchtests/bench-memchr.c (do_one_test): Likewise.
33281 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33282 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33283 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33284 * benchtests/bench-memmove.c (do_one_test): Likewise.
33285 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33286 * benchtests/bench-memset.c (do_one_test): Likewise.
33287 * benchtests/bench-string.h (test_init): Remove memsets.
33288
925733a9
RJ
332892017-08-10 Rical Jasan <ricaljasan@pacific.net>
33290
33291 * manual/lang.texi
33292 (Computing the Width of an Integer Data Type): Rename section to
33293 "Width of an Integer Type". Remove inaccurate statement regarding
33294 lack of C language facilities for determining width of integer
33295 types, and reorder content to improve flow and context of
33296 discussion.
33297
4fcdfbfc
RJ
332982017-08-10 Rical Jasan <ricaljasan@pacific.net>
33299
33300 * lang.texi (va_copy): Change standard from ISO to C99.
33301 (__va_copy): Add standard and header annotation.
33302 Update description for clarity of origins and current use.
33303
4d98ace9
GG
333042017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33305
33306 [BZ #21941]
33307 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33308 xssqrtqp requires operands to be in Vector Registers
33309 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33310 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33311 (__ieee754_sqrtf128): Likewise.
33312
92236903
WD
333132017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33314
33315 * sysdeps/aarch64/memcmp.S (memcmp):
33316 Rewrite of optimized memcmp.
33317
2449ae7b
FW
333182017-08-10 Florian Weimer <fweimer@redhat.com>
33319
33320 Introduce ld.so exceptions.
33321 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33322 (_dl_exception_create, _dl_exception_create_format)
33323 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33324 (_dl_catch_exception): Declare.
33325 (_dl_catch_error): Update comment.
33326 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33327 errstring, malloced members with exception member.
33328 (_dl_out_of_memory): Remove.
33329 (fatal_error): New function, extracted from _dl_signal_error.
33330 (_dl_signal_exception, _dl_signal_cexception): New functions.
33331 (_dl_signal_error): Call _dl_exception_create to allocate an
33332 exception object.
33333 (_dl_catch_exception): New function, based on _dl_catch_error.
33334 (_dl_catch_error): Implement using _dl_catch_exception.
33335 * elf/dl-exception.c: New file.
33336 * elf/Makefile (dl-routines): Add dl-exception.
33337 (elide-routines.os): Likewise.
33338 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33339 _dl_exception_create_format, _dl_exception_free.
33340 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33341 _dl_signal_exception.
33342 * elf/dl-lookup.c (make_string): Remove.
33343 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33344 _dl_signal_cexception, _dl_exception_free.
33345 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33346 _dl_signal_exception.
33347 * elf/dl-sym.c (do_sym): Likewise.
33348 * elf/dl-version.c (make_string): Remove.
33349 (match_symbol): Use _dl_exception_create_format,
33350 _dl_signal_cexception, _dl_exception_free.
33351 (_dl_check_map_versions): Likewise.
33352 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33353 _dl_catch_exception.
33354 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33355 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33356 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33357 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33358 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33359 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33360 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33361 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33362 Likewise.
33363 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33365 (ld.so): Likewise.
33366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33367 (ld.so): Likewise.
33368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33369 Likewise.
33370 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33371 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33372 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33373 Likewise.
33374 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33375 Likewise.
33376 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33377
f87cc2bf
FW
333782017-08-10 Florian Weimer <fweimer@redhat.com>
33379
33380 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33381 attribute_hidden, internal_function.
33382 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33383 internal_function.
33384
eac43cbb
FW
333852017-08-10 Florian Weimer <fweimer@redhat.com>
33386
33387 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33388 function which calls __builtin_unreachable.
33389
bd80111e
MF
333902017-08-10 Mike FABIAN <mfabian@redhat.com>
33391
33392 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33393 Indian monetary formatting
33394 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33395 test cases.
33396
60e2846e
DL
333972017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33398
68dc02d1
DL
33399 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33400 Fix typo in comment.
33401
60e2846e
DL
33402 [BZ #21928]
33403 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33404 PTRACE_SEIZE_DEVEL): Remove.
33405 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33406 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33407 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33408 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33409 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33410
3d452dab
JM
334112017-08-09 Joseph Myers <joseph@codesourcery.com>
33412
24d9f53a
JM
33413 * posix/bits/types.h (__qaddr_t): Remove.
33414
3d452dab
JM
33415 [BZ #21457]
33416 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33417 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33418 __glibc_reserved1.
33419 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33420 (ucontext_t): Use __ctx with uc_flags.
33421 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33422 (__ctxt): Likewise.
33423 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33424 __glibc_reserved1.
33425 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33426 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33427 __glibc_reserved1.
33428 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33429 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33430 __glibc_reserved1.
33431 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33432 macro.
33433 (ucontext_t): Use __ctx with uc_flags.
33434 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33435 (ucontext_t): Use __ctx with uc_flags.
33436 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33437 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33438 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33439 (ucontext_t): Use __ctx with uc_flags.
33440 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33441 undefine further down.
33442 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33443 __glibc_reserved1.
33444 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33445 undefine further down.
33446 (ucontext_t): Use __ctx with uc_flags.
33447 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33448 undefine further down.
33449 (ucontext_t): Use __ctx with uc_flags.
33450 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33451 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33452 Rename uc_pad to __glibc_reserved1.
33453 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33454 undefine further down.
33455 (ucontext_t): Use __ctx with uc_flags.
33456 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33457 further down.
33458 (ucontext_t): Use __ctx with uc_flags.
33459 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33460 __ctx with uc_flags.
33461 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33462 (ucontext_t): Use __ctx with uc_flags.
33463 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33464 __ctx with uc_flags.
33465
30161498
FW
334662017-08-09 Florian Weimer <fweimer@redhat.com>
33467
33468 [BZ #21932]
33469 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33470 before early return.
33471
5797b410
AS
334722017-08-09 Andreas Schwab <schwab@suse.de>
33473
139237a4 33474 [BZ #21041]
5797b410
AS
33475 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33476 renamed alias.
33477
139237a4 33478 [BZ #21041]
40c06a3d
AS
33479 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33480 tst-compat-forwarder.
33481 (modules-names): Add tst-compat-forwarder-mod.
33482 ($(objpfx)tst-compat-forwarder): Depend on
33483 $(objpfx)tst-compat-forwarder-mod.so.
33484 * nptl/tst-compat-forwarder.c: New file.
33485 * nptl/tst-compat-forwarder-mod.c: New file.
33486
36ada5f6
SP
334872017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33488
0e02b510
SP
33489 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33490 comments.
33491
36ada5f6
SP
33492 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33493 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33494 memcpy_falkor.
33495 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33496 Bump.
33497 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33498 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33499 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33500 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33501 Add falkor.
33502 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33503 New macro.
33504
9995c839
AZ
335052017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33506
33507 [BZ #759]
33508 * manual/setjmp.texi (getcontex): Document uc_stack value
33509 compatibility differences.
33510
f17a4233
JM
335112017-08-08 Joseph Myers <joseph@codesourcery.com>
33512
33513 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33514 (old_malloc_hook): Likewise.
33515 (old_memalign_hook): Likewise.
33516 (old_realloc_hook): Likewise.
33517 (struct hdr): Likewise.
33518 (flood): Likewise.
33519 (freehook): Likewise.
33520 (mallochook): Likewise.
33521 (memalignhook): Likewise.
33522 (reallochook): Likewise.
33523 (mprobe): Likewise.
33524 * malloc/mtrace.c (mallwatch): Likewise.
33525 (tr_old_free_hook): Likewise.
33526 (tr_old_malloc_hook): Likewise.
33527 (tr_old_realloc_hook): Likewise.
33528 (tr_old_memalign_hook): Likewise.
33529 (tr_where): Likewise.
33530 (lock_and_info): Likewise.
33531 (tr_freehook): Likewise.
33532 (tr_mallochook): Likewise.
33533 (tr_reallochook): Likewise.
33534 (tr_memalignhook): Likewise.
33535 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33536 * misc/mmap.c (__mmap): Likewise.
33537 * misc/mmap64.c (__mmap64): Likewise.
33538 * misc/mprotect.c (__mprotect): Likewise.
33539 * misc/msync.c (msync): Likewise.
33540 * misc/munmap.c (__munmap): Likewise.
33541 * posix/posix_madvise.c (posix_madvise): Likewise.
33542 * socket/send.c (__send): Likewise.
33543 * socket/sendto.c (__sendto): Likewise.
33544 * socket/setsockopt.c (__setsockopt): Likewise.
33545 * string/memcmp.c (__ptr_t): Remove macro.
33546 (MEMCMP): Use void * instead of ptr_t.
33547 * string/memrchr.c (__ptr_t): Remove macro.
33548 (__memrchr): Use void * instead of ptr_t.
33549 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33550 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33551 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33552 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33553 * sysdeps/mach/msync.c (msync): Likewise.
33554 * sysdeps/mach/munmap.c (__munmap): Likewise.
33555 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33556 Likewise.
33557 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33558 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33559 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33560 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33561 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33562 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33563 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33564 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33565 Likewise.
33566 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33567 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33568 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33569 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33570 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33571 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33572 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33573 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33574 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33575 Likewise.
33576 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33577 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33578 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33579 (MEMCMP): Use void * instead of ptr_t.
33580 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33581 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33582
0df595b2
FW
335832017-08-08 Florian Weimer <fweimer@redhat.com>
33584
33585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33586 return statement.
33587
086df229
L
335882017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33589
33590 [BZ #21913]
33591 * csu/libc-tls.c: Include <startup.h> first.
33592 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33593 * elf/dl-tunables.c: Include <startup.h> first.
33594 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33595 * sysdeps/generic/startup.h: New file.
33596 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33597 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33598 (I386_USE_SYSENTER): New. Defined to 0.
33599
fc5ad702
AS
336002017-08-08 Andreas Schwab <schwab@suse.de>
33601
33602 [BZ #21041]
33603 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33604 * nptl/pt-system.c (system): Likewise.
33605
852d6312
AZ
336062017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33607
33608 [BZ #21780]
33609 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33610 EOPNOTSUPP.
33611 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33612 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33613 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33614 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33615 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33616 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33617 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33618
8b164787
JM
336192017-08-07 Joseph Myers <joseph@codesourcery.com>
33620
cd65836b
JM
33621 [BZ #21899]
33622 * bits/sigaction.h (struct sigaction): Define sa_handler and
33623 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33624 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33625 [__USE_XOPEN_EXTENDED].
33626 (SA_RESTART): Likewise.
33627 (SA_NODEFER): Likewise.
33628 (SA_RESETHAND): Likewise.
33629 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33630 (struct sigaction): Define sa_handler and sa_sigaction using union
33631 also for [__USE_XOPEN_EXTENDED].
33632 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33633 [__USE_XOPEN_EXTENDED].
33634 (SA_RESTART): Likewise.
33635 (SA_NODEFER): Likewise.
33636 (SA_RESETHAND): Likewise.
33637 * sysdeps/unix/sysv/linux/bits/sigaction.h
33638 (struct sigaction): Define sa_handler and sa_sigaction using union
33639 also for [__USE_XOPEN_EXTENDED].
33640 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33641 [__USE_XOPEN_EXTENDED].
33642 (SA_RESTART): Likewise.
33643 (SA_NODEFER): Likewise.
33644 (SA_RESETHAND): Likewise.
33645 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33646 (struct sigaction): Define sa_handler and sa_sigaction using union
33647 also for [__USE_XOPEN_EXTENDED].
33648 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33649 [__USE_XOPEN_EXTENDED].
33650 (SA_RESTART): Likewise.
33651 (SA_NODEFER): Likewise.
33652 (SA_RESETHAND): Likewise.
33653 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33654 (struct sigaction): Define sa_handler and sa_sigaction using union
33655 also for [__USE_XOPEN_EXTENDED].
33656 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33657 [__USE_XOPEN_EXTENDED].
33658 (SA_RESTART): Likewise.
33659 (SA_NODEFER): Likewise.
33660 (SA_RESETHAND): Likewise.
33661 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33662 (struct sigaction): Define sa_handler and sa_sigaction using union
33663 also for [__USE_XOPEN_EXTENDED].
33664 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33665 [__USE_XOPEN_EXTENDED].
33666 (SA_RESTART): Likewise.
33667 (SA_NODEFER): Likewise.
33668 (SA_RESETHAND): Likewise.
33669 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33670 (struct sigaction): Define sa_handler and sa_sigaction using union
33671 also for [__USE_XOPEN_EXTENDED].
33672 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33673 [__USE_XOPEN_EXTENDED].
33674 (SA_RESTART): Likewise.
33675 (SA_NODEFER): Likewise.
33676 (SA_RESETHAND): Likewise.
33677 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33678 (struct sigaction): Define sa_handler and sa_sigaction using union
33679 also for [__USE_XOPEN_EXTENDED].
33680 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33681 [__USE_XOPEN_EXTENDED].
33682 (SA_RESTART): Likewise.
33683 (SA_NODEFER): Likewise. Define directly rather than as alias.
33684 (SA_RESETHAND): Likewise.
33685 (SA_INTERRUPT): Define only for [__USE_MISC].
33686 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33687 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33688 [__USE_MISC].
33689 (SA_STACK): Define only for [__USE_MISC].
33690 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33691 (struct sigaction): Define sa_handler and sa_sigaction using union
33692 also for [__USE_XOPEN_EXTENDED].
33693 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33694 [__USE_XOPEN_EXTENDED].
33695 (SA_RESTART): Likewise.
33696 (SA_NODEFER): Likewise.
33697 (SA_RESETHAND): Likewise.
33698 (SA_NOPTRACE): Define only for [__USE_MISC].
33699
d9fee042
JM
33700 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33701 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33702 (struct catalog_info): Likewise.
33703 * inet/htontest.c (lo): Likewise.
33704 (foo): Likewise.
33705 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33706 * inet/inet_net.c (inet_network): Likewise.
33707 * inet/inet_netof.c (inet_netof): Likewise.
33708 * inet/rcmd.c (__ivaliduser): Likewise.
33709 (iruserok): Likewise.
33710 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33711 * locale/programs/locale-spec.c (locale_special): Likewise.
33712 * nis/nis_findserv.c (struct findserv_req): Likewise.
33713 (__nis_findfastest_with_timeout): Likewise.
33714 * nss/test-netdb.c (test_network): Likewise.
33715 * resolv/inet_neta.c (inet_neta): Likewise.
33716 * resolv/ns_date.c (ns_datetosecs): Likewise.
33717 (SECS_PER_DAY): Likewise.
33718 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33719 Likewise.
33720 * resolv/res_comp.c (__putlong): Likewise.
33721 (__putshort): Likewise.
33722 (_getlong): Likewise.
33723 (_getshort): Likewise.
33724 * resolv/res_debug.c (p_time): Likewise.
33725 (precsize_ntoa): Likewise.
33726 (precsize_aton): Likewise.
33727 (latlon2ul): Likewise.
33728 (loc_aton): Likewise.
33729 (loc_ntoa): Likewise.
33730 * resolv/res_hconf.c (struct netaddr): Likewise.
33731 (_res_hconf_reorder_addrs): Likewise.
33732 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33733 (clnttcp_control): Likewise.
33734 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33735 (clntudp_control): Likewise.
33736 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33737 (clntunix_control): Likewise.
33738 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33739 * sunrpc/rpc/auth.h (union des_block): Likewise.
33740 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33741 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33742 (xdrrec_create): Likewise.
33743 (xdrrec_endofrecord): Likewise.
33744 (flush_out): Likewise.
33745 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33746 (xdrstdio_putlong): Likewise.
33747 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33748 Likewise.
33749
8b164787
JM
33750 * misc/sys/cdefs.h (__long_double_t): Remove.
33751 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33752 instead of __long_double_t,
33753 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33754
7ee38e60
SP
337552017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33756
dd3e86ad
SP
33757 * benchtests/scripts/compare_strings.py: Avoid display error when
33758 running on a text terminal.
33759
b115e819
SP
33760 * benchtests/scripts/compare_strings.py (main): Add an
33761 optional -base option.
33762 (process_results): New argument base_func.
33763
7ee38e60
SP
33764 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33765 hardcoding memcpy.
33766 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33767 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33768
d5afb385
AS
337692017-08-07 Andreas Schwab <schwab@suse.de>
33770
33771 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33772 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33773 * intl/Makefile ($(objpfx)tst-gettext.out)
33774 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33775 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33776 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33777 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33778 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33779 * posix/Makefile ($(objpfx)globtest.out)
33780 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33781 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33782 ($(objpfx)tst-printf.out): Likewise.
33783 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33784 ($(objpfx)tst-setcontext3.out): Likewise.
33785
57a72fa3
L
337862017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33787
33788 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33789 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33790 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33791 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33792 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33793 and mptan-fma.
33794 (CFLAGS-doasin-fma.c): New.
33795 (CFLAGS-dosincos-fma.c): Likewise.
33796 (CFLAGS-e_asin-fma.c): Likewise.
33797 (CFLAGS-e_atan2-fma.c): Likewise.
33798 (CFLAGS-e_exp-fma.c): Likewise.
33799 (CFLAGS-e_log-fma.c): Likewise.
33800 (CFLAGS-e_pow-fma.c): Likewise.
33801 (CFLAGS-halfulp-fma.c): Likewise.
33802 (CFLAGS-mpa-fma.c): Likewise.
33803 (CFLAGS-mpatan-fma.c): Likewise.
33804 (CFLAGS-mpatan2-fma.c): Likewise.
33805 (CFLAGS-mpexp-fma.c): Likewise.
33806 (CFLAGS-mplog-fma.c): Likewise.
33807 (CFLAGS-mpsqrt-fma.c): Likewise.
33808 (CFLAGS-mptan-fma.c): Likewise.
33809 (CFLAGS-s_atan-fma.c): Likewise.
33810 (CFLAGS-sincos32-fma.c): Likewise.
33811 (CFLAGS-slowexp-fma.c): Likewise.
33812 (CFLAGS-slowpow-fma.c): Likewise.
33813 (CFLAGS-s_sin-fma.c): Likewise.
33814 (CFLAGS-s_tan-fma.c): Likewise.
33815 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
33816 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
33817 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
33818 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
33819 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
33820 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
33821 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
33822 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
33823 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
33824 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
33825 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
33826 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
33827 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
33828 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
33829 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
33830 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
33831 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
33832 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
33833 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
33834 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
33835 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
33836 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
33837 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
33838 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
33839 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33840 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33841 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33842 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33843 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33844 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33845 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33846
219dd320
JM
338472017-08-04 Joseph Myers <joseph@codesourcery.com>
33848
33849 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
33850 (min_of_type_f): New macro.
33851 (min_of_type_): Likewise.
33852 (min_of_type_l): Likewise.
33853 (min_of_type_f128): Likewise.
33854 (min_of_type): Define using __MATH_TG and taking an expression
33855 argument.
33856 (math_check_force_underflow): Pass expression instead of type to
33857 min_of_type.
33858 (math_check_force_underflow_nonneg): Likewise.
33859
64d4dea6
L
338602017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33861
33862 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33863 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
33864 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
33865
973da22a
L
338662017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33867
33868 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33869 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
33870 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
33871 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
33872 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
33873 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
33874 memcpy_chk-nonshared, mempcpy_chk-nonshared,
33875 memmove_chk-nonshared and memset_chk-nonshared
33876 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
33877 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
33878 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
33879 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
33880 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
33881 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
33882 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
33883 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
33884 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
33885 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
33886 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
33887 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
33888 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
33889 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
33890 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
33891 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
33892 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
33893 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
33894 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
33895 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
33896 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
33897 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
33898 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
33899 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
33900 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
33901 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
33902 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
33903 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
33904 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
33905 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
33906 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
33907 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
33908 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
33909 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33910 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33911 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
33912 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
33913 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
33914 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
33915 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
33916 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
33917 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
33918 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
33919 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
33920 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
33921 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
33922 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
33923 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33924 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33925 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33926 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33927 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33928 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33929 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33930 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33931 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33932 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33933 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33934 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33935 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33936 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33937 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33938 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33939 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33940 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33941 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33942 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33943 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33944 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33945 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33946 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33947 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33948 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33949 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33950 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33951 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33952 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33953 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33954 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33955 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33956 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33957 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33958 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33959 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33960 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33961 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33962 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33963 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33964 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33965 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33966 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33967 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33968 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33969 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33970 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33971 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33972 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33973 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33974 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33975 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33976 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33977 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33978 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33979 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33980 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33981 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33982 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33983 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33984
8537e0f6
L
339852017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33986
33987 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33988 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33989 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33990 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33991 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33992 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33993 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33994 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33995 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33996 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33997 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33998 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33999 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34000 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34001 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34002 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34003 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34004 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34005 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34006 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34007 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34008 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34009 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34010 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34011 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34012 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34013 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34014 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34015 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34016 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34017 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34018 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34019 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34020 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34021 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34022 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34023 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34024 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34025 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34026 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34027 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34028 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34029 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34030 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34031 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34032 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34033 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34034 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34035 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34036 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34037 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34038 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34039 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34040 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34041 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34042 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34043 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34044 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34045 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34046 ...
34047 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34048 Don't include <sysdep.h> nor <init-arch.h>.
34049 (_ZGVbN2v_cos): Removed.
34050 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34051 ...
34052 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34053 Don't include <sysdep.h> nor <init-arch.h>.
34054 (_ZGVdN4v_cos): Removed.
34055 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34056 ...
34057 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34058 Don't include <sysdep.h> nor <init-arch.h>.
34059 (_ZGVeN8v_cos): Removed.
34060 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34061 ...
34062 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34063 Don't include <sysdep.h> nor <init-arch.h>.
34064 (_ZGVbN2v_exp): Removed.
34065 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34066 ...
34067 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34068 Don't include <sysdep.h> nor <init-arch.h>.
34069 (_ZGVdN4v_exp): Removed.
34070 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34071 ...
34072 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34073 Don't include <sysdep.h> nor <init-arch.h>.
34074 (_ZGVeN8v_exp): Removed.
34075 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34076 ...
34077 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34078 Don't include <sysdep.h> nor <init-arch.h>.
34079 (_ZGVbN2v_log): Removed.
34080 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34081 ...
34082 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34083 Don't include <sysdep.h> nor <init-arch.h>.
34084 (_ZGVdN4v_log): Removed.
34085 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34086 ...
34087 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34088 Don't include <sysdep.h> nor <init-arch.h>.
34089 (_ZGVeN8v_log): Removed.
34090 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34091 ...
34092 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34093 Don't include <sysdep.h> nor <init-arch.h>.
34094 (_ZGVbN2vv_pow): Removed.
34095 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34096 ...
34097 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34098 Don't include <sysdep.h> nor <init-arch.h>.
34099 (_ZGVdN4vv_pow): Removed.
34100 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34101 ...
34102 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34103 Don't include <sysdep.h> nor <init-arch.h>.
34104 (_ZGVeN8vv_pow): Removed.
34105 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34106 ...
34107 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34108 Don't include <sysdep.h> nor <init-arch.h>.
34109 (_ZGVbN2v_sin): Removed.
34110 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34111 ...
34112 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34113 Don't include <sysdep.h> nor <init-arch.h>.
34114 (_ZGVbN4v_sin): Removed.
34115 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34116 ...
34117 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34118 Don't include <sysdep.h> nor <init-arch.h>.
34119 (_ZGVbN8v_sin): Removed.
34120 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34121 ...
34122 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34123 Don't include <sysdep.h> nor <init-arch.h>.
34124 (_ZGVbN2vvv_sincos): Removed.
34125 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34126 ...
34127 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34128 Don't include <sysdep.h> nor <init-arch.h>.
34129 (_ZGVdN4vvv_sincos): Removed.
34130 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34131 ...
34132 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34133 Don't include <sysdep.h> nor <init-arch.h>.
34134 (_ZGVeN8vvv_sincos): Removed.
34135 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34136 ...
34137 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34138 Don't include <sysdep.h> nor <init-arch.h>.
34139 (_ZGVeN16v_cosf): Removed.
34140 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34141 ...
34142 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34143 Don't include <sysdep.h> nor <init-arch.h>.
34144 (_ZGVbN4v_cosf): Removed.
34145 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34146 ...
34147 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34148 Don't include <sysdep.h> nor <init-arch.h>.
34149 (_ZGVdN8v_cosf): Removed.
34150 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34151 ...
34152 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34153 Don't include <sysdep.h> nor <init-arch.h>.
34154 (_ZGVeN16v_expf): Removed.
34155 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34156 ...
34157 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34158 Don't include <sysdep.h> nor <init-arch.h>.
34159 (_ZGVbN4v_expf): Removed.
34160 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34161 ...
34162 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34163 Don't include <sysdep.h> nor <init-arch.h>.
34164 (_ZGVdN8v_expf): Removed.
34165 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34166 ...
34167 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34168 Don't include <sysdep.h> nor <init-arch.h>.
34169 (_ZGVeN16v_logf): Removed.
34170 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34171 ...
34172 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34173 Don't include <sysdep.h> nor <init-arch.h>.
34174 (_ZGVbN4v_logf): Removed.
34175 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34176 ...
34177 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34178 Don't include <sysdep.h> nor <init-arch.h>.
34179 (_ZGVdN8v_logf): Removed.
34180 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34181 ...
34182 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34183 Don't include <sysdep.h> nor <init-arch.h>.
34184 (_ZGVeN16vv_powf): Removed.
34185 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34186 ...
34187 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34188 Don't include <sysdep.h> nor <init-arch.h>.
34189 (_ZGVbN4vv_powf): Removed.
34190 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34191 ...
34192 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34193 Don't include <sysdep.h> nor <init-arch.h>.
34194 (_ZGVdN8vv_powf): Removed.
34195 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34196 ...
34197 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34198 Don't include <sysdep.h> nor <init-arch.h>.
34199 (_ZGVeN16vvv_sincosf): Removed.
34200 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34201 ...
34202 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34203 Don't include <sysdep.h> nor <init-arch.h>.
34204 (_ZGVbN4vvv_sincosf): Removed.
34205 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34206 ...
34207 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34208 Don't include <sysdep.h> nor <init-arch.h>.
34209 (_ZGVdN8vvv_sincosf): Removed.
34210 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34211 ...
34212 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34213 Don't include <sysdep.h> nor <init-arch.h>.
34214 (_ZGVeN16v_sinf): Removed.
34215 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34216 ...
34217 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34218 Don't include <sysdep.h> nor <init-arch.h>.
34219 (_ZGVbN4v_sinf): Removed.
34220 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34221 ...
34222 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34223 Don't include <sysdep.h> nor <init-arch.h>.
34224 (_ZGVdN8v_sinf): Removed.
34225
10a87ca4
L
342262017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34227
34228 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34229 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34230 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34231 s_rint-sse4_1 and s_rintf-sse4_1.
34232 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34233 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34234 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34235 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34236 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34237 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34238 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34239 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34240 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34241 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34242 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34243 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34244 (__ceil): Removed.
34245 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34246 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34247 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34248 (__ceilf): Removed.
34249 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34250 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34251 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34252 (__floor): Removed.
34253 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34254 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34255 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34256 (__floorf): Removed.
34257 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34258 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34259 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34260 (__nearbyint): Removed.
34261 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34262 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34263 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34264 (__nearbyintf): Removed.
34265 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34266 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34267 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34268 (__rint): Removed.
34269 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34270 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34271 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34272 (__rintf): Removed.
34273
1e8e527d
L
342742017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34275
34276 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34277 SHARED. Avoid dynamic relocation against main in static PIE.
34278
e13daad7
L
342792017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34280
34281 [BZ #21815]
34282 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34283 (LDFLAGS-tst-prelink): Likewise.
34284
627c69c8
L
342852017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34286
34287 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34288 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34289 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34290 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34291 (INTERNAL_SYSCALL_NCS): Likewise.
34292 (LOADARGS_1): Likewise.
34293 (LOADARGS_5): Likewise.
34294 (RESTOREARGS_1): Likewise.
34295 (RESTOREARGS_5): Likewise.
34296
fc11ff8d
L
342972017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34298
34299 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34300 (MEMPCPY_SYMBOL): Likewise.
34301 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34302 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34303 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34304 in libc.a.
34305 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34306 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34307 Likewise.
34308 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34309 (__hidden_ver1): Don't use in libc.a.
34310 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34311 (__mempcpy): Don't create a weak alias in libc.a.
34312 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34313 libc.a.
34314 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34315 (__hidden_ver1): Don't use in libc.a.
34316
19f1a11e
L
343172017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34318
34319 * config.make.in (have-insert): New.
34320 * configure.ac (libc_cv_insert): New. Set to yes if linker
34321 supports INSERT in linker script.
34322 (AC_SUBST(libc_cv_insert): New.
34323 * configure: Regenerated.
34324 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34325 if $(have-insert) == yes.
34326
3093fd5e
L
343272017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34328
34329 * elf/Makefile (tests): Add vismain only if
34330 $(have-protected-data) == yes.
34331 (tests-pie): Likewise.
34332
d2cf37c0
L
343332017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34334
34335 [BZ #21871]
34336 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34337 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34338
c8a0e6ec
L
343392017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34340
34341 [BZ #21790]
34342 * sysdeps/i386/i586/memset.S
34343 (__memset_zero_constant_len_parameter): Removed.
34344 * sysdeps/i386/i686/memset.S
34345 (__memset_zero_constant_len_parameter): Likewise.
34346 * sysdeps/i386/i686/multiarch/memset_chk.S
34347 (__memset_zero_constant_len_parameter): Likewise.
34348 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34349 Likewise.
34350
2b34e271
AJ
343512017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34352
34353 * stdlib/getentropy.c (getentropy): Change return type to int.
34354
144bdab0
AJ
343552017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34356
34357 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34358
24ab7723
JM
343592017-08-03 Joseph Myers <joseph@codesourcery.com>
34360
34361 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34362 u_intN_t.
34363 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34364 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34365 Likewise.
34366 (ieee_float_shape_type): Likewise.
34367 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34368 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34369 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34370 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34371 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34372 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34373 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34374 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34375 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34376 Likewise.
34377 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34378 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34379 (__ieee754_yn): Likewise.
34380 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34381 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34382 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34383 Likewise.
34384 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34385 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34386 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34387 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34388 (__erfc): Likewise.
34389 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34390 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34391 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34392 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34393 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34394 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34395 Likewise.
34396 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34397 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34398 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34399 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34400 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34401 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34402 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34403 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34404 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34405 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34406 (__issignaling): Likewise.
34407 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34408 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34409 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34410 Likewise.
34411 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34412 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34413 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34414 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34415 Likewise.
34416 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34417 Likewise.
34418 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34419 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34420 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34421 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34422 (__erfcf): Likewise.
34423 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34424 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34425 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34426 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34427 Likewise.
34428 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34429 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34430 Likewise.
34431 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34432 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34433 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34434 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34435 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34436 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34437 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34438 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34439 Likewise.
34440 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34441 Likewise.
34442 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34443 Likewise.
34444 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34445 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34446 Likewise.
34447 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34448 Likewise.
34449 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34450 (__ieee754_ynl): Likewise.
34451 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34452 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34453 Likewise.
34454 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34455 Likewise.
34456 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34457 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34458 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34459 Likewise.
34460 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34461 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34462 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34463 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34464 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34465 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34466 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34467 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34468 Likewise.
34469 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34470 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34471 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34472 Likewise.
34473 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34474 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34475 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34476 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34477 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34478 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34479 Likewise.
34480 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34481 Likewise.
34482 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34483 Likewise.
34484 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34485 Likewise.
34486 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34487 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34488 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34489 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34490 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34491 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34492 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34493 Likewise.
34494 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34495 Likewise.
34496 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34497 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34498 Likewise.
34499 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34500 (__ieee754_remainderl): Likewise.
34501 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34502 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34503 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34504 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34505 Likewise.
34506 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34507 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34508 Likewise.
34509 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34510 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34511 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34512 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34513 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34514 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34515 Likewise.
34516 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34517 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34518 (__ieee754_y0l): Likewise.
34519 (pzero): Likewise.
34520 (qzero): Likewise.
34521 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34522 (__ieee754_y1l): Likewise.
34523 (pone): Likewise.
34524 (qone): Likewise.
34525 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34526 (__ieee754_ynl): Likewise.
34527 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34528 (__ieee754_lgammal_r): Likewise.
34529 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34530 Likewise.
34531 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34532 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34533 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34534 (__erfcl): Likewise.
34535 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34536 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34537 Likewise.
34538 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34539 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34540 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34541 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34542 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34543 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34544 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34545 Likewise.
34546 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34547 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34548 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34549 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34550 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34551 Likewise.
34552 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34553 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34554 Likewise.
34555 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34556 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34557 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34558 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34559 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34560
964263bb
FW
345612017-08-03 Florian Weimer <fweimer@redhat.com>
34562
34563 [BZ #21885]
34564 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34565 on memory allocation failure.
34566
e98c925f
AM
345672017-08-03 Alan Modra <amodra@gmail.com>
34568
34569 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34570 tst-tlsopt-powerpc.c with function name change and no test harness.
34571 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34572 Call tls_get_addr_opt_test.
34573 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34574 (modules-names): Add mod-tlsopt-powerpc.
34575 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34576 (tst-tlsopt-powerpc): Depend on .so.
34577 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34578 define. Expand use in TLS_GD and TLS_LD.
34579
8ee1abdb
ST
345802017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34581
34582 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34583 function.
3da5756e 34584 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 34585
42df8d59
JM
345862017-08-02 Joseph Myers <joseph@codesourcery.com>
34587
34588 [BZ #21686]
34589 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34590 comparing size with that of double.
34591 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34592 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34593 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34594 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34595 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34596 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34597 unsigned __int128 types.
34598
b7f95f49
SE
345992017-08-02 Steve Ellcey <sellcey@cavium.com>
34600
34601 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34602 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34603 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34604 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34605 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34606
5b736bc9
L
346072017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34608
34609 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34610
dfc93c41
L
346112017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34612
34613 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34614 of SHARED.
34615 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34616 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34617 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34618 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34619 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34620 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34621 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34622
2fee621d
JM
346232017-08-02 Joseph Myers <joseph@codesourcery.com>
34624
34625 [BZ #21685]
34626 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34627 bit-field expressions passed to sizeof or typeof.
34628 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34629 (__TGMATH_F128): Likewise.
34630 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34631 (__TGMATH_CF128): Likewise.
34632 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34633 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34634 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34635 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34636 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34637 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34638 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34639 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34640 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34641 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34642 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34643 (__TGMATH_UNARY_IMAG): Likewise.
34644 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34645 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34646 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34647 type.
34648 (define_vars_for_type): Handle bit_field type specially.
34649 (Tests.__init__): Declare structure with bit-field element.
34650
b358255f
L
346512017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34652
34653 [BZ #21791]
34654 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34655 (MEMCPY_CHK): Define only if SHARED is defined.
34656 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34657 Likewise.
34658 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34659 Likewise.
edf66db1
SP
34660
34661See ChangeLog.18 for earlier changes.