]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
tt_RU: Fix orthographic mistakes in mon and abmon sections [BZ #24369]
[thirdparty/glibc.git] / ChangeLog
CommitLineData
182a3746 12019-05-28 mansayk <6688000@gmail.com>
2
3 [BZ #24369]
4 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
5 (abmon): Likewise, but remove the trailing dots.
6
c6df1ce3
JM
72019-05-28 Joseph Myers <joseph@codesourcery.com>
8
9 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
10
85188d82
FW
112019-05-27 Florian Weimer <fweimer@redhat.com>
12
13 * nptl/nptl-init.c: Add comment.
14
5c23c821
FW
152019-05-24 Florian Weimer <fweimer@redhat.com>
16
17 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
18 struct in_addr/struct in6_addr alignment.
19
bee1f2c4
JM
202019-05-23 Joseph Myers <joseph@codesourcery.com>
21
22 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
23 (F_SEAL_FUTURE_WRITE): New macro.
24
481c30cb
AH
252019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
26
27 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
28 * elf/tst-ldconfig-bad-aux-cache.c: New file.
29 * elf/tst-ldconfig_aux-cache.root: New directory.
30 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
31 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
32 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
33
cb755eed
ZW
342019-05-22 Zack Weinberg <zackw@panix.com>
35
36 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
37 host type.
38 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
39 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
40
41 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
42 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
43 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
44 Delete.
45
46 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
47 Issue an #error if used with a compiler in SPE-float mode.
48 * sysdeps/powerpc/powerpc32/__longjmp_common.S
49 * sysdeps/powerpc/powerpc32/setjmp_common.S
50 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
51 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
52 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
53 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
54 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
55 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
56 Remove code to preserve SPE register state.
57
58 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
59 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
60 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
61 Remove __SPE__ ifndefs.
62
46ae0732
WD
632019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
64
65 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
66 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
67 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
68 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
69 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
70 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
71 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
72 (INNER_LOOP_ITERS_MEDIUM): New define.
73 (INNER_LOOP_ITERS_SMALL): New define.
74 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
75 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
76 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
77 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
78 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
79
004e52fe
AZ
802019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
81
82 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
83 New define.
84 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
85 (SEMTIMEDOP_IPC_ARGS): Likewise.
86
c9c15ac3
FW
872019-05-21 Florian Weimer <fweimer@redhat.com>
88
89 [BZ #24584]
90 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
91 before updating __counter field and release it afterwards. Add
92 overflow check.
93 * iconv/gconv.h (struct __gconv_step): Mention synchronization
94 requirement for __counter member.
95
7e740ab2
FW
962019-05-21 Florian Weimer <fweimer@redhat.com>
97
98 [BZ #24583]
99 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
100 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
101 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
102 instead of __gconv_release_step.
103 * libio/Makefile (tests): Add tst-wfile-gconv.
104 (tests-container): Add tst-wfile-ascii.
105 (tst-wfile-gconv-ENV): Enable mtrace.
106 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
107 (tests-special): Add tst-wfile-gconv-mem.out.
108 (tst-wfile-gconv.out): Depend on locales.
109 (tst-wfile-gconv-mem.out): Add mtrace rule.
110 * libio/tst-wfile-ascii.c: New file.
111 * libio/tst-wfile-gconv.c: Likewise.
112
09e1b0e3
FW
1132019-05-20 Florian Weimer <fweimer@redhat.com>
114
115 [BZ #24588]
116 libio: Remove codecvt vtable.
117 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
118 __libio_codecvt.
119 * libio/iofgetpos.c (_IO_new_fgetpos): Call
120 __libio_codecvt_encoding.
121 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
122 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
123 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
124 * libio/iofwide.c (__libio_codecvt): Remove variable.
125 (_IO_fwide): Do not copy __libio_codecvt.
126 (__libio_codecvt_out): Rename from do_out and export.
127 (do_unshift): Remove function.
128 (__libio_codecvt_in): Rename from do_in and export.
129 (__libio_codecvt_encoding): Rename from do_encoding and export.
130 (do_always_noconv): Remove function.
131 (__libio_codecvt_length): Rename from do_length and export.
132 (do_max_length): Remove function.
133 * libio/libio.h (enum __codecvt_result): Remove definition; moved
134 to libioP.h.
135 (struct _IO_codecvt): Remove fields __codecvt_destr,
136 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
137 __codecvt_do_encoding, __codecvt_do_always_noconv,
138 __codecvt_do_length, __codecvt_do_max_length.
139 * libio/libioP.h (enum __codecvt_result): Define; moved from
140 libio.h.
141 (__libio_codecvt_out, __libio_codecvt_in)
142 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
143 functions.
144 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
145 (_IO_wfile_underflow): Call __libio_codecvt_in.
146 (_IO_wfile_underflow): Likewise.
147 (_IO_wfile_underflow_mmap): Likewise.
148 (_IO_wfile_sync): Call __libio_codecvt_encoding,
149 __libio_codecvt_length.
150 (adjust_wide_data): Call __libio_codecvt_encoding,
151 __libio_codecvt_in.
152 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
153 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
154 __libio_codecvt_length.
155
75c51570
FW
1562019-05-20 Florian Weimer <fweimer@redhat.com>
157
158 * support/support.h (support_sbindir_prefix): Declare.
159 (support_install_rootsbindir): Update comment.
160 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
161 * support/support_paths.c (support_sbindir_prefix): Define.
162
ff6bec7d
MC
1632019-05-20 Mike Crowe <mac@mcrowe.com>
164
b62bb3bc
MC
165 * support/timespec.c: Add backslash to correct newline in failure
166 message.
167
ff6bec7d
MC
168 * support/timespec.h: Correct confusing comment.
169
dfba907f
AZ
1702019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
171
236c18e5
AZ
172 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
173 define.
174 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
175 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
176 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
177 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
178
dfba907f
AZ
179 [BZ #24570]
180 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
181 usage.
182
13886008
JM
1832019-05-20 Joseph Myers <joseph@codesourcery.com>
184
185 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
186 (NT_ARM_PACG_KEYS): Likewise.
187
1f50f2ad
WD
1882019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
189
190 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
191 (tcache_put): Remove redundant assert.
192 (tcache_get): Remove redundant asserts.
193 (__libc_malloc): Check tcache count is not zero.
194 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
195
fef7c63c
FW
1962019-05-17 Florian Weimer <fweimer@redhat.com>
197
198 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
199
5f161b23
JM
2002019-05-16 Joseph Myers <joseph@codesourcery.com>
201
202 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
203 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
204 0x050100].
205 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
206 Likewise.
207 * sysdeps/unix/sysv/linux/sh/kernel-features.h
208 (__ASSUME_STATX): Likewise.
209
ec255a97
FW
2102019-05-16 Florian Weimer <fweimer@redhat.com>
211
212 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
213 flags argument.
214 (LINE_PARSER): Do not map IPv4 addresses.
215 (internal_nis_gethostent_r): Remove flags argument. Adjust call
216 to parse_line.
217 (_nss_nis_gethostent_r): Always pass AF_INET to
218 internal_nis_gethostent_r.
219 (internal_gethostbyname2_r): Remove flags argument. Adjust call
220 to parse_line.
221 (_nss_nis_gethostbyname2_r): Adjust call to
222 internal_nis_gethostent_r.
223 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
224 call to internal_nis_gethostent_r.
225 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
226 from parse_line.
227 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
228 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
229 Remove flags argument. Do not map IPv4 addresses.
230 (internal_nisplus_gethostent_r): Adjust call to
231 _nss_nisplus_parse_hostent.
232 (internal_gethostbyname2_r): Remove flags argument. Adjust call
233 to _nss_nisplus_parse_hostent.
234 (_nss_nisplus_gethostbyname2_r): Adjust call to
235 internal_gethostbyname2_r.
236 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
237 Adjust call to internal_gethostbyname2_r.
238 (_nss_nisplus_gethostbyaddr_r): Adjust call to
239 _nss_nisplus_parse_hostent.
240 (_nss_nisplus_gethostbyname4_r): Adjust call to
241 internal_gethostbyname2_r.
242
9c02d078
FW
2432019-05-16 Florian Weimer <fweimer@redhat.com>
244
245 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
246 Remove flags.
247 (LINE_PARSER): Remove address mapping.
248 (EXTRA_ARGS_VALUE): Remove flags argument.
249 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
250 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
251 gethostbyname3_multi.
252 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
253 _nss_files_gethostbyname3_r.
254 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
255
85b0e1e8
FW
2562019-05-16 Florian Weimer <fweimer@redhat.com>
257
258 * support/support_test_compare_blob.c (report_blob): Report
259 incorrect NULL blobs.
260
11b451c8
MW
2612019-05-15 Mark Wielaard <mark@klomp.org>
262
263 [BZ# 24476]
264 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
265 __libc_once_get (once) and static_buf == NULL.
266 (__dlerror): Check we have a valid key, set result to static_buf
267 otherwise.
268
32ff3975
AS
2692019-05-15 Andreas Schwab <schwab@suse.de>
270
271 [BZ #20568]
272 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
273 __codecvt_do_length.
274 * libio/Makefile (tests): Add tst-wfile-sync.
275 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
276 * libio/tst-wfile-sync.c: New file.
277 * libio/tst-wfile-sync.input: New file.
278
a9368c34
FW
2792019-05-15 Florian Weimer <fweimer@redhat.com>
280
281 nss: Turn __nss_database_lookup into a compatibility symbol.
282 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
283 __nss_database_lookup.
284 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
285 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
286 __nss_database_lookup.
287 (__nss_next): Move to …
288 * nss/compat-lookup.c (nss_next): … here. Change it to fail
289 unconditionally.
290 (__nss_database_lookup): New function.
291 * nss/Versions (GLIBC_2.0): Update comment.
292 (GLIBC_PRIVATE): Export __nss_database_lookup2.
293 * grp/initgroups.c (internal_getgrouplist): Call
294 __nss_database_lookup2 instead of __nss_database_lookup.
295 * nscd/aicache.c (addhstaiX): Likewise.
296 * nscd/initgrcache.c (addinitgroupsX): Likewise.
297 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
298 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
299 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
300 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
301 Likewise.
302 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
303 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
305
d50f0918 3062019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 307
d50f0918
AH
308 * support/support.h (support_install_rootsbindir): New variable.
309 * support/support_paths.c: Likewise.
310 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
311
7ac6fad9
FW
3122019-05-15 Florian Weimer <fweimer@redhat.com>
313
314 * iconv/gconv.h (__gconv_transliterate): Move declaration …
315 * iconv/gconv_int.h (__gconv_transliterate): … here.
316 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
317 * iconv/skeleton.c: Likewise.
318
04b261bd
FW
3192019-05-14 Florian Weimer <fweimer@redhat.com>
320
321 Linux: Add the tgkill function.
322 * bits/signal_ext.h: New file.
323 * manual/signal.texi (Signaling Another Process): Document tgkill.
324 * signal/Makefile (headers): Add bits/signal_ext.h.
325 * signal/signal.h: Include <bits/signal_ext.h>.
326 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
327 (tst-tgkill): Link with libpthread.
328 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
329 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
330 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
331 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
332 tgkill.
333 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
334 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
335 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
336 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
337 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
338 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
339 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
340 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
341 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
342 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
343 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
344 Likewise.
345 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
346 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
347 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
349 Likewise.
350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
351 Likewise.
352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
353 Likewise.
354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
355 Likewise.
356 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
357 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
358 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
359 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
360 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
361 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
362 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
363 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
364
6807f47b
CD
3652019-05-14 Carlos O'Donell <carlos@redhat.com>
366
367 * manual/search.texi (Tree Search Function): Adjust twalk_r
368 documentation.
369
fdb8a0be
AZ
3702019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
371
da2b83ef
AZ
372 [BZ #24544]
373 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
374 pre-defined value.
375
c7ac9caa
AZ
376 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
377 * support/support.h (support_bindir_prefix): New variable.
378 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
379
91f043ae
AZ
380 * config.make.in (bindir): New variable.
381
c50e1c26
AZ
382 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
383 (lll_trylock): Call __lll_trylock.
384 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
385 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
386 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
387 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
388 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
389 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
390 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
391 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
392 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
393 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
394 lowlevellock-futex.h.
395
959aff9f
AZ
396 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
397 initialization for LLL_LOCK_INITIALIZER different than 0.
398 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
399 Assume LLL_LOCK_INITIALIZER being 0.
400 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
401 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
402 Likewise.
403 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
404 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
405
d7e4c642
AZ
406 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
407 Optimize futex call and add systemtap probe.
408
fdb8a0be
AZ
409 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
410 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
411 __libc_disable_asynccancel, __librt_enable_asynccancel,
412 __libc_disable_asynccancel, __librt_enable_asynccancel,
413 __librt_disable_asynccancel): Move to ...
414 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
415 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
416 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
417 * sysdeps/generic/single-thread.h: New file.
418 * sysdeps/unix/sysdep.h: Include single-thread.h.
419 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
420 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
421
f6efec90
MF
4222019-05-08 Mike FABIAN <mfabian@redhat.com>
423
424 [BZ #24535]
425 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
426 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
427 Unicode 12.1.0.
428 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
429 * localedata/unicode-gen/PropList.txt: Likewise.
430 * localedata/unicode-gen/UnicodeData.txt: Likewise.
431 * localedata/charmaps/UTF-8: Regenerate.
432 * localedata/locales/i18n_ctype: Likewise.
433 * localedata/locales/tr_TR: Likewise.
434 * localedata/locales/translit_circle: Likewise.
435 * localedata/locales/translit_cjk_compat: Likewise.
436 * localedata/locales/translit_combining: Likewise.
437 * localedata/locales/translit_compat: Likewise.
438 * localedata/locales/translit_font: Likewise.
439 * localedata/locales/translit_fraction: Likewise.
440
5ad533e8
WD
4412019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
442
443 [BZ #24531]
444 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
445 (do_set_tcache_count): Only update if count is small enough.
446 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
447
4aee85f9
FW
4482019-05-10 Florian Weimer <fweimer@redhat.com>
449
450 * nptl/sem_close.c (struct walk_closure): Define.
451 (walker): Adjust for __twalk_r.
452 (sem_close): Call __twalk_r.
453
eb669ff5
AZ
4542019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
455
456 * support/timespec.c (test_timespec_before_impl,
457 test_timespec_equal_or_after_impl): print timespec member as intmax_t
458 insted of long int.
459
51983996
MC
4602019-05-09 Mike Crowe <mac@mcrowe.com>
461
44ac6ee9
MC
462 * nptl/tst-abstime.c: Use libsupport.
463
495514ee
MC
464 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
465 small bug where only tv.tv_usec was checked which could cause an
466 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
467 than a second.
468
469 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
470 libsupport.
471
40d0816f
MC
472 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
473 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
474
d8e0b901
MC
475 * nptl/tst-cond11.c: Use libsupport.
476
51983996
MC
477 * support/timespec.h: New file. Provide timespec helper functions
478 along with macros in the style of those in check.h.
479 * support/timespec.c: New file. Implement check functions declared
480 in support/timespec.h.
481 * support/timespec-add.c: New file from gnulib containing
482 timespec_add implementation that handles overflow.
483 * support/timespec-sub.c: New file from gnulib containing
484 timespec_sub implementation that handles overflow.
485 * support/README: Mention timespec.h.
486
18aa51ee
SN
4872019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
488
489 [BZ #24537]
490 * nptl/Makefile: Move tst-eintr1 to xtests.
491
252296c6
AZ
4922019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
493
ae45cf84
AZ
494 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
495 TRUNC handling.
496 (round_mode): Add definition for TRUNC.
497 * sysdeps/powerpc/fpu/s_trunc.c: New file.
498 * sysdeps/powerpc/fpu/s_truncf.c: New file.
499 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
500 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
501 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
502 Likewise.
503 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
504 Likewise.
505 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
506 Likewise.
507 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
508 Likewise.
509 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
510 file.
511 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
512 Likewise.
513 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
514 Likewise.
515 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
516 Likewise.
517 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
518 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
519 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
520 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
521 s_truncf-power5+, and s_truncf-ppc64.
522 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
523 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
524 file.
525 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
527 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
528 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
529 file.
530 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
531 Likewise.
532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
533 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
534 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
535 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
536 s_truncf-power5+, and s_truncf-ppc64.
537 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
538 file.
539 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
540 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
541 Likewise.
542 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
543 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
544 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
545 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
546 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
547
a1cb1888
AZ
548 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
549 ROUND handling.
550 (round_mode): Add definition for ROUND.
551 (round_to_integer_float): Likewise.
552 * sysdeps/powerpc/fpu/s_round.c: New file.
553 * sysdeps/powerpc/fpu/s_roundf.c: New file.
554 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
555 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
556 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
557 Likewise.
558 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
559 Likewise.
560 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
561 Likewise.
562 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
563 Likewise.
564 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
565 file.
566 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
567 Likewise.
568 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
569 Likewise.
570 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
571 Likewise.
572 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
573 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
574 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
575 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
576 s_roundf-power5+, and s_roundf-ppc64.
577 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
578 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
579 file.
580 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
582 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
583 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
584 file.
585 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
586 Likewise.
587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
588 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
590 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
591 s_roundf-power5+, and s_roundf-ppc64.
592 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
593 file.
594 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
595 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
596 Likewise.
597 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
598 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
599 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
600 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
601 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
602
252296c6
AZ
603 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
604 Add FLOOR option.
605 (round_mode): Add definition for FLOOR.
606 * sysdeps/powerpc/fpu/s_floor.c: New file.
607 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
608 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
609 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
611 Remove file.
612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
613 Likewise
614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
615 Likewise.
616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
617 Likewise.
618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
619 New file.
620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
621 Likewise.
622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
623 Likewise.
624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
625 Likewise.
626 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
627 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
628 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
629 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
630 s_floorf-power5+, and s_floorf-ppc64.
631 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
632 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
633 file.
634 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
636 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
637 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
638 file.
639 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
640 Likewise.
641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
642 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
643 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
644 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
645 s_floorf-power5+, and s_floorf-ppc64.
646 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
647 file.
648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
649 file.
650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
651 Likewise.
652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
653 Likewise.
654 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
655 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
656 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
657 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
658
33647a72
MC
6592019-05-08 Mike Crowe <mac@mcrowe.com>
660
661 * support/xclock_gettime.c (xclock_gettime): New file. Provide
662 clock_gettime wrapper for use in tests that fails the test rather
663 than returning failure.
664
665 * support/xtime.h: New file to declare xclock_gettime.
666
667 * support/Makefile: Add xclock_gettime.c.
668
669 * support/README: Mention xtime.h.
670
b2f601ba
FW
6712019-05-08 Florian Weimer <fweimer@redhat.com>
672
673 malloc/tst-mallocfork2: Use process-shared barriers.
674 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
675 (signal_count, sigusr1_sender_pid): Remove.
676 (iterations): Define constant.
677 (shared): New variable.
678 (sigusr1_received): Update comment.
679 (sigusr1_handler): Do not send SIGSTOP to the sender process.
680 (signal_sender): Optional use barriers to avoid sending signals
681 during irrelevant times.
682 (do_it): Initialize variable shared. Use xfork for error
683 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
684 the iteration count, independent of signal delivery. Check for
685 deadlocks in fork. Introduce barriers for reducing signal
686 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
687 replaced by the barriers. Count signals during fork/free/malloc
688 and report them.
689 * malloc/Makefile (tst-mallocfork): Link with libpthread.
690
c4a392cf
JM
6912019-05-07 Joseph Myers <joseph@codesourcery.com>
692
7621676f
JM
693 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
694 version to 5.1.
695 (clock_adjtime64) New syscall.
696 (clock_getres_time64) Likewise.
697 (clock_gettime64) Likewise.
698 (clock_nanosleep_time64) Likewise.
699 (clock_settime64) Likewise.
700 (futex_time64) Likewise.
701 (io_pgetevents_time64) Likewise.
702 (io_uring_enter) Likewise.
703 (io_uring_register) Likewise.
704 (io_uring_setup) Likewise.
705 (mq_timedreceive_time64) Likewise.
706 (mq_timedsend_time64) Likewise.
707 (pidfd_send_signal) Likewise.
708 (ppoll_time64) Likewise.
709 (pselect6_time64) Likewise.
710 (recvmmsg_time64) Likewise.
711 (rt_sigtimedwait_time64) Likewise.
712 (sched_rr_get_interval_time64) Likewise.
713 (semtimedop_time64) Likewise.
714 (timer_gettime64) Likewise.
715 (timer_settime64) Likewise.
716 (timerfd_gettime64) Likewise.
717 (timerfd_settime64) Likewise.
718 (utimensat_time64) Likewise.
719
c4a392cf
JM
720 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
721 version to 9 branch.
722
32e902a9
AY
7232019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
724
725 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
726 __memmove_thunderx2 to the list of implementations
727 * sysdeps/aarch64/multiarch/memmove.c: Likewise
728 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
729 (__memmove_thunderx2): Rewritten using SIMD ld/st
730 (__memcpy_thunderx2): Fixed handling overlapping cases.
731 Used ldp/stp instead of ldr/str if possible. Made loops
732 tails branchless.
733
ac3da35d
FW
7342019-05-03 Florian Weimer <fweimer@redhat.com>
735
736 * misc/tst-tsearch.c (walk_tree): Add more error checking.
737
b2af6fb2
AZ
7382019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
739
7dfde28a 740 [BZ #24506]
b2af6fb2
AZ
741 * elf/tst-pldd.c (in_str_list): New function.
742 (do_test): Add default names for ld and libc as one option.
743
7b807a35
FW
7442019-05-02 Florian Weimer <fweimer@redhat.com>
745
746 misc: Add twalk_r function.
747 * include/search.h (__twalk_r): Declare.
748 * manual/examples/twalk.c: New file.
749 * manual/search.texi (Tree Search Function): Document twalk_r.
750 * misc/Versions (2.30): Export twalk_r.
751 (GLIBC_PRIVATE): Export __twalk_r.
752 * misc/search.h [__USE_GNU] (twalk_r): Declare.
753 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
754 (twalk_r): Add weak alias.
755 * misc/tst-tsearch.c (struct walk_trace_element): Define.
756 (walk_trace): New variable.
757 (struct twalk_with_twalk_r_closure): Define.
758 (twalk_with_twalk_r_action): New function.
759 (twalk_with_twalk_r): Likewise.
760 (walk_action): Call walk_trace_add.
761 (walk_tree_with): Rename from walk_tree. Add walk argument.
762 (walk_tree): New function.
763 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
764 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
765 Likewise.
766 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
767 Likewise.
768 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
769 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
770 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
771 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
772 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
773 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
774 Likewise.
775 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
776 Likewise.
777 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
778 Likewise.
779 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
780 (GLIBC_2.30): Likewise.
781 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
782 (GLIBC_2.30): Likewise.
783 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
784 (GLIBC_2.30): Likewise.
785 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
786 (GLIBC_2.30): Likewise.
787 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
788 Likewise.
789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
790 (GLIBC_2.30): Likewise.
791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
792 (GLIBC_2.30): Likewise.
793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
794 (GLIBC_2.30): Likewise.
795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
796 (GLIBC_2.30): Likewise.
797 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
798 Likewise.
799 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
800 Likewise.
801 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
802 Likewise.
803 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
804 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
805 Likewise.
806 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
807 Likewise.
808 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
809 Likewise.
810 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
811 Likewise.
812
20aa5819
PE
8132019-04-30 Paul Eggert <eggert@cs.ucla.edu>
814
815 Make mktime etc. compatible with __time64_t
816 Keep these functions compatible with Gnulib while adding
817 __time64_t support. The basic idea is to move private API
818 declarations from include/time.h to time/mktime-internal.h, since
819 the former file cannot easily be shared with Gnulib whereas the
820 latter can.
821 Also, do some other minor cleanup while in the neighborhood.
822 * include/time.h: Include stdbool.h, time/mktime-internal.h.
823 (__mktime_internal): Move this prototype to time/mktime-internal.h,
824 since Gnulib needs it.
825 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
826 Move these macros to time/mktime-internal.h, since Gnulib needs them.
827 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
828 (in_time_t_range): New static function.
829 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
830 so that glibc users are not tempted to use __time64_t.
831 * time/mktime-internal.h: Rewrite so that it does both glibc
832 and Gnulib work. Include time.h if not _LIBC.
833 (mktime_offset_t) [!_LIBC]: Define for gnulib.
834 (__time64_t): New type or macro, moved here from
835 posix/bits/types.h.
836 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
837 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
838 from include/time.h.
839 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
840 New macros, taken from GNulib.
841 (__mktime_internal): New prototype, moved here from include/time.h.
842 * time/mktime.c (mktime_min, mktime_max, convert_time)
843 (ranged_convert, __mktime_internal, __mktime64):
844 * time/timegm.c (__timegm64):
845 Use __time64_t, not time_t.
846 * time/mktime.c: Stop worrying about whether time_t is floating-point.
847 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
848 Rename from mktime.
849 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
850 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
851 for libc_hidden_def.
852 Include errno.h.
853 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
854 Rename from timegm.
855 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
856
87c266d7
MR
8572019-04-30 Maciej W. Rozycki <macro@wdc.com>
858
859 [BZ #19444]
860 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
861 from `-Wmaybe-uninitialized'.
862 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
863
c4c0848b
AZ
8642019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
865
6cac323c
AZ
866 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
867 function.
868 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
869 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
870 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
871 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
872 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
874 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
876 Remove file.
877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
878 Likewise.
879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
880 Likewise.
881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
882 Likewise.
883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
884 New file.
885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
886 Likewise.
887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
888 Likewise.
889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
890 Likewise.
891 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
892 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
893 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
894 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
895 Likewise.
896 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
897 Likewise.
898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
899 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
900 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
901 file.
902 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
903 Likewise.
904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
905 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
906 * here.
907 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
908 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
909 s_ceilf-power5+, and s_ceilf-ppc64.
910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
911 file.
912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
915 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
916 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
917 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
918 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
919
c4c0848b
AZ
920 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
921 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
922 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
923
f492fc99
YD
9242019-04-29 Yann Droneaud <ydroneaud@opteya.com>
925
926 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
927 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
928 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
929 (sem_getvalue): Likewise.
930
c57afec0
FW
9312019-04-26 Florian Weimer <fweimer@redhat.com>
932
933 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
934 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
935
a8ff215e
FW
9362019-04-26 Florian Weimer <fweimer@redhat.com>
937
938 Makeconfig: Move -Wl,-rpath-link options before library references.
939 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
940 (link-libc): Remove $(link-libc-rpath-link).
941
9422019-04-25 Florian Weimer <fweimer@redhat.com>
943
944 * Makeconfig (+link-pie-before-libc): Remove $(CC).
945 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
946 (+link-static-before-libc): Remove $(CC).
947 (+link-static, +link-static-tests): Add $(CC).
948 (+link-before-libc): Remove $(CC).
949 (+link, +link-pie, +link-pie-printers): Add $(CC).
950
e30fb31c
FW
9512019-04-26 Florian Weimer <fweimer@redhat.com>
952
953 * Makeconfig (+link-pie-before-libc): Remove $(CC).
954 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
955 (+link-static-before-libc): Remove $(CC).
956 (+link-static, +link-static-tests): Add $(CC).
957 (+link-before-libc): Remove $(CC).
958 (+link, +link-pie, +link-pie-printers): Add $(CC).
959
deacca00
DA
9602019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
961
962 [BZ#24484]
963 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
964
b5ffdc48
FW
9652019-04-25 Florian Weimer <fweimer@redhat.com>
966
967 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
968 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
969 (bench-link-targets): New variable.
970 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
971
94a4e9e4
FW
9722019-04-25 Florian Weimer <fweimer@redhat.com>
973
974 Also enable BIND_NOW for programs if --enable-bind-now.
975 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
976 (+link-pie): Use $(link-extra-flags).
977 (+link-static): Likewise.
978 [! $(build-pie-default)] (+link): Likewise.
979 * manual/install.texi (Configuring and compiling): Update
980 --enable-bind-now description.
981 * INSTALL: Regenerated.
982
fe92a91f
WD
9832019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
984
985 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
986 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
987
f9b645b4
MF
9882019-04-24 Mike Frysinger <vapier@gentoo.org>
989
990 [BZ #18465]
991 * malloc/Makefile (others): Add memusagestat.
992 ($(objpfx)memusagestat): Delete rule.
993 (LDLIBS-memusagestat): New variable.
994
439bf534
FW
9952019-04-24 Florian Weimer <fweimer@redhat.com>
996
997 * locale/Makefile (tests-special): Guard setting by
998 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
999 to run while cross-compiling.
1000
1a4c2735
AZ
10012019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1002
1003 [BZ #18035]
1004 * elf/Makefile (tests-container): Add tst-pldd.
1005 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1006 (E(find_maps)): Avoid use alloca, use default read file operations
1007 instead of explicit LFS names, and fix infinite loop.
1008 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1009 (get_process_info): Use _Static_assert instead of assert, use default
1010 directory operations instead of explicit LFS names, and free some
1011 leadek pointers.
1012 * elf/tst-pldd.c: New file.
1013
2d398aa2
L
10142019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1015
1016 * malloc/arena.c (do_set_mallopt_check): Removed.
1017
e485b2b6
FW
10182019-04-23 Florian Weimer <fweimer@redhat.com>
1019
1020 locale: Add LOCPATH diagnostics to the locale program.
1021 * locale/programs/locale.c (setlocale_failed): New variable.
1022 (try_setlocale): New function.
1023 (quote_string): Likewise.
1024 (setlocale_diagnostics): Likewise.
1025 (main): Call try_setlocale instead of setlocale. Call
1026 setlocale_diagnostics.
1027 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1028 (tst-locale-locpath.out): New target.
1029 * locale/tst-locale-locpath.sh: New file.
1030
25f7a3c9
AZ
10312019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1032
1033 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1034 to 2.30 notes.
1035
9bf8e29c
AZ
10362019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1037
1038 [BZ #23741]
1039 * malloc/hooks.c (malloc_check, realloc_check): Use
1040 __builtin_add_overflow on overflow check and adapt to
1041 checked_request2size change.
1042 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1043 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1044 allocation size to PTRDIFF_MAX.
1045 (REQUEST_OUT_OF_RANGE): Remove macro.
1046 (checked_request2size): Change to inline function and limit maximum
1047 requested size to PTRDIFF_MAX.
1048 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1049 maximum allocation size to PTRDIFF_MAX.
1050 (_mid_memalign): Use _int_memalign call for overflow check.
1051 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1052 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1053 limit maximum requested size to PTRDIFF_MAX.
1054 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1055 valloc, pvalloc): Add __attribute_alloc_size__.
1056 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1057 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1058 larger than PTRDIFF_MAX.
1059 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1060 around tests of malloc with negative sizes.
1061 * malloc/tst-posix_memalign.c (do_test): Likewise.
1062 * malloc/tst-pvalloc.c (do_test): Likewise.
1063 * malloc/tst-valloc.c (do_test): Likewise.
1064 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1065 with resulting size allocation larger than PTRDIFF_MAX with
1066 reallocarray_nowarn.
1067 (reallocarray_nowarn): New function.
1068 * NEWS: Mention the malloc function semantic change.
1069
0e169691
AZ
10702019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1071
52faba65
AZ
1072 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1073 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1074
3a16dd78
AZ
1075 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1076 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1077 * sysdeps/powerpc/fpu/s_fma.c: New file.
1078 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1079
1dac8bd6
AZ
1080 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1081 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1082
a3ae315a
AZ
1083 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1084 the magic flag store.
1085 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1086 Likewise.
1087 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1088 Likewise.
1089 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1090 Remove rt_sigreturn call.
1091
ffe8a9a8
AZ
1092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1093 Remove rt_sigreturn call.
1094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1095 Likewise.
1096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1098
0e169691
AZ
1099 * support/Makefile (libsupport-routines): Add support_subprocess,
1100 xposix_spawn, xposix_spawn_file_actions_addclose, and
1101 xposix_spawn_file_actions_adddup2.
1102 (tst-support_capture_subprocess-ARGS): New rule.
1103 * support/capture_subprocess.h (support_capture_subprogram): New
1104 prototype.
1105 * support/support_capture_subprocess.c (support_capture_subprocess):
1106 Refactor to use support_subprocess and support_capture_poll.
1107 (support_capture_subprogram): New function.
1108 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1109 str_to_write_mode, test_common, parse_int, handle_restart,
1110 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1111 (do_test): Add support_capture_subprogram tests.
1112 * support/subprocess.h: New file.
1113 * support/support_subprocess.c: Likewise.
1114 * support/xposix_spawn.c: Likewise.
1115 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1116 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1117 * support/xspawn.h: Likewise.
1118
bae8cf0e
MG
11192019-04-17 Mike Gerow <gerow@google.com>
1120
1121 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1122 groups limit.
1123
e3f454ba
FW
11242019-04-11 Florian Weimer <fweimer@redhat.com>
1125
1126 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1127 domain with empty string.
1128 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1129
32d85c11
FW
11302019-04-11 Florian Weimer <fweimer@redhat.com>
1131
1132 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1133 comment.
1134 (alloc_buffer_next): Change return type to non-const. Update
1135 comment.
1136
221710af
FW
11372019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1138
1139 * manual/time.texi (Formatting Calendar Time): Add missing percent
1140 sign to conversion specifier.
1141
e621246e
CD
11422019-04-09 Carlos O'Donell <carlos@redhat.com>
1143 Kwok Cheung Yeung <kcy@codesourcery.com>
1144
1145 [BZ #16573]
1146 * malloc/mtrace.c: Define prototypes for all hooks.
1147 (set_default_hooks): New function.
1148 (set_trace_hooks): Likewise.
1149 (save_default_hooks): Likewise.
1150 (tr_freehook): Use new s*_hooks functions.
1151 (tr_mallochook): Likewise.
1152 (tr_reallochook): Likewise.
1153 (tr_memalignhook): Likewise.
1154 (mtrace): Likewise.
1155 (muntrace): Likewise.
1156
648279f4
WD
11572019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1158
1159 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1160 (generic_stpcpy): New function.
1161 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1162 (generic_stpncpy): New function.
1163 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1164 (generic_strcat): New function.
1165 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1166 (generic_strcpy): New function.
1167 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1168 (STUPID_STRNCAT): Remove function.
1169 (generic_strncat): New function.
1170 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1171 (STUPID_STRNCPY): Remove function.
1172 (generic_strncpy): New function.
1173 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1174 (generic_strnlen): New function.
1175 (memchr_strnlen): New function.
1176 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1177 (memchr_strlen): Likewise.
1178
93eebae5
WD
11792019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1180
1181 * benchtests/bench-strstr.c (input): Add realistic input text.
1182 (stupid_strstr): Remove function.
1183 (basic_strstr): Add function.
1184 (twoway_strstr): Add function.
1185 (do_one_test): Add result checking.
1186 (do_test): Use new input text. Remove accidental early matches.
1187 (test_main): Improve range of tests, reduce unaligned cases.
1188
a173d09f
WD
11892019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1190
1191 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1192 (basic_memmem): Add function.
1193 (twoway_memmem): Add function.
1194
6103c0a8
WD
11952019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1196
1197 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1198 * benchtests/bench-malloc-thread.c: Likewise.
1199 * benchtests/bench-skeleton.c: Likewise.
1200 * benchtests/bench-strtod.c: Likewise.
1201 * benchtests/bench-timing.h: Likewise.
1202
33322186
FW
12032019-04-08 Florian Weimer <fweimer@redhat.com>
1204
1205 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1206 definitions.
1207 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1208 RES_INSECURE2 security checks.
1209 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1210 RES_INSECURE2 handling.
1211
3f8b44be
FW
12122019-04-08 Florian Weimer <fweimer@redhat.com>
1213
1214 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1215 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1216 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1217 GETHOSTBYNAME.
1218 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1219 (tests-internal): Update justification for tst-resolv-res_init,
1220 tst-resolv-res_init-thread.
1221 (tst-res_use_inet6): Remove target.
1222 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1223 * resolv/res_debug.c (p_option): Remove "inet6" support.
1224 * resolv/res_init.c (res_setoptions): Likewise.
1225 * resolv/res_use_inet6.h: Remove file.
1226 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1227 definition.
1228 (res_use_inet6): Always return false.
1229 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1230 * resolv/resolv_context.h: Adjust file comment.
1231 (struct resolv_context): Update comment on __next field.
1232 (__resolv_context_put): Update comment.
1233 * resolv/tst-res_use_inet6.c: Remove file.
1234 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1235 "inet6" support.
1236 (test_cases): Adjust test case.
1237 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1238 (thread_byname2_af_inet6): Use old byname_inet6 code.
1239 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1240 (gai): Remove do_inet6 argument.
1241 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1242 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1243 (thread_gai_unspec_inet6): Remove functions.
1244 (do_test): Adjust thread_funcs.
1245 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1246 RES_USE_INET6 flag.
1247 (gaih_inet): Do not disable RES_USE_INET6 flag.
1248
6b5c8607 12492019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
1250
1251 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1252 and remove redundant code.
1253
e3fd0b0e
AZ
12542019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1255
f82ed45d
AZ
1256 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1257 New rule.
1258 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1259 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1260 Likewise.
1261 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1262 Likewise.
1263 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1264 Likewise.
1265 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1266 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1267 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1268 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1269 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1270 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1271 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1272 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1273 wcsrchr-power7.
1274 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1275 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1276 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1277 Remove wcsrchr optimizations.
1278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1279
662c2cc4
AZ
1280 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1281 the loop unroll.
1282
421e3005
AZ
1283 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1284 New rule.
1285 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1286 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1287 Likewise.
1288 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1289 Likewise.
1290 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1291 Likewise.
1292 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1293 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1294 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1295 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1296 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1297 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1298 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1299 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1300 wcschr-power7.
1301 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1302 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1304 Remove wcschr optimizations.
1305 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1306
7ba0100c
AZ
1307 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1308 the loop unroll.
1309
447a1306
AZ
1310 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1311 New rule.
1312 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1313 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1314 Likewise.
1315 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1316 Likewise.
1317 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1318 Likewise.
1319 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1320 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1321 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1322 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1323 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1324 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1325 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1326 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1327 wcscpy-power7.
1328 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1329 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1330 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1331 Remove wcscpy optimizations.
1332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1333
e3fd0b0e
AZ
1334 * include/loop_unroll.h: New file.
1335 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1336 besides generic implementation.
1337
8260f236
DD
13382019-04-03 DJ Delorie <dj@redhat.com>
1339
1340 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1341 snprintf truncating output.
1342
0bd545ee
DD
13432019-04-02 DJ Delorie <dj@redhat.com>
1344
1345 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1346 warning.
1347
466afec3
TS
13482019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1349
1350 [BZ #22964]
1351 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1352 era.
1353 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1354 (mkreftable): Add rules for the new Japanese era and the new dates.
1355
2f1d6155
TS
13562019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1357 Rafal Luzynski <digitalfreak@lingonborough.com>
1358
1359 * time/tst-strftime2.c (date_t): Explicitly define the type.
1360 (dates): Use natural month and year numbers to express a date.
1361 (is_before): New function to compare dates.
1362 (mkreftable): Minor improvements to simplify maintenance.
1363 (do_test): Reflect the changes in dates array.
1364
84aea169
TS
1365 [BZ #24293]
1366 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1367 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1368 * time/tst-strftime2.c (locales): Likewise.
1369 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1370 2010-04-01, and 2011-04-01.
1371 (mkreftable): Add rules for the new locales and the new dates.
1372
62449176
CD
13732019-04-01 Carlos O'Donell <carlos@redhat.com>
1374
1375 * localedata/locales/ja_JP: Add comments to era entries.
1376
e0e4c321
DD
13772019-04-01 DJ Delorie <dj@redhat.com>
1378
1379 [BZ #24394]
1380 * time/strptime_l.c (%Ey): Fix fencepost error.
1381 * time/tst-strftime3.c: New.
1382 * time/Makefile (tests): Add tst-strftime3.
1383
6b5c8607 13842019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
1385
1386 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1387 conditional branch to DIVBYZERO. Fix unwind info.
1388 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1389 excb after conditional branch to $powerof2. Add missing unop
1390 instructions and .align directives and reorder instructions to
1391 match __divqu.
1392
d5ecee82
RH
13932019-04-01 Richard Henderson <rth@twiddle.net>
1394
1395 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1396 Do not redefine.
1397 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1398 Do not redefine.
1399
656dd306
MR
14002019-03-30 Maciej W. Rozycki <macro@wdc.com>
1401
1402 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1403 $libc_cv_riscv_float_abi in `test' invocation.
1404 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1405
10cce669
PC
14062019-03-29 Paul A. Clarke <pc@us.ibm.com>
1407
1408 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1409 asm with builtin.
1410 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1411 Likewise.
1412 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1413 (_GET_SI_FPSCR): Likewise.
1414 (_SET_SI_FPSCR): Likewise.
1415
5e67e4bf 14162019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
1417
1418 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1419 clang 2.8.
1420 (signbit): Use builtin for clang 3.3.
1421 (isinf): Use builtin for clang 3.7.
1422
01963891
AZ
14232019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1424
1425 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1426
67112f7a
AH
14272019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1428
1429 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1430 quote in printf.
1431
7a773abf
MC
14322019-03-25 Mike Crowe <mac@mcrowe.com>
1433
82849fde
MC
1434 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1435 pthread_rwlock_timedrdlock with calls to
1436 pthread_rwlock_timedwrlock to ensure that the latter is tested
1437 too. Use new function name in diagnostic messages too.
1438
7a773abf
MC
1439 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1440 (do_test) Use libsupport test macros rather than hand-coded
1441 conditionals and error messages. Ensure that sem_init returns zero
1442 rather than not -1. Use <support/test-driver.c> rather than
1443 test-skeleton.c.
1444
1445 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1446 test macros rather than hand-coded conditionals and error messages.
1447 Use <support/test-driver.c> rather than test-skeleton.c.
1448
9ac2de69
JM
14492019-03-25 Joseph Myers <joseph@codesourcery.com>
1450
d7563e62
JM
1451 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1452
9ac2de69
JM
1453 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1454 (NT_MIPS_MSA): Likewise.
1455
38cc11da
AZ
14562019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1457
7621e38b
WD
1458 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1459 * benchtests/README: Update description.
1460 * benchtests/bench-timing.h: Default to hp-timing.
1461 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1462 HP_TIMING_PRINT): Remove.
1463 (HP_TIMING_NOW): Add generic implementation.
1464 (hp_timing_t): Change to uint64_t.
1465
1e372ded
AZ
1466 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1467 HP_TIMING_INLINE.
1468 * nptl/descr.h: Likewise.
1469 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1470 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1471 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1472 Abstract hp-timing usage with RTLD_* macros.
1473 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1474 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1475 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1476 HP_TIMING_NONAVAIL): Likewise.
1477 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1478 Likewise.
1479 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1480 HP_SMALL_TIMING_AVAIL): Likewise.
1481 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1482 HP_SMALL_TIMING_AVAIL): Likewise.
1483 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1484 HP_SMALL_TIMING_AVAIL): Likewise.
1485 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1486 HP_SMALL_TIMING_AVAIL): Likewise.
1487 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1488 Likewise.
1489 * sysdeps/generic/hp-timing-common.h: Update comment with
1490 HP_TIMING_AVAIL removal.
1491
359653aa
AZ
1492 * include/random-bits.h: New file.
1493 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1494 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1495 random_bits.
1496 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1497 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1498 Likewise.
1499
6e8ba7fd
AZ
1500 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1501 * rt/Makefile (clock-routines): Remove get_clockfreq.
1502 * rt/get_clockfreq.c: Remove file.
1503 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1504 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1505 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1506 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1507 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1508
77b6f553
AZ
1509 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1510 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1511 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1512 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1513 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1514
38cc11da
AZ
1515 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1516 pthread_clock_settime.
1517 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1518 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1519 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1520 * elf/rtld.c (_dl_start_final): Likewise.
1521 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1522 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1523 Remove.
1524 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1525 (_dl_cpuclock_offset): Remove.
1526 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1527 cpuclock_offset_ununsed.
1528 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1529 cpuclock_offset set.
1530 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1531 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1532 * nptl/pthread_clock_gettime.c: Remove file.
1533 * nptl/pthread_clock_settime.c: Likewise.
1534 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1535 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1536 and CLOCK_PROCESS_CPUTIME_ID support.
1537 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1538 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1539 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1540 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1541 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1542 Likewise.
1543 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1544
421749d6
SL
15452019-03-22 Stefan Liebler <stli@linux.ibm.com>
1546
1547 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1548 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1549 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1550 New defines.
1551 * sysdeps/s390/memmem-arch13.S: New file.
1552 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1553 if it is only used as fallback.
1554 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1555 * sysdeps/s390/multiarch/ifunc-impl-list.c
1556 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1557
6f47401b
SL
15582019-03-22 Stefan Liebler <stli@linux.ibm.com>
1559
1560 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1561 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1562 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1563 New defines.
1564 * sysdeps/s390/multiarch/ifunc-impl-list.c
1565 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1566 * sysdeps/s390/strstr-arch13.S: New file.
1567 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1568 if it is only used as fallback.
1569 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1570
96fbb9a3
SL
15712019-03-22 Stefan Liebler <stli@linux.ibm.com>
1572
1573 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1574 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1575 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1576 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1577 ifunc selector.
1578 * sysdeps/s390/multiarch/ifunc-impl-list.c
1579 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1580 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1581 S390_IS_ARCH13_MIE3): New defines.
1582
a899a551
SL
15832019-03-22 Stefan Liebler <stli@linux.ibm.com>
1584
1585 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1586 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1587 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1588 * sysdeps/s390/configure: Regenerated.
1589
1a7df49c
SL
15902019-03-22 Stefan Liebler <stli@linux.ibm.com>
1591
1592 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1593 Add vxe2, vxp, dflt, sort flags.
1594 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1595 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1596 capabilities.
1597 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1598 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1599 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1600 HWCAP_S390_DFLT): Define.
1601
5e67e4bf 16022019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
1603
1604 [BZ #24372]
1605 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1606 of compiler warning.
1607 * locale/programs/ld-collate.c (collate_output): Likewise.
1608
ac64195c
DD
16092019-03-21 DJ Delorie <dj@redhat.com>
1610
1611 [BZ #24372]
1612 * iconv/iconvconfig.c (write_output): Replace floating point math
1613 with integer math to avoid imprecise results.
1614 * locale/programs/ld-collate.c (collate_output): Likewise.
1615
61f5e947
SL
16162019-03-21 Stefan Liebler <stli@linux.ibm.com>
1617
1618 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1619 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1620
57ada43c 16212019-03-20 mansayk <6688000@gmail.com>
1622
1623 [BZ #24296]
1624 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1625 (abday): Likewise, but remove the trailing dots.
1626
a2e57f89
JM
16272019-03-19 Joseph Myers <joseph@codesourcery.com>
1628
1629 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1630 macro.
1631 (HWCAP_PACA): Likewise.
1632 (HWCAP_PACG): Likewise.
1633 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1634 Increase to 32.
1635 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1636
e87d8ada
ST
16372019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1638
1639 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1640 should be handled.
1641
477e739b
JM
16422019-03-15 Joseph Myers <joseph@codesourcery.com>
1643
1644 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1645 version to 5.0.
1646 (old_getpagesize): New syscall.
1647
238d60a1
FY
16482019-03-15 Felix Yan <felixonmars@archlinux.org>
1649
1650 [BZ #24293]
1651 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1652 * localedata/locales/cmn_TW (era): Likewise.
1653 * localedata/locales/hak_TW (era): Likewise.
1654 * localedata/locales/lzh_TW (era): Likewise.
1655 * localedata/locales/nan_TW (era): Likewise.
1656
5dde9ef7
DD
16572019-03-14 Adam Maris <amaris@redhat.com>
1658
1659 * malloc/malloc.c (_int_malloc): Check for large bin list
1660 corruption when inserting unsorted chunk.
1661
a0a0dc83
FW
16622019-03-14 Florian Weimer <fweimer@redhat.com>
1663
1664 Remove obsolete, never-implemented XSI STREAMS declarations.
1665 * manual/terminal.texi (Allocation): Remove portability note and
1666 adjust example.
1667 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1668 _SC_STREAMS.
1669 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1670 * sysdeps/unix/inet/Subdirs (streams): Remove.
1671 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1672 (conformtest-headers-UNIX98): Likewise.
1673 (conformtest-headers-XOPEN2K): Likewise.
1674 (conformtest-headers-POSIX2008): Likewise.
1675 * posix/compat-streams.c: New file.
1676 * posix/Makefile (routines): Add it.
1677 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1678 getpmsg, isastream, putmsg, putpmsg.
1679 (GLIBC_2.30): New section.
1680 * bits/stropts.h: Remove file.
1681 * bits/xtitypes.h: Likewise.
1682 * conform/data/stropts.h-data: Likewise.
1683 * include/stropts.h: Likewise.
1684 * include/sys/stropts.h: Likewise.
1685 * include/xtitypes.h: Likewise.
1686 * streams/Makefile: Likewise.
1687 * streams/fattach.c: Likewise.
1688 * streams/fdetach.c: Likewise.
1689 * streams/getmsg.c: Likewise.
1690 * streams/getpmsg.c: Likewise.
1691 * streams/isastream.c: Likewise.
1692 * streams/putmsg.c: Likewise.
1693 * streams/putpmsg.c: Likewise.
1694 * streams/stropts.h: Likewise.
1695 * streams/sys/stropts.h: Likewise.
1696 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1697 * sysdeps/s390/bits/xtitypes.h: Likewise.
1698 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1699 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1700 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1701 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1702 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1703 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1704 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1705 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1706 * sysdeps/x86/bits/xtitypes.h: Likewise.
1707
081bdf94
FW
17082019-03-14 Florian Weimer <fweimer@redhat.com>
1709
1710 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1711 libnss_files.
1712 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1713 but not with libnss_files.
1714 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1715
97f8225d
ZW
17162019-03-14 Zack Weinberg <zackw@panix.com>
1717
1718 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1719 Specify encoding="utf-8" when opening headers to check.
1720
0c1041ee
JM
17212019-03-13 Joseph Myers <joseph@codesourcery.com>
1722
1723 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1724 version to 5.0.
1725 (Context.checkout_tar): Handle variable major version for Linux
1726 kernel.
1727
043440e7
FW
17282019-03-13 Florian Weimer <fweimer@redhat.com>
1729
1730 [BZ #24047]
1731 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1732
29218b26
ZW
17332019-03-13 Zack Weinberg <zackw@panix.com>
1734
1735 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1736 Move to stdlib.
1737 * include/inttypes.h: Adjust to match.
1738 * include/stdint.h: New wrapper.
1739
711a322a
ZW
17402019-03-13 Zack Weinberg <zackw@panix.com>
1741
1742 * scripts/check-obsolete-constructs.py: New test script.
1743 * scripts/check-installed-headers.sh: Remove tests for
1744 obsolete typedefs, superseded by check-obsolete-constructs.py.
1745 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1746 as a special test. Update commentary.
1747 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1748 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1749 Update commentary.
1750 * posix/sys/types.h (__u_intN_t): Remove.
1751 (u_int8_t): Typedef using __uint8_t.
1752 (u_int16_t): Typedef using __uint16_t.
1753 (u_int32_t): Typedef using __uint32_t.
1754 (u_int64_t): Typedef using __uint64_t.
1755
7c651308
SL
17562019-03-13 Stefan Liebler <stli@linux.ibm.com>
1757
1758 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1759 call _dl_procinfo.
1760 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1761 Ignore types other than AT_HWCAP.
1762 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1763 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1764 Likewise.
1765 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1766 in the case of falling back to generic output mechanism.
1767 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1768 Likewise.
1769
38b52865
FW
17702019-03-12 Florian Weimer <fweimer@redhat.com>
1771
1772 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1773
08504de7
FW
17742019-03-12 Florian Weimer <fweimer@redhat.com>
1775
1776 [BZ #24047]
1777 resolv: Enable full ICMP errors for UDP DNS sockets
1778 * resolv/res_enable_icmp.c: New file.
1779 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1780 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1781 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1782 socket.
1783
5fbcd763
MH
17842019-03-11 Mao Han <han_mao@c-sky.com>
1785
1786 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1787 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1788
c4e5f34b
MH
17892019-03-11 Mao Han <han_mao@c-sky.com>
1790
1791 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1792 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1793 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1794
827e30f3
MH
17952019-03-11 Mao Han <han_mao@c-sky.com>
1796
1797 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1798 directly.
1799 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1800 definition.
1801
6229c9bf
MH
18022019-03-11 Mao Han <han_mao@c-sky.com>
1803
1804 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1805 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1806 in mcontext_t
1807
86bdd49d
MF
18082019-03-08 Mike FABIAN <mfabian@redhat.com>
1809
1810 [BZ #24307]
1811 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1812 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1813 Unicode 12.0.0.
1814 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1815 * localedata/unicode-gen/PropList.txt: Likewise.
1816 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1817 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1818 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1819 * localedata/charmaps/UTF-8: Regenerate.
1820 * localedata/locales/i18n_ctype: Likewise.
1821 * localedata/locales/tr_TR: Likewise.
1822 * localedata/locales/translit_circle: Likewise.
1823 * localedata/locales/translit_cjk_compat: Likewise.
1824 * localedata/locales/translit_combining: Likewise.
1825 * localedata/locales/translit_compat: Likewise.
1826 * localedata/locales/translit_font: Likewise.
1827 * localedata/locales/translit_fraction: Likewise.
1828
c5f65462
JM
18292019-03-07 Joseph Myers <joseph@codesourcery.com>
1830
1831 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1832 than after operators.
1833 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1834 (setitimer_locked): Likewise.
1835 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1836 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1837 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1838 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1839 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1840 (PPC_CPU_SUPPORTED): Likewise.
1841 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1842 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1843 (stat_overflow): Likewise.
1844 (statfs_overflow): Likewise.
1845 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1846 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1847 (eq_ttyname_r): Likewise.
1848 (run_chroot_tests): Likewise.
1849
27a2f2f3
FW
18502019-03-07 Florian Weimer <fweimer@redhat.com>
1851
1852 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1853 header check.
1854
ae514971 18552019-03-07 Martin Liska <mliska@suse.cz>
1856
1857 * math/Makefile: Change location where math-vector-fortran.h is
1858 installed.
1859 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1860 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1861 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1862 * scripts/check-installed-headers.sh: Skip Fortran header files.
1863 * scripts/check-wrapper-headers.py: Likewise.
1864
0ddb7ea8
AZ
18652019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1866
1867 * nptl/nptl-init.c (__have_futex_clock_realtime,
1868 __have_futex_clock_realtime): Remove definition.
1869 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1870 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1871 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1872 __ASSUME_FUTEX_CLOCK_REALTIME support.
1873 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1874 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1875 * sysdeps/unix/sysv/linux/kernel-features.h
1876 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1877 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1878 Adjust comment.
1879
590675c0
GG
18802019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1881
1882 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1883 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1884 __GI___wcscpy and wcscpy.
1885
de71ee7b
FW
18862019-03-04 Florian Weimer <fweimer@redhat.com>
1887
1888 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1889 declaration.
1890 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1891 defined.
1892
ce6ddae0
SL
18932019-03-04 Stefan Liebler <stli@linux.ibm.com>
1894
1895 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1896 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1897
31efface
TS
18982019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1899
1900 [BZ #24162]
1901 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1902 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1903
f0eaf862
GG
19042019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1905
1906 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1907 tests.
1908 (do_test): Likewise.
1909 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1910 (do_test_call_varg): Likewise.
1911 (do_test_call_rarg): Likewise.
1912 * sysdeps/ieee754/ldbl-opt/Makefile
1913 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1914 tst-nldbl-error.
1915 ($(objpfx)tst-nldbl-warn.c): New rule.
1916 ($(objpfx)tst-nldbl-error.c): Likewise.
1917 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1918 New variables.
1919
d11086a9
GG
19202019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1921
1922 [BZ #23984]
1923 * include/bits/error-ldbl.h: New file.
1924 * include/error.h: Include stdarg.h. Declare internal functions
1925 __error_internal and __error_at_line_internal.
1926 * misc/Makefile (headers): Add bits/error-ldbl.h.
1927 * misc/bits/error-ldbl.h: New file.
1928 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1929 avoid the inclusion of bits/error.h.
1930 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1931 and __nldbl_error_at_line.
1932 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1933 (__nldbl_error, __ndlbl_error_at_line): New functions.
1934 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1935 Redirect error and error_at_line.
1936 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1938 Likewise.
1939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1940 Likewise.
1941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1942 Likewise.
1943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1944 Likewise.
1945 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1946 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1947 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1948
90188e7d
GG
19492019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1950
1951 [BZ #23984]
1952 * include/bits/err-ldbl.h: New file.
1953 * include/err.h: Add prototypes for the internal functions:
1954 __vwarnx_internal and __vwarn_internal.
1955 * misc/Makefile (headers): Add bits/err-ldbl.h.
1956 * misc/bits/err-ldbl.h: New file.
1957 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1958 defined, i.e.: when -mlong-double-64 is in use.
1959 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1960 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1961 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1962 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1963 (VA_CALL): New macro.
1964 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1965 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1966 functions.
1967 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1968 declare prototypes for the new functions.
1969 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1971 Likewise.
1972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1973 Likewise.
1974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1975 Likewise.
1976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1977 Likewise.
1978 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1979 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1980 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1981
ea2d89d0
GG
19822019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1983
1984 * sysdeps/ieee754/ldbl-opt/Makefile
1985 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1986 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1987 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1988
6e1f6440
GG
19892019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1990
1991 [BZ #23983]
1992 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1993 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1994 * argp/bits/argp-ldbl.h: New file.
1995 * include/argp.h: Include stdarg.h. Add prototypes for internal
1996 functions: __argp_error_internal and __argp_failure_internal.
1997 * include/bits/argp-ldbl.h: New file.
1998 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1999 __nldbl_argp_error and __nldbl_argp_failure.
2000 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2001 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2002 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2003 Redirect argp_error and argp_failure calls.
2004 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2006 Likewise.
2007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2008 Likewise.
2009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2010 Likewise.
2011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2012 Likewise.
2013 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2014 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2015 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2016
c259196b
FW
20172019-03-01 Florian Weimer <fweimer@redhat.com>
2018
2019 [BZ #20419]
2020 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2021 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2022 code, to avoid creating an ABI tag note.
2023 (modules-names-nobuild): Add tst-big-note-lib.
2024
928b305d
SL
20252019-03-01 Stefan Liebler <stli@linux.ibm.com>
2026
2027 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2028 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2029
36f30c10
FW
20302019-03-01 Florian Weimer <fweimer@redhat.com>
2031
2032 [BZ #20271]
2033 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2034 (__netlink_assert_response): Add additional missing newlines.
2035
462e83a4
JM
20362019-02-28 Joseph Myers <joseph@codesourcery.com>
2037
2038 * sysdeps/powerpc/powerpc32/dl-machine.c
2039 (__elf_machine_fixup_plt): Use space before '('.
2040 (__process_machine_rela): Likewise.
2041 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2042 Likewise.
2043 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2044 Likewise.
2045 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2046 Likewise.
2047 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2048 (pattern): Likewise.
2049 (delta): Likewise.
2050 (check_result): Likewise.
2051 (check_excepts): Likewise.
2052 (check_op): Likewise.
2053 (fail_xr): Likewise.
2054 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2055 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2056 (SCNHSZ): Likewise.
2057 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2058 Likewise.
2059 (ARGS): Likewise.
2060 (__makecontext): Likewise.
2061 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2062 Likewise.
2063
cc3e573c
FW
20642019-02-28 Florian Weimer <fweimer@redhat.com>
2065
2066 [BZ #23937]
2067 elf: Add test with a local IFUNC resolver.
2068 * elf/ifuncmain9.c: New file.
2069 * elf/ifuncmain9pic.c: Likewise.
2070 * elf/ifuncmain9picstatic.c: Likewise.
2071 * elf/ifuncmain9pie.c: Likewise.
2072 * elf/ifuncmain9static.c: Likewise.
2073 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2074 ifuncmain9static, ifuncmain9picstatic.
2075 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2076 Add ifuncmain9, ifuncmain9pic.
2077 * elf/Makefile [multi-arch && build-shared && have-fpie]
2078 (ifunc-pie-tests): Add ifuncmain9pie.
2079 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2080 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2081 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2082
92ad88fe
L
20832019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2084
2085 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2086 * configure: Regenerated.
2087 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2088
6bd4d02e
AZ
20892019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2090
2091 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2092 symbol as __wcspcy instead of wcscpy.
2093
1b218417
ST
20942019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2095
2096 * include/stdio.h (__renameat2): New hidden prototype.
2097 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2098 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2099 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2100 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2101
c4f50205
JM
21022019-02-27 Joseph Myers <joseph@codesourcery.com>
2103
f627dd4d
JM
2104 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2105 if statement.
2106
c4f50205
JM
2107 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2108 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2109 * benchtests/bench-strlen.c (do_test): Likewise.
2110 (test_main): Likewise.
2111 * catgets/gencat.c (read_old): Likewise.
2112 * elf/cache.c (load_aux_cache): Likewise.
2113 * iconvdata/bug-iconv8.c (do_test): Likewise.
2114 * math/test-tgmath-ret.c (do_test): Likewise.
2115 * nis/nis_call.c (rec_dirsearch): Likewise.
2116 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2117 * nptl/tst-audit-threads.c (do_test): Likewise.
2118 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2119 * nss/nss_test1.c (init): Likewise.
2120 * nss/test-netdb.c (test_hosts): Likewise.
2121 * posix/execvpe.c (maybe_script_execute): Likewise.
2122 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2123 * stdio-common/tst-printf.c (do_test): Likewise.
2124 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2125 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2126 * stdlib/qsort.c (STACK_SIZE): Likewise.
2127 * stdlib/test-canon.c (do_test): Likewise.
2128 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2129 * string/memcmp.c (OPSIZ): Likewise.
2130 * string/test-strcpy.c (do_test): Likewise.
2131 (do_random_tests): Likewise.
2132 * string/test-strlen.c (do_test): Likewise.
2133 (test_main): Likewise.
2134 * string/test-strrchr.c (do_test): Likewise.
2135 (do_random_tests): Likewise.
2136 * string/tester.c (test_memrchr): Likewise.
2137 (test_memchr): Likewise.
2138 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2139 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2140 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2141 (read_encoded_value_with_base): Likewise.
2142 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2143 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2144 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2145 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2146 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2147 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2148 Likewise.
2149 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2150 Likewise.
2151 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2152 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2153 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2154 Likewise.
2155 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2156 Likewise.
2157 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2158 Likewise.
2159 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2160 Likewise.
2161 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2162 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2163 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2164 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2165 * time/test_time.c (main): Likewise.
2166
7b3fb620
AZ
21672019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2168
457208b1
AZ
2169 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2170
30a7e208
AZ
2171 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2172 wmemcpy.
2173
ddf21ec7
AZ
2174 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2175 wmemcpy.
2176
4d801563
AZ
2177 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2178
81a14439
AZ
2179 * include/wchar.h (__wcscpy): New prototype.
2180 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2181 (__wcscpy): Route internal symbol to generic implementation.
2182 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2183 Add internal __wcscpy alias.
2184 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2185 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2186 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2187 * wcsmbs/wcscpy.c (wcscpy): Add
2188 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2189 use generic implementation.
2190 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2191
39ef0744
AZ
2192 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2193 wmemset.
2194
7b3fb620
AZ
2195 * sysdeps/m68k/wcpcpy.c: Remove file.
2196 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2197
e0cb7b61
JM
21982019-02-26 Joseph Myers <joseph@codesourcery.com>
2199
aa0e4663
JM
2200 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2201 than after operators.
2202 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2203 * sysdeps/mach/hurd/getcwd.c
2204 (__hurd_canonicalize_directory_name_internal): Likewise.
2205 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2206 (pthread_mutex_consistent): Likewise.
2207 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2208 Likewise.
2209 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2210 (__pthread_mutex_transfer_np): Likewise.
2211 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2212 (__pthread_mutex_unlock): Likewise.
2213 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2214 (mtx_owned_p): Likewise.
2215 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2216 (pthread_mutexattr_getrobust): Likewise.
2217 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2218 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2219 Likewise.
2220 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2221 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2222 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2223 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2224 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2225 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2226 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2227 Likewise.
2228 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2229 Likewise.
2230 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2231 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2232 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2233 (____longjmp_chk): Likewise.
2234 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2235 Likewise.
2236 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2237 (INTERNAL_SYSCALL): Likewise.
2238 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2239 (INTERNAL_SYSCALL): Likewise.
2240 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2241 (__get_clockfreq_via_cpuinfo): Likewise.
2242
e0cb7b61
JM
2243 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2244 comments.
2245 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2246 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2247 (WORD_COPY_BWD): Likewise.
2248 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2249 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2250 Likewise.
2251 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2252 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2253 comment.
2254 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2255
a04549c1
JM
22562019-02-25 Joseph Myers <joseph@codesourcery.com>
2257
2258 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2259 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2260 rather than after operators.
2261 * elf/cache.c (print_cache): Likewise.
2262 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2263 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2264 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2265 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2266 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2267 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2268 (reauth_proc): Likewise.
2269 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2270 (__file_name_split_at): Likewise.
2271 (__directory_name_split_at): Likewise.
2272 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2273 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2274 * iconv/gconv_dl.c (do_print): Likewise.
2275 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2276 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2277 * locale/setlocale.c (new_composite_name): Likewise.
2278 * malloc/memusagestat.c (main): Likewise.
2279 * misc/fstab.c (fstab_convert): Likewise.
2280 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2281 Likewise.
2282 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2283 (getgrent_next_file): Likewise.
2284 (internal_getgrnam_r): Likewise.
2285 (internal_getgrgid_r): Likewise.
2286 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2287 Likewise.
2288 (internal_getgrent_r): Likewise.
2289 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2290 (getpwent_next_nss): Likewise.
2291 (getpwent_next_file): Likewise.
2292 (internal_getpwnam_r): Likewise.
2293 (internal_getpwuid_r): Likewise.
2294 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2295 Likewise.
2296 (getspent_next_nss): Likewise.
2297 (internal_getspnam_r): Likewise.
2298 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2299 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2300 * string/strchr.c (STRCHR): Likewise.
2301 * string/strchrnul.c (STRCHRNUL): Likewise.
2302 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2303 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2304 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2305 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2306 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2307 Likewise.
2308 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2309 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2310 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2311 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2312 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2313 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2314 (open_file): Likewise.
2315 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2316 (pthread_mutexattr_setprotocol): Likewise.
2317 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2318 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2319 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2320 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2321 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2322 Likewise.
2323 (elf_machine_rela): Likewise.
2324 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2325 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2326 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2327 * sysdeps/posix/rename.c (rename): Likewise.
2328 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2329 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2330 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2331 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2332 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2333 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2334 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2335 Likewise.
2336 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2337 Likewise.
2338 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2339 * time/tzfile.c (__tzfile_compute): Likewise.
2340
34a5a146
JM
23412019-02-22 Joseph Myers <joseph@codesourcery.com>
2342
2343 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2344 rather than after operators.
2345 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2346 * crypt/md5.c (md5_finish_ctx): Likewise.
2347 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2348 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2349 * elf/cache.c (load_aux_cache): Likewise.
2350 * elf/dl-load.c (open_verify): Likewise.
2351 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2352 * elf/readelflib.c (process_elf_file): Likewise.
2353 * elf/rtld.c (dl_main): Likewise.
2354 * elf/sprof.c (generate_call_graph): Likewise.
2355 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2356 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2357 * hurd/dtable.c (reauth_dtable): Likewise.
2358 * hurd/getdport.c (__getdport): Likewise.
2359 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2360 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2361 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2362 Likewise.
2363 * hurd/hurdioctl.c (fioctl): Likewise.
2364 * hurd/hurdselect.c (_hurd_select): Likewise.
2365 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2366 (STOPSIGS): Likewise.
2367 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2368 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2369 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2370 * hurd/msgportdemux.c (msgport_server): Likewise.
2371 * hurd/setauth.c (_hurd_setauth): Likewise.
2372 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2373 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2374 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2375 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2376 * login/tst-utmp.c (do_check): Likewise.
2377 (simulate_login): Likewise.
2378 * mach/lowlevellock.h (lll_lock): Likewise.
2379 (lll_trylock): Likewise.
2380 * math/test-fenv.c (ALL_EXC): Likewise.
2381 * math/test-fenvinline.c (ALL_EXC): Likewise.
2382 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2383 * nis/nis_call.c (__do_niscall3): Likewise.
2384 * nis/nis_callback.c (cb_prog_1): Likewise.
2385 * nis/nis_defaults.c (searchaccess): Likewise.
2386 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2387 * nis/nis_ismember.c (internal_ismember): Likewise.
2388 * nis/nis_local_names.c (nis_local_principal): Likewise.
2389 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2390 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2391 Likewise.
2392 * nis/ypclnt.c (yp_match): Likewise.
2393 (yp_first): Likewise.
2394 (yp_next): Likewise.
2395 (yp_master): Likewise.
2396 (yp_order): Likewise.
2397 * nscd/hstcache.c (cache_addhst): Likewise.
2398 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2399 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2400 (internal_getpwuid_r): Likewise.
2401 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2402 * posix/glob.h (__GLOB_FLAGS): Likewise.
2403 * posix/regcomp.c (peek_token): Likewise.
2404 (peek_token_bracket): Likewise.
2405 (parse_expression): Likewise.
2406 * posix/regexec.c (sift_states_iter_mb): Likewise.
2407 (check_node_accept_bytes): Likewise.
2408 * posix/tst-spawn3.c (do_test): Likewise.
2409 * posix/wordexp-test.c (testit): Likewise.
2410 * posix/wordexp.c (parse_tilde): Likewise.
2411 (exec_comm): Likewise.
2412 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2413 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2414 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2415 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2416 * stdio-common/tst-fileno.c (do_test): Likewise.
2417 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2418 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2419 * stdlib/strtod_l.c (round_and_return): Likewise.
2420 (____STRTOF_INTERNAL): Likewise.
2421 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2422 * string/strcspn.c (STRCSPN): Likewise.
2423 * string/test-memmem.c (simple_memmem): Likewise.
2424 * termios/tcsetattr.c (tcsetattr): Likewise.
2425 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2426 * time/asctime.c (asctime_internal): Likewise.
2427 * time/strptime_l.c (__strptime_internal): Likewise.
2428 * time/sys/time.h (timercmp): Likewise.
2429 * time/tzfile.c (__tzfile_compute): Likewise.
2430
b0b50fe0
PF
24312019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2432
b39d961c
TS
2433 [BZ #21915]
2434 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 2435
f43b8dd5
GG
24362019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2437
2438 * argp/argp-help.c (__argp_error_internal): New function,
2439 renamed from __argp_error, but that takes a 'mode_flags'
2440 parameter to control the format of long double parameters.
2441 (__argp_error): Converted into a call __argp_error_internal.
2442 (__argp_failure_internal): New function, renamed from
2443 __argp_failure, but that takes a 'mode_flags' parameter.
2444 (__argp_failure): Converted into a call __argp_failure_internal.
2445 * misc/err.c (__vwarnx_internal): New function, renamed from
2446 vwarnx, but that takes a 'mode_flags' parameter.
2447 (vwarnx): Converted into a call to __vwarnx_internal.
2448 (__vwarn_internal): New function, renamed from vwarn, but that
2449 takes a 'mode_flags' parameter.
2450 (vwarn): Converted into a call to __vwarn_internal.
2451 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2452 call to __vfxprintf with 'mode_flags'.
2453 (__error_internal): New function, renamed from error, but that
2454 takes a 'mode_flags' parameter.
2455 (error): Converted into a call to __error_internal.
2456 (__error_at_line_internal): New function, renamed from
2457 error_at_line, but that takes a 'mode_flags' parameter.
2458 (error_at_line): Converted into a call to
2459 __error_at_line_internal.
2460 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2461 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2462 Likewise.
2463
dc0afac3 24642019-02-20 Martin Liska <mliska@suse.cz>
2465
2466 * math/Makefile: Install math-vector-fortran.h.
2467 * bits/math-vector-fortran.h: New file.
2468 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2469
4a2dd41c
GG
24702019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2471
2472 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2473 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2474
04de9302
WS
24752019-02-19 Wolfram Sang <wsa@the-dreams.de>
2476
2477 * nptl/pthread_mutex_trylock.c: Fix comment.
2478
b026ce1e
CD
24792019-02-19 Carlos O'Donell <carlos@redhat.com>
2480
2481 * nptl/pthread_tryjoin.c: Fix comment.
2482
8c9289b6
JM
24832019-02-18 Joseph Myers <joseph@codesourcery.com>
2484
2485 [BZ #24231]
2486 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2487 after R_SPARC_H34 case.
2488
308e022f
FW
24892019-02-18 Florian Weimer <fweimer@redhat.com>
2490
2491 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2492 (getanswer): Do not call Dprintf.
2493 (res_gethostbyname2_context): Likewise.
2494 (res_gethostbyaddr_context): Likewise.
2495
a5406364
FW
24962019-02-18 Florian Weimer <fweimer@redhat.com>
2497
2498 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2499 declaration.
2500 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2501 Remove definitions.
2502 * libio/stdfiles.c: Update comment.
2503 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2504 set _IO_stdin, _IO_stdout, _IO_stderr.
2505 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2506 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2507 inline function.
2508 (_IO_deallocate_file): New inline function.
2509 * libio/iolibio.h (_IO_vprintf): Remove definition.
2510 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2511 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2512 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2513 _IO_legacy_file.
2514 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2515 __builtin_expect. Use _IO_legacy_file.
2516
6c29942c
SL
25172019-02-18 Stefan Liebler <stli@linux.ibm.com>
2518
2519 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2520 Initialize ctid with a known value and remove update of ctid
2521 after clone.
2522 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2523 as assumed current value of ctid_ptr.
2524
225d9445 25252019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
2526
2527 Check that non-sysdeps headers have wrapper headers.
2528 * scripts/check-wrapper-headers.py: New file.
2529 * Makefile (tests-special): Add check-wrapper-headers.out.
2530 (check-wrapper-headers.out): New target.
2531 * Rules (tests-special): Add check-wrapper-headers.out.
2532 (check-wrapper-headers.out): New target.
2533
225d9445 25342019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
2535
2536 Add missing header wrappers under include/.
2537 * include/ar.h: New file.
2538 * include/bits/mqueue2.h: Likewise.
2539 * include/bits/stdio.h: Likewise.
2540 * include/bits/stdio2.h: Likewise.
2541 * include/fstab.h: Likewise.
2542 * include/fts.h: Likewise.
2543 * include/lastlog.h: Likewise.
2544 * include/netinet/icmp6.h: Likewise.
2545 * include/netinet/igmp.h: Likewise.
2546 * include/netinet/ip6.h: Likewise.
2547 * include/re_comp.h: Likewise.
2548 * include/regexp.h: Likewise.
2549 * include/rpcsvc/bootparam.h: Likewise.
2550 * include/rpcsvc/yp_prot.h: Likewise.
2551 * include/sys/random.h: Likewise.
2552 * include/sys/stropts.h: Likewise.
2553 * include/sys/ttychars.h: Likewise.
2554 * include/sys/vfs.h: Likewise.
2555 * include/wait.h: Likewise.
2556
225d9445 25572019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
2558
2559 * nptl_db/proc_service.h: Move to ...
2560 * sysdeps/nptl/proc_service.h: ... here.
2561 * nptl_db/thread_db.h: Move to ...
2562 * sysdeps/nptl/thread_db.h: ... here.
2563 * nptl/descr.h: Include <thread_db.h>.
2564
e442e40d
AZ
25652019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2566
2567 * io/Makefile (tests): Add tst-lockf.
2568 * io/lockf.c (lockf): Use __fcntl and only define for
2569 !__OFF_T_MATCHES_OFF64_T.
2570 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2571 __OFF_T_MATCHES_OFF64_T case.
2572 * io/tst-lockf.c: New file.
2573 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2574 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2575 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2576 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2577 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2579 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2580 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2581 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2582
bc10e22c
FW
25832019-02-15 Florian Weimer <fweimer@redhat.com>
2584
2585 [BZ #24211]
2586 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2587 pd->result after the thread descriptor has been freed.
2588
365f05c7
JM
25892019-02-15 Joseph Myers <joseph@codesourcery.com>
2590
8a11f970
JM
2591 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2592 from function return type.
2593
365f05c7
JM
2594 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2595
6b5c8607 25962019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
2597
2598 * scripts/test_printers_common.py: Set TERM to a known harmless
2599 value.
2600
712182c8
JM
26012019-02-14 Joseph Myers <joseph@codesourcery.com>
2602
2603 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2604 (xdr_u_int): Likewise.
2605 (xdr_enum): Likewise.
2606 (xdr_bytes): Reword fall-through comment.
2607 (xdr_string): Likewise.
2608
eb76e5b4
AZ
26092019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2610
2611 [BZ #2421]
2612 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2613 (tests): Add tst-join8 tst-join9.
2614 * nptl/lll_timedwait_tid.c: Remove file.
2615 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2616 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2617 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2618 * nptl/pthread_join_common.c (timedwait_tid): New function.
2619 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2620 is set.
2621 * nptl/tst-join5.c (thread_join): New function.
2622 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2623 check.
2624 * nptl/tst-join8.c: New file.
2625 * nptl/tst-join9.c: Likewise.
2626 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2627 lll_futex_timed_wait_cancel): Add generic macros.
2628 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2629 Remove definitions.
2630 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2631 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2632 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2633 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2634 Remove function.
2635 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2636 Likewise.
2637 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2638 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2639 (lll_futex_timed_wait_cancel): New macro.
2640
3904fd85
WD
26412019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2642
2643 * benchtests/Makefile: Add malloc-simple benchmark.
2644 * benchtests/bench-malloc-simple.c: New benchmark.
2645
24ca04fe
SP
26462019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2647
2648 * benchtests/bench-memmove.c (do_one_test): Remove unused
2649 ORIG_SRC.
2650 (do_test): Adjust.
2651 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2652 ORIG_SRC.
2653 (do_test): Adjust.
2654
85bd1ddb
JW
26552019-01-13 Jim Wilson <jimw@sifive.com>
2656
2657 [BZ #24040]
2658 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2659 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2660 (func): New.
2661 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2662 call func directly.
2663 * nptl/Makefile (tests): Add tst-unwind-thread.
2664 (CFLAGS-tst-unwind-thread.c): Define.
2665 * nptl/tst-unwind-thread.c: New file.
2666 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2667 as undefined.
2668
86140c62
JM
26692019-02-13 Joseph Myers <joseph@codesourcery.com>
2670
10756268
JM
2671 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2672 comment wording.
2673 * nis/nis_call.c (__do_niscall3): Likewise.
2674
05383720
JM
2675 * catgets/gencat.c (normalize_line): Use braces around empty
2676 'else' body.
2677 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2678 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2679 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2680 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2681 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2682 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2683 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2684 definition.
2685
86140c62
JM
2686 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2687 execlp returns.
2688
16f87cfd
WD
26892019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2690
2691 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2692 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2693 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2694 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2695 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2696 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2697 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2698 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2699 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2700 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2701 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2702 * benchtests/bench-bcopy.c: Delete file.
2703 * benchtests/bench-bzero.c: Likewise.
2704 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2705 (simple_memccpy): Remove.
2706 (generic_memccpy): Add function.
2707 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2708 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2709 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2710 (generic_mempcpy): Add new function.
2711 * benchtests/bench-memset.c (simple_bzero): Remove.
2712 (builtin_bzero): Remove.
2713 (builtin_memset): Remove.
2714 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2715 (generic_rawmemchr): Add new function.
2716
0c6d82e9
FW
27172019-02-12 Florian Weimer <fweimer@redhat.com>
2718
2719 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2720
b3fbfe81
AZ
27212019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2722
2723 [BZ #24122]
2724 * elf/Makefile (tests): Add tst-audit13.
2725 (modules-names): Add tst-audit13mod1.
2726 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2727 rule.
2728 * elf/tst-audit13.c: New file.
2729 * elf/tst-audit13mod1.c: Likewise.
2730
3b856d09
FW
27312019-02-12 Florian Weimer <fweimer@redhat.com>
2732
2733 [BZ #24122]
2734 * elf/rtld.c (unload_audit_module): New function.
2735 (report_audit_module_load_error): Likewise.
2736 (load_audit_module): Likewise. Extracted from dl_main. Call
2737 _dl_close if the laversion symbol cannot be found. Use early
2738 returns for error handling. Add malloc error check. Check for a
2739 zero return value from la_version. Remove spurious comment about
2740 static TLS initialization. Remove useless casts.
2741 (notify_audit_modules_of_loaded_object): New function. Extracted
2742 from dl_main.
2743 (load_audit_module): Likewise.
2744 (dl_main): Call load_audit_modules.
2745
32db86d5
JM
27462019-02-12 Joseph Myers <joseph@codesourcery.com>
2747
2748 * elf/dl-exception.c (_dl_exception_create_format): Add
2749 fall-through comments.
2750 * elf/ldconfig.c (parse_conf_include): Likewise.
2751 * elf/rtld.c (print_statistics): Likewise.
2752 * locale/programs/charmap.c (parse_charmap): Likewise.
2753 * misc/mntent_r.c (__getmntent_r): Likewise.
2754 * posix/wordexp.c (parse_arith): Likewise.
2755 (parse_backtick): Likewise.
2756 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2757 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2758 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2759
a51bc4fe
PC
27602019-02-11 Paul A. Clarke <pc@us.ibm.com>
2761
2762 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2763 Use float instead of double.
2764
fb25b135
TS
27652019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2766
2767 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2768
32ea7299
JM
27692019-02-08 Joseph Myers <joseph@codesourcery.com>
2770
2771 * sysdeps/powerpc/bits/mathinline.h: Remove.
2772
eef4d4f8
FW
27732019-02-08 Florian Weimer <fweimer@redhat.com>
2774
2775 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2776 * math/bits/math-finite.h: Move to ...
2777 * bits/math-finite.h: ... here.
2778
fdfbd47d
FW
27792019-02-08 Florian Weimer <fweimer@redhat.com>
2780
2781 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2782 * bits/unistd_ext.h: here.
2783
11eb21c4
PF
27842019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2785
2786 [BZ #21915]
2787 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2788 * nss/tst-nss-files-hosts-long.c: New file.
2789 * nss/tst-nss-files-hosts-long.root: New directory.
2790 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2791 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2792
e47d82c9
FW
27932019-02-08 Florian Weimer <fweimer@redhat.com>
2794
2795 * include/bits/unistd_ext.h: Remove file.
2796 * posix/bits/unistd_ext.h: Move to ...
2797 * sysdeps/generic/bits/unistd_ext.h: ... here.
2798
8f89ab21
FW
27992019-02-08 Florian Weimer <fweimer@redhat.com>
2800
2801 * include/bits/unistd_ext.h: New file.
2802
144a794e
TS
28032019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2804
2805 * time/tst-strftime2.c: Use array_length macros instead of magic
2806 numbers.
2807
669ff911
FW
28082019-02-08 Florian Weimer <fweimer@redhat.com>
2809
2810 [BZ #24161]
2811 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2812 argument.
2813 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2814 locking if the new do_locking argument is true.
2815 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2816 __run_fork_handlers.
2817
d0bd87d4 28182019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
2819
2820 [BZ #6399]
2821 Linux: Add gettid system call wrapper.
2822 * posix/Makefile (headers): Add bits/unistd_ext.h.
2823 * posix/bits/unistd_ext.h: New file.
2824 * posix/unistd.h: Include it.
2825 * manual/process.texi (Process Identification): Document gettid.
2826 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2827 tst-gettid, tst-gettid-kill.
2828 (tst-gettid): Link with $(shared-thread-library).
2829 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2830 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2831 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2832 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2833 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2834 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2835 Add gettid.
2836 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2837 Likewise.
2838 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2839 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2840 Likewise.
2841 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2842 Likewise.
2843 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2844 Likewise.
2845 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2846 Likewise.
2847 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2848 Likewise.
2849 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2850 Likewise.
2851 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2852 Likewise.
2853 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2854 (GLIBC_2.30): Likewise.
2855 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2856 (GLIBC_2.30): Likewise.
2857 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2858 (GLIBC_2.30): Likewise.
2859 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2860 (GLIBC_2.30): Likewise.
2861 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2862 Likewise.
2863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2864 (GLIBC_2.30): Likewise.
2865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2866 (GLIBC_2.30): Likewise.
2867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2868 (GLIBC_2.30): Likewise.
2869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2870 (GLIBC_2.30): Likewise.
2871 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2872 Likewise.
2873 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2874 Likewise.
2875 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2876 Likewise.
2877 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2878 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2879 Likewise.
2880 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2881 Likewise.
2882 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2883 Likewise.
2884 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2885 Likewise.
2886 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2887
225d9445 28882019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
2889
2890 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2891 compatibility symbols.
2892
823624bd
SL
28932019-02-07 Stefan Liebler <stli@linux.ibm.com>
2894
2895 [BZ #24180]
2896 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2897 Add compiler barriers and comments.
2898
8311c83f
FW
28992019-02-07 Florian Weimer <fweimer@redhat.com>
2900
2901 * include/array_length.h (array_length): Do not use a statement
2902 expression and _Static_assert, so that array_length can be used at
2903 file scope and as a constant expression.
2904
94b63e66
FW
29052019-02-07 Florian Weimer <fweimer@redhat.com>
2906
2907 * support/xdlfcn.h (xdlmopen): Declare.
2908 * support/xdlmopen.c: New file.
2909 * support/Makefile (libsupport-routines): Add xdlmopen.
2910
c2d8f0b7
JM
29112019-02-06 Joseph Myers <joseph@codesourcery.com>
2912
2913 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2914 before return type, without separate inline.
2915 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2916 * elf/dl-tunables.h (tunable_is_name): Likewise.
2917 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2918 (do_set_top_pad): Likewise.
2919 (do_set_mmap_threshold): Likewise.
2920 (do_set_mmaps_max): Likewise.
2921 (do_set_mallopt_check): Likewise.
2922 (do_set_perturb_byte): Likewise.
2923 (do_set_arena_test): Likewise.
2924 (do_set_arena_max): Likewise.
2925 (do_set_tcache_max): Likewise.
2926 (do_set_tcache_count): Likewise.
2927 (do_set_tcache_unsorted_limit): Likewise.
2928 * nis/nis_subr.c (count_dots): Likewise.
2929 * nptl/allocatestack.c (advise_stack_range): Likewise.
2930 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2931 (do_sin): Likewise.
2932 (reduce_sincos): Likewise.
2933 (do_sincos): Likewise.
2934 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2935 (do_set_elision_enable): Likewise.
2936 (TUNABLE_CALLBACK_FNDECL): Likewise.
2937
3b935595
FW
29382019-02-06 Florian Weimer <fweimer@redhat.com>
2939
2940 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2941 (xdlsym): Use dlerror to detect a NULL symbol.
2942
b4333340
FW
29432019-02-06 Florian Weimer <fweimer@redhat.com>
2944
2945 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2946 <stap-probe.h>.
2947 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2948
b6d8a999
SL
29492019-02-06 Stefan Liebler <stli@linux.ibm.com>
2950
2951 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2952
94eeeec0
SL
29532019-02-06 Stefan Liebler <stli@linux.ibm.com>
2954
2955 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2956 __wmemcmp and weak alias to wmemcmp.
2957
bc79db3f
SL
29582019-02-06 Stefan Liebler <stli@linux.ibm.com>
2959
2960 [BZ #23403]
2961 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2962 TLS_TCB_AT_TP tls variant.
2963 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2964 Add alignment checks.
2965 * support/Makefile (libsupport-routines): Add xposix_memalign and
2966 xpthread_setstack.
2967 * support/support.h: Add xposix_memalign.
2968 * support/xthread.h: Add xpthread_attr_setstack.
2969 * support/xposix_memalign.c: New File.
2970 * support/xpthread_attr_setstack.c: Likewise.
2971
f1ac7455
FW
29722019-02-05 Florian Weimer <fweimer@redhat.com>
2973
2974 [BZ #24164]
2975 arm: Use "nr" constraint for Systemtap probes, to avoid the
2976 compiler using memory operands for constants, due to the "o"
2977 alternative in the default "nor" constraint.
2978 * include/stap-probe.h [USE_STAP_PROBE]: Include
2979 <stap-probe-machine.h>
2980 * sysdeps/generic/stap-probe-machine.h: New file.
2981 * sysdeps/arm/stap-probe-machine.h: Likewise.
2982
7a0dcfc6
JM
29832019-02-04 Joseph Myers <joseph@codesourcery.com>
2984
77dc0d86
JM
2985 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2986 with 0, not tcache->entries[tc_idx].
2987
7a0dcfc6
JM
2988 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2989 once.
2990
65f7767a
AS
29912019-02-04 Andreas Schwab <schwab@suse.de>
2992
2993 [BZ #16976]
2994 [BZ #17396]
2995 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2996 looking up collating elements match against (wide) character
2997 sequence instead of name. Correct alignment adjustment.
2998 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2999 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3000 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3001 (LOCALES): Add cs_CZ.ISO-8859-2.
3002 * posix/tst-fnmatch4.c: New file.
3003 * posix/tst-fnmatch5.c: New file.
3004 * include/wchar.h (__wmemcmp): Declare.
3005 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3006 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3007 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3008 * sysdeps/s390/wmemcmp.c: Likewise.
3009
3f635fb4
L
30102019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3011
3012 [BZ #24155]
3013 CVE-2019-7309
3014 * NEWS: Updated for CVE-2019-7309.
3015 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3016 upper 32 bits of RDX register for x32. Use unsigned Jcc
3017 instructions, instead of signed.
3018 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3019 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3020
2ab5741b
FW
30212019-02-04 Florian Weimer <fweimer@redhat.com>
3022
3023 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3024 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3025 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3026 Likewise.
3027 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3028 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3029 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3030 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3031 Likewise.
3032 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3033 Likewise.
3034 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3035 Likewise.
3036 (posix_spawn_file_actions_addopen): Likewise.
3037 (posix_spawn_file_actions_addclose): Likewise.
3038 (posix_spawn_file_actions_adddup2): Likewise.
3039 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3040 qualifiers.
3041 (posix_spawn_file_actions_addfchdir_np): Likewise.
3042
8692ebdb
DN
30432019-02-04 David Newall <glibc@davidnewall.com>
3044
3045 elf: Implement --preload option for the dynamic linker.
3046 * elf/rtld.c (preloadarg): New variable.
3047 (handle_preload_list): Pass through “where” argument to
3048 do_preload.
3049 (dl_main): Handle "--preload" and add second call to
3050 handle_preload_list.
3051 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3052 (tst-rtld-preload-OBJS): Set variable.
3053 (tst-rtld-preload.out): New target.
3054 * elf/tst-rtld-preload.sh: New file.
3055
5e10136b
MM
30562019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3057
3058 * Makefile (testrun.sh): Exit in case of incorrect argument.
3059
221baae0
FW
30602019-02-04 Florian Weimer <fweimer@redhat.com>
3061
3062 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3063 alignment gaps.
3064
b8c72381
FW
30652019-02-03 Florian Weimer <fweimer@redhat.com>
3066
3067 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3068 implicit overflow checks.
3069
11f382ee
AJ
30702019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3071
3072 * stdlib/isomac.c: Include <unistd.h>.
3073
77c7d55e
FW
30742019-02-03 Florian Weimer <fweimer@redhat.com>
3075
3076 * include/time.h (__tzfile_default): Use int, not long int, for
3077 the GMT offsets.
3078 * time/tzfile.c (struct ttinfo): Change type of the offset member
3079 to int.
3080 (__tzfile_read): Remove useless cast.
3081 (__tzfile_default): Adjust prototype.
3082 * time/tzset.c (tz_rule): Change type of the offset member to int.
3083 (parse_offset): Change the type of the sign variable to int.
3084
ee9941f9
FW
30852019-02-03 Florian Weimer <fweimer@redhat.com>
3086
3087 [BZ #24153]
3088 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3089 * libio/getchar.c (getchar): Likewise.
3090 * libio/getchar_u.c (getchar_unlocked): Likewise.
3091 * libio/getwchar.c (getwchar): Likewise.
3092 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3093 * libio/iogets.c (_IO_gets): Likewise.
3094 * libio/vscanf.c (_IO_vscanf): Likewise.
3095 * libio/vwscanf.c (__vwscanf): Likewise.
3096 * libio/tst-bz24153.c: New file.
3097 * libio/Makefile (tests): Add it.
3098
c70824b9
FW
30992019-02-02 Florian Weimer <fweimer@redhat.com>
3100
3101 [BZ #14829]
3102 * manual/resource.texi (Basic Scheduling Functions): Add
3103 portability note. Change process to task throughout the section.
3104 Remove incorrect comment about sched_yield as it affects
3105 tasks/threads, not entire processes.
3106 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3107 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3108
4dcbbc3b
JM
31092019-02-01 Joseph Myers <joseph@codesourcery.com>
3110
3111 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3112 * configure: Regenerated.
3113 * manual/install.texi (Tools for Compilation): Update minimum GCC
3114 version.
3115 * INSTALL: Regenerated.
3116
6175507c
FW
31172019-02-01 Florian Weimer <fweimer@redhat.com>
3118
3119 * support/support_test_compare_string.c
3120 (support_test_compare_string): Use "string" in error message.
3121 * support/tst-test_compare_string.c (do_test): Adjust.
3122
baef1943
FW
31232019-02-01 Florian Weimer <fweimer@redhat.com>
3124
3125 * support/support_format_address_family.c
3126 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3127
395599f0
FW
31282019-02-01 Florian Weimer <fweimer@redhat.com>
3129
3130 * manual/socket.texi (Internet Address Formats): Clarify the byte
3131 order of struct sockaddr_in, struct sockaddr_in6. Document
3132 sin6_flowinfo and sin6_scope_id.
3133
b06f4c00
WD
31342019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3135
3136 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3137 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3138 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3139 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3140 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3141 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3142
83d1cc42
FX
31432019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3144
3145 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3146 [!MEMCHR](MEMCHR): Set to __memchr.
3147 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3148 Add memchr_generic and memchr_nosimd.
3149 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3150 (__libc_ifunc_impl_list): Add memchr ifuncs.
3151 * sysdeps/aarch64/multiarch/memchr.c: New file.
3152 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3153 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3154
c7d3890f
FX
31552019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3156
3157 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3158 Add memset_emag.
3159 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3160 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3161 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3162 Add IS_EMAG check for ifunc dispatch.
3163 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3164 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3165
07c3d1ec
FX
31662019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3167
3168 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3169 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3170 Add emag.
3171 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3172 New macro.
3173
114f792e
SL
31742019-02-01 Stefan Liebler <stli@linux.ibm.com>
3175
3176 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3177
d5627550
VG
31782019-01-31 Vineet Gupta <vgupta@synopsys.com>
3179
3180 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3181 syscall-template file.
3182
5fc9ed4c
CD
31832019-01-31 Carlos O'Donell <carlos@redhat.com>
3184 Torvald Riegel <triegel@redhat.com>
3185 Rik Prohaska <prohaska7@gmail.com>
3186
3187 [BZ# 23844]
3188 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3189 tst-rwlock-trywrlock-stall.
3190 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3191 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3192 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3193 Set __wrphase_fute to 1 only if we started the write phase.
3194 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3195 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3196 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3197 * support/xpthread_rwlock_destroy.c: New file.
3198 * support/xthread.h: Declare xpthread_rwlock_destroy.
3199
932329a5
JM
32002019-02-01 Joseph Myers <joseph@codesourcery.com>
3201
3202 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3203 version to 4.0.2.
3204
5f10701f
PP
32052019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3206
3207 [BZ #24051]
3208 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3209 * libio/fileops.c (_IO_new_file_underflow): Likewise
3210 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3211 * libio/putchar.c (putchar): Likewise.
3212 * libio/putchar_u.c (putchar_unlocked): Likewise.
3213 * libio/putwchar.c (putchar): Likewise.
3214 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3215 * libio/tst-bz24051.c: New test.
3216 * libio/Makefile (tests): Add tst-bz24051
3217
583dd860
PE
32182019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3219
b626c5aa 3220 CVE-2019-9169
583dd860
PE
3221 regex: fix read overrun [BZ #24114]
3222 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3223 https://debbugs.gnu.org/34140
3224 * posix/regexec.c (proceed_next_node):
3225 Do not read past end of input buffer.
3226
2bac7daa
FW
32272019-01-31 Florian Weimer <fweimer@redhat.com>
3228
3229 [BZ #24059]
3230 * nss/nss_files/files-alias.c (get_next_alias): Handle
3231 continuation line without newline at the end.
3232 * nss/tst-nss-files-alias-truncated.c: New file.
3233 * nss/Makefile [$(build-shared)] (tests): Add
3234 tst-nss-files-alias-truncated.
3235 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3236 * support/namespace.h (struct support_chroot_configuration): Add
3237 aliases member.
3238 (struct support_chroot): Add path_aliases member.
3239 * support/support_chroot.c (support_chroot_create): Handle
3240 aliases.
3241 (support_chroot_free): Free path_aliases.
3242
330c9d0d
SP
32432019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3244
de44ab67
SP
3245 * version.h (RELEASE): Set to "development".
3246 (VERSION): Set to "2.29.9000".
3247 * NEWS: Add section for 2.30.
3248
56c86f5d
SP
3249 * version.h (RELEASE): Set to "stable".
3250 (VERSION): Set to "2.29".
3251 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3252
330c9d0d
SP
3253 * NEWS: Add the list of bugs fixed in 2.29.
3254 * manual/contrib.texi: Update contributors list with some more
3255 names.
3256 * manual/install.texi: Update latest versions of packages
3257 tested.
3258 * INSTALL: Regenerated.
3259
e1e47c91
SP
32602019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3261
3262 * po/be.po: Update translations.
3263 * po/bg.po: Likewise.
3264 * po/ca.po: Likewise.
3265 * po/cs.po: Likewise.
3266 * po/da.po: Likewise.
3267 * po/de.po: Likewise.
3268 * po/el.po: Likewise.
3269 * po/eo.po: Likewise.
3270 * po/es.po: Likewise.
3271 * po/fi.po: Likewise.
3272 * po/fr.po: Likewise.
3273 * po/gl.po: Likewise.
3274 * po/hr.po: Likewise.
3275 * po/hu.po: Likewise.
3276 * po/ia.po: Likewise.
3277 * po/id.po: Likewise.
3278 * po/it.po: Likewise.
3279 * po/ja.po: Likewise.
3280 * po/ko.po: Likewise.
3281 * po/lt.po: Likewise.
3282 * po/nb.po: Likewise.
3283 * po/nl.po: Likewise.
3284 * po/pl.po: Likewise.
3285 * po/pt_BR.po: Likewise.
3286 * po/ru.po: Likewise.
3287 * po/rw.po: Likewise.
3288 * po/sk.po: Likewise.
3289 * po/sl.po: Likewise.
3290 * po/sv.po: Likewise.
3291 * po/tr.po: Likewise.
3292 * po/uk.po: Likewise.
3293 * po/vi.po: Likewise.
3294 * po/zh_CN.po: Likewise.
3295 * po/zh_TW.po: Likewise.
3296
8d016826
UB
32972019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3298
3299 [BZ #24130]
3300 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3301 of $f3 register on $y_is_neg path.
3302
a0bb5abd
ST
33032019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3304
b96e22d0 3305 [BZ #24110]
a0bb5abd
ST
3306 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3307 sigaltstack.ss_flags.
3308
b22eed37
TS
33092019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3310
3311 [BZ #23758]
3312 * manual/time.texi (strftime): Document "%Ey".
3313 * time/strftime_l.c (__strftime_internal): Set the default width
3314 padding with zero of "%Ey" to 2.
3315
32f600a2
TS
3316 [BZ #24096]
3317 * manual/time.texi (strftime): Document "%EC" and "%EY".
3318 * time/Makefile (tests): Add tst-strftime2.
3319 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3320 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3321 override padding for "%Ey".
3322 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3323 "%Ey" in the subformat as if decorated with that flag.
3324 * time/tst-strftime2.c: New file.
3325
8e889c5d
AZ
33262019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3327
3367acdb
AZ
3328 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3329 are not defined.
3330
8e889c5d
AZ
3331 [BZ #24122]
3332 * elf/Makefile (tests): Add tst-audit13.
3333 (modules-names): Add tst-audit13mod1.
3334 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3335 rule.
3336 * elf/rtld.c (dl_main): Handle invalid audit module version.
3337 * elf/tst-audit13.c: New file.
3338 * elf/tst-audit13mod1.c: Likewise.
3339
a95dc01c
ST
33402019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3341
3342 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3343 returned by __hurd_at_flags.
ee4d7902
ST
3344 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3345 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3346 directly instead of __hurd_file_name_lookup.
a95dc01c 3347
712f1167
JM
33482019-01-21 Joseph Myers <joseph@codesourcery.com>
3349
3350 * scripts/build-many-glibcs.py (Context.checkout): Default
3351 binutils version to 2.32 branch.
3352
108bc404
FW
33532019-01-21 Florian Weimer <fweimer@redhat.com>
3354
3355 [BZ #20018]
3356 CVE-2016-10739
3357 resolv: Reject trailing characters in host names
3358 * include/arpa/inet.h (__inet_aton_exact): Declare.
3359 (inet_aton): Remove hidden prototype. No longer used internally.
3360 * nscd/gai.c (__inet_aton): Do not define.
3361 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3362 * nss/digits_dots.c (__inet_aton): Likewise.
3363 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3364 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3365 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3366 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3367 (tst-resolv-trailing): Likewise.
3368 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3369 libc.
3370 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3371 Make static. Add endp parameter.
3372 (__inet_aton_exact): New function.
3373 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3374 (__inet_addr): Call inet_aton_end.
3375 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3376 not just IPv6. Call __inet_aton_exact.
3377 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3378 (tests): Make const. Add additional test cases with trailing
3379 characters.
3380 (do_test): Use array_length.
3381 * resolv/tst-inet_aton_exact.c: New file.
3382 * resolv/tst-resolv-trailing.c: Likewise.
3383 * resolv/tst-resolv-nondecimal.c: Likewise.
3384 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3385
5165de69
L
33862019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3387
3388 [BZ# 24097]
3389 CVE-2019-6488
3390 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3391 Clear the upper 32 bits of RSI register.
3392 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3393 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3394 and tst-size_t-wcsnlen.
3395 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3396 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3397
c7c54f65
L
33982019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3399
3400 [BZ# 24097]
3401 CVE-2019-6488
3402 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3403 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3404 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3405 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3406 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3407
ee915088
L
34082019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3409
3410 [BZ# 24097]
3411 CVE-2019-6488
3412 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3413 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3414 * sysdeps/x86_64/strcmp.S: Likewise.
3415 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3416 tst-size_t-strncmp and tst-size_t-wcsncmp.
3417 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3418 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3419 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3420
82d0b4a4
L
34212019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3422
3423 [BZ# 24097]
3424 CVE-2019-6488
3425 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3426 RDX_LP for length. Clear the upper 32 bits of RDX register.
3427 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3428 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3429 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3430 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3431
ecd8b842
L
34322019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3433
3434 [BZ# 24097]
3435 CVE-2019-6488
3436 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3437 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3438 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3439 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3440
231c5676
L
34412019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3442
3443 [BZ# 24097]
3444 CVE-2019-6488
3445 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3446 length. Clear the upper 32 bits of RDX register.
3447 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3448 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3449 Likewise.
3450 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3451 Likewise.
3452 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3453 tst-size_t-wmemchr.
3454 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3455
b304fc20
L
34562019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3457
3458 [BZ# 24097]
3459 CVE-2019-6488
3460 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3461 length. Clear the upper 32 bits of RDX register.
3462 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3463 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3464 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3465 tst-size_t-wmemcmp.
3466 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3467 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3468
97700a34
L
34692019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3470
3471 [BZ# 24097]
3472 CVE-2019-6488
3473 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3474 upper 32 bits of RDX register.
3475 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3476 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3477 tst-size_t-wmemchr.
3478 * sysdeps/x86_64/x32/test-size_t.h: New file.
3479 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3480 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3481
6ca53a24
FW
34822019-01-18 Florian Weimer <fweimer@redhat.com>
3483
3484 [BZ #24112]
3485 resolv: Do not send queries for non-host-names in nss_dns.
3486 * resolv/nss_dns/dns-host.c (check_name): New function.
3487 (_nss_dns_gethostbyname2_r): Use it.
3488 (_nss_dns_gethostbyname_r): Likewise.
3489 (_nss_dns_gethostbyname4_r): Likewise.
3490
5e30b8ef
FW
34912019-01-21 Florian Weimer <fweimer@redhat.com>
3492
3493 * resolv/inet_addr.c: Reformat to GNU style.
3494 (__inet_addr, __inet_aton): Update comment.
3495
71effcea
FW
34962019-01-18 Florian Weimer <fweimer@redhat.com>
3497
3498 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3499 ("malloc: Use current (C11-style) atomics for fastbin access").
3500 This commit introduces a substantial performance regression on
3501 POWER and Aarch64.
3502 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3503 (REMOVE_FB): Define.
3504 (_int_malloc): Use it and reindent.
3505 (_int_free): Use CAS loop with
3506 catomic_compare_and_exchange_val_rel.
3507 (malloc_consolidate): Use atomic_exchange_acq.
3508
3509
562f4362
L
35102019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3511
3512 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3513 -Wl,-z,now.
3514 (LDFLAGS-tst-minsigstksz-2): Likewise.
3515 (LDFLAGS-tst-minsigstksz-3): Likewise.
3516 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3517 (LDFLAGS-tst-minsigstksz-4): Likewise.
3518
80dfa298
TS
35192019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3520
3521 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3522 than "alternate".
3523
008b598e
PC
35242019-01-16 Paul A. Clarke <pc@us.ibm.com>
3525
3526 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3527
fbbc9a4e
ZW
35282019-01-16 Zack Weinberg <zackw@panix.com>
3529
6b5c8607
TS
3530 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3531 (xget_sigstack_location): New test support functions.
3532 * support/xsigstack.c: New file, implementing them.
3533 * support/tst-xsigstack.c: New test for them.
3534 * support/Makefile: Update.
fbbc9a4e 3535
6b5c8607
TS
3536 * signal/tst-minsigstksz-1.c
3537 * signal/tst-minsigstksz-2.c
3538 * signal/tst-minsigstksz-3.c
3539 * signal/tst-minsigstksz-3a.c
3540 * signal/tst-minsigstksz-4.c: New tests.
3541 * signal/Makefile: Run them.
fbbc9a4e 3542
5f1135e4
SP
35432019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3544
3545 * po/libc.pot: Regenerate.
3546
ecdacd34
TMQMF
35472019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3548
3549 * math/libm-test-fma.inc (fma_test_data): Set
3550 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3551
56054664
RA
35522019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3553
3554 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3555 (do_test): Changed __vector __int128_t to __vector unsigned int.
3556
1a153e47
LS
35572019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3558
3559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3560 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3561 stpcpy-avx2 and stpncpy-avx2.
3562 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3563 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3564 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3565 and __stpncpy_avx2.
3566 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3567 ifunc-strcpy.h}: rename header for a more generic name.
3568 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3569 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3570 AVX unaligned load is fast and vzeroupper is preferred.
3571 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3572 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3573 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3574 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3575 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3576 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3577
a1b02ae7
DL
35782019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3579
3580 * argp/argp-help.c: Fix typo in comment.
3581 * misc/sys/cdefs.h: Likewise.
3582 * posix/regexec.c (sift_states_iter_mb): Likewise.
3583 * socket/sockatmark.c: Likewise.
3584 * socket/sys/socket.h: Likewise.
3585 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3586 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3587 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3588 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3589 * sysdeps/unix/sockatmark.c: Likewise.
3590 * time/strptime_l.c: Likewise.
3591
5cbbf01e
TS
35922019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3593
3594 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3595 missing space after the cast of "_NL_CURRENT".
3596
0bc9bdf1
RA
35972019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3598
3599 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3600 ifdef to fix read of VSCR.
3601 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3602 tst-ucontext-ppc64-vscr.c to test list.
3603 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3604
5494af04
AH
36052019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3606
3607 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3608 fall-through.
3609
e17f63ff
JW
36102019-01-09 Jim Wilson <jimw@sifive.com>
3611
3612 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3613
02f440c1
WD
36142019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3615
3616 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3617 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3618 __memcpy_falkor for ares.
3619 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3620 Add new define.
3621 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3622 Add ares cpu.
3623
69da3c9e
L
36242019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3625
3626 [BZ #24066]
3627 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3628 4_FP_W_TYPEs are used for IEEE quad precision.
3629 * soft-fp/extendhftf2.c: Likewise.
3630 * soft-fp/extendsftf2.c: Likewise.
3631 * soft-fp/extendxftf2.c: Likewise.
3632 * soft-fp/trunctfdf2.c: Likewise.
3633 * soft-fp/trunctfhf2.c: Likewise.
3634 * soft-fp/trunctfsf2.c: Likewise.
3635 * soft-fp/trunctfxf2.c: Likewise.
3636 * sysdeps/alpha/ots_cvttx.c: Likewise.
3637 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3638 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3639 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3640 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3641 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3642 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3643 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3644 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3645 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3646 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3647 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3648 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3649 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3650 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3651 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3652 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3653 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3654
2ef42716
AJ
36552019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3656
3657 [BZ #24024]
3658 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3659 code with -fmath-errno.
3660 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3661 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3662 * string/test-strerror-errno.c: New file.
3663
7395f3a0
AJ
36642019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3665
3666 [BZ #24046]
3667 * localedata/locales/en_US (date_fmt): Add, set to
3668 "%a %d %b %Y %r %Z".
3669
010fe231
FW
36702019-01-07 Florian Weimer <fweimer@redhat.com>
3671
3672 [BZ #24063]
3673 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3674 instead of @var{errno}.
3675 (Parsing of Integers): Likewise.
3676 (Parsing of Floats): Likewise.
3677 * manual/filesys.texi (Working with Directory Trees): Likewise.
3678 (Temporary Files): Likewise.
3679 * manual/job.texi (Terminal Access Functions): Likewise.
3680 * manual/llio.texi (Synchronizing I/O): Likewise.
3681 * manual/math.texi (SVID Random): Likewise.
3682 * manual/message.texi (The catgets Functions): Likewise.
3683 (Translation with gettext): Likewise.
3684 (Locating gettext catalog): Likewise.
3685 (Charset conversion in gettext): Likewise.
3686 * manual/nss.texi (NSS Module Function Internals): Likewise.
3687 * manual/search.texi (Hash Search Function): Likewise.
3688 * manual/setjmp.texi (System V contexts): Likewise.
3689 * manual/time.texi (Sleeping): Likewise.
3690 * manual/users.texi (Lookup User): Likewise.
3691 (Lookup Group): Likewise.
3692
b79dc8d0
AZ
36932019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3694
3695 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3696 fix typo.
3697
890461fe 36982019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
3699
3700 [BZ #19444]
3701 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3702 __builtin_unreachable for default case in switch.
3703 (__ieee754_yn): Likewise.
3704 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3705 (__ieee754_ynl): Likewise.
3706 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3707 (__ieee754_ynl): Likewise.
3708 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3709 (__ieee754_ynl): Likewise.
3710
8b18d418
SN
37112019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3712
3713 * manual/maint.texi: Use @{ and @}.
3714
4392898d
FW
37152019-01-04 Florian Weimer <fweimer@redhat.com>
3716
3717 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3718 function.
3719 (do_in_chroot_1): Call it.
3720 (run_chroot_tests):
3721 Improve error reporting in case it is not possible to create a
3722 collision for the PTY name required by the test.
3723
17cc27d5
AZ
37242019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3725
ce7eb0e9
AZ
3726 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3727 lll_wait_tid with timeout.
3728 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3729 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3730 futex_reltimed_wait_cancelable for cancelabla mode.
3731 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3732 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3733 macros.
3734 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3735 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3736 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3737 SYSCALL_CANCEL_NCS): New macro.
3738 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3739 (lll_timedwait_tid): Remove macro.
3740 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3741 Likewise.
3742 (lll_timedwait_tid): Likewise.
3743 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3744 Likewise.
3745 (lll_timedwait_tid): Likewise.
3746 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3747 Likewise.
3748 (lll_timedwait_tid): Likewise.
3749 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3750 Use INTERNAL_SYSCALL_CANCEL.
3751 * sysdeps/unix/sysv/linux/futex-internal.h
3752 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3753 instead of __pthread_{enable,disable}_asynccancel.
3754 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3755 (lll_futex_wait_cancel): New macro.
3756
0b13e255
AZ
3757 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3758 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3759
85c828a4
AZ
3760 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3761 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3762
d0d7f85f
AZ
3763 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3764 in backtrace analysis.
3765 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3766 side-effects.
3767 (tf_send): Likewise.
3768
17cc27d5
AZ
3769 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3770 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3771 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3772 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3773 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3774 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3775 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3776 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3777 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3778 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3779 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3780 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3781 Likewise.
3782 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3783 tst-cancel-wrappers.sh.
3784 (generated): Remove tst-cancel-wrappers.out.
3785 (tst-cancel-wrappers.out): Remove rule.
3786 * nptl/tst-cancel-wrappers.sh: Remove file.
3787
7d7af8f1
SN
37882019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3789
3790 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3791 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3792 Update.
3793
805334b2
AZ
37942019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3795
3796 [BZ #23640]
3797 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3798 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3799 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3800 close-on-exec reset for adddup2 file action.
3801 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3802
03992356
ZW
38032019-01-03 Zack Weinberg <zackw@panix.com>
3804
3805 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3806 parameter. Only use deprecated scanf when __USE_GNU is defined
3807 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3808 than 201103L, whichever is relevant for the language being compiled.
3809
3810 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3811 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3812 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3813 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3814 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3815
3816 * libio/iovsscanf.c
3817 * libio/fwscanf.c
3818 * libio/iovswscanf.c
3819 * libio/swscanf.c
3820 * libio/vscanf.c
3821 * libio/vwscanf.c
3822 * libio/wscanf.c
3823 * stdio-common/fscanf.c
3824 * stdio-common/scanf.c
3825 * stdio-common/vfscanf.c
3826 * stdio-common/vfwscanf.c
3827 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3828 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3829 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3830 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3831 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3832 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3833 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3834 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3835 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3836 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3837 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3838 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3839 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3840 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3841 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3842
3843 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3844 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3845 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3846 not sscanf.
3847 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3848 with a preprocessor macro.
3849
3850 * stdio-common/bug21.c, stdio-common/scanf14.c:
3851 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3852 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3853 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3854 to xscanf, xfscanf, xsscanf.
3855
3856 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3857 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3858 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3859 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3860 xfscanf, xsscanf.
3861 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3862 override feature selection macros or provide definitions of u_char etc.
3863 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3864 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3865 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3866 with -std=gnu89.
3867
8083afa5
AZ
38682019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3869
6f343c1f
AZ
3870 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3871 bits/termios-misc.h.
3872 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3873 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3874 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3875 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3876 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3877 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3878
51f4beb0
AZ
3879 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3880 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3881 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3882 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3883 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3884 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3885 termios-misc.h.
3886 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3887 (sysdep_headers): Add termios-misc.h.
3888
f69c5cb2
AZ
3889 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3890 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3891 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3892
3aa4a07e
AZ
3893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3894 termios-tcflow.h.
3895 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3896 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3897 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3898 TCSAFLUSH): Move to termios-tcflow.h.
3899 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3900 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3901 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3902 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3903
22679ddf
AZ
3904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3905 termios-c_lflag.h.
3906 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3907 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3908 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3909 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3910 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3911 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3912 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3913 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3914 Likewise.
3915 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3916 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3917 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3918 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3919
72eb6ecc
AZ
3920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3921 termios-c_cflag.h.
3922 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3923 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3924 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3925 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3926 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3927 termios-c_cflag.h.
3928 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3929 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3930 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3931 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3932
9c5d0d02
AZ
3933 [BZ #23783]
3934 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3935 termios-baud.h.
3936 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3937 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3938 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3939 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3940 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3941 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3942 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3943 __MAX_BAUD): Move to termios-baud.h.
3944 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3945 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3946 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3947 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3948 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3949
7b832018
AZ
3950 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3951 termios-c_oflag.h.
3952 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3953 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3954 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3955 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3956 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3957 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3958 termios-c_oflag.h.
3959 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3960 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3961 FFR1): Likewise.
3962 [USE_MISC] (XTABS): Likewise.
3963 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3964 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3965 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3966 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3967
3127003e
AZ
3968 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3969 termios-c_iflag.h.
3970 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3971 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3972 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3973 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3974 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3975 IUTF8): Move to termios-c_iflag.h.
3976 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3977 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3978 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3979 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3980
48c1dd96
AZ
3981 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3982 termios-cc.h.
3983 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3984 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3985 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3986 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3987 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3988 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3989 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3990 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3991 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3992 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3993 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3994 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3995
e5a50db3
AZ
3996 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3997 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3998 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3999 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4000 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4001 termios-struct.h.
4002 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4003 termios-struct.h.
4004 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4005 Likewise.
4006 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4007 Likewise.
4008 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4009 Likewise.
4010 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4011 Likewise.
4012 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4013 _HAVE_C_OSPEED): Define.
4014 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4015 _HAVE_C_OSPEED): Likewise.
4016 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4017 _HAVE_C_OSPEED): Likewise.
4018 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4019 (cfsetospeed): Check for define value instead of existence.
4020 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4021 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4022 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4023 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4024 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4025
8083afa5
AZ
4026 [BZ #17783]
4027 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4028 Define.
4029 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4030 (TIOCSER_TEMT): Likewise.
4031 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4032 (TEOCSER_TEMT): Likewise.
4033
4d7d7dc6
P
40342019-01-02 PanderMusubi <pander@users.sourceforge.net>
4035
4036 [BZ #24011]
4037 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4038
8e291a29
JM
40392019-01-02 Joseph Myers <joseph@codesourcery.com>
4040
4041 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4042
55137f7d
ST
40432019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4044
4045 * sysdeps/htl/pt-barrierattr-setpshared.c
4046 (pthread_barrierattr_setpshared): Add stub warning.
4047 * sysdeps/htl/pt-condattr-setpshared.c
4048 (pthread_condattr_setpshared): Likewise.
4049 * sysdeps/htl/pt-mutexattr-setpshared.c
4050 (pthread_mutexattr_setpshared): Likewise.
4051 * sysdeps/htl/pt-rwlockattr-setpshared.c
4052 (pthread_rwlockattr_setpshared): Likewise.
4053 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4054 (pthread_mutexattr_setpshared): Likewise.
4055
2ce09e01
JM
40562019-01-02 Joseph Myers <joseph@codesourcery.com>
4057
acb55dcb
JM
4058 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4059 constants to match with Linux 4.20.
4060
2ce09e01
JM
4061 * sysdeps/mips/mips32/libm-test-ulps: Update.
4062 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4063
fe20bb1d
AJ
40642019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4065
4066 [BZ #24034]
4067 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4068 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4069 than __typeof (...) for the a_ptr variable.
4070
2d9837c1
GG
40712019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4072
4073 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4074 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4075 * libio/Makefile (tests): Add tst-sprintf-ub and
4076 tst-sprintf-chk-ub.
4077 (CFLAGS-tst-sprintf-ub.c): New variable.
4078 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4079 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4080 destination buffer and check for overflows in fortified mode.
4081 * libio/libioP.h (PRINTF_CHK): New macro.
4082 * libio/tst-sprintf-chk-ub.c: New file.
4083 * libio/tst-sprintf-ub.c: Likewise.
4084
d5c6df0b 40852019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
4086
4087 [BZ #24018]
4088 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4089 failure.
4090
66081e38
FW
40912019-01-02 Florian Weimer <fweimer@redhat.com>
4092
4093 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4094
04277e02
JM
40952019-01-01 Joseph Myers <joseph@codesourcery.com>
4096
6ef3d225
JM
4097 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4098 macro.
4099
e3d4e292
JM
4100 * sysdeps/unix/sysv/linux/netpacket/packet.h
4101 (PACKET_IGNORE_OUTGOING): New macro.
4102
f4507797
JM
4103 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4104 macro.
4105
47ad5e1a
JM
4106 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4107 version to 4.20.
4108 (riscv_flush_icache): New syscall.
4109
7628a1b0
JM
4110 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4111 trailing whitespace removed.
4112 * scripts/config.guess: Update to version 2019-01-01.
4113 * scripts/config.sub: Update to version 2019-01-01.
4114 * scripts/move-if-change: Update from gnulib.
4115
c9123888
JM
4116 * NEWS: Update copyright dates.
4117 * catgets/gencat.c (print_version): Likewise.
4118 * csu/version.c (banner): Likewise.
4119 * debug/catchsegv.sh: Likewise.
4120 * debug/pcprofiledump.c (print_version): Likewise.
4121 * debug/xtrace.sh (do_version): Likewise.
4122 * elf/ldconfig.c (print_version): Likewise.
4123 * elf/ldd.bash.in: Likewise.
4124 * elf/pldd.c (print_version): Likewise.
4125 * elf/sotruss.sh: Likewise.
4126 * elf/sprof.c (print_version): Likewise.
4127 * iconv/iconv_prog.c (print_version): Likewise.
4128 * iconv/iconvconfig.c (print_version): Likewise.
4129 * locale/programs/locale.c (print_version): Likewise.
4130 * locale/programs/localedef.c (print_version): Likewise.
4131 * login/programs/pt_chown.c (print_version): Likewise.
4132 * malloc/memusage.sh (do_version): Likewise.
4133 * malloc/memusagestat.c (print_version): Likewise.
4134 * malloc/mtrace.pl: Likewise.
4135 * manual/libc.texinfo: Likewise.
4136 * nptl/version.c (banner): Likewise.
4137 * nscd/nscd.c (print_version): Likewise.
4138 * nss/getent.c (print_version): Likewise.
4139 * nss/makedb.c (print_version): Likewise.
4140 * posix/getconf.c (main): Likewise.
4141 * scripts/test-installation.pl: Likewise.
4142 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4143
04277e02
JM
4144 * All files with FSF copyright notices: Update copyright dates
4145 using scripts/update-copyrights.
4146 * locale/programs/charmap-kw.h: Regenerated.
4147 * locale/programs/locfile-kw.h: Likewise.
4148
e740e5b1
JM
41492018-12-31 Joseph Myers <joseph@codesourcery.com>
4150
4151 * timezone/zdump.c: Update from tzcode 2018i.
4152 * timezone/zic.c: Likewise.
4153
9b7f98b3
PE
41542018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4155
4156 regex: improve Gnulib port to AIX
4157 From the glibc point of view, this removes duplicate macro
4158 definitions and is obviously safe.
4159 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4160 * posix/regex_internal.h:
4161 (__attribute__, __attribute_warn_unused_result__):
4162 Remove; already defined elsewhere.
4163
b50dd3bc
FW
41642018-12-31 Florian Weimer <fw@deneb.enyo.de>
4165
4166 [BZ #24027]
4167 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4168 copying operation. (ncopies had the wrong type, resulting in an
4169 integer wraparound and too few elements being copied.)
4170
0b9c8490
L
41712018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4172
4173 [BZ #24022]
4174 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4175 <asm/syscalls.h> exists with __has_include__ before including it.
4176
01047fa6
JM
41772018-12-31 Joseph Myers <joseph@codesourcery.com>
4178
4179 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4180 version to 4.20.
4181
6b5c8607 41822018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
4183
4184 * hurd/lookup-retry: Include <unistd.h>.
4185 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4186 Release it on return. Handle "pid" magical lookup retry.
4187
989182c4
RL
41882018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4189
4190 [BZ #10496]
4191 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4192 (t_fmt_ampm): Likewise.
4193 * localedata/locales/aa_ER (t_fmt): Likewise.
4194 (t_fmt_ampm): Likewise.
4195 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4196 (t_fmt_ampm): Likewise.
4197 * localedata/locales/aa_ET (t_fmt): Likewise.
4198 (t_fmt_ampm): Likewise.
4199 * localedata/locales/am_ET (t_fmt): Likewise.
4200 (t_fmt_ampm): Likewise.
4201 * localedata/locales/byn_ER (t_fmt): Likewise.
4202 (t_fmt_ampm): Likewise.
4203 * localedata/locales/om_ET (t_fmt): Likewise.
4204 (t_fmt_ampm): Likewise.
4205 * localedata/locales/sid_ET (t_fmt): Likewise.
4206 (t_fmt_ampm): Likewise.
4207 * localedata/locales/so_DJ (t_fmt): Likewise.
4208 (t_fmt_ampm): Likewise.
4209 * localedata/locales/so_ET (t_fmt): Likewise.
4210 (t_fmt_ampm): Likewise.
4211 * localedata/locales/so_SO (t_fmt): Likewise.
4212 (t_fmt_ampm): Likewise.
4213 * localedata/locales/ti_ER (t_fmt): Likewise.
4214 (t_fmt_ampm): Likewise.
4215 * localedata/locales/ti_ET (t_fmt): Likewise.
4216 (t_fmt_ampm): Likewise.
4217 * localedata/locales/tig_ER (t_fmt): Likewise.
4218 (t_fmt_ampm): Likewise.
4219 * localedata/locales/wal_ET (t_fmt): Likewise.
4220 (t_fmt_ampm): Likewise.
4221
4222 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4223 * localedata/locales/ar_IN (t_fmt): Likewise.
4224 * localedata/locales/bhb_IN (t_fmt): Likewise.
4225 * localedata/locales/bho_IN (t_fmt): Likewise.
4226 * localedata/locales/bi_VU (t_fmt): Likewise.
4227 * localedata/locales/bn_BD (t_fmt): Likewise.
4228 * localedata/locales/bn_IN (t_fmt): Likewise.
4229 * localedata/locales/brx_IN (t_fmt): Likewise.
4230 * localedata/locales/doi_IN (t_fmt): Likewise.
4231 * localedata/locales/en_HK (t_fmt): Likewise.
4232 (t_fmt_ampm): Likewise.
4233 * localedata/locales/en_IN (t_fmt): Likewise.
4234 * localedata/locales/en_PH (t_fmt): Likewise.
4235 * localedata/locales/gu_IN (t_fmt): Likewise.
4236 * localedata/locales/hi_IN (t_fmt): Likewise.
4237 * localedata/locales/hif_FJ (t_fmt): Likewise.
4238 * localedata/locales/hne_IN (t_fmt): Likewise.
4239 * localedata/locales/kn_IN (t_fmt): Likewise.
4240 * localedata/locales/kok_IN (t_fmt): Likewise.
4241 * localedata/locales/ks_IN (t_fmt): Likewise.
4242 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4243 * localedata/locales/mag_IN (t_fmt): Likewise.
4244 * localedata/locales/mai_IN (t_fmt): Likewise.
4245 * localedata/locales/mjw_IN (t_fmt): Likewise.
4246 * localedata/locales/ml_IN (t_fmt): Likewise.
4247 * localedata/locales/mni_IN (t_fmt): Likewise.
4248 * localedata/locales/mr_IN (t_fmt): Likewise.
4249 * localedata/locales/ms_MY (t_fmt): Likewise.
4250 * localedata/locales/pa_IN (t_fmt): Likewise.
4251 * localedata/locales/raj_IN (t_fmt): Likewise.
4252 * localedata/locales/sa_IN (t_fmt): Likewise.
4253 * localedata/locales/sat_IN (t_fmt): Likewise.
4254 * localedata/locales/sd_IN (t_fmt): Likewise.
4255 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4256 * localedata/locales/tcy_IN (t_fmt): Likewise.
4257 * localedata/locales/the_NP (t_fmt): Likewise.
4258 * localedata/locales/to_TO (t_fmt): Likewise.
4259 * localedata/locales/ur_IN (t_fmt): Likewise.
4260
4261 * localedata/locales/hif_FJ (d_t_fmt): Set to
4262 "%A %d %b %Y %I:%M:%S %p".
4263 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4264
4265 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4266 * localedata/locales/ar_BH (t_fmt): Likewise.
4267 * localedata/locales/ar_DZ (t_fmt): Likewise.
4268 * localedata/locales/ar_EG (t_fmt): Likewise.
4269 * localedata/locales/ar_IQ (t_fmt): Likewise.
4270 * localedata/locales/ar_JO (t_fmt): Likewise.
4271 * localedata/locales/ar_KW (t_fmt): Likewise.
4272 * localedata/locales/ar_LB (t_fmt): Likewise.
4273 * localedata/locales/ar_LY (t_fmt): Likewise.
4274 * localedata/locales/ar_OM (t_fmt): Likewise.
4275 * localedata/locales/ar_QA (t_fmt): Likewise.
4276 * localedata/locales/ar_SD (t_fmt): Likewise.
4277 * localedata/locales/ar_SS (t_fmt): Likewise.
4278 * localedata/locales/ar_SY (t_fmt): Likewise.
4279 * localedata/locales/ar_TN (t_fmt): Likewise.
4280 * localedata/locales/ar_YE (t_fmt): Likewise.
4281
4282 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4283 (t_fmt_ampm): Likewise.
4284 * localedata/locales/gez_ET (t_fmt): Likewise.
4285 (t_fmt_ampm): Likewise.
4286
4287 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4288 (t_fmt_ampm): Likewise.
4289 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4290
4291 * localedata/locales/zh_HK (t_fmt):
4292 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4293
4294 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4295 because this locale does not use the 12-hour clock.
4296 (t_fmt): Set to "%Z %H:%M:%S".
4297 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4298
4299 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4300 because this locale does not use the 12-hour clock.
4301 (t_fmt): Set to "%H:%M:%S %Z".
4302 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4303
4304 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4305 because this locale does not use the 12-hour clock.
4306 (t_fmt): Set to "%T".
4307 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4308 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4309
4310 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4311 because this locale does not use the 12-hour clock.
4312 (t_fmt): Set to "%H:%M:%S %Z".
4313 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4314
4315 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4316 because this locale does not use the 12-hour clock.
4317 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4318 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4319
27841a7d
RL
43202018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4321
4322 [BZ #10496]
4323 [BZ #23724]
4324 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4325 (t_fmt_ampm): Likewise.
4326 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4327 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4328 (d_fmt): Set to "%-d.%-m.%y".
4329
0253580a
AZ
43302018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4331
4332 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4333 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4334 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4335 Likewise.
4336 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4337 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4338 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4339 function.
4340 * support/blob_repeat.c (check_mul_overflow_size_t,
4341 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4342
09104e5b
AJ
43432018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4344
4345 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4346
c0feb731
PE
43472018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4348
4349 regex: simplify Gnulib port
4350 This simplifies the code, by removing stuff intended for porting
4351 to Gnulib but no longer needed there.
4352 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4353 uses of libc_hidden_def, weak_alias.
4354 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4355 _Restrict_ except for public-facing headers.
4356 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4357 Remove; already defined elsewhere.
4358 * posix/regex.c, posix/regex_internal.h:
4359 Use __GNUC_PREREQ instead of rolling our own.
4360 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4361
5289f1f5
WD
43622018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4363
4364 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 4365 (memchr_strlen): New function.
5289f1f5 4366
ba4b8fab
L
43672018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4368
4369 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4370 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4371 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4372
9412979a
L
43732018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4374
4375 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4376
8700a785
L
43772018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4378
4379 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4380 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4381 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4382 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4383 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4384 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4385 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4386
57b3ff8e
JM
43872018-12-21 Joseph Myers <joseph@codesourcery.com>
4388
4389 [BZ #24023]
4390 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4391 PLT reference in libc.so.
4392 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4393 _Q_lltoq and _Q_qtod PLT references in libc.so.
4394
90d3320d
WD
43952018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4396
4397 * benchtests/bench-memchr.c: Cleanup defines.
4398 * benchtests/bench-memcmp.c: Likewise.
4399 * benchtests/bench-memset.c: Likewise.
4400 * benchtests/bench-memset-large.c: Likewise.
4401 * benchtests/bench-memset-walk.c: Likewise.
4402 * benchtests/bench-stpcpy.c: Likewise.
4403 * benchtests/bench-stpncpy.c: Likewise.
4404 * benchtests/bench-strcat.c: Likewise.
4405 * benchtests/bench-strchr.c: Likewise.
4406 * benchtests/bench-strcmp.c: Likewise.
4407 * benchtests/bench-strcpy.c: Likewise.
4408 * benchtests/bench-strcspn.c: Likewise.
4409 * benchtests/bench-string.h: Likewise.
4410 * benchtests/bench-strlen.c: Likewise.
4411 * benchtests/bench-strncat.c: Likewise.
4412 * benchtests/bench-strncmp.c: Likewise.
4413 * benchtests/bench-strncpy.c: Likewise.
4414 * benchtests/bench-strnlen.c: Likewise.
4415 * benchtests/bench-strpbrk.c: Likewise.
4416 * benchtests/bench-strrchr.c: Likewise.
4417 * benchtests/bench-strspn.c: Likewise.
4418
192963be
JM
44192018-12-21 Joseph Myers <joseph@codesourcery.com>
4420
5d025ea6
JM
4421 * stdlib/longlong.h: Update from GCC.
4422
192963be
JM
4423 [BZ #23993]
4424 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4425 * configure: Regenerated.
4426 * manual/install.texi (Tools for Compilation): Update minimum GCC
4427 version.
4428 * INSTALL: Regenerated.
4429
6b5c8607 44302018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
4431
4432 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4433
6b5c8607 44342018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
4435
4436 * malloc/malloc.c (mremap_chunk): Additional checks.
4437
5f72b005
MH
44382018-12-21 Mao Han <han_mao@c-sky.com>
4439
4440 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4441 * scripts/build-many-glibcs.py: Add C-SKY targets.
4442 * sysdeps/csky/Implies: New file.
4443 * sysdeps/csky/Makefile: Likewise.
4444 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4445 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4446 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4447 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4448 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4449 * sysdeps/csky/abiv2/memmove.S: Likewise.
4450 * sysdeps/csky/abiv2/memset.S: Likewise.
4451 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4452 * sysdeps/csky/abiv2/start.S: Likewise.
4453 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4454 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4455 * sysdeps/csky/abiv2/strlen.S: Likewise.
4456 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4457 * sysdeps/csky/abort-instr.h: Likewise.
4458 * sysdeps/csky/atomic-machine.h: Likewise.
4459 * sysdeps/csky/bits/endian.h: Likewise.
4460 * sysdeps/csky/bits/fenv.h: Likewise.
4461 * sysdeps/csky/bits/link.h: Likewise.
4462 * sysdeps/csky/bits/setjmp.h: Likewise.
4463 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4464 * sysdeps/csky/bsd-setjmp.S: Likewise.
4465 * sysdeps/csky/configure: Likewise.
4466 * sysdeps/csky/configure.ac: Likewise.
4467 * sysdeps/csky/dl-machine.h: Likewise.
4468 * sysdeps/csky/dl-procinfo.c: Likewise.
4469 * sysdeps/csky/dl-procinfo.h: Likewise.
4470 * sysdeps/csky/dl-sysdep.h: Likewise.
4471 * sysdeps/csky/dl-tls.h: Likewise.
4472 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4473 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4474 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4475 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4476 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4477 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4478 * sysdeps/csky/fpu/fegetround.c: Likewise.
4479 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4480 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4481 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4482 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4483 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4484 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4485 * sysdeps/csky/fpu/fesetround.c: Likewise.
4486 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4487 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4488 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4489 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4490 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4491 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4492 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4493 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4494 * sysdeps/csky/fpu_control.h: Likewise.
4495 * sysdeps/csky/gccframe.h: Likewise.
4496 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4497 * sysdeps/csky/ldsodefs.h: Likewise.
4498 * sysdeps/csky/libc-tls.c: Likewise.
4499 * sysdeps/csky/linkmap.h: Likewise.
4500 * sysdeps/csky/machine-gmon.h: Likewise.
4501 * sysdeps/csky/memusage.h: Likewise.
4502 * sysdeps/csky/nofpu/Implies: Likewise.
4503 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4504 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4505 * sysdeps/csky/nptl/Makefile: Likewise.
4506 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4507 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4508 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4509 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4510 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4511 * sysdeps/csky/nptl/tls.h: Likewise.
4512 * sysdeps/csky/preconfigure: Likewise.
4513 * sysdeps/csky/sfp-machine.h: Likewise.
4514 * sysdeps/csky/sotruss-lib.c: Likewise.
4515 * sysdeps/csky/stackinfo.h: Likewise.
4516 * sysdeps/csky/sysdep.h: Likewise.
4517 * sysdeps/csky/tininess.h: Likewise.
4518 * sysdeps/csky/tst-audit.h: Likewise.
4519 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4520 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4521 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4522 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4523 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4524 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4525 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4526 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4527 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4528 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4529 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4530 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4531 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4532 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4533 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4534 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4535 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4536 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4537 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4538 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4539 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4540 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4541 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4542 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4543 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4544 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4545 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4546 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4547 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4548 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4549 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4550 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4551 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4552 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4553 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4554 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4555 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4556 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4557 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4558 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4559 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4560 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4561 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4562 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4563
6b5c8607 45642018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
4565
4566 * include/time.h (__difftime64): Add.
4567 * time/difftime.c (subtract): convert to 64-bit time.
4568 * time/difftime.c (__difftime64): Add.
4569 * time/difftime.c (__difftime): Wrap around __difftime64.
4570
ab416931
L
45712018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4572
4573 * manual/examples/add.c: Remove redundant "if not".
4574 * manual/examples/argp-ex1.c: Likewise.
4575 * manual/examples/argp-ex2.c: Likewise.
4576 * manual/examples/argp-ex3.c: Likewise.
4577 * manual/examples/argp-ex4.c: Likewise.
4578 * manual/examples/atexit.c: Likewise.
4579 * manual/examples/db.c: Likewise.
4580 * manual/examples/dir.c: Likewise.
4581 * manual/examples/dir2.c: Likewise.
4582 * manual/examples/execinfo.c: Likewise.
4583 * manual/examples/filecli.c: Likewise.
4584 * manual/examples/filesrv.c: Likewise.
4585 * manual/examples/fmtmsgexpl.c: Likewise.
4586 * manual/examples/genpass.c: Likewise.
4587 * manual/examples/inetcli.c: Likewise.
4588 * manual/examples/inetsrv.c: Likewise.
4589 * manual/examples/isockad.c: Likewise.
4590 * manual/examples/longopt.c: Likewise.
4591 * manual/examples/memopen.c: Likewise.
4592 * manual/examples/memstrm.c: Likewise.
4593 * manual/examples/mkdirent.c: Likewise.
4594 * manual/examples/mkfsock.c: Likewise.
4595 * manual/examples/mkisock.c: Likewise.
4596 * manual/examples/mygetpass.c: Likewise.
4597 * manual/examples/pipe.c: Likewise.
4598 * manual/examples/popen.c: Likewise.
4599 * manual/examples/rprintf.c: Likewise.
4600 * manual/examples/search.c: Likewise.
4601 * manual/examples/select.c: Likewise.
4602 * manual/examples/setjmp.c: Likewise.
4603 * manual/examples/sigh1.c: Likewise.
4604 * manual/examples/sigusr.c: Likewise.
4605 * manual/examples/stpcpy.c: Likewise.
4606 * manual/examples/strdupa.c: Likewise.
4607 * manual/examples/strftim.c: Likewise.
4608 * manual/examples/subopt.c: Likewise.
4609 * manual/examples/swapcontext.c: Likewise.
4610 * manual/examples/termios.c: Likewise.
4611 * manual/examples/testopt.c: Likewise.
4612 * manual/examples/testpass.c: Likewise.
4613 * manual/examples/timeval_subtract.c: Likewise.
4614
515f463f
JM
46152018-12-19 Joseph Myers <joseph@codesourcery.com>
4616
da75c1b1
JM
4617 * sysdeps/x86/fpu/math_private.h: New file.
4618 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4619
515f463f
JM
4620 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4621 definition.
4622 (cosh): Likewise.
4623 (tanh): Likewise.
4624
1616d034
TMQMF
46252018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4626
4627 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4628 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4629 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4630 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4631 fields.
4632 (_dl_show_auxv): Give a special treatment to
4633 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4634 and AT_L3_CACHEGEOMETRY.
4635 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4636 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4637 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4638 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4639
61595e3d
AS
46402018-12-19 Andreas Schwab <schwab@suse.de>
4641
4642 * nscd/connections.c (check_use): Don't abort on invalid len.
4643
bbb7dc84
ST
46442018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4645
4646 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4647 values in the 64bit value cases.
4648
6b5c8607 46492018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 4650
c4c2836a
AA
4651 * include/time.h
4652 (__ctime64_r): Add.
4653 * time/ctime_r.c
4654 (__ctime64_r): Add.
4655 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4656
7755e504
AA
4657 * include/time.h
4658 (__ctime64): Add.
4659 * time/gmtime.c
4660 (__ctime64): Add.
4661 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4662
a1d346ce
AA
4663 * include/time.h
4664 (__gmtime64_r): Add.
4665 * time/gmtime.c
4666 (__gmtime64_r): Add.
4667 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4668
131db8b0
AA
4669 * include/time.h
4670 (__gmtime64): Add.
4671 * time/gmtime.c
4672 (__gmtime64): Add.
4673 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4674
64c2277d
AA
4675 * include/time.h
4676 (__localtime64_r): Add.
4677 * time/localtime.c
4678 (__localtime64_r): Add.
4679 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4680
56b98bf1
AZ
46812018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4682
64dd7a16
AZ
4683 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4684 kernel_sigction definition.
4685
8b1d5da5
AZ
4686 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4687
f9eabb19
AZ
4688 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4689
56b98bf1
AZ
4690 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4691 __syscall_rt_sigaction.
4692 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4693 (kernel_sigaction): Use Linux generic defintion.
4694 (STUB): Define.
4695 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4696 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4697 (__syscall_rt_sigaction): Remove implementation.
4698 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4699 hidden.
4700 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4701 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4702 INTERNAL_SYSCALL): Remove definitions.
4703 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4704 action and signal set size.
4705 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4706 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4707
43a45c2d
AZ
47082018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4709 James Clarke <jrtc27@jrtc27.com>
4710
dfa6216f 4711 [BZ #23967]
43a45c2d
AZ
4712 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4713 Define if SA_RESTORER is defined.
4714 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4715 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4716 already defined.
4717 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4718 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4719 definitions.
4720 (HAS_SA_RESTORER): Define.
4721 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4722 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4723 (HAS_SA_RESTORER): Define.
4724 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4725 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4726 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4727 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4728 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4729
646ce7e0
JM
47302018-12-18 Joseph Myers <joseph@codesourcery.com>
4731
4732 * sysdeps/unix/sysv/linux/kernel-features.h
4733 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4734 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4735 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4736 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4737 (__ASSUME_ST_INO_64_BIT): Likewise.
4738 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4739 <kernel-features.h>.
4740 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4741 Remove conditional code.
4742 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4743 <kernel-features.h>.
4744 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4745 Remove conditional code.
4746 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4747 <kernel-features.h>.
4748 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4749 Remove conditional code.
4750 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4751 <kernel-features.h>.
4752 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4753 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4754
80190d2b
SL
47552018-12-18 Stefan Liebler <stli@linux.ibm.com>
4756
4757 * sysdeps/s390/multiarch/ifunc-resolve.h
4758 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4759 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4760 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4761 Delete macro definition.
4762 (s390_libc_ifunc_init): Rename to
4763 s390_libc_ifunc_expr_stfle_init.
4764 * sysdeps/s390/bzero: Use
4765 s390_libc_ifunc_expr_stfle_init instead of
4766 s390_libc_ifunc_init.
4767 * sysdeps/s390/memcmp.c: Likewise.
4768 * sysdeps/s390/memcpy.c: Likewise.
4769 * sysdeps/s390/mempcpy.c: Likewise.
4770 * sysdeps/s390/memset.c: Likewise.
4771
12f0dcb8
SL
47722018-12-18 Stefan Liebler <stli@linux.ibm.com>
4773
4774 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4775 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4776
25654a8c
SL
47772018-12-18 Stefan Liebler <stli@linux.ibm.com>
4778
4779 * sysdeps/s390/multiarch/Makefile
4780 (sysdep_routines): Remove wmemcmp variants.
4781 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4782 * sysdeps/s390/multiarch/ifunc-impl-list.c
4783 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4784 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4785 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4786 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4787 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4788 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4789 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4790 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4791
d2a7436c
SL
47922018-12-18 Stefan Liebler <stli@linux.ibm.com>
4793
4794 * sysdeps/s390/multiarch/Makefile
4795 (sysdep_routines): Remove wmemset variants.
4796 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4797 * sysdeps/s390/multiarch/ifunc-impl-list.c
4798 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4799 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4800 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4801 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4802 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4803 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4804 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4805 * sysdeps/s390/ifunc-wmemset.h: New file.
4806
c62534ae
SL
48072018-12-18 Stefan Liebler <stli@linux.ibm.com>
4808
4809 * sysdeps/s390/multiarch/Makefile
4810 (sysdep_routines): Remove wmemchr variants.
4811 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4812 * sysdeps/s390/multiarch/ifunc-impl-list.c
4813 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4814 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4815 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4816 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4817 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4818 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4819 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4820 * sysdeps/s390/ifunc-wmemchr.h: New file.
4821
79b44cf6
SL
48222018-12-18 Stefan Liebler <stli@linux.ibm.com>
4823
4824 * sysdeps/s390/multiarch/Makefile
4825 (sysdep_routines): Remove wcscspn variants.
4826 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4827 * sysdeps/s390/multiarch/ifunc-impl-list.c
4828 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4829 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4830 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4831 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4832 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4833 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4834 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4835 * sysdeps/s390/ifunc-wcscspn.h: New file.
4836
8e87c1f6
SL
48372018-12-18 Stefan Liebler <stli@linux.ibm.com>
4838
4839 * sysdeps/s390/multiarch/Makefile
4840 (sysdep_routines): Remove wcspbrk variants.
4841 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4842 * sysdeps/s390/multiarch/ifunc-impl-list.c
4843 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4844 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4845 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4846 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4847 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4848 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4849 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4850 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4851
8507e831
SL
48522018-12-18 Stefan Liebler <stli@linux.ibm.com>
4853
4854 * sysdeps/s390/multiarch/Makefile
4855 (sysdep_routines): Remove wcsspn variants.
4856 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4857 * sysdeps/s390/multiarch/ifunc-impl-list.c
4858 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4859 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4860 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4861 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4862 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4863 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4864 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4865 * sysdeps/s390/ifunc-wcsspn.h: New file.
4866
4753713a
SL
48672018-12-18 Stefan Liebler <stli@linux.ibm.com>
4868
4869 * sysdeps/s390/multiarch/Makefile
4870 (sysdep_routines): Remove wcsrchr variants.
4871 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4872 * sysdeps/s390/multiarch/ifunc-impl-list.c
4873 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4874 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4875 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4876 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4877 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4878 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4879 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4880 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4881
c09c1b6f
SL
48822018-12-18 Stefan Liebler <stli@linux.ibm.com>
4883
4884 * sysdeps/s390/multiarch/Makefile
4885 (sysdep_routines): Remove wcschrnul variants.
4886 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4887 * sysdeps/s390/multiarch/ifunc-impl-list.c
4888 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4889 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4890 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4891 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4892 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4893 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4894 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4895 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4896
cf3ccc31
SL
48972018-12-18 Stefan Liebler <stli@linux.ibm.com>
4898
4899 * sysdeps/s390/multiarch/Makefile
4900 (sysdep_routines): Remove wcschr variants.
4901 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4902 * sysdeps/s390/multiarch/ifunc-impl-list.c
4903 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4904 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4905 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4906 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4907 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4908 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4909 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4910 * sysdeps/s390/ifunc-wcschr.h: New file.
4911
e9873e1d
SL
49122018-12-18 Stefan Liebler <stli@linux.ibm.com>
4913
4914 * sysdeps/s390/multiarch/Makefile
4915 (sysdep_routines): Remove wcsncmp variants.
4916 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4917 * sysdeps/s390/multiarch/ifunc-impl-list.c
4918 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4919 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4920 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4921 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4922 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4923 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4924 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4925 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4926
3459e23d
SL
49272018-12-18 Stefan Liebler <stli@linux.ibm.com>
4928
4929 * sysdeps/s390/multiarch/Makefile
4930 (sysdep_routines): Remove wcscmp variants.
4931 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4932 * sysdeps/s390/multiarch/ifunc-impl-list.c
4933 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4934 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4935 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4936 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4937 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4938 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4939 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4940 * sysdeps/s390/ifunc-wcscmp.h: New file.
4941
814a76e1
SL
49422018-12-18 Stefan Liebler <stli@linux.ibm.com>
4943
4944 * sysdeps/s390/multiarch/Makefile
4945 (sysdep_routines): Remove wcsncat variants.
4946 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4947 * sysdeps/s390/multiarch/ifunc-impl-list.c
4948 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4949 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4950 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4951 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4952 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4953 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4954 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4955 * sysdeps/s390/ifunc-wcsncat.h: New file.
4956
3389cae4
SL
49572018-12-18 Stefan Liebler <stli@linux.ibm.com>
4958
4959 * sysdeps/s390/multiarch/Makefile
4960 (sysdep_routines): Remove wcscat variants.
4961 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4962 * sysdeps/s390/multiarch/ifunc-impl-list.c
4963 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4964 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4965 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4966 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4967 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4968 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4969 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4970 * sysdeps/s390/ifunc-wcscat.h: New file.
4971
c3081bcb
SL
49722018-12-18 Stefan Liebler <stli@linux.ibm.com>
4973
4974 * sysdeps/s390/multiarch/Makefile
4975 (sysdep_routines): Remove wcpncpy variants.
4976 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4977 * sysdeps/s390/multiarch/ifunc-impl-list.c
4978 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4979 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4980 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4981 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4982 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4983 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4984 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4985 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4986
0966dd86
SL
49872018-12-18 Stefan Liebler <stli@linux.ibm.com>
4988
4989 * sysdeps/s390/multiarch/Makefile
4990 (sysdep_routines): Remove wcsncpy variants.
4991 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4992 * sysdeps/s390/multiarch/ifunc-impl-list.c
4993 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4994 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4995 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4996 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4997 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4998 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4999 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5000 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5001
0582e428
SL
50022018-12-18 Stefan Liebler <stli@linux.ibm.com>
5003
5004 * sysdeps/s390/multiarch/Makefile
5005 (sysdep_routines): Remove wcpcpy variants.
5006 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5007 * sysdeps/s390/multiarch/ifunc-impl-list.c
5008 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5009 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5010 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5011 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5012 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5013 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5014 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5015 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5016
804f2e5c
SL
50172018-12-18 Stefan Liebler <stli@linux.ibm.com>
5018
5019 * sysdeps/s390/multiarch/Makefile
5020 (sysdep_routines): Remove wcscpy variants.
5021 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5022 * sysdeps/s390/multiarch/ifunc-impl-list.c
5023 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5024 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5025 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5026 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5027 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5028 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5029 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5030 * sysdeps/s390/ifunc-wcscpy.h: New file.
5031
c7e7cd26
SL
50322018-12-18 Stefan Liebler <stli@linux.ibm.com>
5033
5034 * sysdeps/s390/multiarch/Makefile
5035 (sysdep_routines): Remove wcsnlen variants.
5036 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5037 * sysdeps/s390/multiarch/ifunc-impl-list.c
5038 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5039 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5040 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5041 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5042 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5043 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5044 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5045 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5046
2e02d0b7
SL
50472018-12-18 Stefan Liebler <stli@linux.ibm.com>
5048
5049 * sysdeps/s390/multiarch/Makefile
5050 (sysdep_routines): Remove wcslen variants.
5051 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5052 * sysdeps/s390/multiarch/ifunc-impl-list.c
5053 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5054 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5055 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5056 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5057 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5058 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5059 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5060 * sysdeps/s390/ifunc-wcslen.h: New file.
5061
89bfcbdf
SL
50622018-12-18 Stefan Liebler <stli@linux.ibm.com>
5063
5064 * sysdeps/s390/multiarch/Makefile
5065 (sysdep_routines): Remove memrchr variants.
5066 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5067 * sysdeps/s390/multiarch/ifunc-impl-list.c
5068 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5069 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5070 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5071 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5072 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5073 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5074 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5075 * sysdeps/s390/ifunc-memrchr.h: New file.
5076
196655ba
SL
50772018-12-18 Stefan Liebler <stli@linux.ibm.com>
5078
5079 * sysdeps/s390/multiarch/Makefile
5080 (sysdep_routines): Remove memccpy variants.
5081 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5082 * sysdeps/s390/multiarch/ifunc-impl-list.c
5083 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5084 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5085 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5086 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5087 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5088 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5089 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5090 * sysdeps/s390/ifunc-memccpy.h: New file.
5091
4c7b3cec
SL
50922018-12-18 Stefan Liebler <stli@linux.ibm.com>
5093
5094 * sysdeps/s390/multiarch/Makefile
5095 (sysdep_routines): Remove rawmemchr variants.
5096 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5097 * sysdeps/s390/multiarch/ifunc-impl-list.c
5098 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5099 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5100 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5101 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5102 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5103 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5104 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5105 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5106
581a051c
SL
51072018-12-18 Stefan Liebler <stli@linux.ibm.com>
5108
5109 * sysdeps/s390/multiarch/Makefile
5110 (sysdep_routines): Remove memchr variants.
5111 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5112 * sysdeps/s390/multiarch/ifunc-impl-list.c
5113 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5114 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5115 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5116 * sysdeps/s390/multiarch/memchr.c: Move to ...
5117 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5118 * sysdeps/s390/ifunc-memchr.h: New file.
5119 * sysdeps/s390/s390-64/memchr.S: Move to ...
5120 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5121 for 31/64bit and ifunc handling.
5122 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5123 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5124 * sysdeps/s390/s390-32/memchr.S: Likewise.
5125
5d2ec20a
SL
51262018-12-18 Stefan Liebler <stli@linux.ibm.com>
5127
5128 * sysdeps/s390/multiarch/Makefile
5129 (sysdep_routines): Remove strcspn variants.
5130 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5131 * sysdeps/s390/multiarch/ifunc-impl-list.c
5132 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5133 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5134 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5135 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5136 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5137 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5138 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5139 * sysdeps/s390/ifunc-strcspn.h: New file.
5140
572cca93
SL
51412018-12-18 Stefan Liebler <stli@linux.ibm.com>
5142
5143 * sysdeps/s390/multiarch/Makefile
5144 (sysdep_routines): Remove strpbrk variants.
5145 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5146 * sysdeps/s390/multiarch/ifunc-impl-list.c
5147 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5148 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5149 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5150 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5151 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5152 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5153 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5154 * sysdeps/s390/ifunc-strpbrk.h: New file.
5155
483fc569
SL
51562018-12-18 Stefan Liebler <stli@linux.ibm.com>
5157
5158 * sysdeps/s390/multiarch/Makefile
5159 (sysdep_routines): Remove strspn variants.
5160 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5161 * sysdeps/s390/multiarch/ifunc-impl-list.c
5162 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5163 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5164 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5165 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5166 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5167 * sysdeps/s390/multiarch/strspn.c: Move to ...
5168 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5169 * sysdeps/s390/ifunc-strspn.h: New file.
5170
26ea8760
SL
51712018-12-18 Stefan Liebler <stli@linux.ibm.com>
5172
5173 * sysdeps/s390/multiarch/Makefile
5174 (sysdep_routines): Remove strrchr variants.
5175 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5176 * sysdeps/s390/multiarch/ifunc-impl-list.c
5177 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5178 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5179 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5180 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5181 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5182 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5183 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5184 * sysdeps/s390/ifunc-strrchr.h: New file.
5185
a1361e65
SL
51862018-12-18 Stefan Liebler <stli@linux.ibm.com>
5187
5188 * sysdeps/s390/multiarch/Makefile
5189 (sysdep_routines): Remove strchrnul variants.
5190 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5191 * sysdeps/s390/multiarch/ifunc-impl-list.c
5192 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5193 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5194 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5195 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5196 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5197 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5198 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5199 * sysdeps/s390/ifunc-strchrnul.h: New file.
5200
32f12653
SL
52012018-12-18 Stefan Liebler <stli@linux.ibm.com>
5202
5203 * sysdeps/s390/multiarch/Makefile
5204 (sysdep_routines): Remove strchr variants.
5205 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5206 * sysdeps/s390/multiarch/ifunc-impl-list.c
5207 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5208 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5209 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5210 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5211 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5212 * sysdeps/s390/multiarch/strchr.c: Move to ...
5213 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5214 * sysdeps/s390/ifunc-strchr.h: New file.
5215
316b8842
SL
52162018-12-18 Stefan Liebler <stli@linux.ibm.com>
5217
5218 * sysdeps/s390/multiarch/Makefile
5219 (sysdep_routines): Remove strncmp variants.
5220 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5221 * sysdeps/s390/multiarch/ifunc-impl-list.c
5222 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5223 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5224 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5225 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5226 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5227 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5228 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5229 * sysdeps/s390/ifunc-strncmp.h: New file.
5230
cdab85fe
SL
52312018-12-18 Stefan Liebler <stli@linux.ibm.com>
5232
5233 * sysdeps/s390/multiarch/Makefile
5234 (sysdep_routines): Remove strcmp variants.
5235 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5236 * sysdeps/s390/multiarch/ifunc-impl-list.c
5237 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5238 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5239 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5240 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5241 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5242 * sysdeps/s390/ifunc-strcmp.h: New file.
5243 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5244 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5245 for 31/64bit and ifunc handling.
5246 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5247 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5248 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5249
b9353351
SL
52502018-12-18 Stefan Liebler <stli@linux.ibm.com>
5251
5252 * sysdeps/s390/multiarch/Makefile
5253 (sysdep_routines): Remove strncat variants.
5254 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5255 * sysdeps/s390/multiarch/ifunc-impl-list.c
5256 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5257 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5258 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5259 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5260 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5261 * sysdeps/s390/multiarch/strncat.c: Move to ...
5262 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5263 * sysdeps/s390/ifunc-strncat.h: New file.
5264
8e5a0afb
SL
52652018-12-18 Stefan Liebler <stli@linux.ibm.com>
5266
5267 * sysdeps/s390/multiarch/Makefile
5268 (sysdep_routines): Remove strcat variants.
5269 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5270 * sysdeps/s390/multiarch/ifunc-impl-list.c
5271 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5272 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5273 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5274 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5275 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5276 * sysdeps/s390/multiarch/strcat.c: Move to ...
5277 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5278 * sysdeps/s390/ifunc-strcat.h: New file.
5279
25218822
SL
52802018-12-18 Stefan Liebler <stli@linux.ibm.com>
5281
5282 * sysdeps/s390/multiarch/Makefile
5283 (sysdep_routines): Remove stpncpy variants.
5284 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5285 * sysdeps/s390/multiarch/ifunc-impl-list.c
5286 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5287 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5288 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5289 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5290 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5291 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5292 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5293 * sysdeps/s390/ifunc-stpncpy.h: New file.
5294
d1bdbf38
SL
52952018-12-18 Stefan Liebler <stli@linux.ibm.com>
5296
5297 * sysdeps/s390/multiarch/Makefile
5298 (sysdep_routines): Remove strncpy variants.
5299 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5300 * sysdeps/s390/multiarch/ifunc-impl-list.c
5301 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5302 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5303 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5304 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5305 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5306 * sysdeps/s390/ifunc-strncpy.h: New file.
5307 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5308 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5309 and adjust ifunc handling.
5310 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5311 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5312 and adjust ifunc handling.
5313 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5314 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5315
97044931
SL
53162018-12-18 Stefan Liebler <stli@linux.ibm.com>
5317
5318 * sysdeps/s390/multiarch/Makefile
5319 (sysdep_routines): Remove stpcpy variants.
5320 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5321 * sysdeps/s390/multiarch/ifunc-impl-list.c
5322 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5323 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5324 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5325 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5326 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5327 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5328 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5329 * sysdeps/s390/ifunc-stpcpy.h: New file.
5330
914a4e05
SL
53312018-12-18 Stefan Liebler <stli@linux.ibm.com>
5332
5333 * sysdeps/s390/multiarch/Makefile
5334 (sysdep_routines): Remove strcpy variants.
5335 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5336 * sysdeps/s390/multiarch/ifunc-impl-list.c
5337 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5338 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5339 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5340 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5341 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5342 * sysdeps/s390/ifunc-strcpy.h: New file.
5343 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5344 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5345 for 31/64bit and ifunc handling.
5346 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5347 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5348 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5349
de10e44d
SL
53502018-12-18 Stefan Liebler <stli@linux.ibm.com>
5351
5352 * sysdeps/s390/multiarch/Makefile
5353 (sysdep_routines): Remove strnlen variants.
5354 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5355 * sysdeps/s390/multiarch/ifunc-impl-list.c
5356 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5357 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5358 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5359 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5360 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5361 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5362 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5363 * sysdeps/s390/ifunc-strnlen.h: New file.
5364
ff3ca374
SL
53652018-12-18 Stefan Liebler <stli@linux.ibm.com>
5366
5367 * sysdeps/s390/multiarch/Makefile
5368 (sysdep_routines): Remove strlen variants.
5369 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5370 * sysdeps/s390/multiarch/ifunc-impl-list.c
5371 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5372 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5373 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5374 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5375 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5376 * sysdeps/s390/multiarch/strlen.c: Move to ...
5377 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5378 * sysdeps/s390/ifunc-strlen.h: New file.
5379
d2c4c403
SL
53802018-12-18 Stefan Liebler <stli@linux.ibm.com>
5381
5382 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5383 * sysdeps/s390/multiarch/ifunc-impl-list.c
5384 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5385 * sysdeps/s390/ifunc-memmem.h: New file.
5386 * sysdeps/s390/memmem.c: Likewise.
5387 * sysdeps/s390/memmem-c.c: Likewise.
5388 * sysdeps/s390/memmem-vx.c: Likewise.
5389
8c25dddd
SL
53902018-12-18 Stefan Liebler <stli@linux.ibm.com>
5391
5392 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5393 * sysdeps/s390/multiarch/ifunc-impl-list.c
5394 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5395 * sysdeps/s390/ifunc-strstr.h: New file.
5396 * sysdeps/s390/strstr.c: Likewise.
5397 * sysdeps/s390/strstr-c.c: Likewise.
5398 * sysdeps/s390/strstr-vx.c: Likewise.
5399
cdd927d9
SL
54002018-12-18 Stefan Liebler <stli@linux.ibm.com>
5401
5402 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5403 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5404 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5405 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5406 New defines.
5407 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5408 * sysdeps/s390/memmove-c.c: New file.
5409 * sysdeps/s390/memmove.c: Likewise.
5410 * sysdeps/s390/multiarch/ifunc-impl-list.c
5411 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5412
2ee1bc57
SL
54132018-12-18 Stefan Liebler <stli@linux.ibm.com>
5414
5415 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5416 * sysdeps/s390/configure.ac: Add check for z13 support.
5417 * sysdeps/s390/configure: Regenerated.
5418
d097d976
SL
54192018-12-18 Stefan Liebler <stli@linux.ibm.com>
5420
5421 * sysdeps/s390/memcopy.h: New file.
5422
e099aab0
SL
54232018-12-18 Stefan Liebler <stli@linux.ibm.com>
5424
5425 * sysdeps/s390/s390-32/bcopy.S: Remove.
5426 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5427
18eb862d
SL
54282018-12-18 Stefan Liebler <stli@linux.ibm.com>
5429
5430 * sysdeps/s390/ifunc-memcpy.h: New File.
5431 * sysdeps/s390/memcpy.S: Move to ...
5432 * sysdeps/s390/memcpy-z900.S ... here.
5433 Move implementations from memcpy-s390x.s to here.
5434 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5435 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5436 Remove memcpy/mempcpy variants.
5437 * sysdeps/s390/Makefile (sysdep_routines):
5438 Add memcpy/mempcpy variants.
5439 * sysdeps/s390/multiarch/ifunc-impl-list.c
5440 (__libc_ifunc_impl_list): Adjust ifunc variants for
5441 memcpy and mempcpy.
5442 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5443 to ...
5444 * sysdeps/s390/memcpy.c: ... here.
5445 Adjust ifunc variants for memcpy.
5446 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5447 * sysdeps/s390/mempcpy.c: ... here.
5448 Adjust ifunc variants for mempcpy.
5449 * sysdeps/s390/mempcpy.S: Delete file.
5450
df3eb8de
SL
54512018-12-18 Stefan Liebler <stli@linux.ibm.com>
5452
5453 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5454 * sysdeps/s390/memcpy.S: ... here.
5455 Adjust to be usable for 31/64bit.
5456 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5457 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5458 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5459 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5460 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5461 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5462 Adjust to be usable for 31/64bit.
5463 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5464 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5465 * sysdeps/s390/multiarch/memcpy.c: ... here.
5466 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5467
b7e024a8
SL
54682018-12-18 Stefan Liebler <stli@linux.ibm.com>
5469
5470 * sysdeps/s390/ifunc-memcmp.h: New File.
5471 * sysdeps/s390/memcmp.S: Move to ...
5472 * sysdeps/s390/memcmp-z900.S ... here.
5473 Move implementations from memcmp-s390x.s to here.
5474 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5475 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5476 Remove memcmp variants.
5477 * sysdeps/s390/Makefile (sysdep_routines):
5478 Add memcmp variants.
5479 * sysdeps/s390/multiarch/ifunc-impl-list.c
5480 (__libc_ifunc_impl_list): Adjust ifunc variants for
5481 memcmp.
5482 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5483 to ...
5484 * sysdeps/s390/memcmp.c: ... here.
5485 Adjust ifunc variants for memcmp.
5486
6c6b8c74
SL
54872018-12-18 Stefan Liebler <stli@linux.ibm.com>
5488
5489 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5490 * sysdeps/s390/memcmp.S: ... here.
5491 Adjust to be usable for 31/64bit.
5492 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5493 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5494 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5495 Remove memcmp.
5496 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5497 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5498 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5499 Adjust to be usable for 31/64bit.
5500 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5501 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5502 * sysdeps/s390/multiarch/memcmp.c: ... here.
5503 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5504
07be3928
SL
55052018-12-18 Stefan Liebler <stli@linux.ibm.com>
5506
5507 * sysdeps/s390/s390-32/bzero.S: Delete file.
5508 * sysdeps/s390/s390-64/bzero.S: Likewise.
5509 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5510 * sysdeps/s390/bzero.c: New file.
5511 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5512 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5513 * sysdeps/s390/multiarch/ifunc-impl-list.c
5514 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5515
712a254a
SL
55162018-12-18 Stefan Liebler <stli@linux.ibm.com>
5517
5518 * sysdeps/s390/ifunc-memset.h: New File.
5519 * sysdeps/s390/memset.S: Move to ...
5520 * sysdeps/s390/memset-z900.S ... here.
5521 Move implementations from memset-s390x.s to here.
5522 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5523 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5524 Remove memset variants.
5525 * sysdeps/s390/Makefile (sysdep_routines):
5526 Add memset variants.
5527 * sysdeps/s390/multiarch/ifunc-impl-list.c
5528 (__libc_ifunc_impl_list): Adjust ifunc variants for
5529 memset.
5530 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5531 to ...
5532 * sysdeps/s390/memset.c: ... here.
5533 Adjust ifunc variants for memset.
5534
5f1743d1
SL
55352018-12-18 Stefan Liebler <stli@linux.ibm.com>
5536
5537 * sysdeps/s390/s390-64/memset.S: Move to ...
5538 * sysdeps/s390/memset.S: ... here.
5539 Adjust to be usable for 31/64bit.
5540 * sysdeps/s390/s390-32/memset.S: Delete File.
5541 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5542 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5543 Remove memset.
5544 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5545 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5546 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5547 Adjust to be usable for 31/64bit.
5548 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5549 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5550 * sysdeps/s390/multiarch/memset.c: ... here.
5551 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5552
e8023f26
SL
55532018-12-18 Stefan Liebler <stli@linux.ibm.com>
5554
5555 * sysdeps/s390/multiarch/ifunc-resolve.h
5556 (s390_libc_ifunc_init, s390_libc_ifunc,
5557 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5558
b8686c0d
SL
55592018-12-18 Stefan Liebler <stli@linux.ibm.com>
5560
5561 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5562 * sysdeps/s390/configure.ac: Add check for z10 support.
5563 * sysdeps/s390/configure: Regenerated.
5564
cd815050
L
55652018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5566
5567 * sysdeps/i386/atomic-machine.h: Merged with ...
5568 * sysdeps/x86_64/atomic-machine.h: To ...
5569 * sysdeps/x86/atomic-machine.h: This. New file.
5570
053c52b1
FW
55712018-12-18 Florian Weimer <fweimer@redhat.com>
5572
5573 Rewrite locale/gen-translit.pl in Python.
5574 * locale/Makefile (generated): Add C-translit.h.
5575 (before-compile): Add $(objpfx)C-translit.h.
5576 (C-translit.h): Move to $(objpfx). Create target directory.
5577 Build using Python script.
5578 * locale/gen-translit.py: New file.
5579 * locale/gen-translit.pl: Remove file.
5580 * locale/C-translit.h.in: Change comment character to '#' for
5581 easier parsing without a C preprocessor.
5582 * locale/C-translit.h: Remove generated file.
5583 * manual/install.texi (Tools for Compilation): Do not mention
5584 C-translit.h.
5585 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5586 Remove locale/C-translit.h.
5587 * scripts/update-copyrights: Likewise.
5588 * INSTALL: Regenerate.
5589
40e6c1ec
FW
55902018-12-18 Florian Weimer <fweimer@redhat.com>
5591
5592 [BZ #23995]
5593 * localedata/locales/bi_VU: Remove executable bit from file.
5594
6b5c8607 55952018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
5596
5597 * include/time.h
5598 (__localtime64): Add.
5599 * manual/maint.texi: Document Y2038 symbol handling.
5600 * time/localtime.c
5601 (__localtime64): Add.
bfb79db4 5602 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 5603
df648905
JM
56042018-12-17 Joseph Myers <joseph@codesourcery.com>
5605
551e81d9
JM
5606 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5607 Do not clobber r12.
5608
df648905
JM
5609 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5610 to allow extra macros from first or second sources.
5611 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5612 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5613 (tests-special): Add $(objpfx)tst-mman-consts.out.
5614 ($(objpfx)tst-mman-consts.out): New makefile target.
5615
6bbfc5c0
MH
56162018-12-17 Mao Han <han_mao@c-sky.com>
5617
5618 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5619 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5620 without stat64 system call support.
5621 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5622 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5623 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5624 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5625 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5626 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5627 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5628 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5629 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5630 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5631 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5632
ef202e53
PE
56332018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5634
5635 regex: fix storage-exhaustion error
5636 [BZ #18040]
5637 * posix/regexec.c (get_subexp):
5638 Do not continue if storage is exhausted.
5639
077caf61
AG
56402018-12-15 Assaf Gordon <assafgordon@gmail.com>
5641
5642 regex: fix heap-use-after-free error
5643 [BZ #18040]
5644 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5645 https://debbugs.gnu.org/32592
5646 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5647 call extend_buffers which reallocates the re_string_t internal buffer.
5648 Local variable 'buf' was not updated in such case, resulting in
5649 use-after-free.
5650 * posix/regexec.c (get_subexp): Update 'buf' after call to
5651 get_subexp_sub.
5652
0c1719e6
FW
56532018-12-15 Florian Weimer <fweimer@redhat.com>
5654
5655 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5656 (minimum_stride_size): Use it.
5657 (support_blob_repeat_allocate): Likewise.
5658
033a2c0a
JM
56592018-12-14 Joseph Myers <joseph@codesourcery.com>
5660
5661 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5662 definition.
5663 (acosh): Likewise.
5664 (atanh): Likewise.
5665
e361dc04
FW
56662018-12-14 Florian Weimer <fweimer@redhat.com>
5667
5668 * manual/process.texi (Process Creation Concepts): Remove
5669 documentation of process (ID) lifetime. List more process
5670 creation functions. Reference Process Identification section.
5671 (Process Identification): Add information about process ID
5672 lifetime. Describe Linux thread/task IDs.
5673 * manual/signal.texi (Signaling Another Process): Mention that the
5674 signal is always sent to the process.
5675
bd51ff5e
GG
56762018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5677
5678 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5679 and tst-ldbl-efgcvt.
5680 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5681 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5682 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5683 (fcvt_tests, output_error, output_r_error, do_test): Use the
5684 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5685 select the type of floating-point variables and arguments; to
5686 produce extra tests for double and conversion specifiers for
5687 printf; and to set the names of called functions.
5688 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5689 in tst-efgcvt-template.c.
5690 * misc/tst-ldbl-efgcvt.c: Likewise.
5691
268bb71e
SL
56922018-12-14 Stefan Liebler <stli@linux.ibm.com>
5693
5694 * nss/Makefile (tst-nss-test3.out): New rule.
5695
db6df070
JM
56962018-12-13 Joseph Myers <joseph@codesourcery.com>
5697
5698 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5699 clobber sp.
5700
ade8b817
CD
57012018-12-13 fanjinke <fanjinke@hygon.cn>
5702
5703 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5704 "HygonGenuine".
5705
3d265911
AS
57062018-12-13 Andreas Schwab <schwab@suse.de>
5707
f21e8f8c 5708 [BZ #23861]
3d265911 5709 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
5710 (__pthread_rwlock_rdlock_full): Update expected value for
5711 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5712 * nptl/tst-rwlock-pwn.c: New file.
5713 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 5714
bf8ae8c0
JM
57152018-12-12 Joseph Myers <joseph@codesourcery.com>
5716
5717 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5718 definition.
5719
de099757
LS
57202018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5721
5722 * benchtests/scripts/compare_bench.py (do_compare): write to
5723 stderr in casestat is not present.
5724 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5725 stderr in case timings field is not present. Also string showing
5726 the output filename goes into the stderr.
5727
1990185f
LS
57282018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5729
5730 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5731 and ZeroDivisorError exceptions.
5732 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5733 argument to loop through user provided statistics.
5734 * benchtests/scripts/compare_bench.py (main): Include the --stats
5735 argument.
5736
587426d4
LS
57372018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5738
5739 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5740 instead of return.
5741
46703efa
FW
57422018-12-12 Florian Weimer <fweimer@redhat.com>
5743
5744 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5745 clause to copyright header.
5746
1d880d4a
TMQMF
57472018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5748
5749 [BZ #23614]
5750 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5751 registers saved in the stack frame.
5752 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5753 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5754
1a502f52
GG
57552018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5756
5757 * include/bits/monetary-ldbl.h: New file.
5758 * include/bits/printf-ldbl.h: Likewise.
5759 * include/bits/stdio-ldbl.h: Likewise.
5760 * include/bits/stdlib-ldbl.h: Likewise.
5761 * include/bits/syslog-ldbl.h: Likewise.
5762 * include/bits/wchar-ldbl.h: Likewise.
5763
df682d1d
GG
57642018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5765
5766 * libio/libio.h: Remove redirection for _IO_vfprintf.
5767
c2c082c1
AS
57682018-12-11 Andreas Schwab <schwab@suse.de>
5769
5770 * Makerules: Remove all references to abilist-pattern.
5771 (update-all-abi): Simplify find expression.
5772
505b5b29
SN
57732018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5774
5775 [BZ #23961]
5776 * math/auto-libm-test-in: Add new test case.
5777 * math/auto-libm-test-out-pow: Regenerated.
5778 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5779
304c61a2
DD
57802018-12-10 DJ Delorie <dj@redhat.com>
5781
5782 [BZ #23948]
5783 * support/test-container.c: Move postclean step to before we
5784 change namespaces.
5785
a8110b72
JM
57862018-12-10 Joseph Myers <joseph@codesourcery.com>
5787
cb7be159
JM
5788 * scripts/gen-as-const.py (main): Handle --python option.
5789 * scripts/gen-py-const.awk: Remove.
5790 * Makerules (py-const-script): Use gen-as-const.py.
5791 ($(py-const)): Likewise.
5792 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5793 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5794 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5795 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5796 ~PTHREAD_MUTEX_NO_ELISION_NP.
5797 * manual/README.pretty-printers: Update reference to
5798 gen-py-const.awk.
5799
a8110b72
JM
5800 * scripts/glibcextract.py: New file.
5801 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5802 or tempfile. Import glibcexctract.
5803 (compute_c_consts): Remove. Moved to glibcextract.py.
5804 (gen_test): Update reference to compute_c_consts.
5805 (main): Likewise.
5806 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5807 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5808 * sysdeps/unix/sysv/linux/Makefile
5809 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5810 Redirect stderr as well as stdout.
5811
f9ba9eb8
RÁE
58122018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5813
5814 [BZ #19767]
5815 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
5816 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5817 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 5818 ALWAYS_USE_VSYSCALL.
b39d961c 5819 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
5820 ALWAYS_USE_VSYSCALL.
5821 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5822 ALWAYS_USE_VSYSCALL.
5823
8d20a2f4
FW
58242018-12-10 Florian Weimer <fweimer@redhat.com>
5825
5826 [BZ #23972]
5827 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5828 offset instead of count for clarity. Fix typo in comment.
5829 (__old_getdents64): Keep track of previous offset. Use it to call
5830 handle_overflow.
5831 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5832 that d_off is never zero.
5833
80472e2f
AS
58342018-12-10 Andreas Schwab <schwab@suse.de>
5835
5836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5837 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5839 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5840 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5841
0afcb29d
JM
58422018-12-10 Joseph Myers <joseph@codesourcery.com>
5843
5844 * timezone/private.h: Update from tzcode 2018g.
5845 * timezone/tzfile.h: Likewise.
5846 * timezone/tzselect.ksh: Likewise.
5847 * timezone/zdump.c: Likewise.
5848 * timezone/zic.c: Likewise.
5849
b93f4052
PP
58502018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5851
5852 [BZ #23490]
5853 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5854 (do_test): Adjust buffer size and fix format.
5855
7c9a7c68
DD
58562018-12-07 DJ Delorie <dj@redhat.com>
5857
5858 [BZ #23907]
5859 * malloc/tst-tcfree3.c: New.
5860 * malloc/Makefile: Add it.
5861
37caec3a
L
58622018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5863
5864 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5865
10446f5d
GG
58662018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5867
5868 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5869 used as a mask for the mode argument of __vfscanf_internal and
5870 __vfwscanf_internal.
5871 * stdio-common/vfscanf-internal.c
5872 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5873 (__strtof128_internal): Define to __wcstof128_internal.
5874 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5875 __strtof128_internal or __wcstof128_internal when the format of
5876 long double is the same as _Float128.
5877
45f33aac
ST
58782018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5879
5880 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5881 * posix/confstr.c (confstr): Rename to __confstr.
5882 (__confstr): Add hidden def.
5883 (confstr): Add weak alias for __confstr.
5884 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5885 confstr.
5886
a092ca94
L
58872018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5888
5889 * NEWS: Mention getcpu.
5890 * include/sched.h (__getcpu): New libc_hidden_proto.
5891 * manual/resource.texi: Document getcpu.
5892 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5893 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5894 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5895 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5896 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5897 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5898 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5899 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5900 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5901 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5902 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5903 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5904 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5905 Likewise.
5906 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5907 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5908 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5910 Likewise.
5911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5912 Likewise.
5913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5914 Likewise.
5915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5916 Likewise.
5917 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5918 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5919 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5920 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5921 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5922 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5923 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5924 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5925 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5926 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5927 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5928 Also check getcpu.
5929
7c857b6f
ST
59302018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5931
5932 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5933 functions.
5934 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5935
3a3fb755
FW
59362018-12-07 Florian Weimer <fweimer@redhat.com>
5937
5938 [BZ #17405]
5939 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5940 * posix/Versions (GLIBC_2.29): Export
5941 posix_spawn_file_actions_addfchdir_np.
5942 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5943 * posix/spawn_faction_destroy.c
5944 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5945 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5946 and the field action.fchdir_action.
5947 * posix/tst-spawn-chdir.c (add_chdir): New function.
5948 (do_test): Add do_fchdir loop. Call add_chdir.
5949 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5950 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5951 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5952 posix_spawn_file_actions_addfchdir_np.
5953 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5954 Likewise.
5955 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5956 Likewise.
5957 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5958 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5959 Likewise.
5960 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5961 Likewise.
5962 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5963 Likewise.
5964 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5965 Likewise.
5966 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5967 Likewise.
5968 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5969 Likewise.
5970 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5971 (GLIBC_2.29): Likewise.
5972 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5973 (GLIBC_2.29): Likewise.
5974 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5975 (GLIBC_2.29): Likewise.
5976 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5977 (GLIBC_2.29): Likewise.
5978 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5979 Likewise.
5980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5981 (GLIBC_2.29): Likewise.
5982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5983 (GLIBC_2.29): Likewise.
5984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5985 (GLIBC_2.29): Likewise.
5986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5987 (GLIBC_2.29): Likewise.
5988 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5989 Likewise.
5990 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5991 Likewise.
5992 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5993 Likewise.
5994 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5995 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5996 Likewise.
5997 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5998 Likewise.
5999 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6000 Likewise.
6001 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6002 Likewise.
6003
c37cd439
JM
60042018-12-06 Joseph Myers <joseph@codesourcery.com>
6005
6006 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6007 trailing whitespace removed.
6008 * scripts/config.guess: Update to version 2018-11-28.
6009 * scripts/config.sub: Update to version 2018-11-28.
6010 * scripts/install-sh: Update to version 2018-03-11.20.
6011 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6012 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6013
899478c2
FW
60142018-12-07 Florian Weimer <fweimer@redhat.com>
6015
6016 [BZ #23927]
6017 CVE-2018-19591
6018 * inet/tst-if_index-long.c: New file.
6019 * inet/Makefile (tests): Add tst-if_index-long.
6020
f255336a
FW
60212018-12-07 Florian Weimer <fweimer@redhat.com>
6022
6023 * support/check.h (support_record_failure_is_failed): Declare.
6024 * support/descriptors.h: New file.
6025 * support/support_descriptors.c: Likewise.
6026 * support/tst-support_descriptors.c: Likewise.
6027 * support/support_record_failure.c
6028 (support_record_failure_is_failed): New function.
6029 * support/Makefile (libsupport-routines): Add support_descriptors.
6030 (tests): Add tst-support_descriptors.
6031
35caceb1
ZW
60322018-12-05 Zack Weinberg <zackw@panix.com>
6033 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6034
6035 * stdio-common/vfprintf-internal.c
6036 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6037 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6038 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6039 and __no_long_double.
6040 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6041 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6042 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6043 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6044 and __nldbl_*syslog* functions.
6045 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6046 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6047 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6048 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6049 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6050 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6051 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6052 (__nldbl_vwprintf, __nldbl_wprintf):
6053 Directly call the appropriate __v*printf_internal routine, passing
6054 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6055 variable names.
6056 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6057 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6058 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6059 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6060 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6061 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6062 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6063 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6064 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6065 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6066 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6067 (__nldbl_syslog, __nldbl_vsyslog):
6068 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6069 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6070 appropriate.
6071 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6072 appropriate.
6073
4e2f43f8
ZW
60742018-12-05 Zack Weinberg <zackw@panix.com>
6075 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6076
6077 [BZ #11319]
6078 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6079 Moved here from debug/vsprintf_chk.c.
6080 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6081 and completion logic for the strfile to match exactly what
6082 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6083 _IO_str_init_static_internal instead of maxlen-1.
6084 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6085 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6086 __vsprintf_internal.
6087
6088 * debug/vsprintf_chk.c (__vsprintf_chk)
6089 * debug/sprintf_chk.c (__sprintf_chk):
6090 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6091 'flags' argument is positive, and slen as maxlen. No need to lock
6092 the FILE and/or construct a temporary FILE. Minimize and normalize
6093 header inclusions and variable names. Do not libc_hidden_def anything.
6094
6095 * debug/asprintf_chk.c (__asprintf_chk)
6096 * debug/dprintf_chk.c (__dprintf_chk)
6097 * debug/fprintf_chk.c (__fprintf_chk)
6098 * debug/fwprintf_chk.c (__fwprintf_chk)
6099 * debug/printf_chk.c (__printf_chk)
6100 * debug/snprintf_chk.c (__snprintf_chk)
6101 * debug/swprintf_chk.c (__swprintf_chk)
6102 * debug/vasprintf_chk.c (__vasprintf_chk)
6103 * debug/vdprintf_chk.c (__vdprintf_chk)
6104 * debug/vfprintf_chk.c (__vfprintf_chk)
6105 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6106 * debug/vprintf_chk.c (__vprintf_chk)
6107 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6108 * debug/vswprintf_chk.c (__vswprintf_chk)
6109 * debug/vwprintf_chk.c (__vwprintf_chk)
6110 * debug/wprintf_chk.c (__wprintf_chk):
6111 Directly call the corresponding vxxprintf_internal function, passing
6112 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6113 the FILE and/or construct a temporary FILE. Minimize and normalize
6114 header inclusions and variable names. Do not libc_hidden_def anything.
6115
6116 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6117 __obstack_vprintf_internal.
6118 (__obstack_vprintf_chk): Convert into a wrapper that calls
6119 __obstack_vprintf_internal (these two functions already had the
6120 same code) and move to new file...
6121 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6122 file.
6123 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6124 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6125 * debug/Makefile (routines): Add vobprintf_chk.
6126
6127 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6128 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6129 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6130 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6131 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6132 (__nldbl___obstack_vfprintf_chk):
6133 Directly call the corresponding vxxprintf_internal function,
6134 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6135 duplicate comparison of slen with 0 or maxlen from the corresponding
6136 non-__nldbl function.
6137
6138 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6139 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6140 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6141 Remove libc_hidden_proto.
6142
6143 * stdio-common/vfprintf-internal.c
6144 (__vfprintf_internal, __vfwprintf_internal):
6145 Do not check _IO_FLAGS2_FORTIFY.
6146 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6147 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6148 a comment explaining why it has the maxlen argument.
6149 (_IO_acquire_lock_clear_flags2_fct): Remove.
6150 (_IO_acquire_lock_clear_flags2): Remove.
6151 (_IO_release_lock): Remove conditional statement which will
6152 now never execute.
6153 (_IO_acquire_lock): Remove variable which is now unused.
6154 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6155 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6156
6157 * stdio-common/Makefile (tests): Add tst-bz11319 and
6158 tst-bz11319-fortify2.
6159 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6160 * stdio-common/tst-bz11319-fortify2.c: New file.
6161 * stdio-common/tst-bz11319.c: Likewise.
6162
124fc732
ZW
61632018-12-05 Zack Weinberg <zackw@panix.com>
6164 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6165
6166 * misc/syslog.c: Include libioP.h, not iolibio.h.
6167 (__vsyslog_internal): New function with the former body of
6168 __vsyslog_chk; takes mode_flags argument same as
6169 __v*printf_internal. Call __vfprintf_internal directly.
6170
6171 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6172 Remove libc_hidden_def.
6173 (__syslog, __syslog_chk): Use __vsyslog_internal.
6174 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6175
6176 * include/sys/syslog.h: Add multiple inclusion guard.
6177 Add prototype for __vsyslog_internal.
6178 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6179
6180 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6181 Use __vsyslog_internal.
6182
698fb75b
ZW
61832018-12-05 Zack Weinberg <zackw@panix.com>
6184 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6185
6186 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6187 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6188 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6189 New functions.
6190 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6191 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6192
6193 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6194 Include wctype.h here if COMPILE_WPRINTF is defined.
6195 Define __vfprintf_internal or __vfwprintf_internal, depending
6196 on COMPILE_WPRINTF.
6197 Temporarily, on entry to this function, update mode_flags
6198 according to the environmental settings corresponding to
6199 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6200 Throughout, check mode_flags instead of __ldbl_is_dbl and
6201 _IO_FLAGS2_FORTIFY on the destination FILE.
6202 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6203 Include vfprintf-internal.c. Don't include wctype.h.
6204 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6205 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6206 and vfprintf.
6207 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6208 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6209 and vfwprintf.
6210 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6211
6212 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6213 and add mode_flags argument; use __vfprintf_internal.
6214 (__vdprintf): New function. Alias vdprintf to this.
6215 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6216 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6217 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6218 (__obstack_printf): Use __obstack_printf_internal.
6219 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6220 public aliases __vsnprintf and vsnprintf.
6221 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6222 called internally.
6223 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6224 public aliases _IO_vsprintf and vsprintf.
6225 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6226 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6227 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6228 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6229 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6230
6231 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6232 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6233 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6234 * stdio-common/printf.c: Use __vfprintf_internal.
6235
6236 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6237 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6238 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6239
6240 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6241 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6242 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6243 __vfwprintf_internal.
6244
6245 * libio/libio.h: Remove libc_hidden_proto and declaration for
6246 _IO_vfprintf.
6247 Remove declaration of _IO_vfwprintf.
6248 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6249 _IO_vsprintf.
6250 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6251 _IO_obstack_printf.
6252 * include/stdio.h: Add prototype for __vasprintf.
6253 (__vsnprintf): Remove declaration, because there are no more
6254 internal calls.
6255 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6256 declaration, because there are no more internal calls.
6257
6258 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6259 __vsnprintf_internal, instead of _IO_vsnprintf.
6260 * argp/argp-help.c (__argp_error, __argp_failure): Use
6261 __vasprintf_internal, instead of _IO_vasprintf.
6262 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6263 redefine, because there are no more internal calls.
6264
d91798b3
ZW
62652018-12-05 Zack Weinberg <zackw@panix.com>
6266 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6267
6268 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6269 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6270 Include libio/strfile.h instead of libioP.h.
6271 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6272 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6273 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6274 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6275 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6276 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6277 necessary. Do not set __no_long_double. Normalize variable names.
6278 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6279 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6280 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6281 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6282 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6283 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6284 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6285 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6286 Do not set __no_long_double. Normalize variable names.
6287
b87eb3f8
ZW
62882018-12-05 Zack Weinberg <zackw@panix.com>
6289 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6290
6291 * stdio-common/isoc99_scanf.c
6292 * stdio-common/isoc99_fscanf.c
6293 * stdio-common/isoc99_sscanf.c
6294 * stdio-common/isoc99_vscanf.c
6295 * stdio-common/isoc99_vfscanf.c
6296 * stdio-common/isoc99_vsscanf.c
6297 * wcsmbs/isoc99_wscanf.c
6298 * wcsmbs/isoc99_fwscanf.c
6299 * wcsmbs/isoc99_swscanf.c
6300 * wcsmbs/isoc99_vwscanf.c
6301 * wcsmbs/isoc99_vfwscanf.c
6302 * wcsmbs/isoc99_vswscanf.c:
6303 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6304 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6305 No need to lock and unlock the FILE passed to that function.
6306
6307 * stdio-common/vfscanf-internal.c
6308 (__vfscanf_internal, __vfwscanf_internal):
6309 Don't look at _IO_FLAGS2_SCANF_STD.
6310 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6311 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6312 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6313
349718d4
ZW
63142018-12-05 Zack Weinberg <zackw@panix.com>
6315 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6316
6317 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6318 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6319 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6320 * libio/strfile.h: Add multiple inclusion guard.
6321 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6322
6323 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6324 consistency with the other version of this file.
6325 (ldbl_compat_symbol): New macro.
6326 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6327 New macro.
6328
6329 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6330 Define __vfscanf_internal or __vfwscanf_internal, depending on
6331 COMPILE_WSCANF; don't define any other public symbols.
6332 Remove errval and code to set errp.
6333 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6334 as the mode_flags argument.
6335 (encode_error, conv_error, input_error): Don't set errval.
6336 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6337 Include vfscanf-internal.c.
6338 * stdio-common/vfscanf.c: New file defining the public entry
6339 point vfscanf, which calls __vfscanf_internal.
6340 * stdio-common/vfwscanf.c: New file defining the public entry
6341 point vfwscanf, which calls __vfwscanf_internal.
6342
6343 * stdio-common/iovfscanf.c: New file.
6344 * stdio-common/iovfwscanf.c: Likewise.
6345
6346 * stdio-common/Makefile (routines): Add vfscanf-internal,
6347 vfwscanf-internal, iovfscanf, iovfwscanf.
6348 * stdio-common/Versions: Mention GLIBC_2.29, so that
6349 it can be used in SHLIB_COMPAT expressions.
6350 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6351 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6352 Call __vfscanf_internal, instead of _IO_vfscanf.
6353 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6354 _IO_vfscanf.
6355 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6356 _IO_vfwscanf.
6357
6358 * libio/iovsscanf.c: Clean up includes, when possible. Use
6359 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6360 __vfscanf_internal or __vfwscanf_internal directly.
6361 * libio/iovswscanf.c: Likewise.
6362 * libio/swscanf.c: Likewise.
6363 * libio/vscanf.c: Likewise.
6364 * libio/vwscanf.c: Likewise.
6365 * libio/wscanf.c: Likewise.
6366 * stdio-common/isoc99_fscanf.c: Likewise.
6367 * stdio-common/isoc99_scanf.c: Likewise.
6368 * stdio-common/isoc99_sscanf.c: Likewise.
6369 * stdio-common/isoc99_vfscanf.c: Likewise.
6370 * stdio-common/isoc99_vscanf.c: Likewise.
6371 * stdio-common/isoc99_vsscanf.c: Likewise.
6372 * stdio-common/scanf.c: Likewise.
6373 * stdio-common/sscanf.c: Likewise.
6374 * wcsmbs/isoc99_fwscanf.c: Likewise.
6375 * wcsmbs/isoc99_swscanf.c: Likewise.
6376 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6377 * wcsmbs/isoc99_vswscanf.c: Likewise.
6378 * wcsmbs/isoc99_vwscanf.c: Likewise.
6379 * wcsmbs/isoc99_wscanf.c: Likewise.
6380
6b5c8607 63812018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
6382
6383 * include/time.h
6384 (__tz_compute): Replace time_t with __time64_t.
6385 (__tz_convert): Replace time_t* with __time64_t.
6386 (__offtime): Replace time_t* with __time64_t.
6387 * time/gmtime.c
6388 (__gmtime_r): Adjust call to __tz_convert.
6389 (gmtime): Likewise.
6390 * time/localtime.c
6391 (__localtime_r): Likewise.
6392 (localtime): Likewise.
6393 * time/offtime.c: Replace time_t with __time64_t.
6394 * time/tzset.c: Likewise.
6395
bd598da9
JM
63962018-12-04 Joseph Myers <joseph@codesourcery.com>
6397
6398 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6399 dynamic linker unless [$(run-built-tests) = yes].
6400
b2e93de0
DD
64012018-12-03 DJ Delorie <dj@delorie.com>
6402
6403 * support/test-container.c (check_for_unshare_hints): New.
6404 (main): Call it if unshare fails. Add support for "su" scriptlet
6405 command.
6406
477a02f6
JM
64072018-12-03 Joseph Myers <joseph@codesourcery.com>
6408
6409 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6410 'START' to indicate that start text should be output.
6411 (gen_test): Likewise.
6412 (main): Generate 'START' for first symbol or '--' line, or at end
6413 of input if not previously generated.
6414
6af956e5
RÁE
64152018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6416
6417 [BZ #19767]
6418 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6419 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6420 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6421 ALWAYS_USE_VSYSCALL.
6422
f5ec0ea9
AZ
64232018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6424
6425 [BZ #23913]
6426 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6427 new_argv by one.
6428
8cebd4ff
CD
64292018-12-03 Carlos O'Donell <carlos@redhat.com>
6430
6431 [BZ #23923]
6432 * locale/programs/localedef.c: Declare boolean hard_links default true.
6433 (options): Add --no-hard-links option.
6434 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6435 * locale/programs/localedef.h: Declare prototype for hard_links.
6436 * locale/programs/locfile.c (write_locale_data): Don't use hard
6437 links if hard_links is false.
6438
c22e4c2a
L
64392018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6440
6441 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6442 cpu_features_basic.
6443 (__cache_sysconf): Likewise.
6444 (init_cacheinfo): Likewise.
6445 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6446 populate COMMON_CPUID_INDEX_80000007 and
6447 COMMON_CPUID_INDEX_80000008.
6448 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6449 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6450 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6451 (init_cpu_features): Use _Static_assert on
6452 index_arch_Fast_Unaligned_Load.
6453 __get_cpuid_registers and __get_arch_feature. Updated for
6454 cpu_features_basic. Set stepping in cpu_features.
6455 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6456 (FEATURE_INDEX_2): New.
6457 (FEATURE_INDEX_MAX): Changed to enum.
6458 (COMMON_CPUID_INDEX_D_ECX_1): New.
6459 (COMMON_CPUID_INDEX_80000007): Likewise.
6460 (COMMON_CPUID_INDEX_80000008): Likewise.
6461 (cpuid_registers): Likewise.
6462 (cpu_features_basic): Likewise.
6463 (CPU_FEATURE_USABLE): Likewise.
6464 (bit_arch_XXX_Usable): Likewise.
6465 (cpu_features): Use cpuid_registers and cpu_features_basic.
6466 (bit_arch_XXX): Reweritten.
6467 (bit_cpu_XXX): Likewise.
6468 (index_cpu_XXX): Likewise.
6469 (reg_XXX): Likewise.
6470 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6471 <support/check.h>.
6472 (CHECK_CPU_FEATURE): New.
6473 (CHECK_CPU_FEATURE_USABLE): Likewise.
6474 (cpu_kinds): Likewise.
6475 (do_test): Print vendor, family, model and stepping. Check
6476 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6477 (TEST_FUNCTION): Removed.
6478 Include <support/test-driver.c> instead of
6479 "../../test-skeleton.c".
6480 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6481 Check POPCNT instead of POPCOUNT.
6482 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6483
7b36d26b
ST
64842018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6485
6486 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6487 there is no element in `consts'.
6488
02cd5c1a
FW
64892018-12-01 Florian Weimer <fweimer@redhat.com>
6490
6491 * support/support_capture_subprocess.c
6492 (support_capture_subprocess): Check that pipe descriptors have
6493 expected values. Close original pipe descriptors in subprocess.
6494
fc493bc9
ST
64952018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6496
6497 [BZ #23032]
6498 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6499 attr with __pthread_default_barrierattr.
6500 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6501 attr with __pthread_default_condattr.
6502 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6503 attr with __pthread_default_mutexattr.
6504 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6505 attr with __pthread_default_rwlockattr.
6506
6310e6be
KW
65072018-12-01 Kemi Wang <kemi.wang@intel.com>
6508
6509 * manual/tunables.texi (POSIX Thread Tunables): New node.
6510 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6511 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6512 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6513 __pthread_tunables_init.
6514 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6515 (max_adaptive_count): Define.
6516 * nptl/pthread_mutex_conf.c: New file.
6517 * nptl/pthread_mutex_conf.h: New file.
6518 * sysdeps/generic/adaptive_spin_count.h: New file.
6519 * sysdeps/nptl/dl-tunables.list: New file.
6520 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6521 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6522 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6523 Likewise.
6524
8e67b39e
PP
65252018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6526
6527 [BZ #20544]
6528 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6529 * stdlib/on_exit.c (__on_exit): Likewise.
6530 * stdlib/Makefile (tests): Add tst-bz20544.
6531 * stdlib/tst-bz20544.c: New test.
6532
15b8d67e
RÁE
65332018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6534
6535 [BZ #19767]
6536 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6537 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6538 New.
6539
5e63c240
FW
65402018-11-30 Florian Weimer <fweimer@redhat.com>
6541
6542 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6543 Extend error logging.
6544 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6545 symbol.
6546
71058602 65472018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 6548
5fb7fc96
AZ
6549 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6550 __sigismember instead of sigismember.
6551 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6552 cancel_handler): New definitions.
6553 (do_system): Use posix_spawn instead of fork and execl and remove
6554 reentracy code.
6555 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6556 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6557 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6558 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6559 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6560 * sysdeps/unix/sysv/linux/system.c: Likewise.
6561
14d0e87d
AZ
6562 [BZ #22834]
6563 [BZ #17490]
6564 * NEWS: Add new semantic for atfork with popen and system.
6565 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6566 fork and execl.
6567
e5d262ef
TMQMF
65682018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6569
6570 [BZ #23690]
6571 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6572 modification order when accessing reloc_result->addr.
6573 * include/link.h (reloc_result): Add field init.
6574 * nptl/Makefile (tests): Add tst-audit-threads.
6575 (modules-names): Add tst-audit-threads-mod1 and
6576 tst-audit-threads-mod2.
6577 Add rules to build tst-audit-threads.
6578 * nptl/tst-audit-threads-mod1.c: New file.
6579 * nptl/tst-audit-threads-mod2.c: Likewise.
6580 * nptl/tst-audit-threads.c: Likewise.
6581 * nptl/tst-audit-threads.h: Likewise.
6582
7e1d4240
JM
65832018-11-30 Joseph Myers <joseph@codesourcery.com>
6584
6585 * scripts/gen-as-const.py: New file.
6586 * scripts/gen-as-const.awk: Remove.
6587 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6588 gen-as-const.py.
6589 ($(objpfx)test-as-const-%.c): Likewise.
6590
ce7387cc
L
65912018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6592
6593 * elf/dl-exception.c: Include <_itoa.h>.
6594
c6a5bdc1
ST
65952018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6596
6597 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6598 returned by __f_setlk.
6599
a5275ba5
L
66002018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6601 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6602
6603 * elf/Makefile (tests-internal): Add tst-create_format1.
6604 * elf/dl-exception.c (_dl_exception_create_format): Support
6605 %x, %lx and %zx.
6606 * elf/tst-create_format1.c: New file.
6607
3a67e81d
CAC
66082018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6609
6610 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6611 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6612 gnulib.)
6613 * argp/argp-help.c (__argp_failure): Likewise.
6614
4975f0c3
MH
66152018-11-29 Mao Han <han_mao@c-sky.com>
6616
6617 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6618 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6619 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6620 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6621 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6622 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6623 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6624 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6625 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6626 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6627 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6628 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6629 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6630 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6631 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6632 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6633 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6634 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6635 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6636 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6637 (R_CKCORE_TLS_TPOFF32): New defines.
6638
250102c8
FW
66392018-11-29 Florian Weimer <fweimer@redhat.com>
6640
6641 * posix/Makefile (before-compile): Remove testcases.h and
6642 ptestcases.h.
6643 (generated): Add testcases.h and ptestcases.h.
6644 (testcases.h, ptestcases.h): Move to $(objpfx).
6645 (runtests.o): Add dependency on testcases.h.
6646 (runptests.o): Add dependency on ptestcases.h.
6647 * posix/testcases.h, posix/ptestcases.h: Remove files.
6648 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6649 not touch posix/testcases.h and posix/ptestcases.h.
6650
96cd0558
FW
66512018-11-28 Florian Weimer <fweimer@redhat.com>
6652
6653 support: Add signal support to support_capture_subprocess_check.
6654 * support/capture_subprocess.h (support_capture_subprocess_check):
6655 Adjust comment and rename parameter.
6656 * support/support_capture_subprocess_check.c
6657 (print_actual_status): New function.
6658 (support_capture_subprocess_check): Support negative
6659 status_or_signal. Call print_actual_status.
6660 * support/tst-support_capture_subprocess.c (do_test): Call
6661 support_capture_subprocess_check.
6662 * libio/tst-vtables-common.c (termination_status)
6663 (init_termination_status): Remove.
6664 (check_for_termination): Adjust support_capture_subprocess_check
6665 call.
6666 (do_test): Remove call to init_termination_status.
6667
530504e3
JM
66682018-11-28 Joseph Myers <joseph@codesourcery.com>
6669
6670 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6671 source directory instead of a copy.
6672 (CommandList.create_copy_dir): Remove.
6673
9a0b6970
SL
66742018-11-28 Stefan Liebler <stli@linux.ibm.com>
6675
6676 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6677
47d8d9a2
FW
66782018-11-28 Florian Weimer <fweimer@redhat.com>
6679
6680 * support/support.h (support_quote_string): Do not use str
6681 parameter name.
6682
b473b7d8
JM
66832018-11-27 Joseph Myers <joseph@codesourcery.com>
6684
6685 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6686 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6687
c74a91de
FW
66882018-11-27 Florian Weimer <fweimer@redhat.com>
6689
6690 * support/support.h (support_quote_string): Declare.
6691 * support/support_quote_string.c: New file.
6692 * support/tst-support_quote_string.c: Likewise.
6693 * support/Makefile (libsupport-routines): Add
6694 support_quote_string.
6695 (tests): Add tst-support_quote_string.
6696
d527c860
FW
66972018-11-27 Florian Weimer <fweimer@redhat.com>
6698
6699 [BZ #23927]
6700 CVE-2018-19591
6701 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6702 descriptor leak in case of ENODEV error.
6703
979cfed0
RÁE
67042018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6705
6706 [BZ #19767]
6707 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6708 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6709 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6710
ce035c6e
CD
67112018-11-26 Carlos O'Donell <carlos@redhat.com>
6712
6713 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6714 Error for unknown lines.
6715
2bd0bfcc
JM
67162018-11-26 Joseph Myers <joseph@codesourcery.com>
6717
6718 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6719 Touch additional files.
6720
affec03b
FW
67212018-11-26 Florian Weimer <fweimer@redhat.com>
6722
6723 [BZ #23907]
6724 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6725 double-frees.
6726
8ae74ead
RÁE
67272018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6728
6729 [BZ #19767]
6730 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6731 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6732 SHARED. Include sysdep.h.
6733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6734 ALWAYS_USE_VSYSCALL.
6735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6736 ALWAYS_USE_VSYSCALL.
6737
1e8bdc3a
RÁE
67382018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6739
6740 [BZ #19767]
6741 * nptl/Makefile (tests-static): Add tst-cond11-static.
6742 (tests): Likewise.
6743 * nptl/tst-cond11-static.c: New File.
6744 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6745 tst-affinity-static.
6746 (tests): Likewise.
6747 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6748 instead of SHARED.
6749 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6750 (USE_VSYSCALL): Likewise.
6751 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6752 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6753 instead of SHARED.
6754 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6755 SHARED.
6756 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6757 New.
6758
1283c478
JM
67592018-11-23 Joseph Myers <joseph@codesourcery.com>
6760
6761 [BZ #23915]
6762 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6763 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6764 Undefine.
6765
c089fd80
L
67662018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6767
6768 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6769 (tst-cet-legacy-1a-ARGS): New.
6770 ($(objpfx)tst-cet-legacy-1a): New target.
6771 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6772
cc6c89fa
JM
67732018-11-22 Joseph Myers <joseph@codesourcery.com>
6774
95edd05c
JM
6775 * conform/conformtest.py (CompileSubTest.__init__): Set
6776 self.run_early to False.
6777 (ExecuteSubTest.__init__): Likewise.
6778 (HeaderTests.run): Try running all non-optional, non-XFAILed
6779 compilation tests in a single execution of the compiler.
6780
cc6c89fa
JM
6781 * conform/conformtest.py (CompileSubTest): New class.
6782 (ExecuteSubTest): Likewise.
6783 (ElementTest.run): Rename to gen_subtests. Append tests to
6784 self.subtests instead of running them.
6785 (ConstantTest.run): Likewise.
6786 (SymbolTest.run): Likewise.
6787 (TypeTest.run): Likewise.
6788 (TagTest.run): Likewise.
6789 (FunctionTest.run): Likewise.
6790 (VariableTest.run): Likewise.
6791 (MacroFunctionTest.run): Likewise.
6792 (MacroStrTest.run): Likewise.
6793 (HeaderTests.handle_test_line): Generate subtests for tests.
6794 (HeaderTests.run): Run subtests for tests.
6795
a502c529
SN
67962018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6797
6798 * math/Versions (GLIBC_2.29): Add pow.
6799 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6800 symbol.
6801 * math/w_pow.c: New file.
6802 * sysdeps/i386/fpu/w_pow.c: New file.
6803 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6804 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6805 and add necessary aliases.
6806 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6807 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6808 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6809 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6810 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6811 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6812 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6813 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6814 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6815 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6816 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6817 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6818 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6819 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6820 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6825 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6826 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6827 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6828 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6829 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6830 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6831 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6832 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6833 __pow.
6834 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6835 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6836 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6837
718d6542
SN
68382018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6839
6840 * math/Versions (GLIBC_2.29): Add log2.
6841 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6842 symbol.
6843 * math/w_log2.c: New file.
6844 * sysdeps/i386/fpu/w_log2.c: New file.
6845 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6846 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6847 and add necessary aliases.
6848 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6849 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6850 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6851 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6852 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6853 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6854 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6855 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6856 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6857 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6858 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6859 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6860 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6861 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6862 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6867 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6868 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6869 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6870 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6871 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6872 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6873 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6874
f29b7c49
SN
68752018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6876
6877 * math/Versions (GLIBC_2.29): Add log.
6878 * math/w_log_compat.c (__log_compat): Change to versioned compat
6879 symbol.
6880 * math/w_log.c: New file.
6881 * sysdeps/i386/fpu/w_log.c: New file.
6882 * sysdeps/ia64/fpu/e_log.S: Update.
6883 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6884 and add necessary aliases.
6885 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6886 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6887 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6888 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6889 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6890 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6891 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6892 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6893 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6894 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6895 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6896 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6897 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6898 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6899 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6904 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6905 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6906 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6907 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6908 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6909 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6910 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6911 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6912 __log.
6913 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6914 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6915 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6916 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6917
c20a1056
SN
69182018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6919
6920 * math/Versions (GLIBC_2.29): Add exp and exp2.
6921 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6922 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6923 * math/w_exp_compat.c (__exp_compat): Likewise.
6924 * math/w_exp.c: New file.
6925 * math/w_exp2.c: New file.
6926 * sysdeps/i386/fpu/w_exp.c: New file.
6927 * sysdeps/i386/fpu/w_exp2.c: New file.
6928 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6929 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6930 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6931 and add necessary aliases.
6932 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6933 and add necessary aliases.
6934 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6935 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6936 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6937 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6938 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6939 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6940 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6941 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6942 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6943 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6944 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6945 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6946 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6947 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6948 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6949 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6950 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6955 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6956 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6957 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6958 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6959 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6960 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6961 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6962 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6963 (__ieee754_exp): Rename to __exp.
6964 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6965 (__ieee754_exp): Rename to __exp.
6966 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6967 (__ieee754_exp): Rename to __exp.
6968 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6969 __exp.
6970 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6971
bcdaad21
DD
69722018-11-20 DJ Delorie <dj@redhat.com>
6973
6974 * malloc/malloc.c (tcache_entry): Add key field.
6975 (tcache_put): Set it.
6976 (tcache_get): Likewise.
6977 (_int_free): Check for double free in tcache.
6978 * malloc/tst-tcfree1.c: New.
6979 * malloc/tst-tcfree2.c: New.
6980 * malloc/Makefile: Run the new tests.
6981 * manual/probes.texi: Document memory_tcache_double_free probe.
6982
6983 * dlfcn/dlerror.c (check_free): Prevent double frees.
6984
5770c0ad
WD
69852018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6986
6987 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6988
9a62a939
JM
69892018-11-20 Joseph Myers <joseph@codesourcery.com>
6990
6991 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6992 in tests. Use names for format arguments.
6993 (ConstantTest.run): Likewise.
6994 (SymbolTest.run): Likewise.
6995 (TypeTest.run): Likewise.
6996 (TagTest.run): Likewise.
6997 (FunctionTest.run): Likewise.
6998 (VariableTest.run): Likewise.
6999 (MacroFunctionTest.run): Likewise.
7000 (MacroStrTest.run): Likewise.
7001 (HeaderTests.__init__): Set self.num_tests.
7002 (HeaderTests.handle_test_line): Set test.num. Increment
7003 self.num_tests.
7004
b15b1a95
ST
70052018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7006
7007 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7008 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7009 SEEK_SET.
7010
0c7f97ae
MH
70112018-11-19 Mao Han <han_mao@c-sky.com>
7012
7013 * scripts/config.guess: Update to version 2018-08-29.
7014 * scripts/config.sub: Update to version 2018-08-29.
7015
35e3fbc4
FW
70162018-11-19 Florian Weimer <fweimer@redhat.com>
7017
7018 support: Print timestamps in timeout handler.
7019 * support/support_test_main.c (print_timestamp): New function.
7020 (signal_handler): Use it to print the termination time and the
7021 time of the last write to standard output.
7022
c75772e3
ZW
70232018-11-16 Zack Weinberg <zackw@panix.com>
7024 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7025
7026 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7027 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7028 argument.
7029 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7030 and add flags argument. Check flags instead of __ldbl_is_dbl when
7031 deciding whether to set is_long_double.
7032 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7033 passing zero for flags argument.
7034 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7035
7036 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7037 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7038 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7039 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7040 variable names. Remove libc_hidden_def/libc_hidden_proto from
7041 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7042 longer called from within the library.
7043 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7044 for __nldbl___vstrfmon_l, declare it explicitly.
7045
7046 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7047
346ef23f
ST
70482018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7049
7050 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7051 macros
7052 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7053 F_SETLK64, F_SETLKW64, respectively.
7054 * sysdeps/mach/hurd/f_setlk.c: New file.
7055 * sysdeps/mach/hurd/f_setlk.h: New file.
7056 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7057 f_setlk.
7058 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7059 (__libc_fcntl): Move non-flock operations to...
7060 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7061 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7062
de20b81a
PE
70632018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7064
5d8af156
PE
7065 mktime: DEBUG_MKTIME cleanup
7066 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7067 And it’s no longer needed now that glibc and Gnulib both have
7068 their own testing mechanisms for mktime.
7069 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7070
86aece3b
PE
7071 mktime: fix non-EOVERFLOW errno handling
7072 [BZ#23789]
7073 mktime was not properly reporting failures when the underlying
7074 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7075 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7076 The problem could happen on non-glibc platforms, with Gnulib.
7077 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7078 (tm_diff): ... this simpler function, which does not change errno.
7079 All callers changed to deal with errno themselves.
7080 (ranged_convert, __mktime_internal): Return failure immediately if
7081 the underlying function reports any failure other than EOVERFLOW.
7082 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7083 gap code fails.
7084
f6b3331b
PE
7085 mktime: fix bug with Y2038 DST transition
7086 [BZ#23789]
7087 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7088 mishandle a DST transition that jumps over the Y2038 boundary.
7089 No such DST transitions are known so this is only a theoretical
7090 bug, but we might as well do things right.
7091
efbdddc3
PE
7092 mktime: make more room for overflow
7093 [BZ#23789]
7094 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7095 This is so that we can add tm_diff results to a previous guess,
7096 which will be useful in a later patch.
7097
6c90d759
PE
7098 mktime: simplify offset guess
7099 [BZ#23789]
7100 * time/mktime.c (__mktime_internal): Omit excess precision.
7101
32c12f3f
PE
7102 mktime: new test for mktime failure
7103 [BZ#23789]
7104 Based on a test suggested by Albert Aribaud in:
7105 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7106 * time/Makefile (tests): Add bug-mktime4.
7107 * time/bug-mktime4.c: New file.
7108
de20b81a
PE
7109 mktime: fix EOVERFLOW bug
7110 [BZ#23789]
7111 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7112 Include libc-config.h, not config.h, for __set_errno.
7113 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7114
8c6c3fb0
ST
71152018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7116
7117 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7118 __attribute_copy__ to copy attributes from name. Drop static qualifier
7119 to avoid warnings about leaf attribute not having effect on static
7120 functions.
7121
6923f6db
FW
71222018-11-13 Florian Weimer <fweimer@redhat.com>
7123
7124 * malloc/malloc.c (fastbin_push_entry): New function.
7125 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7126 (REMOVE_FB): Remove macro.
7127 (_int_malloc): Use fastbin_pop_entry and reindent.
7128 (_int_free): Use fastbin_push_entry.
7129 (malloc_consolidate): Use atomic_exchange_acquire.
7130
53f5c659
JM
71312018-11-13 Joseph Myers <joseph@codesourcery.com>
7132
0c096dcf
JM
7133 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7134 alias attribute, not with strong_alias.
7135
9c4b457e
JM
7136 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7137 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7138 with additional parameter thread.
7139 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7140 in terms of __hidden_ver2.
7141 (hidden_tls_def): New macro.
7142 (libc_hidden_tls_def): Likewise.
7143 (rtld_hidden_tls_def): Likewise.
7144 (libm_hidden_tls_def): Likewise.
7145 (libmvec_hidden_tls_def): Likewise.
7146 (libresolv_hidden_tls_def): Likewise.
7147 (librt_hidden_tls_def): Likewise.
7148 (libdl_hidden_tls_def): Likewise.
7149 (libnss_files_hidden_tls_def): Likewise.
7150 (libnsl_hidden_tls_def): Likewise.
7151 (libnss_nisplus_hidden_tls_def): Likewise.
7152 (libutil_hidden_tls_def): Likewise.
7153 (libutil_hidden_tls_def): Likweise.
7154 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7155 libc_hidden_tls_def.
7156 (__sim_disabled_exceptions_thread): Likewise.
7157 (__sim_round_mode_thread): Likewise.
7158
53f5c659
JM
7159 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7160 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7161 copy attributes from name.
7162
092dfde6
JM
71632018-11-12 Joseph Myers <joseph@codesourcery.com>
7164
f578f97b
JM
7165 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7166 Use __attribute_copy__ to copy attributes from name.
7167
9a7c643a
JM
7168 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7169 with __hidden_ver1 call.
7170 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7171 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7172 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7173 (__cosf): Do not declare here.
7174 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7175 (__sincosf): Do not declare here.
7176 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7177 (__sinf): Do not declare here.
7178
092dfde6
JM
7179 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7180 (__BIG_ENDIAN): Likewise.
7181 (__BYTE_ORDER): Likewise.
7182 (strong_alias): Likewise.
7183 (_strong_alias): Likewise.
7184
1ecba1fa
FW
71852018-11-12 Florian Weimer <fweimer@redhat.com>
7186
7187 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7188 function. Move after the definition of in_smallbin_range. Do not
7189 use __builtin_expect for paths that lead to a noreturn function.
7190 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7191 because it is unclear whether this is in fact an unlikely
7192 condition.
7193 (_int_malloc, _int_free): Adjust.
7194 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7195 variables.
7196 * malloc/arena.c (heap_trim): Likewise.
7197
434c34bd
ST
71982018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7199
7200 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7201 it, free it if needed.
7202 (reauthenticate): Test and use ccwdir.
7203 (child_init_port): In non-resetids case, test and use ccwdir.
7204 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
7205 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7206 * hurd/hurd/port.h (_hurd_port_move): New function.
7207 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7208 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
7209 * hurd/Versions (_hurd_port_move): Export function.
7210 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7211 symbol.
58bb655a
ST
7212 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7213 of dtablesize for allocating dtable_cloexec.
434c34bd 7214
1626a1cf
MS
72152018-11-09 Martin Sebor <msebor@redhat.com>
7216
7217 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7218 it's already defined.
7219 (_strong_alias): Use __attribute_copy__.
7220 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7221 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7222 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7223 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7224 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7225 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7226 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7227 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7228 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7229 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7230 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7231 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7232 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7233 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7234 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7235 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7236 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7237 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7238 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7239
968ed530
GG
72402018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7241
7242 * misc/tst-efgcvt.c: Include support/check.h and
7243 support/test-driver.c. Do not include test-skeleton.c.
7244 (error_count): Remove.
7245 (output_error): Replace increments to error_count with calls to
7246 support_record_failure.
7247 (output_r_error): Likewise.
7248 (special): Likewise.
7249 (do_test): Unconditionally return zero.
7250 (TEST_FUNCTION): Remove.
7251
c3ec0972
JM
72522018-11-09 Joseph Myers <joseph@codesourcery.com>
7253
91faaa93
JM
7254 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7255 not $(@D)/scratch.
7256 ($(linknamespace-header-tests)): Likewise.
7257
c3ec0972
JM
7258 * conform/conformtest.py: New file.
7259 * conform/conformtest.pl: Remove.
7260 * conform/GlibcConform.pm: Likewise.
7261 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7262 (KEYWORDS_C99): Likewise.
7263 (KEYWORDS): Likewise.
7264 * conform/Makefile ($(conformtest-header-tests)): Use
7265 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7266 option. Use --header instead of --headers.
7267 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7268 function entries.
7269 * conform/data/spawn.h-data: Likewise.
7270 * conform/data/fcntl.h-data (openat): Add space after function
7271 name.
7272 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7273 (wcscasecmp_l): Likewise.
7274 * conform/data/termios.h-data (c_cc): Add space after element
7275 name.
7276
43257c33
GG
72772018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7278
7279 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7280 instead of manually comparing and reporting mismatching strings.
7281 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7282 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7283
e5de3b5b
JM
72842018-11-08 Joseph Myers <joseph@codesourcery.com>
7285
7286 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7287 __ASSUME_SOCKETCALL.
7288 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7289 (__ASSUME_SOCKETCALL): Remove.
7290 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7291 (__ASSUME_SOCKETCALL): Likewise.
7292 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7293 (__ASSUME_SOCKETCALL): Likewise.
7294 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7295 (__ASSUME_SOCKETCALL): Likewise.
7296 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7297 (__ASSUME_SOCKETCALL): Likewise.
7298 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7299 (__ASSUME_SOCKETCALL): Likewise.
7300 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7301 (__ASSUME_SOCKETCALL): Likewise.
7302
d524fa6c
L
73032018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7304
7305 [BZ #23509]
7306 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7307 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7308 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7309 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7310 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7311 lc_unknown.
7312
ac806026
AH
73132018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7314
7315 [BZ #17630]
7316 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7317
596cc360
JM
73182018-11-07 Joseph Myers <joseph@codesourcery.com>
7319
7320 [BZ #23867]
7321 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7322 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7323 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7324 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7325
00c86a37
AZ
73262018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7327
7328 * support/support_test_compare_string.c
7329 (support_test_compare_string): Fix printf format.
7330
1df872fd
FW
73312018-11-07 Florian Weimer <fweimer@redhat.com>
7332
7333 Implement TEST_COMPARE_STRING.
7334 * support/check.h (TEST_COMPARE_STRING): Define.
7335 (support_test_compare_string): Declare.
7336 * support/Makefile (libsupport-routines): Add
7337 support_test_compare_string.
7338 (tests): Add tst-test_compare_string.
7339 * support/support_test_compare_string.c: New file.
7340 * support/tst-test_compare_string.c: Likewise.
7341
295132ff
AS
73422018-11-07 Andreas Schwab <schwab@suse.de>
7343
7344 [BZ #23864]
7345 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7346 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7347 Undef.
7348
e143ceba
JM
73492018-11-06 Joseph Myers <joseph@codesourcery.com>
7350
7351 [BZ #23862]
7352 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7353 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7354 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7355 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7356 Likewise.
7357
4a938cb2
FW
73582018-11-06 Florian Weimer <fweimer@redhat.com>
7359
7360 [BZ #17405]
7361 * posix/Makefile (routines): Add spawn_faction_addchdir.
7362 (tests): Add tst-spawn-chdir.
7363 * posix/Versions (GLIBC_2.29): Add
7364 posix_spawn_file_actions_addchdir_np.
7365 * posix/spawn_faction_addchdir.c: New file.
7366 * posix/spawn_faction_destroy.c
7367 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7368 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7369 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7370 chdir_action.
7371 * posix/tst-spawn-chdir.c: New file.
7372 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7373 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7374 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7375 posix_spawn_file_actions_addchdir_np.
7376 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7377 Likewise.
7378 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7379 Likewise.
7380 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7381 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7382 Likewise.
7383 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7384 Likewise.
7385 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7386 Likewise.
7387 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7388 Likewise.
7389 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7390 Likewise.
7391 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7392 Likewise.
7393 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7394 (GLIBC_2.29): Likewise.
7395 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7396 (GLIBC_2.29): Likewise.
7397 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7398 (GLIBC_2.29): Likewise.
7399 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7400 (GLIBC_2.29): Likewise.
7401 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7402 Likewise.
7403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7404 (GLIBC_2.29): Likewise.
7405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7406 (GLIBC_2.29): Likewise.
7407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7408 (GLIBC_2.29): Likewise.
7409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7410 (GLIBC_2.29): Likewise.
7411 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7412 Likewise.
7413 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7414 Likewise.
7415 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7416 Likewise.
7417 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7418 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7419 Likewise.
7420 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7421 Likewise.
7422 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7423 Likewise.
7424 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7425 Likewise.
7426
7597b0c7
GG
74272018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7428
7429 * misc/Makefile (tests): Add tst-ldbl-error.
7430 * misc/tst-ldbl-error.c: New file.
7431
9771e6cb
GG
74322018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7433
7434 * misc/Makefile (tests): Add tst-ldbl-warn.
7435 * misc/tst-ldbl-warn.c: New file.
7436
2c03961f
GG
74372018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7438
7439 * argp/Makefile (tests): Add tst-ldbl-argp.
7440 * argp/tst-ldbl-argp.c: New file.
7441
6d6ee046
AS
74422018-11-05 Arjun Shankar <arjun@redhat.com>
7443
7444 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7445 __gconv_path_elem and call __gconv_get_path unconditionally.
7446
bd3b0fba
AS
74472018-11-05 Andreas Schwab <schwab@suse.de>
7448
7449 [BZ #22927]
7450 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7451 creating the first helper thread failed.
7452
2e96e980
ST
74532018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7454
7455 * sysdeps/mach/hurd/msync.c: New file.
7456
6e36266c
FW
74572018-11-02 Florian Weimer <fweimer@redhat.com>
7458
7459 * support/shell-container.c (copy_func): Call
7460 support_copy_file_range instead of copy_file_range to support
7461 cross-device copies.
7462
599f7bee
FW
74632018-11-02 Florian Weimer <fweimer@redhat.com>
7464
7465 * support/test-container.c: Include <libc-pointer-arith.h> for
7466 ALIGN_UP.
7467
ff48ea67
ZL
74682018-11-01 Zong Li <zong@andestech.com>
7469
af1d5782
ZL
7470 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7471 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7472 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7473 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7474
ff48ea67
ZL
7475 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7476 variable to avoid overlap arguments.
7477
daea71c2
JM
74782018-11-01 Joseph Myers <joseph@codesourcery.com>
7479
eac4405a
JM
7480 * posix/bug-regex22.c (main): Use puts with distinct error
7481 messages for unexpected success of re_compile_pattern, not printf
7482 with NULL argument to %s.
7483
6f30e59f
JM
7484 * stdio-common/bug22.c: Include <libc-diag.h>.
7485 (do_test): Disable -Wformat-overflow= warnings around fprintf
7486 calls outputting more than INT_MAX characters.
7487 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7488 around printf call with NULL %s argument.
7489
daea71c2
JM
7490 [BZ #23848]
7491 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7492 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7493 Undefine.
7494 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7495 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7496 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7497 (__ASSUME_SENDTO_SYSCALL): Likewise.
7498 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7499 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7500 [!__arch64__].
7501 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7502 (__ASSUME_CONNECT_SYSCALL): Likewise.
7503 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7504 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7505 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7506 Define.
7507 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7508 Likewise.
7509 [__LINUX_KERNEL_VERSION >= 0x040400]
7510 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7511 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7512 Remove.
7513 (listen): Likewise.
7514 (setsockopt): Likewise.
7515
8e3c00db
FN
75162018-11-01 Fredrik Noring <noring@nocrew.org>
7517
7518 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7519 with the ISA override.
7520
9c3dbdbe
RAE
75212018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7522
7523 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7524 #endif.
7525
e3a88b3e
ST
75262018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7527
a67377e7 7528 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 7529 translate the error message.
a67377e7
ST
7530 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7531 printing trailing whitespaces refused by git.
7532 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7533 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 7534 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 7535
3ca235ed
JM
75362018-10-30 Joseph Myers <joseph@codesourcery.com>
7537
7538 * conform/linknamespace.py: New file.
7539 * conform/linknamespace.pl: Remove file.
7540 * conform/Makefile ($(linknamespace-header-tests)): Use
7541 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7542 option.
7543
60708030
FW
75442018-10-30 Florian Weimer <fweimer@redhat.com>
7545
7546 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7547 memory leaks.
7548
a91e9301
FW
75492018-10-30 Florian Weimer <fweimer@redhat.com>
7550
7551 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7552
07da99aa
FW
75532018-10-30 Florian Weimer <fweimer@redhat.com>
7554
7555 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7556 support_blob_repeat.
7557
f5e7e959
FW
75582018-10-30 Florian Weimer <fweimer@redhat.com>
7559
7560 Avoid spurious test failures in stdlib/test-bz22786.
7561 * support/Makefile (libsupport-routines): Add blob_repeat.
7562 (tests): Add tst-support_blob_repeat.
7563 * support/blob_repeat.h: New file.
7564 * support/blob_repeat.c: Likewise.
7565 * support/tst-support_blob_repeat.c: Likewise.
7566 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7567 support_blob_repeat_allocate.
7568
2dd12baa
AS
75692018-10-30 Andreas Schwab <schwab@suse.de>
7570
7571 [BZ #23125]
7572 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7573 Don't use tail call.
7574 * elf/tst-unwind-main.c: New file.
7575 * elf/Makefile (tests): Add tst-unwind-main.
7576 (CFLAGS-tst-unwind-main.c): Define.
7577
6b5c8607 75782018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
7579
7580 [BZ #23791]
7581 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7582 n_cs_precedes to 0.
7583 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7584
c6982f7e
JM
75852018-10-29 Joseph Myers <joseph@codesourcery.com>
7586
954cf3c2
JM
7587 * conform/glibcconform.py: Do not import shutil.
7588 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7589 of mkdtemp.
7590
c6982f7e
JM
7591 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7592 critic_missing for versions before 3.4.
7593 * configure: Regenerated.
7594 * manual/install.texi (Tools for Compilation): Document
7595 requirement for Python to build glibc.
7596 * INSTALL: Regenerated.
7597 * Rules [PYTHON]: Make code unconditional.
7598 * benchtests/Makefile [PYTHON]: Likewise.
7599 * conform/Makefile [PYTHON]: Likewise.
7600 * manual/Makefile [PYTHON]: Likewise.
7601 * math/Makefile [PYTHON]: Likewise.
7602
46a7f24c
ST
76032018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7604
7605 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 7606 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 7607 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
7608 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7609 _hurd_intr_rpc_msg_about_to global point to start of controlled
7610 assembly snippet. Make it check canceled flag.
7611 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7612 the _hurd_intr_rpc_msg_about_to point.
7613 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7614 issue, remove cancel flag check.
46a7f24c 7615
e5b8756d
JM
76162018-10-26 Joseph Myers <joseph@codesourcery.com>
7617
7618 * scripts/build-many-glibcs.py: Remove compatibility for missing
7619 os.cpu_count and re.fullmatch.
7620
ba5b14c7
SN
76212018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7622
7623 [BZ #23822]
7624 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7625 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7626 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7627
fe61f17c
JM
76282018-10-25 Joseph Myers <joseph@codesourcery.com>
7629
7630 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7631 macro.
7632
7c5e34d7
FW
76332018-10-25 Florian Weimer <fweimer@redhat.com>
7634
7635 [BZ #23562]
7636 [BZ #23821]
7637 XFAIL siginfo_t si_band conform test on sparc64.
7638 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7639 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7640 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7641 (conformtest-xfail-conds): Add sparc64-linux.
7642 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7643 sparc64.
7644 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7645
5b784e88
JM
76462018-10-25 Joseph Myers <joseph@codesourcery.com>
7647
7648 * elf/elf.h (NT_MIPS_DSP): New macro.
7649 (NT_MIPS_FP_MODE): Likewise.
7650
41432ebe
ZL
76512018-10-25 Zong Li <zong@andestech.com>
7652
7653 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7654 name by adding the file extension (.so).
7655
d026efea
ST
76562018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7657
7658 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7659 (test-xfail-ISO11/threads.h/linknamespace,
7660 test-xfail-ISO11/threads.h/conform): Add.
7661
b71ac2b9
JM
76622018-10-24 Joseph Myers <joseph@codesourcery.com>
7663
7664 * math/gen-libm-test.py: Import os.
7665 (ALL_FLOATS_MANUAL): New constant.
7666 (ALL_FLOATS_SUFFIX): Likewise.
7667 (Ulps.all_functions): New function.
7668 (real_all_ulps): Likewise.
7669 (generate_err_table_sub): Likewise.
7670 (generate_err_table): Likewise.
7671 (main): Handle -s and -m options.
7672 * manual/libm-err-tab.pl: Remove.
7673 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7674 instead of libm-err-tab.pl.
7675 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7676 != no].
7677 * manual/install.texi (Tools for Compilation): Document
7678 requirement for Python to build manual.
7679 * INSTALL: Regenerated.
7680
6b5c8607 76812018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
7682
7683 * bits/time64.h: New file.
7684 * include/time.h: Replace internal_time_t with __time64_t.
7685 * posix/bits/types (__time64_t): Add.
7686 * stdlib/Makefile: Add bits/time64.h to includes.
7687 * time/tzfile.c: Replace internal_time_t with __time64_t.
7688
97d91fcc 76892018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
7690
7691 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7692 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7693 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7694 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7695 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7696 prototype.
7697 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7698 * posix/spawn_faction_addclose.c
7699 (__posix_spawn_file_actions_addclose): Add hidden definition.
7700 * posix/spawn_faction_adddup2.c
7701 (__posix_spawn_file_actions_adddup2): Likewise.
7702 * posix/spawn_faction_destroy.c
7703 (__posix_spawn_file_actions_destroy): Likewise.
7704 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7705 Likewise.
7706 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7707 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7708 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7709 Likewise.
7710 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7711 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7712 Likewise.
7713
2954daf0
AS
77142018-10-24 Andreas Schwab <schwab@suse.de>
7715
7716 [BZ #18093]
7717 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7718 format cache.
7719 * elf/cache.c (print_cache): Likewise.
7720
6b5c8607 77212018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
7722
7723 * bits/timesize.h: New file.
7724 * stdlib/Makefile (headers): Add bits/timesize.h.
7725 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7726 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7727 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7728 (__SEM_PAD_AFTER_TIME): Likewise.
7729 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7730 (__SHM_PAD_AFTER_TIME): Likewise.
7731 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7732 (__MSQ_PAD_BEFORE_TIME): Likewise.
7733 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7734 (__SEM_PAD_BEFORE_TIME): Likewise.
7735 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7736 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7737 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
7738 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7739 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7740 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
7741 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7742 (__SEM_PAD_BEFORE_TIME): Likewise.
7743 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7744 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7745 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7746 (__MSQ_PAD_BEFORE_TIME): Likewise.
7747 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7748 (__SEM_PAD_BEFORE_TIME): Likewise.
7749 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7750 (__SHM_PAD_BEFORE_TIME): Likewise.
7751 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7752 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7753 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7754
7cc65773
L
77552018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7756
7757 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7758 USE_RDTSCP is defined.
7759 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7760 USE_RDTSCP is defined.
7761
c3d8dc45
AZ
77622018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7763
18ad0de6
AZ
7764 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7765 defined.
7766
c3d8dc45
AZ
7767 [BZ #23709]
7768 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7769 independently of other flags.
7770
f1034472
FW
77712018-10-23 Florian Weimer <fweimer@redhat.com>
7772
7773 * time/tst-mktime2.c (N_STRINGS): Remove.
7774 (set_timezone): New function.
7775 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7776 (mktime_test1): Report localtime failure and check errno value.
7777 Use TEST_COMPARE.
7778 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7779 (do_test): Remove alarm call. Use set_timezone and array_length.
7780
367d7cc2
AS
77812018-10-23 Andreas Schwab <schwab@suse.de>
7782
7783 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7784 (__start_context): Use END instead of PSEUDO_END.
7785
be8ff03f
JM
77862018-10-22 Joseph Myers <joseph@codesourcery.com>
7787
029ad711
JM
7788 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7789 version to 4.19.
7790
8190520f
JM
7791 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7792 version to 4.19.
7793
be8ff03f
JM
7794 [BZ #23793]
7795 * wcsmbs/c32rtomb.c: New file.
7796 * wcsmbs/mbrtoc32.c: Likewise.
7797 * wcsmbs/tst-c32-state.c: Likewise.
7798 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7799 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7800 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7801 (tests): Add tst-c32-state.
7802 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7803 $(gen-locales).
7804
2dd8e58c
L
78052018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7806
7807 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7808 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7809
d0a74159
JM
78102018-10-19 Joseph Myers <joseph@codesourcery.com>
7811
7812 [BZ #23794]
7813 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7814 pair and return 0 in that case, and use saved character to
7815 interpret following character.
7816 * wcsmbs/tst-c16-surrogate.c: New file.
7817 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7818 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7819 Depend on $(gen-locales)
7820
f997b4be
IYM
78212018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7822
7823 [BZ #23562]
7824 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7825 (struct siginfo_t): Use correct type for si_band.
7826
53b2bb87
FW
78272018-10-19 Florian Weimer <fweimer@redhat.com>
7828
7829 [BZ #23689]
7830 * resource/bits/types/struct_rusage.h (struct rusage): Update
7831 comment on struct. Remove extraneous field comment.
7832
0a271c8f
DM
78332018-10-18 David S. Miller <davem@davemloft.net>
7834
94a3a27f
DM
7835 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7836 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7837 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7838 sysdep_routines in subdir elf.
7839 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7840 version for __vdso_clock_gettime.
7841 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7842 Define.
7843 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7844 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7845
0a271c8f
DM
7846 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7847
72771e53
L
78482018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7849
7850 * sysdeps/i386/init-arch.h: Removed.
7851 * sysdeps/i386/i586/init-arch.h: Likewise.
7852 * sysdeps/i386/i686/init-arch.h: Likewise.
7853 * sysdeps/i386/i686/hp-timing.h: Likewise.
7854 * sysdeps/x86_64/hp-timing.h: Likewise.
7855 * sysdeps/i386/isa.h: New file.
7856 * sysdeps/i386/i586/isa.h: Likewise.
7857 * sysdeps/i386/i686/isa.h: Likewise.
7858 * sysdeps/x86_64/isa.h: Likewise.
7859 * sysdeps/x86/hp-timing.h: New file.
7860 * sysdeps/x86/init-arch.h: Include <isa.h>.
7861
c2b7ccad
JM
78622018-10-17 Joseph Myers <joseph@codesourcery.com>
7863
7864 * math/libm-test-pow.inc (pow_test_data): Do not allow
7865 divide-by-zero exception for pow(+/- 0, -Inf).
7866
26756e57
ZW
78672018-10-17 Zack Weinberg <zackw@panix.com>
7868
7869 * manual/job.texi (Job Control is Optional): Remove node, as
7870 job control has not been optional in quite some time.
7871 (Job Control): Mention briefly that systems older than
7872 POSIX.1-2001 might not support job control.
7873 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7874 defined on systems conforming to POSIX.1-2001.
7875
c5288d37
AS
78762018-10-17 Arjun Shankar <arjun@redhat.com>
7877
7878 [BZ #22062]
7879 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7880 indentation.
7881 * (__gconv_read_conf): Mark function static.
7882 * (once): New static variable.
7883 * (__gconv_load_conf): New function.
7884 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7885 * iconv/gconv_db.c (once): Remove static variable.
7886 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7887 __gconv_read_conf.
7888 * (__gconv_find_transform): Likewise.
7889 * iconv/tst-iconv-mt.c: New test.
7890 * iconv/Makefile: Add tst-iconv_mt.
7891
8c8d2a8a
JM
78922018-10-17 Joseph Myers <joseph@codesourcery.com>
7893
7894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
7895 bits/shm-pad.h.
7896 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7897 (shmatt_t): Define as __syscall_ulong_t.
7898 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7899 and [__SHM_PAD_AFTER_TIME].
7900 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7901 Define shm_segsz and associated padding based on
7902 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7903 Use __syscall_ulong_t instead of unsigned long int.
7904 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7905 unsigned long int.
7906 [__USE_MISC] (struct shm_info): Likewise.
7907 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7908 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7909 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7910 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7911 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7912 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7913 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7914 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7915 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7916 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7917 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7918
7919 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
7920 bits/shmlba.h.
7921 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7922 (SHMLBA): Remove macro.
7923 (__getpagesize): Remove function declaration.
7924 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7925 <bits/shmlba.h>.
7926 (SHMLBA): Remove macro.
7927 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7928 <bits/shmlba.h>.
7929 (SHMLBA): Remove macro.
7930 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7931 <bits/shmlba.h>.
7932 (SHMLBA): Remove macro.
7933 (__getpagesize): Remove function declaration.
7934 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7935 <bits/shmlba.h>.
7936 (SHMLBA): Remove macro.
7937 (__getshmlba): Remove function declaration.
7938 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7939 (SHMLBA): Remove macro.
7940 (__getpagesize): Remove function declaration.
7941 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7942 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7943 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7944 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7945 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7946 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7947 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7948 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7949 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7950 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7951
403b4feb
SL
79522018-10-17 Stefan Liebler <stli@linux.ibm.com>
7953
7954 [BZ #23275]
7955 * nptl/tst-mutex10.c: New File.
7956 * nptl/Makefile (tests): Add tst-mutex10.
7957 (tst-mutex10-ENV): New variable.
7958 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7959 Ensure that elision path is used if elision is available.
7960 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7961 Likewise.
7962 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7963 Likewise.
7964 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7965 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7966 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7967 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7968 Likewise.
7969 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7970 (__pthread_mutex_cond_lock_adjust): Likewise.
7971 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7972 Likewise.
7973 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7974 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7975 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7976 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7977 Add comments.
7978 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7979 Use atomic_load_relaxed and atomic_store_relaxed.
7980 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7981 Use atomic_store_relaxed.
7982
ce5a7de6
AS
79832018-10-17 Andreas Schwab <schwab@suse.de>
7984
7985 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7986 * crypt/badsalttest.c (TIMEOUT): Likewise.
7987 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7988 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7989 * io/test-lfs.c (TIMEOUT): Likewise.
7990 * libio/tst-atime.c (TIMEOUT): Likewise.
7991 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7992 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7993 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7994 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7995 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7996 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7997 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7998 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7999 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8000 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8001 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8002 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8003 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8004 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8005 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8006 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8007 * nptl/tst-once2.c (TIMEOUT): Likewise.
8008 * nptl/tst-once3.c (TIMEOUT): Likewise.
8009 * nptl/tst-once4.c (TIMEOUT): Likewise.
8010 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8011 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8012 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8013 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8014 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8015 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8016 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8017 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8018 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8019 * posix/tst-chmod.c (TIMEOUT): Likewise.
8020 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8021 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8022 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8023 * posix/tst-regex2.c (TIMEOUT): Likewise.
8024 * posix/tst-waitid.c (TIMEOUT): Likewise.
8025 * rt/tst-aio.c (TIMEOUT): Likewise.
8026 * rt/tst-aio10.c (TIMEOUT): Likewise.
8027 * rt/tst-aio4.c (TIMEOUT): Likewise.
8028 * rt/tst-aio5.c (TIMEOUT): Likewise.
8029 * rt/tst-aio6.c (TIMEOUT): Likewise.
8030 * rt/tst-aio64.c (TIMEOUT): Likewise.
8031 * rt/tst-aio7.c (TIMEOUT): Likewise.
8032 * rt/tst-aio9.c (TIMEOUT): Likewise.
8033 * rt/tst-clock.c (TIMEOUT): Likewise.
8034 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8035 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8036 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8037 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8038 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8039 * rt/tst-timer4.c (TIMEOUT): Likewise.
8040 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8041 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8042 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8043 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8044 * time/tst-ftime.c (TIMEOUT): Likewise.
8045 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8046
6b5c8607 80472018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
8048
8049 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8050 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8051 for thunderX2.
8052
bcdb1bfa
JM
80532018-10-15 Joseph Myers <joseph@codesourcery.com>
8054
8055 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8056 bits/sem-pad.h.
8057 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8058 instead of <bits/wordsize.h>.
8059 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8060 and [__SEM_PAD_AFTER_TIME].
8061 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8062 __syscall_ulong_t instead of unsigned long int.
8063 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8064 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8065 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8066 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8067 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8068 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8069 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8070 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8071 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8072 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8073 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8074
f4efbdfb
PE
80752018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8076
620a5d4c
PE
8077 regex: simplify by using intprops.h
8078 [BZ#23744]
8079 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8080 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8081 intprops.h defines them.
8082
f4efbdfb
PE
8083 regex: __builtin_expect → __glibc_unlikely
8084 [BZ#23744]
8085 This refactoring was prompted by a problem when the regex code is
8086 used as part of Gnulib and when the builder’s compiler does not grok
8087 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8088 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8089 Although this refactoring does not fix the problem directly,
8090 we might as well have Gawk use the now-preferred glibc style for when
8091 __builtin_expect is unavailable.
8092 * posix/regex_internal.h (BE): Remove.
8093 All uses replaced by __glibc_unlikely or __glibc_likely.
8094
9f9feb6d
JM
80952018-10-11 Joseph Myers <joseph@codesourcery.com>
8096
8097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8098 bits/msq-pad.h.
8099 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8100 instead of <bits/wordsize.h>.
8101 (msgqnum_t): Define as __syscall_ulong_t.
8102 (msglen_t): Likewise.
8103 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8104 and [__MSQ_PAD_AFTER_TIME].
8105 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8106 __syscall_ulong_t instead of unsigned long int.
8107 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8108 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8109 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8110 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8111 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8112 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8113 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8114 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8115 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8116 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8117 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8118
b9c0f6c1
JM
81192018-10-10 Joseph Myers <joseph@codesourcery.com>
8120
2a4b25fa
JM
8121 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8122 (struct shmid_ds): Condition padding after time fields on
8123 [__WORDSIZE == 32].
8124 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8125 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8126 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8127
19e62f26
JM
8128 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8129 (struct semid_ds): Condition padding after time fields on
8130 [__WORDSIZE == 32].
8131 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8132 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8133 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8134 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8135
b9c0f6c1
JM
8136 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8137 (struct msqid_ds): Condition padding after time fields on
8138 [__WORDSIZE == 32].
8139 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8140 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8141 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8142 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8143
97785a61
SN
81442018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8145
8146 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8147
ed643089
SN
81482018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8149
8150 * libio/tst-readline.c (TIMEOUT): Define.
8151
5a580643
PE
81522018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8153
8154 mktime fix for Gnulib + coreutils
8155 [BZ#23745]
8156 This fix affects only Gnulib. Problem discovered when
8157 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8158 * time/mktime.c:
8159 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8160 Do not define since it is not used. Defining an unused static
8161 function prompts a warning from GCC when Coreutils is configured
8162 with --enable-gcc-warnings.
8163
c892ae04
LS
81642018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8165
8166 * benchtests/scripts/compare_bench.py (main): set float type on
8167 threshold argument.
8168
a68ec8ea
RL
81692018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8170
8171 [BZ #23740]
8172 * localedata/locales/kl_GL (mon): Update, the relative case.
8173 (alt_mon): Add, fill with month names in the nominative case.
8174 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8175 (d_fmt): Set to "%b %d %Y".
8176
a1987621
JM
81772018-10-04 Joseph Myers <joseph@codesourcery.com>
8178
47c49251
JM
8179 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8180 <bits/mman-linux.h>.
8181 (PROT_READ): Don't define here.
8182 (PROT_WRITE): Likewise.
8183 (PROT_EXEC): Likewise.
8184 (PROT_NONE): Likewise.
8185 (PROT_GROWSDOWN): Likewise.
8186 (PROT_GROWSUP): Likewise.
8187 (MAP_SHARED): Likewise.
8188 (MAP_PRIVATE): Likewise.
8189 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8190 [__USE_MISC] (MAP_FILE): Likewise.
8191 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8192 [__USE_MISC] (MAP_ANON): Likewise.
8193 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8194 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8195 (MCL_CURRENT): Likewise.
8196 (MCL_FUTURE): Likewise.
8197 (MCL_ONFAULT): Likewise.
8198 [__USE_MISC] (MADV_NORMAL): Likewise.
8199 [__USE_MISC] (MADV_RANDOM): Likewise.
8200 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8201 [__USE_MISC] (MADV_WILLNEED): Likewise.
8202 [__USE_MISC] (MADV_DONTNEED): Likewise.
8203 [__USE_MISC] (MADV_FREE): Likewise.
8204 [__USE_MISC] (MADV_REMOVE): Likewise.
8205 [__USE_MISC] (MADV_DONTFORK): Likewise.
8206 [__USE_MISC] (MADV_DOFORK): Likewise.
8207 [__USE_MISC] (MADV_HWPOISON): Likewise.
8208 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8209 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8210 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8211 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8212 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8213 (__MAP_ANONYMOUS): New macro.
8214 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8215 <bits/mman-linux.h> inclusion.
8216 (MAP_FIXED): Likewise.
8217 (MS_SYNC): Likewise.
8218 (MS_ASYNC): Likewise.
8219 (MS_INVALIDATE): Likewise.
8220 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8221 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8222 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8223 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8224 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8225 [__USE_MISC] (MADV_DODUMP): Likewise.
8226 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8227 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8228
a1987621
JM
8229 [BZ #23735]
8230 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8231 Define.
8232 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8233 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8234 Add test-nldbl-redirect.
8235 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8236 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8237 $(objpfx)libnldbl_nonshared.a.
8238
e7624d70
SL
82392018-10-04 Stefan Liebler <stli@linux.ibm.com>
8240
8241 * support/support.h (support_objdir_elf_ldso): New variable.
8242 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8243 * support/Makefile (CFLAGS-support_paths.c): Add definition
8244 for OBJDIR_ELF_LDSO_PATH.
8245 * support/test-container.c (main): Search for the ld.so
8246 which is also used by the testsuite.
8247
dae3ed95
RL
82482018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8249
8250 [BZ #20209]
8251 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8252 should be "sap" rather than "sab".
8253 (day): Fix spelling of Sunday, should be "sapaat" rather than
8254 "sabaat".
8255
f346b5b3
JM
82562018-10-02 Joseph Myers <joseph@codesourcery.com>
8257
8258 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8259
4a06ceea
MJ
82602018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8261
8262 [BZ #19444]
8263 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8264 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8265 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8266
a06fc4a5
AZ
82672018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8268
8269 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8270
a1ccc065
L
82712018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8272
8273 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8274 Add -mrtm.
8275 (CFLAGS-elision-unlock.c): Likewise.
8276 (CFLAGS-elision-timed.c): Likewise.
8277 (CFLAGS-elision-trylock.c): Likewise.
8278 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8279
0b727ed4
AZ
82802018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8281
8282 [BZ #21037]
8283 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8284 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8285 new fd_to_filename interface.
8286 * libio/freopen64.c (freopen64): Likewise.
8287 * libio/tst-memstream.h: New file.
8288 * libio/tst-memstream4.c: Likewise.
8289 * libio/tst-wmemstream4.c: Likewise.
8290 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8291 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8292 and remove internal dynamic allocation.
8293
d0e91e8c
JM
82942018-10-01 Joseph Myers <joseph@codesourcery.com>
8295
8296 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8297 (MREMAP_MAYMOVE): Do not define here.
8298 [__USE_GNU] (MREMAP_FIXED): Likewise.
8299 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8300 (MREMAP_MAYMOVE): Define here instead.
8301 [__USE_GNU] (MREMAP_FIXED): Likewise.
8302 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8303 (MREMAP_MAYMOVE): Remove.
8304 [__USE_GNU] (MREMAP_FIXED): Likewise.
8305
c52944e8
JM
83062018-09-28 Joseph Myers <joseph@codesourcery.com>
8307
8308 * math/fromfp.h: Do not include <math_private.h>.
8309 * math/s_cacosh_template.c: Likewise.
8310 * math/s_casin_template.c: Likewise.
8311 * math/s_casinh_template.c: Likewise.
8312 * math/s_ccos_template.c: Likewise.
8313 * math/s_cproj_template.c: Likewise.
8314 * math/s_fdim_template.c: Likewise.
8315 * math/s_fmaxmag_template.c: Likewise.
8316 * math/s_fminmag_template.c: Likewise.
8317 * math/s_iseqsig_template.c: Likewise.
8318 * math/s_ldexp_template.c: Likewise.
8319 * math/s_nextdown_template.c: Likewise.
8320 * math/w_log1p_template.c: Likewise.
8321 * math/w_scalbln_template.c: Likewise.
8322 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8323 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8324 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8325 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8326 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8327 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8328 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8329 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8330 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8331 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8332 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8333 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8334 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8335 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8336 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8337 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8338 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8339 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8340 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8341 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8342 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8343 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8344 * sysdeps/ieee754/k_standardf.c: Likewise.
8345 * sysdeps/ieee754/k_standardl.c: Likewise.
8346 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8347 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8348 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8349 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8350 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8351 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8352 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8353 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8354 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8355 * sysdeps/ieee754/s_signgam.c: Likewise.
8356 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8357 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8358 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8359 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8360 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8361 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8362 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8363 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8364 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8365 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8366 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8367 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8368 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8369 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8370 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8371 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8372 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8373 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8374 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8375 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8376 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8377 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8378 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8379 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8380 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8381 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8382 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8383 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8384 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8385 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8386 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8387 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8388 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8389 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8390 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8391 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8392 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8393 <math_private.h>.
8394 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8395
7b1f9406
L
83962018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8397
8398 [BZ #23716]
8399 * sysdeps/i386/dl-cet.c: Removed.
8400 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8401 prototype.
8402 (_dl_runtime_profile_shstk): Likewise.
8403 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8404 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8405
7a16bdbb
AZ
84062018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8407
8408 [BZ #23579]
8409 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8410 do_test_with_invalid_iov): New tests.
8411 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8412 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8413 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8414 errno is ENOSYS.
8415 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8416 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8417 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8418
9755bc46
JM
84192018-09-27 Joseph Myers <joseph@codesourcery.com>
8420
81dca813
JM
8421 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8422 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8423 (MATH_REDIRECT_BINARY_ARGS): New macro.
8424 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8425 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8426 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8427 header inclusion.
8428 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8429 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8430 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8431 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8432 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8433 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8434 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8436 Likewise.
8437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8438 Likewise.
8439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8441 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8442 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8444 Likewise.
8445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8446 Likewise.
8447 * sysdeps/generic/math_private_calls.h
8448 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8449 Do not declare and define as an inline function.
8450 * math/divtc3.c (__divtc3): Use copysign functions instead of
8451 __copysign variants.
8452 * math/multc3.c (__multc3): Likewise.
8453 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8454 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8455 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8456 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8457 Likewise.
8458 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8459 (__ieee754_yn): Likewise.
8460 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8461 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8462 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8463 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8464 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8465 (__sin): Likewise.
8466 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8467 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8468 Likewise.
8469 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8470 Likewise.
8471 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8472 Likewise.
8473 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8474 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8475 Likewise.
8476 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8477 (__ieee754_ynf): Likewise.
8478 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8479 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8480 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8481 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8482 Likewise.
8483 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8484 (__ieee754_ynl): Likewise.
8485 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8486 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8487 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8488 Likewise.
8489 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8490 (__ieee754_ynl): Likewise.
8491 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8492 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8493 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8494 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8495 Likewise.
8496 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8497 (__ieee754_ynl)
8498 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8499 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8500 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8501 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8502 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8503
9755bc46
JM
8504 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8505 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8506 using MATH_REDIRECT.
8507 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8508 header inclusion.
8509 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8510 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8511 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8512 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8513 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8514 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8515 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8520 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8521 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8522 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8523 (round): Redirect to __round.
8524 (__roundl): Call round instead of __round.
8525 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8526 Remove macro.
8527 [_ARCH_PWR5X] (__roundf): Likewise.
8528 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8529 functions instead of __round variants.
8530 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8531 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8532 Likewise.
8533 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8534 Likewise.
8535 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8536 Likewise.
8537 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8538 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8539 __lroundl.
8540 (__ieee754_expl): Call roundl instead of __roundl.
8541
f841c97e
AS
85422018-09-27 Andreas Schwab <schwab@suse.de>
8543
8544 [BZ #23717]
8545 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8546 (do_test): Make st1 static.
8547
6ca8284e
AS
85482018-09-26 Andreas Schwab <schwab@suse.de>
8549
8550 [BZ #23707]
8551 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8552 * elf/Makefile (tests): Add tst-unwind-ctor.
8553 (modules-names): Add tst-unwind-ctor-lib.
8554 ($(objpfx)tst-unwind-ctor): Depend on
8555 $(objpfx)tst-unwind-ctor-lib.so.
8556
61d8b5fe
JM
85572018-09-26 Joseph Myers <joseph@codesourcery.com>
8558
8559 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8560 file. Most contents moved from ....
8561 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8562 and include <bits/mman-map-flags-generic.h>.
8563 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8564 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8565 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8566 <bits/mman-map-flags-generic.h>.
8567 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8568 macros defined in <bits/mman-map-flags-generic.h>.
8569 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8570 <bits/mman-map-flags-generic.h>.
8571 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8572 defined in <bits/mman-map-flags-generic.h>.
8573
46341286
AS
85742018-09-26 Andreas Schwab <schwab@suse.de>
8575
8576 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8577 output.
8578
b5c45e83
AZ
85792018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8580 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8581 Fangrui Song <maskray@google.com>
8582
8583 [BZ #20480]
8584 * config.make.in (have-textrel_ifunc): New define.
8585 * configure.ac: Add check if linker supports textrel relocation with
8586 ifunc.
8587 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8588 tst-ifunc-textrel.
8589 (CFLAGS-tst-ifunc-textrel.c): New rule.
8590 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8591 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8592 * elf/tst-ifunc-textrel.c: New file.
8593
8ea4d2b7
JM
85942018-09-25 Joseph Myers <joseph@codesourcery.com>
8595
d62f9ec0
JM
8596 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8597 <bits/procfs-prregset.h>.
8598 (prgregset_t): Define using __prgregset_t.
8599 (prfpregset_t): Define using __prfpregset_t.
8600 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8601 (sysdep_headers): Add bits/procfs-prregset.h.
8602 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8603 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8604 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8605 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8606
d0d8eb43
JM
8607 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8608 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8609 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8610 pr_uid and pr_gid.
8611 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8612 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8613 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8614 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8615 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8616 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8617 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8618 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8619 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8620 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8621 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8622 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8623 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8624 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8625 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8626 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8627 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8628 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8629 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8630 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8631 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8632 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8633 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8634 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8635
8ea4d2b7
JM
8636 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8637 AArch64 version. Include <bits/procfs.h>.
8638 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8639 (sysdep_headers): Add bits/procfs.h.
8640 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8641 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8642 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8643 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8644 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8645 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8646 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8647 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8648 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8649 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8650 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8651 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8652 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8653 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8654 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8655 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8656 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8657
c7027166
AZ
86582018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8659
8660 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8661 Use libsupport.
8662
335a3b0a
AS
86632018-09-25 Arjun Shankar <arjun@redhat.com>
8664
8665 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8666 (__gconv_max_path_elem_len): Likewise.
8667 (__gconv_nmodules): Likewise.
8668 (__gconv_get_path): Likewise.
8669 (path_elem): Move to ...
8670 * iconv/gconv_conf.c: ... here.
8671 (__gconv_get_path): Mark function static.
8672 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8673 * iconv/gconv_open.c: ... here.
8674
462d348c
AS
86752018-09-24 Andreas Schwab <schwab@suse.de>
8676
8677 * scripts/haveversions.awk: New file.
8678 * Makerules ($(common-objpfx)Versions.def)
8679 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8680 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8681 Move rules ...
8682 * Makeconfig ($(common-objpfx)Versions.def)
8683 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8684 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8685 ... here.
8686 ($(common-objpfx)Versions.mk): New rule. Include it.
8687 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8688 Emit error if build-obsolete-nsl = yes.
8689 * manual/install.texi (Configuring and compiling): Describe
8690 --enable-obsolete-nsl as unavaiable after version 2.28.
8691 * INSTALL: Regenerate.
8692
f0458cf4
AZ
86932018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8694
8695 * NEWS: Add note about new TLE support on powerpc64le.
8696 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8697 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8698 __ununsed1.
8699 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8700 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8701 * sysdeps/powerpc/powerpc32/sysdep.h,
8702 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8703 ABORT_TRANSACTION): Remove macros.
8704 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8705 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8706 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8708 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8709 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8710 usage.
8711 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8712
434d45fd
RL
87132018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8714
8715 [BZ #10425]
8716 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8717 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8718 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8719 which is the same as in it_IT.
8720 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8721 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8722
d90c9b1a
JM
87232018-09-20 Joseph Myers <joseph@codesourcery.com>
8724
7abf97be
JM
8725 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8726 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8727 using MATH_REDIRECT.
8728 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8729 header inclusion.
8730 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8731 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8732 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8733 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8734 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8735 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8740 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8741 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8742 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8743 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8744 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8745 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8746 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8747 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8748 (ceil): Redirect to __ceil.
8749 (floor): Redirect to __floor.
8750 (trunc): Redirect to __trunc.
8751 (__truncl): Call trunc instead of __trunc.
8752 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8753 Remove macro.
8754 [_ARCH_PWR5X] (__truncf): Likewise.
8755 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8756 trunc functions instead of __trunc variants.
8757 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8758 Likewise.
8759 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8760 Likewise.
8761 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8762 Likewise.
8763 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8764 Likewise.
8765
d90c9b1a
JM
8766 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8767 [__i586__ || __pentium__].
8768 [__i486__]: Handle explicitly.
8769 (HAS_CPUID): Define to 1 if above macros are undefined.
8770 (HAS_I586): Likewise.
8771 (HAS_I686): Likewise.
8772
db9a8ad4
FW
87732018-09-20 Florian Weimer <fweimer@redhat.com>
8774
8775 * misc/tst-gethostid.c: New file.
8776 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8777 (tst-gethostid): Link with -ldl.
8778
1214ba06
MY
87792018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8780
8781 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8782 value from gethostbyname_r.
8783
791b350d
CD
87842018-09-19 Carlos O'Donell <carlos@redhat.com>
8785
8786 * stdlib/tst-setcontext9.c (f1): Rename to...
8787 (f1a): ... this.
8788 (f1b): New function implementing lower half of f1 in alternate stack.
8789
8e6fd2bd
PE
87902018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8791
e1080e7e
PE
8792 Fix mktime localtime offset confusion
8793 [BZ #23603]
8794 * include/time.h (__mktime_internal): The localtime offset is now
8795 of type long int instead of time_t. This is the longstanding type
8796 in glibc, and it is more than enough to represent difference
8797 between localtime and gmtime even if it is 32 bits and time_t is
8798 64. Changing it now will let us avoid an unnecessary change when
8799 time_t is widened to 64 bits on 32-bit platforms.
8800 * time/mktime-internal.h (mktime_offset_t): Now long int.
8801
8e6fd2bd
PE
8802 Merge mktime, timegm from upstream Gnulib
8803 [BZ #23603][BZ #16346]
8804 This fixes some obscure problems with integer overflow.
8805 Although it looks scary, it is almost all a byte-for-byte copy
8806 from Gnulib, and the Gnulib code has been tested reasonably well.
8807 * include/intprops.h: New file, copied from Gnulib.
8808 * include/verify.h, time/mktime-internal.h:
8809 New tiny files, simplified from Gnulib.
8810 * time/mktime.c: Copy from Gnulib. This has the following changes:
8811 Do not include config.h if DEBUG_MKTIME is nonzero.
8812 Include stdbool.h, intprops.h, verify.h.
8813 Include string.h only if needed.
8814 Include stdlib.h on MS-Windows.
8815 Include mktime-internal.h.
8816 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8817 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8818 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8819 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8820 simplify later conditionals; default the others to zero. Use
8821 these conditionals to express only the code needed on the current
8822 platform. In uses of these conditionals, explicitly spell out how
8823 _LIBC affects things, so it’s easier to review from a glibc
8824 viewpoint.
8825 (WRAPV): Remove; no longer needed now that we have
8826 systematic overflow checking.
8827 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8828 compartmentalize tzset issues. Move system-dependent tzsettish
8829 code here from mktime.
8830 (verify): Remove; now done by verify.h. All uses changed.
8831 (long_int): Use a more-conservative definition, to avoid
8832 integer overflow.
8833 (SHR): Remove, replacing with ...
8834 (shr): New function, which means we needn’t worry about side
8835 effects in args, and conversion analysis is simpler.
8836 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8837 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8838 (time_t_avg, time_t_add_ok): Remove.
8839 (mktime_min, mktime_max): New constants.
8840 (leapyear, isdst_differ): Use bool for booleans.
8841 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8842 Use long_int, not time_t, for mktime differences.
8843 (long_int_avg): New function, replacing time_t_avg.
8844 INT_ADD_WRAPV replaces time_t_add_ok.
8845 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8846 All uses changed.
8847 (convert_time): New function.
8848 (ranged_convert): Use it.
8849 (__mktime_internal): Last arg now points to mktime_offset_t, not
8850 time_t. All uses changed. This is a no-op on glibc, where
8851 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8852 offset guess. Directly check for integer overflow instead of
8853 using a heuristic that works only 99.9...% of the time.
8854 Access *OFFSET only once, to avoid an unlikely race if the
8855 compiler delays a load and if this cascades into a signed integer
8856 overflow.
8857 (mktime): Move tzsettish code to my_tzset, and move
8858 localtime_offset to within mktime so that it doesn’t
8859 need a separate ifdef.
8860 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8861 instead of localtime.
8862 * time/timegm.c: Copy from Gnulib. This has the following changes:
8863 Include mktime-internal.h.
8864 [!_LIBC]: Include config.h and time.h. Do not include
8865 timegm.h or time_r.h. Make __mktime_internal a macro,
8866 and include mktime-internal.h to get its declaration.
8867 (timegm): Temporary is now mktime_offset_t, not time_t.
8868 This affects only Gnulib.
8869
83a552b0
WD
88702018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8871
8872 [BZ #23637]
8873 * string/test-strstr.c (pr23637): New function.
8874 (test_main): Add tests with longer needles.
8875 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8876 * string/strstr.c (AVAILABLE): Likewise.
8877
d7347278
SN
88782018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8879
8880 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8881
424c4f60
SN
88822018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8883
8884 * NEWS: Mention pow improvements.
8885 * math/Makefile (type-double-routines): Add e_pow_log_data.
8886 * sysdeps/generic/math_private.h (__exp1): Remove.
8887 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8888 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8889 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8890 contraction.
8891 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8892 (exp_inline): Remove.
8893 (__ieee754_exp): Only single double input is handled.
8894 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8895 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8896 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8897 (__pow_log_data): Define.
8898 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8899 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8900 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8901 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8902 contraction.
8903 (CFLAGS-e_pow-fma4.c): Likewise.
8904
e4e4fde5
PE
89052018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8906
dab9c348
PE
8907 Simplify tzfile fstat failure code
8908 [BZ #21716]
8909 * time/tzfile.c (__tzfile_read): Simplify slightly.
8910
e4e4fde5
PE
8911 Fix tzfile low-memory assertion failure
8912 [BZ #21716]
8913 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8914 when registering time zone abbreviations.
8915
50bc59ca
JM
89162018-09-18 Joseph Myers <joseph@codesourcery.com>
8917
d3a43e49
JM
8918 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8919 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8920 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8921 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8922 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8923 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8924 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8925 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8926 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8927
50bc59ca
JM
8928 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8929 __ceil.
8930 (__ceill): Call ceil instead of __ceil.
8931 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8932 __floor.
8933 (__floorl): Call floor instead of __floor.
8934
89983cb3
JM
89352018-09-17 Joseph Myers <joseph@codesourcery.com>
8936
71223ef9
JM
8937 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8938 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8939 using MATH_REDIRECT.
8940 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8941 header inclusion.
8942 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8943 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8944 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8945 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8946 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8947 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8948 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8949 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8954 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8955 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8957 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8958 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8959 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8960 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8961 Remove macro.
8962 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8963 functions instead of __ceil variants.
8964 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8965 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8966 Likewise.
8967 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8968 Likewise.
8969 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8970 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8971 Likewise.
8972 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8973 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8974
89983cb3
JM
8975 [BZ #21286]
8976 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8977 constant.
8978 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8979 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8980 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8981 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8982 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8983 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8984 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8985 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8986 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8987 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8988 (ILL_BADIADDR): Remove constant.
8989 (TRAP_BRANCH): Likewise.
8990 (TRAP_HWBKPT): Likewise.
8991
e44acb20
JM
89922018-09-14 Joseph Myers <joseph@codesourcery.com>
8993
3f7f1d18
JM
8994 [BZ #23656]
8995 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8996 Remove [_MIPS_SIM = _ABIN32] conditional case.
8997 (struct elf_prpsinfo): Likewise.
8998
d59f3e5e
JM
8999 [BZ #23649]
9000 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9001 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9002 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9003 Likewise.
9004 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9005 elf_prpsinfo): Likewise.
9006 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9007 elf_prpsinfo): Likewise.
9008 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9009 Likewise.
9010
f29b6f17
JM
9011 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9012 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9013 using MATH_REDIRECT.
9014 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9015 header inclusion.
9016 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9017 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9018 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9019 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9020 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9021 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9022 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9023 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9024 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9025 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9026 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9027 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9028 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9029 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9030 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9031 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9032 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9033 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9034 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9037 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9038 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9039 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9040 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9041 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9042 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9043 __rint variants.
9044 * math/e_scalbf.c (invalid_fn): Likewise.
9045 * math/e_scalbl.c (invalid_fn): Likewise.
9046 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9047 Likewise.
9048 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9049 Likewise.
9050 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9051 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9052 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9053 Likewise.
9054 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9055 Likewise.
9056 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9057 Likewise.
9058 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9059 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9060
e44acb20
JM
9061 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9062 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9063 New macro.
9064 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9065 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9066 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9067 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9068 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9069 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9070 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9071 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9072 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9073 && !NO_MATH_REDIRECT] (floor): Likewise.
9074 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9075 header inclusion.
9076 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9077 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9078 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9079 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9080 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9081 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9082 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9083 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9088 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9089 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9090 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9091 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9092 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9093 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9094 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9095 Remove macro.
9096 [_ARCH_PWR5X] (__floorf): Likewise.
9097 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9098 inline function.
9099 [__SSE4_1__] (__floorf): Likewise.
9100 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9101 instead of __floor variants.
9102 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9103 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9104 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9105 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9106 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9107 * math/w_tgamma_compat.c (__tgamma): Likewise.
9108 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9109 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9110 * math/w_tgammal_compat.c (__tgammal): Likewise.
9111 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9112 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9113 Likewise.
9114 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9115 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9116 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9117 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9118 Likewise.
9119 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9120 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9121 Likewise.
9122 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9123 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9124 Likewise.
9125 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9126 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9127 Likewise.
9128 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9129 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9130 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9131 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9132 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9133 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9134
221e4bab
JM
91352018-09-12 Joseph Myers <joseph@codesourcery.com>
9136
9137 * elf/Makefile (modules-names-tests): New variable.
9138
3e08ff54
SN
91392018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9140
9141 * NEWS: Mention log2 improvements.
9142 * math/Makefile (type-double-routines): Add e_log2_data.
9143 * sysdeps/i386/fpu/e_log2_data.c: New file.
9144 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9145 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9146 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9147 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9148 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9149 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9150
f41b0a43
SN
91512018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9152
9153 * NEWS: Mention log improvement.
9154 * math/Makefile (type-double-routines): Add e_log_data.
9155 * sysdeps/i386/fpu/e_log_data.c: New file.
9156 * sysdeps/ia64/fpu/e_log_data.c: New file.
9157 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9158 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9159 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9160 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9161 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9162 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9163
5a274db4
L
91642018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9165 Xuepeng Guo <xuepeng.guo@intel.com>
9166
9167 [BZ #23606]
9168 * sysdeps/i386/start.S: Include <sysdep.h>
9169 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9170 enabled. Add cfi_undefined (eip).
9171
b1176270
JM
91722018-09-11 Joseph Myers <joseph@codesourcery.com>
9173
4e7fbdd7
JM
9174 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9175 (MOVQ): Likewise.
9176 (EXTRACT_WORDS64): Likewise.
9177 (INSERT_WORDS64): Likewise.
9178 (GET_FLOAT_WORD): Likewise.
9179 (SET_FLOAT_WORD): Likewise.
9180
b1176270
JM
9181 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9182 argument.
9183 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9184 build, but not for second build if --full-gcc. Use
9185 --enable-languages=all for second build if --full-gcc.
9186 (get_parser): Add --full-gcc option.
9187 (main): Update call to Context.
9188
527f355e
RL
91892018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9190
9191 [BZ #10797]
9192 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9193 Single Quotation Mark).
9194 (thousands_sep): Likewise.
9195 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9196 * localedata/locales/it_IT (thousands_sep): Use ".".
9197 (grouping): Use "3;3".
9198
7244f13d
JM
91992018-09-10 Joseph Myers <joseph@codesourcery.com>
9200
9201 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9202 x86_64 and i686 configs using --enable-obsolete-rpc
9203 --enable-obsolete-nsl.
9204
38245425
SL
92052018-09-06 Stefan Liebler <stli@linux.ibm.com>
9206
9207 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9208
28669f86
SL
92092018-09-06 Stefan Liebler <stli@linux.ibm.com>
9210
9211 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9212 Increment size of new_argv by one.
9213
a33650d1
RL
92142018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9215
9216 [BZ #17426]
9217 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9218 * localedata/locales/ar_IN (d_fmt): Likewise.
9219 * localedata/locales/bhb_IN (d_fmt): Likewise.
9220 * localedata/locales/bho_IN (d_fmt): Likewise.
9221 * localedata/locales/bn_BD (d_fmt): Likewise.
9222 * localedata/locales/bn_IN (d_fmt): Likewise.
9223 * localedata/locales/doi_IN (d_fmt): Likewise.
9224 * localedata/locales/gu_IN (d_fmt): Likewise.
9225 * localedata/locales/hi_IN (d_fmt): Likewise.
9226 * localedata/locales/hne_IN (d_fmt): Likewise.
9227 * localedata/locales/kn_IN (d_fmt): Likewise.
9228 * localedata/locales/mag_IN (d_fmt): Likewise.
9229 * localedata/locales/mai_IN (d_fmt): Likewise.
9230 * localedata/locales/mjw_IN (d_fmt): Likewise.
9231 * localedata/locales/ml_IN (d_fmt): Likewise.
9232 * localedata/locales/mni_IN (d_fmt): Likewise.
9233 * localedata/locales/mr_IN (d_fmt): Likewise.
9234 * localedata/locales/pa_IN (d_fmt): Likewise.
9235 * localedata/locales/raj_IN (d_fmt): Likewise.
9236 * localedata/locales/sat_IN (d_fmt): Likewise.
9237 * localedata/locales/sd_IN (d_fmt): Likewise.
9238 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9239 * localedata/locales/ta_IN (d_fmt): Likewise.
9240 * localedata/locales/ta_LK (d_fmt): Likewise.
9241 * localedata/locales/tcy_IN (d_fmt): Likewise.
9242 * localedata/locales/ur_IN (d_fmt): Likewise.
9243
9244 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9245 * localedata/locales/ks_IN (d_fmt): Likewise.
9246 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9247
9248 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9249 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9250 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9251 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9252
d114e6a7
SN
92532018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9254
9255 * NEWS: Mention exp and exp2 improvements.
9256 * math/Makefile (libm-support): Remove t_exp.
9257 (type-double-routines): Add math_err and e_exp_data.
9258 * sysdeps/aarch64/libm-test-ulps: Update.
9259 * sysdeps/arm/libm-test-ulps: Update.
9260 * sysdeps/i386/fpu/e_exp_data.c: New file.
9261 * sysdeps/i386/fpu/math_err.c: New file.
9262 * sysdeps/i386/fpu/t_exp.c: Remove.
9263 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9264 * sysdeps/ia64/fpu/math_err.c: New file.
9265 * sysdeps/ia64/fpu/t_exp.c: Remove.
9266 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9267 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9268 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9269 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9270 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9271 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9272 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9273 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9274 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9275 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9276 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9277 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9278 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9279 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9281 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9282
b9d8c474
JM
92832018-09-05 Joseph Myers <joseph@codesourcery.com>
9284
b7cdc2ae
JM
9285 * sysdeps/alpha/fpu/math_private.h: Remove.
9286
b9d8c474
JM
9287 * sysdeps/generic/math_private.h
9288 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9289 Move this inline function ....
9290 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9291 * include/math.h [!_ISOMAC]: To here....
9292
418d99e6
JM
92932018-09-04 Joseph Myers <joseph@codesourcery.com>
9294
9295 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9296 code ....
9297 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9298 * include/fenv.h [!_ISOMAC]: ... to here.
9299 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9300 (feraiseexcept): Likewise.
9301 * math/fromfp.h: Do not include <fenv_private.h>.
9302 * math/s_cexp_template.c: Likewise.
9303 * math/s_csin_template.c: Likewise.
9304 * math/s_csinh_template.c: Likewise.
9305 * math/s_ctan_template.c: Likewise.
9306 * math/s_ctanh_template.c: Likewise.
9307 * math/s_iseqsig_template.c: Likewise.
9308 * math/w_acos_compat.c: Likewise.
9309 * math/w_acosf_compat.c: Likewise.
9310 * math/w_acosl_compat.c: Likewise.
9311 * math/w_asin_compat.c: Likewise.
9312 * math/w_asinf_compat.c: Likewise.
9313 * math/w_asinl_compat.c: Likewise.
9314 * math/w_j0_compat.c: Likewise.
9315 * math/w_j0f_compat.c: Likewise.
9316 * math/w_j0l_compat.c: Likewise.
9317 * math/w_j1_compat.c: Likewise.
9318 * math/w_j1f_compat.c: Likewise.
9319 * math/w_j1l_compat.c: Likewise.
9320 * math/w_jn_compat.c: Likewise.
9321 * math/w_jnf_compat.c: Likewise.
9322 * math/w_log10_compat.c: Likewise.
9323 * math/w_log10f_compat.c: Likewise.
9324 * math/w_log10l_compat.c: Likewise.
9325 * math/w_log2_compat.c: Likewise.
9326 * math/w_log2f_compat.c: Likewise.
9327 * math/w_log2l_compat.c: Likewise.
9328 * math/w_log_compat.c: Likewise.
9329 * math/w_logf_compat.c: Likewise.
9330 * math/w_logl_compat.c: Likewise.
9331 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9332 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9333 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9334 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9335 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9336 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9337 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9338 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9339 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9340 * sysdeps/ieee754/k_standardl.c: Likewise.
9341 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9342 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9343 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9344 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9345 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9346 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9347 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9348 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9349 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9351 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9352 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9353 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9354 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9355 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9356 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9357 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9358 * math/w_ilogb_template.c: Include <fenv.h> instead of
9359 <fenv_private.h>.
9360 * math/w_llogb_template.c: Likewise.
9361 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9362 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9363
70e2ba33
JM
93642018-09-03 Joseph Myers <joseph@codesourcery.com>
9365
9366 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9367 * math/fromfp.h: Include <fenv_private.h>.
9368 * math/math-narrow.h: Likewise.
9369 * math/s_cexp_template.c: Likewise.
9370 * math/s_csin_template.c: Likewise.
9371 * math/s_csinh_template.c: Likewise.
9372 * math/s_ctan_template.c: Likewise.
9373 * math/s_ctanh_template.c: Likewise.
9374 * math/s_iseqsig_template.c: Likewise.
9375 * math/w_acos_compat.c: Likewise.
9376 * math/w_acosf_compat.c: Likewise.
9377 * math/w_acosl_compat.c: Likewise.
9378 * math/w_asin_compat.c: Likewise.
9379 * math/w_asinf_compat.c: Likewise.
9380 * math/w_asinl_compat.c: Likewise.
9381 * math/w_ilogb_template.c: Likewise.
9382 * math/w_j0_compat.c: Likewise.
9383 * math/w_j0f_compat.c: Likewise.
9384 * math/w_j0l_compat.c: Likewise.
9385 * math/w_j1_compat.c: Likewise.
9386 * math/w_j1f_compat.c: Likewise.
9387 * math/w_j1l_compat.c: Likewise.
9388 * math/w_jn_compat.c: Likewise.
9389 * math/w_jnf_compat.c: Likewise.
9390 * math/w_llogb_template.c: Likewise.
9391 * math/w_log10_compat.c: Likewise.
9392 * math/w_log10f_compat.c: Likewise.
9393 * math/w_log10l_compat.c: Likewise.
9394 * math/w_log2_compat.c: Likewise.
9395 * math/w_log2f_compat.c: Likewise.
9396 * math/w_log2l_compat.c: Likewise.
9397 * math/w_log_compat.c: Likewise.
9398 * math/w_logf_compat.c: Likewise.
9399 * math/w_logl_compat.c: Likewise.
9400 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9401 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9402 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9403 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9404 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9405 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9406 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9407 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9408 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9409 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9410 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9411 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9412 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9413 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9414 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9415 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9416 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9417 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9418 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9419 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9420 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9421 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9422 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9423 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9424 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9425 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9426 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9427 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9428 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9429 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9430 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9431 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9432 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9433 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9434 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9435 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9436 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9437 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9438 * sysdeps/ieee754/k_standardl.c: Likewise.
9439 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9440 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9441 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9442 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9443 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9444 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9445 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9446 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9447 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9448 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9449 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9450 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9451 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9452 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9453 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9454 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9455 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9456 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9457 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9458 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9459 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9460 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9461 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9462 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9463 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9464 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9465 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9466 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9467 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9468 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9469 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9470 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9471 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9472 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9473 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9474 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9475 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9476 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9477 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9478 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9479 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9480 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9481 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9482 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9483 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9484 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9485 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9486 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9487 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9488 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9489 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9490 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9491 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9492 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9493 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9494 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9495 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9496 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9497 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9498 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9499 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9500 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9501 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9502 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9503 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9504 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9505 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9506 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9507 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9508 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9509 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9510
a6e8926f
PP
95112018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9512
9513 [BZ #20271]
9514 * include/stdio.h (__libc_fatal): Mention newline in comment.
9515 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9516 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9517 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9518 * nss/nsswitch.c (__nss_next2): Likewise.
9519 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9520 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9521 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9522 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9523 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9524 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9525 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9526 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9527 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9528 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9529 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9530 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9531 (__netlink_assert_response): Likewise.
9532
2bbd06bc
JM
95332018-08-31 Joseph Myers <joseph@codesourcery.com>
9534
9535 * conform/glibcconform.py: New file.
9536 * conform/list-header-symbols.py: Likewise.
9537 * conform/list-header-symbols.pl: Remove.
9538 * conform/Makefile (tests-special): Only add linknamespace tests
9539 if [PYTHON].
9540 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9541
81b9d87b
L
95422018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9543
9544 [BZ #23597]
9545 * support/Makefile (libsupport-routines): Add
9546 support_copy_file_range and xcopy_file_range.
9547 * support/support.h: Include <sys/types.h>.
9548 (support_copy_file_range): New prototype.
9549 * support/support_copy_file_range.c: New file. Copied and
9550 modified from io/copy_file_range-compat.c.
9551 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9552 instead of copy_file_range.
9553 * support/xcopy_file_range.c: New file.
9554 * support/xunistd.h (xcopy_file_range): New prototype.
9555
d330f31a
CD
95562018-08-30 Carlos O'Donell <carlos@redhat.com>
9557
9558 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9559 xpthread_create and xpthread_join.
9560
2bda273a
FW
95612018-08-30 Florian Weimer <fweimer@redhat.com>
9562
9563 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9564
3bad2358
SL
95652018-08-30 Stefan Liebler <stli@linux.ibm.com>
9566
9567 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9568 if malloc fails.
9569
09c12efc
JM
95702018-08-29 Joseph Myers <joseph@codesourcery.com>
9571
9572 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9573 and minus_oflow as non-finite.
9574
ff6b2450
JM
95752018-08-28 Joseph Myers <joseph@codesourcery.com>
9576
9577 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9578 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9579 moved to fenv_private.h except for ...
9580 (TOINT_INTRINSICS): Kept in math_private.h.
9581 (roundtoint): Likewise.
9582 (converttoint): Likewise.
9583 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9584 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9585 * sysdeps/arm/math_private.h: Remove.
9586 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9587 ....
9588 * sysdeps/generic/math_private.h: ... this file. Include
9589 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9590 Include <fenv_private.h>. Remove functions and macros moved to
9591 fenv_private.h.
9592 * sysdeps/i386/fpu/math_private.h: Remove.
9593 * sysdeps/mips/math_private.h: Move to ....
9594 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9595 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9596 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9597 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9598 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9599 * sysdeps/powerpc/fpu/math_private.h: Do not include
9600 <fenv_private.h>.
9601 * sysdeps/riscv/rvf/math_private.h: Move to ....
9602 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9603 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9604 <fenv_private.h>.
9605 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9606 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9607 * sysdeps/sparc/fpu/math_private.h: Remove.
9608 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9609 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9610 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9611 <fenv_private.h>.
9612 * sysdeps/x86_64/fpu/math_private.h: Do not include
9613 <sysdeps/i386/fpu/fenv_private.h>.
9614
761404b7
FW
96152018-08-28 Florian Weimer <fweimer@redhat.com>
9616
9617 [BZ #23578]
9618 * posix/tst-regcomp-truncated.c: New file.
9619 * posix/Makefile (tests): Add it.
9620 (tst-regcomp-truncated.out): Depend on generated locales.
9621
d6c44c3d
FW
96222018-08-28 Florian Weimer <fweimer@redhat.com>
9623
9624 * support/test-container.c (main): Treat unshare failure with
9625 EPERM as an unsupported test.
9626
745664bd
FW
96272018-08-28 Florian Weimer <fweimer@redhat.com>
9628
9629 [BZ #23520]
9630 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9631 * nscd/netgroupcache.c
9632 (addgetnetgrentX): Add tofreep parameter. Do not free
9633 heap-allocated buffer.
9634 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9635 (addgetnetgrentX_ignore): New function.
9636 (addgetnetgrent): Call it.
9637 (readdgetnetgrent): Likewise.
9638
c8dd67e7
RS
96392018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9640
9641 * string/memmem.c: Use memcmp for first match.
9642
5abedf97
RL
96432018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9644
9645 [BZ #17426]
9646 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9647
86de0499
DD
96482018-08-27 DJ Delorie <dj@redhat.com>
9649
9650 * support/Makefile (others): Don't list programs explicitly as a
9651 dependency of "others".
9652
c3ab2110
JM
96532018-08-27 Joseph Myers <joseph@codesourcery.com>
9654
9655 * sysdeps/generic/math-tests-trap-force.h: New file.
9656 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9657 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9658 * sysdeps/powerpc/math-tests.h: Remove file.
9659 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9660
6b5c8607
TS
96612018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9662 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
9663
9664 [BZ #23538]
9665 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9666 Update r to include the set wake-request flag if waiters are
9667 remaining after spinning.
9668
4061791f
JM
96692018-08-27 Joseph Myers <joseph@codesourcery.com>
9670
9671 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9672
bc680b33
PE
96732018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9674
761404b7 9675 [BZ #23578]
bc680b33
PE
9676 regex: fix uninitialized memory access
9677 I introduced this bug into gnulib in commit
9678 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9679 eventually it was merged into glibc. The bug was found by
9680 project-repo <bugs@feusi.co> and reported here:
9681 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9682 Diagnosis and draft fix reported by Assaf Gordon here:
9683 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9684 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9685 * posix/regex_internal.c (build_wcs_upper_buffer):
9686 Fix bug when mbrtowc returns 0.
9687
02458a52
CD
96882018-08-24 Carlos O'Donell <carlos@redhat.com>
9689
9690 * po/be.po: Update translation.
9691
acc2842a
DD
96922018-08-24 DJ Delorie <dj@delorie.com>
9693
9694 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9695 $(libunwind).
9696
6c3a8a9d
PP
96972018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9698
b39d961c
TS
9699 [BZ #23400]
9700 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9701 create temporary files in source tree.
6c3a8a9d 9702
895ef79e
JM
97032018-08-24 Joseph Myers <joseph@codesourcery.com>
9704
9705 * sysdeps/generic/math-tests-trap.h: New file.
9706 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9707 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9708 * sysdeps/aarch64/math-tests.h: Remove file.
9709 * sysdeps/arm/math-tests.h: Likewise.
9710 * sysdeps/riscv/math-tests.h: Likewise.
9711 * sysdeps/aarch64/math-tests-trap.h: New file.
9712 * sysdeps/arm/math-tests-trap.h: Likewise.
9713 * sysdeps/riscv/math-tests-trap.h: Likewise.
9714
ca3aac57
WD
97152018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9716
9717 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9718 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9719 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9720 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9721 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9722 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9723 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9724 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9725 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9726 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9727 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9728 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9729 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9730 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9731 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9732 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9733 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9734 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9735
60bcac09
JM
97362018-08-23 Joseph Myers <joseph@codesourcery.com>
9737
9738 * sysdeps/generic/math-tests-exceptions.h: New file.
9739 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9740 (EXCEPTION_TESTS_float): Do not define here.
9741 (EXCEPTION_TESTS_double): Likewise.
9742 (EXCEPTION_TESTS_long_double): Likewise.
9743 (EXCEPTION_TESTS_float128): Likewise.
9744 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9745 Likewise.
9746 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9747 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9748 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9749 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9750 * sysdeps/mips/math-tests.h: Likewise.
9751 * sysdeps/nios2/math-tests.h: Likewise.
9752 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9753 (EXCEPTION_TESTS_float): Do not define here.
9754 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9755 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9756 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9757
3bded567
WD
97582018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9759
9760 * NEWS: Move optimized sinf entry to 2.29.
9761
900fb446
WD
97622018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9763
9764 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9765
561b0bec
DD
97662018-08-22 DJ Delorie <dj@redhat.com>
9767
9768 * Makefile (testroot.pristine): New rules to initialize the
9769 test-in-container "testroot".
9770 * Makerules (all-testsuite): Add tests-container.
9771 * Rules (tests-expected): Add tests-container.
9772 (binaries-all-tests): Likewise.
9773 (tests-container): New, run these tests in the testroot container.
9774 * support/Makefile (others): Add *-container, support_paths.c,
9775 xmkdirp, and links-dso-program.
9776 * support/links-dso-program-c.c: New.
9777 * support/links-dso-program.cc: New.
9778 * support/test-container.c: New.
9779 * support/shell-container.c: New.
9780 * support/echo-container.c: New.
9781 * support/true-container.c: New.
9782 * support/xmkdirp.c: New.
9783 * support/xsymlink.c: New.
9784 * support/support_paths.c: New.
9785 * support/support.h: Add support paths prototypes.
9786 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9787
9788 * nss/tst-nss-test3.c: Convert to test-in-container.
9789 * nss/tst-nss-test3.root/: New.
9790
b35d3509
PE
97912018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9792
9793 regex: port Gnulib code to z/OS POSIX environment
9794 Problem reported by Arnold Robbins in:
9795 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9796 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9797 Undef.
9798
16a25138
JM
97992018-08-22 Joseph Myers <joseph@codesourcery.com>
9800
debc4c98
JM
9801 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9802 (ROUNDING_TESTS_double): Remove.
9803 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9804 (ROUNDING_TESTS_double): Remove.
9805 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9806 (ROUNDING_TESTS_double): Remove.
9807 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9808 (ROUNDING_TESTS_float): Remove.
9809 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9810 (ROUNDING_TESTS_float): Remove.
9811 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9812 (ROUNDING_TESTS_float): Remove.
9813 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9814 !TEST_MATHVEC here.
9815 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9816 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9817
16a25138
JM
9818 * sysdeps/generic/math-tests-rounding.h: New file.
9819 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9820 (ROUNDING_TESTS_float): Do not define here.
9821 (ROUNDING_TESTS_double): Likewise.
9822 (ROUNDING_TESTS_long_double): Likewise.
9823 (ROUNDING_TESTS_float128): Likewise.
9824 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9825 (ROUNDING_TESTS_double): Undefine before defining.
9826 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9827 (ROUNDING_TESTS_double): Undefine before defining.
9828 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9829 (ROUNDING_TESTS_double): Undefine before defining.
9830 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9831 (ROUNDING_TESTS_float): Undefine before defining.
9832 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9833 (ROUNDING_TESTS_float): Undefine before defining.
9834 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9835 (ROUNDING_TESTS_float): Undefine before defining.
9836 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9837 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9838 not define here.
9839 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9840 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9841 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9842 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9843 (ROUNDING_TESTS_float): Do not define here.
9844 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9845 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9846 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9847 (ROUNDING_TESTS_float): Likewise.
9848 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9849 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9850 * sysdeps/mips/math-tests.h [__mips_soft_float]
9851 (ROUNDING_TESTS_float): Likewise.
9852 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9853 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9854 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9855 (ROUNDING_TESTS_double): Likewise.
9856 (ROUNDING_TESTS_long_double): Likewise.
9857
38b0593e
TK
98582018-08-21 Tobias Klauser <tklauser@distanz.ch>
9859
9860 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9861 (PF_XDP): New macro.
9862 (AF_XDP): New macro.
9863 (SOL_XDP): New macro.
9864
5cd7dbde
JM
98652018-08-21 Joseph Myers <joseph@codesourcery.com>
9866
9867 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9868 (TCP_INQ): Likewise.
9869 (TCP_CM_INQ): Likewise.
9870 (TCP_REPAIR_ON): Likewise.
9871 (TCP_REPAIR_OFF): Likewise.
9872 (TCP_REPAIR_OFF_NO_WP): Likewise.
9873 (struct tcp_zerocopy_receive): New type.
9874
aa42b3db
FW
98752018-08-21 Florian Weimer <fweimer@redhat.com>
9876
9877 * support/support.h (support_descriptor_supports_holes): Declare.
9878 * support/Makefile (libsupport-routines): Add
9879 support_descriptor_supports_holes.
9880 * support/support_descriptor_supports_holes.c: New file.
9881 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9882 and stop testing if holes are not supported.
9883 * io/test-lfs.c (do_prepare): Likewise.
9884 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9885 Likewise.
9886 * timezone/tst-tzset.c (create_tz_file): Likewise.
9887 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9888 variable.
9889 (do_prepare): Set it.
9890 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9891
c7627f41
FW
98922018-08-21 Florian Weimer <fweimer@redhat.com>
9893
9894 [BZ #17248]
9895 * Makeconfig (+cflags): Do not sort (and deduplicate).
9896
ef939d92
FW
98972018-08-21 Florian Weimer <fweimer@redhat.com>
9898
9899 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9900 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9901
88ffb39d
FW
99022018-08-20 Florian Weimer <fweimer@redhat.com>
9903
9904 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9905 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9906
17419540
JM
99072018-08-20 Joseph Myers <joseph@codesourcery.com>
9908
e6edd40d
JM
9909 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9910 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9911 and ssi_arch members.
9912
17419540
JM
9913 * elf/elf.c (NT_VMCOREDD): New macro.
9914 (AT_MINSIGSTKSZ): Likewise.
9915
fa78896b
RS
99162018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9917
9918 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9919 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9920 s_cosf-ppc64 and s_cosf-power8.
9921 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9922 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9923 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9924 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9931 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9932 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9933
86a6c75a
FW
99342018-08-17 Florian Weimer <fweimer@redhat.com>
9935
9936 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9937
35cfefd9
FW
99382018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9939
9940 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9941
6413fcde
FW
99422018-08-16 Florian Weimer <fweimer@redhat.com>
9943
9944 * configure.ac: Add --with-nonshared-cflags option.
9945 * config.make.in (extra-nonshared-cflags): Set variable.
9946 * Makeconfig (CFLAGS-.oS): Use it.
9947 * manual/install.texi (Configuring and compiling): Document
9948 --with-nonshared-cflags.
9949 * configure: Regenerate.
9950 * INSTALL: Likewise.
9951
93a2584c
FW
99522018-08-16 Florian Weimer <fweimer@redhat.com>
9953
9954 * Makeconfig (ASFLAGS): Always append required assembler flags.
9955
f6f275d2 99562018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
9957
9958 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9959 (malloc_consolidate): Likewise.
9960
30a17d8c
PC
99612018-08-16 Pochang Chen <johnchen902@gmail.com>
9962
9963 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9964
953a5a4a
SP
99652018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9966
34f86d61
SP
9967 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9968 every strlen call.
9969
953a5a4a
SP
9970 * benchtests/bench-strlen.c: Print performance numbers in json.
9971
7793ad7a
RS
99722018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9973
9974 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9975 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9976 only for little endian.
9977 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9978 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9979 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9980 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9981 Add check for little endian.
9982 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9983 (__strcmp_power9): Add check for little endian.
9984 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9985 Add check for little endian.
9986 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9987 (__strncmp_power9): Add check for little endian.
9988 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9989 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9990 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9991 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9992 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9993
436e4d5b
SP
99942018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9995
9996 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9997 [!STRLEN](STRLEN): Set to __strlen.
9998 * sysdeps/aarch64/multiarch/strlen.c: New file.
9999 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10000 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10001 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10002 (__libc_ifunc_impl_list): Add strlen.
10003 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10004 strlen_generic and strlen_asimd.
10005
126c4e3f
WD
100062018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10007
10008 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10009 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10010 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10011
49acec17
WD
100122018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10013
10014 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10015
fdb16de3
FW
100162018-08-14 Florian Weimer <fweimer@redhat.com>
10017
10018 [BZ #23519]
10019 * include/stdio.h (__vfxprintf): Declare.
10020 * stdio-common/fxprintf.c (__vfxprintf): New function.
10021 (__fxprintf): Call it.
10022 * misc/err.c (convert_and_print): Remove function.
10023 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10024 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10025 * misc/Makefile (tests): Add tst-warn-wide.
10026 * misc/tst-warn-wide.c: New file.
10027
599cf397
WD
100282018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10029 Szabolcs Nagy <szabolcs.nagy@arm.com>
10030
10031 * NEWS: Mention sinf, cosf, sincosf.
10032 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10033 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10034 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10035 constants rather than including generic sincosf.h.
10036 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10037 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10038 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10039 (reduced_cos): Remove.
10040 (sinf_poly): New function.
10041 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10042
e95c6f61
FW
100432018-08-14 Florian Weimer <fweimer@redhat.com>
10044
10045 [BZ #23521]
10046 [BZ #23522]
10047 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10048 processing, bail out if no room, and close the stream before
10049 returning ERANGE.
10050 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10051 (tst-nss-files-alias-leak): Link with libdl.
10052 (tst-nss-files-alias-leak.out): Depend on nss_files.
10053
10054 * nss/tst-nss-files-alias-leak.c: New file.
10055
2d7acfac
FW
100562018-08-14 Florian Weimer <fweimer@redhat.com>
10057
10058 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10059 server_user, stat_user.
10060
f3cd0904
JM
100612018-08-13 Joseph Myers <joseph@codesourcery.com>
10062
17b26500
JM
10063 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10064 version to 4.18.
10065 (io_pgetevents): New syscall.
10066 (rseq): Likewise.
10067
3c1622eb
JM
10068 * manual/install.texi (Configuring and compiling): Do not list
10069 tools used for testing pretty printers here.
10070 (Tools for Compilation): List Python, PExpect and GDB here.
10071 Update descriptions of uses of Perl and Python.
10072 * INSTALL: Regenerate.
10073
f3cd0904
JM
10074 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10075 version to 4.18.
10076
b7b52b9d
FW
100772018-08-13 Florian Weimer <fweimer@redhat.com>
10078
10079 * misc/error.c (error): Add missing va_end call.
10080 (error_at_line): Likewise.
10081
01780188
FW
100822018-08-13 Florian Weimer <fweimer@redhat.com>
10083
10084 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10085
44727aec
SP
100862018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10087
8cac1f26
SP
10088 * benchtests/scripts/benchout.schema.json (properties): Add
10089 new properties.
10090
44727aec
SP
10091 * benchtests/bench-skeleton.c (main): Add duration and
10092 iterations attributes.
10093
c77bf91b
PE
100942018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10095
10096 regex: Gnulib unibyte RRI uses bytes not chars
10097 Adjust the non-glibc code to agree with what Gawk needs for
10098 rational range interpretation (RRI) for regular expression ranges.
10099 In unibyte locales, Gawk wants ranges to use the underlying byte
10100 rather than the character code point. This change does not affect
10101 glibc proper.
10102 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10103 In unibyte locales, use the byte value rather than
10104 running it through btowc.
10105
2ce7ba7d
JM
101062018-08-10 Joseph Myers <joseph@codesourcery.com>
10107
10108 * sysdeps/generic/math-tests-snan.h: New file.
10109 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10110 (SNAN_TESTS_float): Do not define here.
10111 (SNAN_TESTS_double): Likewise.
10112 (SNAN_TESTS_long_double): Likewise.
10113 (SNAN_TESTS_float128): Likewise.
10114 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10115 * sysdeps/i386/fpu/math-tests.h: Remove file.
10116 * sysdeps/ia64/math-tests-snan.h: New file.
10117 * sysdeps/ia64/math-tests.h: Remove file.
10118 * sysdeps/x86/math-tests.h: Likewise.
10119 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10120
ea5c662c
WD
101212018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10122 Szabolcs Nagy <szabolcs.nagy@arm.com>
10123
10124 * math/Makefile: Add s_sincosf_data.c.
10125 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10126 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10127 (sincosf_poly): Likewise.
10128 (reduce_small): Likewise.
10129 (reduce_large): Likewise.
10130 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10131 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10132 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10133 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10134
43cfdf8f
SN
101352018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10136 Szabolcs Nagy <szabolcs.nagy@arm.com>
10137
10138 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10139 (converttoint): Use lround.
10140 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10141 document the semantics when TOINT_INTRINSICS is set.
10142 (converttoint): Likewise.
10143 (TOINT_RINT): Remove.
10144 (TOINT_SHIFT): Remove.
10145 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10146 path.
10147
69065288
FW
101482018-08-10 Florian Weimer <fweimer@redhat.com>
10149
10150 [BZ #23497]
10151 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10152 function.
10153 (__old_getdents64): Use getdents64. Convert entries without
10154 moving them.
10155 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10156 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10157 tst-readdir64-compat.
10158
8f135efc
IL
101592018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10160
10161 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10162 Fix unwind.
10163
71c01af5
IL
101642018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10165
10166 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10167 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10168 code to s390x-mcount.h and #include it.
10169 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10170 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10171 (__fentry__): Add.
10172
8d997d22
IL
101732018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10174
10175 * stdlib/Versions: Remove __fentry__.
10176 * sysdeps/i386/Versions: Add __fentry__.
10177 * sysdeps/x86_64/Versions: Add __fentry__.
10178
69e2444a
IL
101792018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10180
10181 * sysdeps/s390/Makefile: Register the new tests.
10182 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10183 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10184 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10185 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10186 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10187 * sysdeps/s390/tst-dl-runtime.c: New file.
10188
bde6320f
IL
101892018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10190
10191 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10192 Do not clobber R0.
10193
5755f5e4
IL
101942018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10195
10196 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10197 Do not clobber R0.
10198
c8ad8522
IL
101992018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10200
10201 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10202 Do not clobber R0.
10203
b215eee1
IL
102042018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10205
10206 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10207 Do not clobber R0.
10208
329c6fec
IL
102092018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10210
10211 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10212 Use symbolic offsets for stack variables.
10213
0fb7afa2
IL
102142018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10215
10216 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10217 Use symbolic offsets for stack variables.
10218
6954059a
IL
102192018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10220
10221 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10222 Use symbolic offsets for stack variables.
10223
c7099673
IL
102242018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10225
10226 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10227 Use symbolic offsets for stack variables.
10228
2813e41e
JM
102292018-08-09 Joseph Myers <joseph@codesourcery.com>
10230
10231 * math/gen-libm-test.py: New file.
10232 * math/gen-libm-test.pl: Remove.
10233 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10234 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10235 gen-libm-test.pl.
10236 ($(libm-test-c-noauto-obj)): Likewise.
10237 ($(libm-test-c-auto-obj)): Likewise.
10238 ($(libm-test-c-narrow-obj)): Likewise.
10239 (regen-ulps): Likewise.
10240 * math/README.libm-test: Update references to gen-libm-test.pl.
10241 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10242 referencing gen-libm-test.pl.
10243 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10244 * math/libm-test-support.c: Likewise.
10245 * math/libm-test-support.h: Likewise.
10246 * sysdeps/generic/libm-test-ulps: Likewise.
10247
be64b194
SP
102482018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10249
10250 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10251 Fix value.
10252
140137fb
JM
102532018-08-08 Joseph Myers <joseph@codesourcery.com>
10254
10255 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10256 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10257
b5403eca
ST
102582018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10259
10260 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10261 symbols.
8ac0f9e6
ST
10262 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10263 __pthread_setspecific): Add hidden proto.
10264 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10265 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 10266
014efdd7
SP
102672018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10268
10269 * benchtests/bench-string.h (buf1_size, buf2_size): New
10270 variables.
10271 (init_sizes): New function.
10272 (test_init): Use it.
10273 (alloc_buf, exit_error): New functions.
10274 (alloc_bufs): Use ALLOC_BUF.
10275 (realloc_bufs): Remove.
10276 * benchtests/bench-memcmp.c (do_test): Adjust.
10277 * benchtests/bench-memset-large.c (do_test): Likewise.
10278 * benchtests/bench-memset-walk.c (do_test): Likewise.
10279 * benchtests/bench-memset.c (do_test): Likewise.
10280 * benchtests/bench-strncmp.c (do_test): Likewise.
10281
92a4cba7
AS
102822018-08-06 Andreas Schwab <schwab@suse.de>
10283
10284 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10285 of CONST_THREAD_AREA.
10286
fb4c32ae
L
102872018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10288
10289 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10290 (STATE_SAVE_MASK): Likewise.
10291 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10292 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10293 (STATE_SAVE_MASK): Likewise.
10294 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10295 instead of <cpu-features.h>.
10296
bf418187
DD
102972018-08-03 DJ Delorie <dj@redhat.com>
10298
10299 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 10300 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 10301
bb17621a
DD
10302 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10303
ea705eb5
JM
103042018-08-03 Joseph Myers <joseph@codesourcery.com>
10305
10306 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10307 after TEST_* calls.
10308 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10309 * math/libm-test-logb.inc (logb_test_data): Likewise.
10310
284f42bc
WD
103112018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10312
10313 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10314 * string/strstr.c (AVAILABLE): Likewise.
10315
430388d5
L
103162018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10317
10318 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10319 <init-arch.h>.
10320 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10321 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10322 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10323
c5760aa9
CD
103242018-08-03 Carlos O'Donell <carlos@redhat.com>
10325
10326 * po/be.po: Update translation.
10327
6b535b84
CD
10328 * po/be.po: Update translation.
10329
ae67f2e5
L
103302018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10331
10332 * sysdeps/x86/cpu-features-offsets.sym
10333 (rtld_global_ro_offsetof): Removed.
10334 (CPU_FEATURES_SIZE): Likewise.
10335 (CPUID_OFFSET): Likewise.
10336 (CPUID_SIZE): Likewise.
10337 (CPUID_EAX_OFFSET): Likewise.
10338 (CPUID_EBX_OFFSET): Likewise.
10339 (CPUID_ECX_OFFSET): Likewise.
10340 (CPUID_EDX_OFFSET): Likewise.
10341 (FAMILY_OFFSET): Likewise.
10342 (MODEL_OFFSET): Likewise.
10343 (FEATURE_OFFSET): Likewise.
10344 (FEATURE_SIZ): Likewise.
10345 (COMMON_CPUID_INDEX_1): Likewise.
10346 (COMMON_CPUID_INDEX_7): Likewise.
10347 (FEATURE_INDEX_1): Likewise.
10348 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10349
6b5c8607 103502018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
10351
10352 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10353 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10354 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10355 (install-locales): Depend on install-locale-archive.
10356 (install-locale-archive): Define.
7b7adbd8 10357 (install-locale-files): Define.
08a5ee14
CD
10358 (build-one-locale): Define macro.
10359 * manual/install.texi (Running make install): Document.
10360 * manual/INSTALL: Regenerate.
10361
525691bd
SP
103622018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10363
d67d634b
SP
10364 * benchtests/scripts/compare_strings.py: Import traceback.
10365 (parse_file): Pretty-print error.
10366
525691bd
SP
10367 * NEWS: Mention the change.
10368 * elf/dl-tunables.list: Rename tune namespace to cpu.
10369 * sysdeps/powerpc/dl-tunables.list: Likewise.
10370 * sysdeps/x86/dl-tunables.list: Likewise.
10371 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10372 cpu.name.
10373 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10374 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10375 * manual/README.tunables: Likewise.
10376 * manual/tunables.texi: Likewise.
10377 * sysdeps/powerpc/cpu-features.c: Likewise.
10378 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10379 (init_cpu_features): Likewise.
10380 * sysdeps/x86/cpu-features.c: Likewise.
10381 * sysdeps/x86/cpu-features.h: Likewise.
10382 * sysdeps/x86/cpu-tunables.c: Likewise.
10383 * sysdeps/x86_64/Makefile: Likewise.
10384 * sysdeps/x86/dl-cet.c: Likewise.
10385
506d7fb1
JM
103862018-08-02 Joseph Myers <joseph@codesourcery.com>
10387
10388 [BZ #23479]
10389 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10390 [__mips_hard_float].
10391 (FE_UNDERFLOW): Likewise.
10392 (FE_OVERFLOW): Likewise.
10393 (FE_DIVBYZERO): Likewise.
10394 (FE_INVALID): Likewise.
10395 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10396 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10397 (FE_UPWARD): Likewise.
10398 (FE_DOWNWARD): Likewise.
10399 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10400 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10401 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10402 [__mips_hard_float].
10403 (FP_ROUNDMODE): Likewise.
10404 (FP_RND_NEAREST): Likewise.
10405 (FP_RND_ZERO): Likewise.
10406 (FP_RND_PINF): Likewise.
10407 (FP_RND_MINF): Likewise.
10408 (FP_EX_INVALID): Likewise.
10409 (FP_EX_OVERFLOW): Likewise.
10410 (FP_EX_UNDERFLOW): Likewise.
10411 (FP_EX_DIVZERO): Likewise.
10412 (FP_EX_INEXACT): Likewise.
10413 (FP_INIT_ROUNDMODE): Likewise.
10414 * sysdeps/mips/nofpu/fesetenv.c: New file.
10415 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10416
f6dcefbe
JM
104172018-08-01 Joseph Myers <joseph@codesourcery.com>
10418
10419 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10420 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10421 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10422 conditional on [FE_UPWARD].
10423
fa67ba06
PE
104242018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10425
10426 regex: fix memory leak in Gnulib
10427 Problem and fix reported by Assaf Gordon in:
10428 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10429 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10430 range_ends members too, as they are defined in 'struct
10431 re_charset_t' even if not _LIBC. This affects only Gnulib.
10432
82c80ac2
L
104332018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10434
10435 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10436 ...
10437 (get_common_indices): This.
10438 (init_cpu_features): Updated.
10439
c0e7e2c1
JM
104402018-08-01 Joseph Myers <joseph@codesourcery.com>
10441
46f8cf57
JM
10442 * sysdeps/generic/math-tests-snan-payload.h: New file.
10443 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10444 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10445 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10446 * sysdeps/generic/math-tests.h: Include
10447 <math-tests-snan-payload.h>.
10448 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10449 * sysdeps/hppa/math-tests.h: Remove file.
10450 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10451 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10452 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10453 Likewise.
10454
c0e7e2c1
JM
10455 * sysdeps/generic/math-tests-snan-cast.h: New file.
10456 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10457 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10458 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10459 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10460
74939c83
CD
104612018-08-01 Carlos O'Donel <carlos@redhat.com>
10462
b029723b
CD
10463 * version.h (RELEASE): Set to "development".
10464 (VERSION): Set to "2.28.9000".
10465 * NEWS (2.29): New section.
10466
3c03baca
CD
10467 * version.h (RELEASE): Set to "stable".
10468 (VERSION): Set to "2.28".
10469 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10470 * NEWS: Add the list of bugs fixed in 2.28.
10471
74939c83
CD
10472 * po/ca.po: Update to latest version.
10473 * po/cs.po: Likewise
10474 * po/da.po: Likewise
10475 * po/el.po: Likewise
10476 * po/eo.po: Likewise
10477 * po/es.po: Likewise
10478 * po/fi.po: Likewise
10479 * po/fr.po: Likewise
10480 * po/gl.po: Likewise
10481 * po/hu.po: Likewise
10482 * po/ia.po: Likewise
10483 * po/id.po: Likewise
10484 * po/it.po: Likewise
10485 * po/ja.po: Likewise
10486 * po/ko.po: Likewise
10487 * po/lt.po: Likewise
10488 * po/nb.po: Likewise
10489 * po/nl.po: Likewise
10490 * po/pt_BR.po: Likewise
10491 * po/ru.po: Likewise
10492 * po/rw.po: Likewise
10493 * po/sk.po: Likewise
10494 * po/sl.po: Likewise
10495 * po/tr.po: Likewise
10496 * po/zh_CN.po: Likewise
10497 * po/zh_TW.po: Likewise
10498
d4b54bdf
ST
104992018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10500
10501 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10502 initialization...
10503 (init): ... before initializing libpthread.
10504
42fc12ef
ST
10505 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10506 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10507 (__mach_setup_tls): ... new function.
10508 (mach_setup_tls): New alias.
10509 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10510 __mach_setup_thread.
10511 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10512 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10513 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10514 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10515
6cca855e
CD
105162018-07-31 Carlos O'Donell <carlos@redhat.com>
10517
f650932b
CD
10518 * manual/install.texi: Update versions.
10519 * INSTALL: Regenerate.
10520
6cca855e
CD
10521 * manual/contrib.texi (Contributors): Update contributions.
10522
07fdea47
CD
105232018-07-31 Carlos O'Donell <carlos@redhat.com>
10524
10525 * po/be.po: Update translations.
10526
63d5fad4
AZ
105272018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10528
10529 * sysdeps/sh/libm-test-ulps: Update.
10530
1ff712a6
CD
105312018-07-30 Carlos O'Donell <carlos@redhat.com>
10532
10533 * po/bg.po: Update translations.
10534 * po/de.po: Likewise.
10535 * po/hr.po: Likewise.
10536 * po/pt_BR.po: Likewise.
10537 * po/sv.po: Likewise.
10538 * po/vi.po: Likewise.
10539
98864ed0
L
105402018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10541
10542 [BZ #23467]
10543 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10544 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10545 (CFLAGS-tst-cet-property-1.o): New.
10546 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10547 ($(objpfx)tst-cet-property-2): Likewise.
10548 ($(objpfx)tst-cet-property-2.out): Likewise.
10549 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10550 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10551 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10552 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10553 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10554
c92a00d8
L
105552018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10556
10557 [BZ #23458]
10558 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10559
99bc6241
ST
105602018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10561
10562 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10563 __sbrk): Do not set attribute_hidden.
af86087f 10564 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
10565 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10566 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10567
bcb1c4af
CD
105682018-07-27 Carlos O'Donell <carlos@redhat.com>
10569
10570 * po/uk.po: Update translations.
10571 * po/cs.po: Likewise.
10572 * po/pl.po: Likewise.
10573
4591b7db
L
105742018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10575
10576 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10577 parse beyond the note end.
10578
2c6da2f4
AZ
105792018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10580
10581 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10582 kernel does not support OFD locks.
10583 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10584
20365a31
ST
105852018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10586
10587 * sysdeps/mach/hurd/Versions (libc): Make __access and
10588 __access_noerrno external so they can override the ld symbols.
10589 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10590 __writev, __open64, __access_noerrno extern so they can be overrided.
10591 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10592 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10593
cb1a43db
CD
105942018-07-26 Carlos O'Donell <carlos@redhat.com>
10595
10596 * po/libc.pot: Regenerate.
10597
74759ae5
JM
105982018-07-26 Joseph Myers <joseph@codesourcery.com>
10599
10600 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10601
da80612d
L
106022018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10603
10604 [BZ #23459]
10605 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10606 function.
10607 (init_cpu_features): Call get_extended_indices for both Intel
10608 and AMD CPUs.
10609 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10610 Remove "for AMD" comment.
10611
65d87ade
L
106122018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10613
10614 [BZ # 23456]
10615 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10616 COMMON_CPUID_INDEX_80000001.
10617
c9dc4d51
SL
106182018-07-26 Stefan Liebler <stli@linux.ibm.com>
10619
10620 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10621 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10622
cfba5dbb
FW
106232018-07-26 Florian Weimer <fweimer@redhat.com>
10624
10625 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10626 aliases for symbols not in the implementation namespace.
10627
6b5c8607 106282018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
10629
10630 [BZ #23393]
10631 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10632 lowercase in LATIN script.
10633 * localedata/Makefile (test-input): Add en_US.UTF-8.
10634 * localedata/en_US.UTF-8.in: New file.
10635 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10636 and restore old tests.
10637 * posix/tst-regexloc.c (do_test): Add back range expression test.
10638
3fb455b3
L
106392018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10640
10641 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10642
d6499b70
AZ
106432018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10644
10645 * nptl/threads.h: Move to ...
10646 * sysdeps/nptl/threads.h: ... here.
10647 * sysdeps/hurd/stdc-predef.h: New file.
10648
08ac6bed
L
106492018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10650
10651 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10652 tst-cet-setcontext-1 if CET is enabled.
10653 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10654 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10655
9faaf938
AZ
106562018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10657
10658 * include/threads.h: Move to ...
10659 * sysdeps/nptl/threads.h: ... here.
10660 * sysdeps/htl/threads.h: New file.
10661 * conform/Makefile (linknamespace-libs-ISO11): Use
10662 static-thread-library instead of linking libpthread.
10663 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10664
d6b8f847
FW
106652018-07-25 Florian Weimer <fweimer@redhat.com>
10666
10667 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10668 nanoseconds into seconds.
10669 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10670 (do_test): Likewise.
10671 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10672 (do_test): Likewise. Avoid nanosecond overflow and spurious
10673 timeouts due to system load.
10674 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10675 (child_wait): Increment it.
10676 (do_test): Wait as long as necessary until all expected threads
10677 have arrived.
10678
25123a1c
L
106792018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10680 H.J. Lu <hongjiu.lu@intel.com>
10681
10682 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10683 __ssp.
10684 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10685 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10686 (__push___start_context): New.
10687 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10688 <asm/prctl.h>.
10689 (__getcontext): Record the current shadow stack base. Save the
10690 caller's shadow stack pointer and base.
10691 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10692 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10693 (__push___start_context): New prototype.
10694 (__makecontext): Call __push___start_context to allocate a new
10695 shadow stack, push __start_context onto the new stack as well
10696 as the new shadow stack.
10697 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10698 <asm/prctl.h>.
10699 (__setcontext): Restore the target shadow stack.
10700 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10701 <asm/prctl.h>.
10702 (__swapcontext): Record the current shadow stack base. Save
10703 the caller's shadow stack pointer and base. Restore the target
10704 shadow stack.
10705 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10706 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10707 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10708
375a4844
L
107092018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10710
10711 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10712 tst-setcontext8 and tst-setcontext9.
10713 * stdlib/tst-setcontext6.c: New file.
10714 * stdlib/tst-setcontext7.c: Likewise.
10715 * stdlib/tst-setcontext8.c: Likewise.
10716 * stdlib/tst-setcontext9.c: Likewise.
10717
bd4f7903
L
107182018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10719
10720 * stdlib/Makefile ((tests): Add tst-setcontext5.
10721 * stdlib/tst-setcontext5.c: New file.
10722
7e28f203
L
107232018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10724
10725 * stdlib/Makefile (tests): Add tst-setcontext4.
10726 * stdlib/tst-setcontext4.c: New file.
10727
8516ad2d
L
107282018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10729
10730 * stdlib/Makefile (tests): Add tst-swapcontext1.
10731 * stdlib/tst-swapcontext1.c: New test.
10732
fddcd003
L
107332018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10734
10735 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10736 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10737 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10738 and tst-cet-legacy-4c.
10739 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10740 and tst-cet-legacy-mod-4.
10741 (CFLAGS-tst-cet-legacy-2.c): New.
10742 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10743 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10744 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10745 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10746 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10747 ($(objpfx)tst-cet-legacy-1): Likewise.
10748 ($(objpfx)tst-cet-legacy-2): Likewise.
10749 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10750 ($(objpfx)tst-cet-legacy-2a): Likewise.
10751 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10752 ($(objpfx)tst-cet-legacy-4): Likewise.
10753 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10754 ($(objpfx)tst-cet-legacy-4a): Likewise.
10755 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10756 (tst-cet-legacy-4a-ENV): Likewise.
10757 ($(objpfx)tst-cet-legacy-4b): Likewise.
10758 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10759 (tst-cet-legacy-4b-ENV): Likewise.
10760 ($(objpfx)tst-cet-legacy-4c): Likewise.
10761 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10762 (tst-cet-legacy-4c-ENV): Likewise.
10763 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10764 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10765 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10766 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10767 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10768 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10769 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10770 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10771 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10772 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10773 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10774
9aa3113a
L
107752018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10776
10777 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10778 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10779 with ssp_base.
10780 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10781 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10782 with ssp_base.
10783
9c79cec8
AS
107842018-07-25 Andreas Schwab <schwab@suse.de>
10785
10786 [BZ #23442]
10787 * locale/weightwc.h (findidx): Handle the case where usrc is a
10788 prefix of cp but one character too short.
10789
969c3355
AZ
107902018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10791
10792 * NEWS: Add ISO C threads addition.
10793
e0f9c462
FW
107942018-07-24 Florian Weimer <fweimer@redhat.com>
10795
10796 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10797 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10798 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10799 4.13.
10800
394df381
L
108012018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10802
10803 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10804 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10805 <sys/prctl.h> and <asm/prctl.h>.
10806 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10807 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10808 and <asm/prctl.h>.
10809 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10810 ARCH_CET_LEGACY_BITMAP.
10811 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10812 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10813 * sysdeps/x86/libc-start.c: Include <startup.h>.
10814
46545530
FW
108152018-07-24 Florian Weimer <fweimer@redhat.com>
10816
10817 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10818 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10819
6b5c8607 108202018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 10821 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
10822 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10823
10824 [BZ #14092]
9d0a979e
RJ
10825 * manual/debug.texi: Update adjacent chapter name.
10826 * manual/probes.texi: Likewise.
10827 * manual/threads.texi (ISO C Threads): New section.
10828 (POSIX Threads): Convert to a section.
10829
108302018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10831 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10832
10833 [BZ# 14092]
0a07288b
AZ
10834 * nptl/Makefile (tests): Add new test files.
10835 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10836 * nptl/tst-cnd-basic.c: Likewise.
10837 * nptl/tst-cnd-broadcast.c: Likewise.
10838 * nptl/tst-cnd-timedwait.c: Likewise.
10839 * nptl/tst-mtx-basic.c: Likewise.
10840 * nptl/tst-mtx-recursive.c: Likewise.
10841 * nptl/tst-mtx-timedlock.c: Likewise.
10842 * nptl/tst-mtx-trylock.c: Likewise.
10843 * nptl/tst-thrd-basic.c: Likewise.
10844 * nptl/tst-thrd-detach.c: Likewise.
10845 * nptl/tst-thrd-sleep.c: Likewise.
10846 * nptl/tst-tss-basic.c: Likewise.
10847
ce7528f6
AZ
108482018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10849
c6dd669b
AZ
10850 [BZ #14092]
10851 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10852 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10853 symbols.
10854 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10855 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10856 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10857 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10858 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10859 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10860 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10861 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10862 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10863 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10864 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10865 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10867 Likewise.
10868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10869 Likewise.
10870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10871 Likewise.
10872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10873 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10874 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10875 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10876 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10877 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10878 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10879 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10880 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10881 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10882 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10883 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10884 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10885 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10886 Likewise.
10887 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10888 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10889 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10890 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10891 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10892 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10893 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10894 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10895 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10896 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10897 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10898 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10899 ikewise.
10900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10902 Likewise.
10903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10904 Likewise.
10905 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10906 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10907 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10908 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10909 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10910 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10911 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10912 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10913
78d40132
AZ
10914 [BZ #14092]
10915 * conform/data/threads.h-data (thread_local): New macro.
10916 (TSS_DTOR_ITERATIONS): Likewise.
10917 (tss_t): New type.
10918 (tss_dtor_t): Likewise.
10919 (tss_create): New function.
10920 (tss_get): Likewise.
10921 (tss_set): Likewise.
10922 (tss_delete): Likewise.
10923 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10924 tss_get, and tss_set objects.
10925 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10926 * nptl/tss_create.c: New file.
10927 * nptl/tss_delete.c: Likewise.
10928 * nptl/tss_get.c: Likewise.
10929 * nptl/tss_set.c: Likewise.
10930 * sysdeps/nptl/threads.h (thread_local): New define.
10931 (TSS_DTOR_ITERATIONS): Likewise.
10932 (tss_t): New typedef.
10933 (tss_dtor_t): Likewise.
10934 (tss_create): New prototype.
10935 (tss_get): Likewise.
10936 (tss_set): Likewise.
10937 (tss_delete): Likewise.
10938
918311a3
AZ
10939 [BZ #14092]
10940 * conform/data/threads.h-data (cnd_t): New type.
10941 (cnd_init): New function.
10942 (cnd_signal): Likewise.
10943 (cnd_broadcast): Likewise.
10944 (cnd_wait): Likewise.
10945 (cnd_timedwait): Likewise.
10946 (cnd_destroy): Likewise.
10947 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10948 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10949 object.
10950 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10951 * nptl/cnd_broadcast.c: New file.
10952 * nptl/cnd_destroy.c: Likewise.
10953 * nptl/cnd_init.c: Likewise.
10954 * nptl/cnd_signal.c: Likewise.
10955 * nptl/cnd_timedwait.c: Likewise.
10956 * nptl/cnd_wait.c: Likewise.
10957 * sysdeps/nptl/threads.h (cnd_t): New type.
10958 (cnd_init): New prototype.
10959 (cnd_signa): Likewise.
10960 (cnd_broadcast): Likewise.
10961 (cnd_wait): Likewise.
10962 (cnd_timedwait): Likewise.
10963 (cnd_destroy): Likewise.
10964
3c20a679
AZ
10965 [BZ #14092]
10966 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10967 (once_flag): New type.
10968 (call_once): New function.
10969 * nptl/Makefile (libpthread-routines): Add call_once object.
10970 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10971 * nptl/call_once.c: New file.
10972 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10973 (once_flag): New type.
10974 (call_once): New prototype.
10975
18d59c1b
AZ
10976 [BZ #14092]
10977 * conform/data/threads.h-data (mtx_plain): New constant.
10978 (mtx_recursive): Likewise.
10979 (mtx_timed): Likewise.
10980 (mtx_t): New type.
10981 (mtx_init): New function.
10982 (mtx_lock): Likewise.
10983 (mtx_timedlock): Likewise.
10984 (mtx_trylock): Likewise.
10985 (mtx_unlock): Likewise.
10986 (mtx_destroy): Likewise.
10987 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10988 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10989 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10990 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10991 * nptl/mtx_destroy.c: New file.
10992 * nptl/mtx_init.c: Likewise.
10993 * nptl/mtx_lock.c: Likewise.
10994 * nptl/mtx_timedlock.c: Likewise.
10995 * nptl/mtx_trylock.c: Likewise.
10996 * nptl/mtx_unlock.c: Likewise.
10997 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10998 (mtx_recursive): Likewise.
10999 (mtx_timed): Likewise.
11000 (mtx_t): New type.
11001 (mtx_init): New prototype.
11002 (mtx_lock): Likewise.
11003 (mtx_timedlock): Likewise.
11004 (mtx_trylock): Likewise.
11005 (mtx_unlock): Likewise.
11006 (mtx_destroy): Likewise.
11007
ce7528f6
AZ
11008 [BZ #14092]
11009 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11010 (linknamespace-libs-ISO11): Add libpthread.a.
11011 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11012 functions.
11013 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11014 * nptl/Makefile (headers): Add threads.h.
11015 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11016 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11017 thrd_yield.
11018 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11019 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11020 thrd_join, thrd_sleep, and thrd_yield symbols.
11021 * nptl/descr.h (struct pthread): Add c11 field.
11022 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11023 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11024 routine with expected function prototype.
11025 (__pthread_create_2_1): Add C11 threads check based on attribute
11026 value.
11027 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11028 * nptl/thrd_create.c: New file.
11029 * nptl/thrd_current.c: Likewise.
11030 * nptl/thrd_detach.c: Likewise.
11031 * nptl/thrd_equal.c: Likewise.
11032 * nptl/thrd_exit.c: Likewise.
11033 * nptl/thrd_join.c: Likewise.
11034 * nptl/thrd_priv.h: Likewise.
11035 * nptl/thrd_sleep.c: Likewise.
11036 * nptl/thrd_yield.c: Likewise.
11037 * include/threads.h: Likewise.
11038
e27f41ba
L
110392018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11040
11041 * bits/indirect-return.h: New file.
11042 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11043 * sysdeps/x86/bits/indirect-return.h: Likewise.
11044 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11045 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11046 (swapcontext): Add __INDIRECT_RETURN.
11047 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11048 (prepare_test_buffer): Use it.
11049
21526a50
AS
110502018-07-24 Andreas Schwab <schwab@suse.de>
11051
11052 [BZ #23448]
11053 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11054 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11055
3650e1d9
L
110562018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11057
11058 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11059 Redefine if shadow stack is enabled.
11060 (SYSCALL_ERROR_LABEL): Likewise.
11061 (__vfork): Pop shadow stack and jump back to to caller directly
11062 when shadow stack is in use.
11063 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11064 Redefine if shadow stack is enabled.
11065 (SYSCALL_ERROR_LABEL): Likewise.
11066 (__vfork): Pop shadow stack and jump back to to caller directly
11067 when shadow stack is in use.
11068
ca027e0f
L
110692018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11070
11071 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11072 enabled.
11073 (foo): Likewise.
11074 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11075 (foo): Likewise.
11076
b99f1c95
JM
110772018-07-20 Joseph Myers <joseph@codesourcery.com>
11078
11079 * scripts/build-many-glibcs.py (Context.checkout): Default
11080 binutils version to 2.31 branch.
11081
c8fabb84
ZL
110822018-07-20 Zong Li <zong@andestech.com>
11083
11084 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11085 URL of gcc's tarball.
11086
786658a0
FW
110872018-07-20 Florian Weimer <fweimer@redhat.com>
11088
11089 [BZ #23396]
11090 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11091 not compare an extra byte after the end of the weights.
11092
46f2474e
ST
110932018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11094
11095 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11096 to 1.
8ba1520e
ST
11097 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11098 hidden prototypes.
11099 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11100 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
11101 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11102 list of libraries whose stack executability is expected.
11103 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11104 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11105 variable.
11106 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11107 libc.so libpthread.so.
46f2474e 11108
60088242
TS
111092018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11110
11111 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11112 SOCK_NONBLOCK.
75d5e4a0
TS
11113 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11114 and SOCK_NONBLOCK.
de195be0
TS
11115 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11116 implement __pipe2.
11117 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 11118
1cf4ae7f
LS
111192018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11120
11121 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11122 library to improve command line parsing.
11123 (__main__): make schema file as optional parameter (--schema),
11124 defaulting to benchtests/scripts/benchout.schema.json.
11125 (main): move out of the parsing stuff to __main_  and leave it
11126 only as caller of main comparison functions.
11127
e84bd851
L
111282018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11129
11130 * NEWS: Add a note for Intel CET status.
11131 * manual/install.texi: Likewise.
11132 * INSTALL: Regenerated.
11133
df467d22
QP
111342018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11135
11136 [BZ #23140]
11137 * localedata/locales/oc_FR (mon): Rename to...
11138 (alt_mon): This, then update October (typo fix).
11139 (mon): New content (genitive case, month names preceded by
11140 "de" or "d’").
11141
11142 [BZ #23422]
11143 * localedata/locales/oc_FR (abday): Update all items.
11144 (day): Update Wednesday and Saturday (typo fixes).
11145 (abmon): Update all items, except May.
11146 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11147 (LC_IDENTIFICATION): Bump the revision number and date.
11148 Keep the "category" entries in alphabetic order.
11149 (LC_ADDRESS): Remove no longer needed comment.
11150 (LC_COLLATE): Use “copy "ca_ES"”.
11151 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11152 "name_mrs".
11153
5c112f1b
JM
111542018-07-18 Joseph Myers <joseph@codesourcery.com>
11155
11156 * grp/tst_fgetgrent.c: Include <unistd.h>.
11157 (main): Use mkstemp instead of tmpnam.
11158 * io/test-utime.c (main): Likewise.
11159 * posix/annexc.c (macrofile): Change to modifiable array.
11160 (main): Remove macrofile here.
11161 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11162 macrofile here.
11163 (check_header): Do not remove macrofile here.
11164 * posix/bug-getopt1.c: Include <stdlib.h>.
11165 (do_test): Use mkstemp instead of tmpnam.
11166 * posix/bug-getopt2.c: Include <stdlib.h>.
11167 (do_test): Use mkstemp instead of tmpnam.
11168 * posix/bug-getopt3.c: Include <stdlib.h>.
11169 (do_test): Use mkstemp instead of tmpnam.
11170 * posix/bug-getopt4.c: Include <stdlib.h>.
11171 (do_test): Use mkstemp instead of tmpnam.
11172 * posix/bug-getopt5.c: Include <stdlib.h>.
11173 (do_test): Use mkstemp instead of tmpnam.
11174 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11175 (main): Use mkstemp instead of tmpnam.
11176 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11177 (main): Use mkstemp instead of tmpnam.
11178 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11179 (main): use mkstemp instead of tmpnam.
11180 * stdlib/isomac.c (macrofile): Change to modifiable array.
11181 (main): Remove macrofile here.
11182 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11183 macrofile here.
11184 (check_header): Do not remove macrofile here.
11185
6d90776d
L
111862018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11187
11188 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11189 glibc.tune.x86_shstk.
11190
e6c69509
L
111912018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11192
11193 * NEWS: Mention --enable-cet.
11194 * manual/install.texi: Document --enable-cet.
11195 * INSTALL: Regenerated.
11196
e2d40a88
L
111972018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11198
11199 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11200 Add _CET_NOTRACK before indirect jump to jump table.
11201
77a8ae09
L
112022018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11203
11204 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11205 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11206 to jump table.
11207
90d15dc5
L
112082018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11209
11210 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11211 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11212 to jump table.
11213
f1574581
L
112142018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11215
11216 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11217 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11218 to jump table.
11219
7fb61336
L
112202018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11221
11222 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11223 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11224 to jump table.
11225
0a899af0
L
112262018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11227
11228 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11229 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11230 to jump table.
11231 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11232
177824e2
L
112332018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11234
11235 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11236 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11237 to jump table.
11238
00e7b76a
L
112392018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11240
11241 * sysdeps/i386/i686/multiarch/memset-sse2.S
11242 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11243 to jump table.
11244
7e119cd5
L
112452018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11246
11247 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11248 indirect jump to jump table.
11249
03aaf49b
L
112502018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11251
11252 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11253 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11254 to jump table.
11255 (MEMCPY): Likewise.
11256
811e9e52
L
112572018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11258
11259 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11260 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11261 to jump table.
11262 (MEMCPY): Likewise.
11263
8817df42
L
112642018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11265
11266 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11267 _CET_NOTRACK before indirect jump to jump table.
11268
921595d1
L
112692018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11270
11271 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11272 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11273 to jump table.
11274
4ef60d95
L
112752018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11276
11277 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11278 indirect jump to jump table.
11279
61c4aad7
VT
112802018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11281
11282 [BZ #22241]
11283 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11284 (LOCALES): Likewise.
11285 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11286 * localedata/locales/sah_RU: New file.
11287 * localedata/sah_RU.UTF-8.in: New file.
11288
be9ccd27
L
112892018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11290
11291 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11292 "sysdep.h".
11293 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11294 _CET_ENDBR to indirect jump targets and adjust jump destination
11295 for _CET_ENDBR.
11296 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11297 "sysdep.h".
11298 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11299 _CET_ENDBR to indirect jump targets and adjust jump destination
11300 for _CET_ENDBR.
11301 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11302 "sysdep.h".
11303 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11304 _CET_ENDBR to indirect jump targets and adjust jump destination
11305 for _CET_ENDBR.
11306
5efc6777
L
113072018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11308
11309 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11310 _CET_ENDBR.
11311
562837c0
L
113122018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11313
11314 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11315 _CET_ENDBR.
11316 (_dl_tlsdesc_undefweak): Likewise.
11317 (_dl_tlsdesc_dynamic): Likewise.
11318 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11319 (_dl_tlsdesc_resolve_rel): Likewise.
11320 (_dl_tlsdesc_resolve_rela): Likewise.
11321 (_dl_tlsdesc_resolve_hold): Likewise.
11322 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11323 (_dl_tlsdesc_undefweak): Likewise.
11324 (_dl_tlsdesc_dynamic): Likewise.
11325 (_dl_tlsdesc_resolve_rela): Likewise.
11326 (_dl_tlsdesc_resolve_hold): Likewise.
11327
124bcde6
L
113282018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11329
11330 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11331 (_fini): Likewise.
11332 * sysdeps/x86_64/crti.S (_init): Likewise.
11333 (_fini): Likewise.
11334
9145f033
RL
113352018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11336
11337 [BZ #23140]
11338 * localedata/locales/os_RU (mon): Rename to...
11339 (alt_mon): This.
11340 (mon): Import from CLDR (genitive case).
11341
ba2ea23d
L
113422018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11343
11344 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11345 cet-tunables.h> when CET is enabled.
11346
f753fa7d
L
113472018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11348
6b5c8607 11349 [BZ #21598]
f753fa7d
L
11350 * configure.ac: Add --enable-cet.
11351 * configure: Regenerated.
11352 * elf/Makefille (all-built-dso): Add a comment.
11353 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11354 Include <dl-prop.h>.
11355 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11356 segment.
11357 * elf/dl-open.c: Include <dl-prop.h>.
11358 (dl_open_worker): Call _dl_open_check.
11359 * elf/rtld.c: Include <dl-prop.h>.
11360 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11361 _rtld_main_check.
11362 * sysdeps/generic/dl-prop.h: New file.
11363 * sysdeps/i386/dl-cet.c: Likewise.
11364 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11365 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11366 * sysdeps/x86/cet-tunables.h: Likewise.
11367 * sysdeps/x86/check-cet.awk: Likewise.
11368 * sysdeps/x86/configure: Likewise.
11369 * sysdeps/x86/configure.ac: Likewise.
11370 * sysdeps/x86/dl-cet.c: Likewise.
11371 * sysdeps/x86/dl-procruntime.c: Likewise.
11372 * sysdeps/x86/dl-prop.h: Likewise.
11373 * sysdeps/x86/libc-start.h: Likewise.
11374 * sysdeps/x86/link_map.h: Likewise.
11375 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11376 _CET_ENDBR.
11377 (_dl_runtime_profile): Likewise.
11378 (_dl_runtime_resolve_shstk): New.
11379 (_dl_runtime_profile_shstk): Likewise.
11380 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11381 if CET is enabled.
11382 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11383 (CFLAGS-.os): Likewise.
11384 (CFLAGS-.op): Likewise.
11385 (CFLAGS-.oS): Likewise.
11386 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11387 is enabled.
11388 (tests-special): Add $(objpfx)check-cet.out.
11389 (cet-built-dso): New.
11390 (+$(cet-built-dso:=.note)): Likewise.
11391 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11392 ($(objpfx)check-cet.out): New.
11393 (generated): Add check-cet.out.
11394 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11395 <cet-tunables.h>.
11396 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11397 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11398 (init_cpu_features): Call get_cet_status to check CET status
11399 and update dl_x86_feature_1 with CET status. Call
11400 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11401 (set_x86_shstk). Disable and lock CET in libc.a.
11402 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11403 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11404 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11405 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11406 (_CET_ENDBR): Define if not defined.
11407 (ENTRY): Add _CET_ENDBR.
11408 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11409 x86_shstk.
11410 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11411 _CET_ENDBR.
11412 (_dl_runtime_profile): Likewise.
11413
52b2a80f
RA
114142018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11415
11416 [BZ #21895]
11417 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11418 restore r2 on longjmp.
11419 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11420 test list.
11421 Added rules to build test tst-setjmp-bug21895-static.
11422 Added module setjmp-bug21895 and rules to build a shared object from it.
11423 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11424 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11425
3ae725df
WD
114262018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11427
11428 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11429 * benchtests/bench-strstr.c: Likewise.
11430 * string/memmem.c (FASTSEARCH): Define.
11431 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11432 Add support for FASTSEARCH.
11433 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11434 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11435 (FASTSEARCH): Define.
11436 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11437 * string/test-strstr.c: Likewise.
11438
31e422ca
L
114392018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11440
11441 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11442 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11443
faaee1f0
L
114442018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11445 H.J. Lu <hongjiu.lu@intel.com>
11446
11447 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11448 (__longjmp): Restore shadow stack pointer if shadow stack is
11449 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11450 isn't defined for __longjmp_cancel.
11451 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11452 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11453 and SHADOW_STACK_POINTER_OFFSET is defined.
11454 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11455 (setjmp): Save shadow stack pointer if shadow stack is enabled
11456 and SHADOW_STACK_POINTER_OFFSET is defined.
11457 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11458 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11459 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11460 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11461 <jmp_buf-ssp.h>.
11462 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11463 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11464 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11465 Remove jmp_buf-ssp.sym.
11466 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11467 <jmp_buf-ssp.h>.
11468 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11469 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11470 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11471 jmp_buf-ssp.sym.
11472 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11473 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11474 (__longjmp): Restore shadow stack pointer if shadow stack is
11475 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11476 isn't defined for __longjmp_cancel.
11477 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11478 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11479 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11480
ebff9c5c
L
114812018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11482
11483 [BZ #22563]
11484 * nptl/pthread_create.c: Include <tls-setup.h>.
11485 (__pthread_create_2_1): Call tls_setup_tcbhead.
11486 * sysdeps/generic/tls-setup.h: New file.
11487 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11488 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11489 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11490 Likewise.
11491 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11492 to feature_1.
11493 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11494 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11495 (X86_FEATURE_1_SHSTK): Likewise.
11496 (CET_ENABLED): Likewise.
11497 (IBT_ENABLED): Likewise.
11498 (SHSTK_ENABLED): Likewise.
11499
0a83bad2
RL
115002018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11501
11502 [BZ #23208]
11503 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11504 (LOCALES): Likewise.
11505 * localedata/dsb_DE.UTF-8.in: New file.
11506 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11507
046bfed9
FW
115082018-07-12 Florian Weimer <fweimer@redhat.com>
11509
11510 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11511 __mprotect, not mprotect.
11512
93304f5f
FW
115132018-07-11 Florian Weimer <fweimer@redhat.com>
11514
11515 * io/Makefile (headers): Add bits/statx.h.
11516
4beefeeb
MF
115172018-07-10 Mike FABIAN <mfabian@redhat.com>
11518
11519 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11520 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11521 and headers.
11522 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11523 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11524 for utf8_gen.py
11525
fd70af45
FW
115262018-07-10 Florian Weimer <fweimer@redhat.com>
11527
11528 * io/Makefile (routines): Add statx.
11529 (tests-internal): Add tst-statx.
11530 * io/Versions (GLIBC_2.28): Export statx.
11531 * io/bits/statx.h: New file.
11532 * io/sys/stat.h [__USE_GNU]: Include it.
11533 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11534 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11535 Define.
11536 * io/statx.c: New file.
11537 * io/statx_generic.: Likewise.
11538 * io/tst-statx.: Likewise.
11539 * include/bits/statx.h: Likewise.
11540 * sysdeps/unix/sysv/linux/kernel-features.h
11541 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11542 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11543 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11544 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11545 Undefine.
11546 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11547 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11548 * sysdeps/unix/sysv/linux/statx.c: New file.
11549 * manual/filesys.texi: Note that statx is undocumented.
11550 * sysdeps/**/libc*.abilist: Update.
11551
b444e8f7
AZ
115522018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11553
11554 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11555 a kernel issue which lead to test failure in some cases.
11556
7b2f4ced
FW
115572018-07-10 Florian Weimer <fweimer@redhat.com>
11558
11559 [BZ #23036]
11560 * posix/regexec.c (check_node_accept_bytes): When comparing
11561 weights, do not compare an extra byte after the end of the
11562 weights.
11563
4fa34da6
FW
115642018-07-10 Florian Weimer <fweimer@redhat.com>
11565
11566 * libio/readline.c: Fix copyright year.
11567 * libio/tst-readline.c Likewise.
11568 * nss/tst-nss-files-hosts-getent.c: Likewise.
11569
916124ed
FW
115702018-07-06 Florian Weimer <fweimer@redhat.com>
11571
11572 [BZ #18991]
11573 * nss/nss_files/files-XXX.c (internal_getent): Use
11574 __libc_readline_unlocked. Seek back to the start of the line if
11575 parsing failes with ERANGE.
11576 (get_contents_ret, get_contents): Remove.
11577 * nss/tst-nss-files-hosts-getent.c: New file.
11578 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11579 (tst-nss-files-hosts-getent): Link with -ldl.
11580
3f5e3f5d
FW
115812018-07-06 Florian Weimer <fweimer@redhat.com>
11582
11583 * include/stdio.h (__libc_readline_unlocked): Declare.
11584 (__ftello64, __fseeko64): Declare aliases.
11585 * libio/readline.c: New file.
11586 * libio/tst-readline.c: Likewise.
11587 (routines): Add readline.
11588 (tests-internal): Add tst-readlime.
11589 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11590 __libc_readline_unlocked.
11591 * libio/fseeko.c (__fseeko): Rename from fseeko.
11592 (fseeko): Add alias.
11593 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11594 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11595 (fseeko64): Add alias.
11596 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11597 * libio/ftello64.c (__ftello64): Rename from ftello64.
11598 (ftello64): Add alias.
11599
397c54c1
SN
116002018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11601
11602 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11603 HWCAP_ATOMICS.
11604
d0cd7980
SN
116052018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11606
11607 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11608 Use dl_hwcap without masking.
11609 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11610 Remove HWCAP_CPUID.
11611
ddb3c626
FW
116122018-07-06 Florian Weimer <fweimer@redhat.com>
11613
11614 * conform/conformtest.pl (checknamespace): Escape literal braces
11615 in regular expressions.
11616
bce5911b
AP
116172018-07-06 Amit Pawar <amit.pawar@amd.com>
11618
11619 * sysdeps/x86/cpu-features.c (get_common_indeces):
11620 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11621 * sysdeps/x86/cpu-features.c (init_cpu_features):
11622 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11623
3a885c1f
FW
116242018-07-05 Florian Weimer <fweimer@redhat.com>
11625
11626 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11627 protector.
11628 (CFLAGS-elf-init.oS): Likewise.
11629
38cade0c
FW
116302018-07-05 Florian Weimer <fweimer@redhat.com>
11631 Carlos O'Donell <carlos@redhat.com>
11632
11633 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11634 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11635 with stack protector enabled because there is no risk of infinite
11636 recursion.
11637
9449a295
MR
116382018-07-05 Maciej W. Rozycki <macro@mips.com>
11639
11640 [BZ #19818]
11641 [BZ #23307]
11642 * libc-abis (ABSOLUTE): New ABI.
11643 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11644 * NEWS: Mention the new ABI.
11645
d6da5cb6
FW
116462018-07-05 Florian Weimer <fweimer@redhat.com>
11647
11648 [BZ # 17662]
11649 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11650 (RENAME_WHITEOUT): Define.
11651 [__USE_GNU] (renameat2): Declare.
11652 * stdio-common/Makefile (routines): Add renameat2.
11653 (tests): Add tst-renameat2.
11654 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11655 * stdio-common/renameat2.c: New file.
11656 * stdio-common/tst-renameat2.c: Likewise.
11657 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11658 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11659 undocumented.
11660 * sysdeps/unix/sysv/linux/kernel-features.h
11661 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11662 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11663 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11664 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11665 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11666 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11667 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11668 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11669 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11670 * include/stdio.h (__renameat): Add alias for renameat.
11671 * stdio-common/renameat.c (__renameat): Rename from renameat.
11672 Add hidden definition and alias.
11673 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11674 * sysdeps/mach/hurd/renameat.c: Likewise.
11675 * sysdeps/**/libc*.abilist: Add renameat2.
11676
1002d708
AZ
116772018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11678
11679 * posix/bug-regex33.c: Fix build after regex sync.
11680
34fdb893
CD
116812018-07-04 Carlos O'Donell <carlos@redhat.com>
11682
11683 [BZ #23164]
11684 * localedata/tst-langinfo-setlocale.c: New file.
11685 * localedata/tst-langinfo-setlocale-static.c: New file.
11686 * localedata/tst-langinfo-newlocale.c: New file.
11687 * localedata/tst-langinfo-newlocale-static.c: New file.
11688 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11689 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11690 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11691 (tests-static): Remove tst-langinfo-static. Add
11692 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11693 (tests-special): Remove $(objpfx)tst-langinfo.out,
11694 $(objpfx)tst-langinfo-static.out. Add
11695 $(objpfx)tst-langinfo-setlocale.out,
11696 $(objpfx)tst-langinfo-newlocale.out,
11697 $(objpfx)tst-langinfo-setlocale-static.out,
11698 $(objpfx)tst-langinfo-newlocale-static.out.
11699 ($(objpfx)tst-langinfo.out): Remove.
11700 ($(objpfx)tst-langinfo-static.out): Remove.
11701 ($(objpfx)tst-langinfo-newlocale.out): New target.
11702 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11703 (test-xfail-tst-langinfo-newlocale-static): Add.
11704 ($(objpfx)tst-langinfo-setlocale.out): New target.
11705 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11706 * localedata/tst-langinfo.c: Call test_locale.
11707 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11708 data.
11709
f2873d2d
FW
117102018-07-04 Florian Weimer <fweimer@redhat.com>
11711
11712 testrun.sh: Implement --tool=strace, --tool=valgrind
11713 * Makefile (testrun-script): Define variable.
11714 (testrun.sh): Use variable.
11715 * manual/install.texi (Tools for Compilation): make 4.0 or later
11716 is required.
11717 * configure.ac: Check for make 4.0 or later.
11718 * INSTALL: Regenerate.
11719 * configure: Likewise.
11720
eb04c213
AZ
117212018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11722
11723 [BZ #23233]
11724 [BZ #21163]
11725 [BZ #18986]
11726 [BZ #13762]
11727 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11728 * posix/PCRE.tests: Remove invalid test.
11729 * posix/bug-regex28.c: Fix expected values for used syntax.
11730 * posix/bug-regex37.c: New file.
11731 * posix/bug-regex38.c: Likewise.
11732 * posix/regcomp.c: Sync with gnulib.
11733 * posix/regex.c: Likewise.
11734 * posix/regex.h: Likewise.
11735 * posix/regex_internal.c: Likewise.
11736 * posix/regex_internal.h: Likewise.
11737 * posix/regexec.c: Likewise.
11738
b11643c2
MF
117392018-06-26 Mike FABIAN <mfabian@redhat.com>
11740
11741 [BZ #23308]
11742 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11743 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11744 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11745 * localedata/unicode-gen/PropList.txt: likewise.
11746 * localedata/unicode-gen/UnicodeData.txt: likewise.
11747 * localedata/charmaps/UTF-8: Regenerate.
11748 * localedata/locales/i18n_ctype: likewise.
11749 * localedata/locales/tr_TR: likewise.
11750 * localedata/locales/translit_circle: likewise.
11751 * localedata/locales/translit_cjk_compat: likewise.
11752 * localedata/locales/translit_combining: likewise.
11753 * localedata/locales/translit_compat: likewise.
11754 * localedata/locales/translit_font: likewise.
11755 * localedata/locales/translit_fraction: likewise.
11756
5a357506
FW
117572018-07-03 Florian Weimer <fweimer@redhat.com>
11758
11759 [BZ #23363]
11760 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11761 * stdio-common/tst-printf.sh: Adjust expected output.
11762 * LICENSES: Update.
11763
7279af00
AZ
117642018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11765
11766 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11767 symbol.
11768
b7b88cea
GG
117692018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11770
11771 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11772 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11773 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11774 * stdio-common/tst-printfsz-islongdouble.c: New file.
11775 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11776 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11777 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11778 [subdir == stdio-common] (tests-internal): Add
11779 test-printf-size-ieee128, and test-printf-size-ibm128.
11780 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11781 (CFLAGS-test-printf-size-ibm128.c): New variables.
11782 [subdir == stdio-common] (tests-special): Add
11783 $(objpfx)test-printf-size-ieee128.out and
11784 $(objpfx)test-printf-size-ibm128.out.
11785 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11786 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11787 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11788 __printf_sizeieee128.
11789 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11790 New file.
11791 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11792 Likewise.
11793 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11794 Likewise.
11795
2b445206
SN
117962018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11797
11798 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11799 (exp2f_inline): Likewise.
11800 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11801 (__math_uflowf): Likewise.
11802 (__math_may_uflowf): Likewise.
11803 (__math_divzerof): Likewise.
11804 (__math_invalidf): Likewise.
11805 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11806 (__math_oflowf): Likewise.
11807 (__math_uflowf): Likewise.
11808 (__math_may_uflowf): Likewise.
11809 (__math_divzerof): Likewise.
11810 (__math_invalidf): Likewise.
11811
2827ab99
CD
118122018-06-29 DJ Delorie <dj@redhat.com>
11813 Carlos O'Donell <carlos@redhat.com>
11814
11815 [BZ #23329]
11816 * include/libc-symbols.h: Comment the freeres framework.
11817 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11818 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11819 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11820 * dlfcn/dlerror.c: Include libc-symbols.h
11821 (__dlerror_main_freeres): New function.
11822 * dlfcn/dlfreeres.c: New file.
11823 * dlfcn/sdlfreeres.c: New file.
11824 * include/dlfcn.h: Declare __dlerror_main_freeres.
11825 * malloc/set-freeres.c: Declare __libdl_freeres, and
11826 __libpthread_freeres.
11827 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11828 the releavant libraries are loaded.
11829 * malloc/thread-freeres.c: Add comments.
11830 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11831 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11832 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11833 (__free_stacks): Rename to...
11834 (free_stacks): ...this. Mark static.
11835 (queue_stack): Call free_stacks.
11836 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11837 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11838 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11839 ptr_freeres element from struct.
11840 (pthread_functions): Remove .ptr_freeres from struct initializer.
11841 [SHARED] (nptl_freeres): Remove.
11842 * nptl/nptlfreeres.c: New file.
11843 * nptl/pthreadP.h
11844 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11845 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11846 attribute_hidden.
11847 (__free_stacks): Rename to...
11848 (__nptl_stacks_freeres): ...this.
11849 (__shm_directory_freeres): Declare.
11850 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11851 (__nptl_unwind_freeres): ...this.
11852 * resolv/res-close.c: Add comment.
11853 * resolv/resolv_conf.c: Include libc-symbols.h.
11854 * string/strerror_l.c: Include libc-symbols.h.
11855 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11856 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11857 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11858 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11859
37d3d244
RS
118602018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11861
11862 * stdlib/tst-strfmon_l.c: Add tests for long double.
11863
a1e0c5fa
MW
118642018-06-29 Michael Wolf <milupo@sorbzilla.de>
11865
11866 [BZ #23208]
11867 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11868 * localedata/locales/dsb_DE: New file.
11869
2e0c5de6
RL
118702018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11871
11872 [BZ #23140]
11873 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11874 genitive case).
11875 (alt_mon): New entry, import from CLDR (nominative case).
11876
cdb52c71
SL
118772018-06-29 Sylvain Lesage <severo@rednegra.net>
11878
11879 [BZ #22996]
11880 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11881
ce76a5cb
SP
118822018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11883
0aec4c1d
SP
11884 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11885 Use vector registers.
11886
ce76a5cb
SP
11887 * sysdeps/aarch64/multiarch/memmove_falkor.S
11888 (__memcpy_falkor): Use vector registers.
11889
7e8989d0
MS
118902018-06-29 Martin Sebor <msebor@redhat.com>
11891
11892 * manual/stdio.texi (Customizing Printf): Mention interaction
11893 with GCC built-ins.
11894
bac15a72
MR
118952018-06-29 Maciej W. Rozycki <macro@mips.com>
11896
11897 [BZ #23307]
11898 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11899 `st_value' is 0 if `st_shndx' is SHN_ABS.
11900 * elf/tst-absolute-zero.c: New file.
11901 * elf/tst-absolute-zero-lib.c: New file.
11902 * elf/tst-absolute-zero-lib.lds: New file.
11903 * elf/Makefile (tests): Add `tst-absolute-zero'.
11904 (modules-names): Add `tst-absolute-zero-lib'.
11905 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11906 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11907 ($(objpfx)tst-absolute-zero: New dependency.
11908
e69d994a
ZW
119092018-06-29 Zack Weinberg <zackw@panix.com>
11910
11911 * configure.ac: New command-line option --disable-crypt.
11912 Force --disable-nss-crypt when --disable-crypt is given, with a
11913 warning if it was explicitly enabled.
11914 * configure: Regenerate.
11915 * config.make.in: New boolean substitution variable $(build-crypt).
11916 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11917 when $(build-crypt).
11918 * manual/install.texi: Document --disable-crypt.
11919 * INSTALL: Regenerate.
11920
11921 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11922 which is never set.
11923 * conform/Makefile: Only include libcrypt.a in
11924 linknamespace-libs-xsi and linknamespace-libs-XPG4
11925 when $(build-crypt).
11926 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11927 USE_CRYPT to 1 when $(build-crypt).
11928 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11929 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11930 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11931
841785ba
ZW
119322018-06-29 Zack Weinberg <zackw@panix.com>
11933
11934 * crypt/crypt.h, posix/unistd.h: Update comments and
11935 prototypes for crypt and crypt_r.
11936
11937 * manual/crypt.texi (Cryptographic Functions): New initial
11938 exposition.
11939 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11940 (Unpredictable Bytes): Improve initial exposition. Clarify error
11941 behavior of getentropy and getrandom.
11942 * manual/examples/genpass.c: Generate a salt using getentropy
11943 instead of the current time. Use hash $5$ (SHA-2-256).
11944 * manual/examples/testpass.c: Demonstrate validation against
11945 hashes generated with three different one-way functions.
11946
11947 * manual/intro.texi: crypt.texi does not need an overview
11948 anymore.
11949
11950 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11951 * manual/terminal.texi: Consistently refer to "passphrases"
11952 * instead of "passwords", and to the "user database" instead
11953 * of the "password database".
11954 * manual/users.texi: Similarly. Add notes about how actual
11955 passphrase hashes are now stored in the shadow database.
11956 Remove 20-year-old junk todo note.
11957
6ab902e4
ZW
119582018-06-29 Zack Weinberg <zackw@panix.com>
11959
11960 * manual/crypt.texi: Use a normal top-level @node declaration.
11961 Move most of the introductory text to the 'crypt' section.
11962 Move the example programs below the @deftypefun for 'crypt_r'.
11963 Move the 'getpass' section...
11964 * manual/terminal.texi: ...here.
11965
b10a0acc
ZW
119662018-06-29 Zack Weinberg <zackw@panix.com>
11967 Florian Weimer <fweimer@redhat.com>
11968
11969 * posix/unistd.h: Do not declare encrypt.
11970 (_XOPEN_CRYPT): Remove macro definition.
11971 (crypt): Declare only for _USE_MISC.
11972 * stdlib/stdlib.h: Do not declare setkey.
11973 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11974 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11975
11976 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11977 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11978 into compat symbols. Don't define initial_perm if it's not
11979 going to be used.
11980 * crypt/cert.c: Link explicitly with the expected versions for
11981 setkey and encrypt. If they are not available at all, mark
11982 the test as unsupported.
11983
11984 * sunrpc/des_crypt.c: Unconditionally block linkage with
11985 cbc_crypt and ecb_crypt for new binaries.
11986 * sunrpc/des_soft.c: Unconditionally block linkage with
11987 des_setparity for new binaries.
11988
11989 * manual/crypt.texi: Remove the entire "DES Encryption"
11990 section. Also remove the paragraph talking about FIPS 140-2
11991 from the introduction.
11992 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11993 of libgcrypt for "real" encryption, not DES.
11994 * manual/conf.texi (Constants for Sysconf): Mention that
11995 _XOPEN_CRYPT is no longer impelemented.
11996
11997 * conform/data/unistd.h-data: Remove crypt function declaration.
11998
524d796d
FW
119992018-06-29 Florian Weimer <fweimer@redhat.com>
12000
12001 [BZ #23351]
12002 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12003 (disallow_malloc_check): Remove variable.
12004 (__malloc_check_init): Adjust.
12005 (malloc_set_state): Update comment.
12006 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12007 declarations.
12008
339124ab
RL
120092018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12010
12011 [BZ #23140]
12012 * localedata/locales/ast_ES (mon): Rename to...
12013 (alt_mon): This.
12014 (mon): Import from CLDR (genitive case).
12015
c1f86a33
DA
120162018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12017 Jakub Sitnicki <jkbs@redhat.com>
12018
12019 [BZ #21812]
12020 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12021 on NLM_F_DUMP_INTR.
12022
0b11b649
SN
120232018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12024
12025 * manual/llio.texi: Remove spurious space.
12026
c1c2848b
FW
120272018-06-28 Florian Weimer <fweimer@redhat.com>
12028
12029 [BZ #23349]
12030 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12031 _STRUCT_TIMESPEC.
12032
86a0f561
RS
120332018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12034
12035 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 12036 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
12037 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12038 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12039 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12040 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12041 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12042
780684eb
MR
120432018-06-27 Maciej W. Rozycki <macro@mips.com>
12044
12045 [BZ #23266]
12046 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12047 Copy and null-terminate entries that are not terminated, in
12048 addition to empty ones.
12049
c49e1822
FW
120502018-06-27 Florian Weimer <fweimer@redhat.com>
12051
12052 [BZ #18023]
b39d961c
TS
12053 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12054 (extend_alloca_account): Remove.
c49e1822
FW
12055 * manual/stdio.texi (Variable Arguments Output): Update comment.
12056
a833e627
JM
120572018-06-27 Joseph Myers <joseph@codesourcery.com>
12058
12059 * nptl/sockperf.c: Remove file.
12060
92d6aa85
FW
120612018-06-27 Florian Weimer <fweimer@redhat.com>
12062
12063 [BZ #18023]
12064 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12065 scratch_buffer instead of extend_alloca.
12066
890c2ced
FW
120672018-06-27 Florian Weimer <fweimer@redhat.com>
12068
12069 [BZ #18023]
12070 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12071 scratch_buffer instead of extend_alloca. Update comments.
12072
4272059d
FW
120732018-06-27 Florian Weimer <fweimer@redhat.com>
12074
12075 [BZ #18023]
12076 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12077 instead of extend_alloca.
12078
27f10a09
JM
120792018-06-26 Joseph Myers <joseph@codesourcery.com>
12080
12081 [BZ #13888]
12082 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12083 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12084 /tmp.
12085 * scripts/test-installation.pl: Put temporary files in build
12086 directory, not /tmp.
12087 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12088 (CFLAGS-bug4.c): Likewise.
12089 (CFLAGS-bug5.c): Likewise.
12090 (CFLAGS-test-fseek.c): Likewise.
12091 (CFLAGS-test-popen.c): Likewise.
12092 (CFLAGS-test_rdwr.c): Likewise.
12093 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12094 /tmp.
12095 * stdio-common/bug4.c (main): Likewise.
12096 * stdio-common/bug5.c (main): Likewise.
12097 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12098 * stdio-common/test-popen.c (do_test): Likewise.
12099 * stdio-common/test_rdwr.c (main): Likewise.
12100
05598a09
PF
121012018-06-26 Patsy Franklin <pfrankli@redhat.com>
12102
12103 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12104 (sem_open): Set sem.newsem.pad to zero for valgrind.
12105
06ab719d
AZ
121062018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12107
12108 [BZ #20251]
12109 * NEWS: Mention fcntl64 addition.
12110 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12111 * login/utmp_file.c: Likewise.
12112 * sysdeps/posix/fdopendir.c: Likewise.
12113 * sysdeps/posix/opendir.c: Likewise.
12114 * sysdeps/unix/pt-fcntl.c: Likewise.
12115 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12116 __fcntl64_nocancel_adjusted): New prototype.
12117 (__fcntl_nocancel_adjusted): Remove prototype.
12118 * io/Makefile (routines): Add fcntl64.
12119 (CFLAGS-fcntl64.c): New rule.
12120 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12121 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12122 * io/fcntl.h (fcntl64): Add prototype and redirect if
12123 __USE_FILE_OFFSET64 is defined.
12124 * io/fcntl64.c: New file.
12125 * manual/llio.text: Add a note for which commands fcntl acts a
12126 cancellation point.
12127 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12128 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12129 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12130 New symbols.
12131 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12132 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12133 non-LFS case.
12134 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12135 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12136 to __fcntl64_nocancel.
12137 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12138 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12139 to __fcntl64_nocancel.
12140 * sysdeps/generic/not-cancel.h: Likewise.
12141 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12142 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12143 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12144 (fcntl64): New symbol.
12145 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12146 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12147 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12150 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12151 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12152 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12153 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12154 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12155 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12156 fcntl64): Likewise.
12157 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12158 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12159 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12160 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12161 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12162 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12163 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12164 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12165 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12167 Likewise.
12168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12169 Likewise.
12170 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12171 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12172 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12173
124e0258
FW
121742018-06-26 Florian Weimer <fweimer@redhat.com>
12175
12176 Run thread shutdown functions in an explicit order.
12177 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12178 definition.
12179 (__libc_thread_freeres): Call thread shutdown functions
12180 explicitly.
12181 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12182 * include/string.h (__strerror_thread_freeres): Declare.
12183 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12184 arena_thread_freeres. No longer static. Remove thread shutdown
12185 hook registration.
12186 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12187 Declare.
12188 * resolv/res-close.c (__res_thread_freeres): Renamed from
12189 res_thread_freeres. No longer static. Remove thread shutdown
12190 hook registration.
12191 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12192 * resolv/resolv_conf.c (freeres): Remove incorrect section
12193 attribute and use libc_freeres_fn.
12194 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12195 strerror_thread_freeres. No longer static. Remove thread
12196 shutdown hook registration.
12197 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12198 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12199 shutdown hook registration.
12200 * Makerules (shlib.lds): Do not provide section boundary symbols
12201 for __libc_thread_subfreeres.
12202 * manual/memory.texi (Basic Allocation): Update comment.
12203
935d920e
FW
122042018-06-26 Florian Weimer <fweimer@redhat.com>
12205
12206 Remove always-defined _RPC_THREAD_SAFE_ macro.
12207 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12208 Do not define _RPC_THREAD_SAFE_.
12209 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12210 conditional.
12211 * sunrpc/clnt_perr.c: Likewise.
12212 * sunrpc/clnt_raw.c: Likewise.
12213 * sunrpc/clnt_simp.c: Likewise.
12214 * sunrpc/key_call.c: Likewise.
12215 * sunrpc/rpc_common.c: Likewise.
12216 * sunrpc/rpc_main.c: Likewise.
12217 * sunrpc/rpc_thread.c: Likewise.
12218 * sunrpc/svc.c: Likewise.
12219 * sunrpc/svc_raw.c: Likewise.
12220 * sunrpc/svc_simple.c: Likewise.
12221 * sumrpc/svcauth_des.c: Likewise.
12222
29055464
FW
122232018-06-26 Florian Weimer <fweimer@redhat.com>
12224
12225 * libio/Makefile (tests-internal): Add tst-vtables,
12226 tst-vtables-interposed.
12227 * libio/tst-vtables.c: New file.
12228 * libio/tst-vtables-common.c: Likewise.
12229 * libio/tst-vtables-interposed.c: Likewise.
12230
5c0202af
FW
122312018-06-26 Florian Weimer <fweimer@redhat.com>
12232
12233 * support/support_test_main.c (support_test_main): Only call
12234 setvbuf if not disables.
12235 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12236 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12237
c402355d
FW
122382018-06-26 Florian Weimer <fweimer@redhat.com>
12239
12240 [BZ #23313]
12241 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12242
43b1048a
FW
122432018-06-25 Florian Weimer <fweimer@redhat.com>
12244
12245 [BZ #18023]
12246 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12247 Use struct scratch_buffer instead of extend_alloca.
12248
1599ed4e
FW
122492018-06-25 Florian Weimer <fweimer@redhat.com>
12250
12251 [BZ #18023]
12252 * nss/getent.c (initgroups_keys): Use dynarray instead of
12253 extend_alloca.
12254
a26fe163
FW
122552018-06-25 Florian Weimer <fweimer@redhat.com>
12256
12257 [BZ #18023]
12258 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12259 Use struct scratch_buffer instead of extend_alloca.
12260
90d9d9ce
FW
122612018-06-25 Florian Weimer <fweimer@redhat.com>
12262
12263 [BZ #18023]
12264 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12265 back to malloc directly, without stack allocations.
12266
6b7b2aba
FW
122672018-06-25 Florian Weimer <fweimer@redhat.com>
12268
12269 [BZ #18023]
12270 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12271 of extend_alloca.
12272
2f9f0d18
FW
122732018-06-25 Florian Weimer <fweimer@redhat.com>
12274
12275 [BZ #18023]
12276 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12277 of extend_alloca.
12278 * nscd/hstcache.c (addhstbyX): Likewise.
12279 * nscd/pwdcache.c (addpwbyX): Likewise.
12280 * nscd/servicescache.c (addservbyX): Likewise.
12281
318bad78
FW
122822018-06-25 Florian Weimer <fweimer@redhat.com>
12283
12284 [BZ #18023]
12285 * nscd/connections.c (read_cmdline): New function.
12286 (restart): Use it. Update comment.
12287
189699ab
RL
122882018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12289
12290 [BZ #23140]
12291 * localedata/locales/csb_PL (mon): Rename to...
12292 (alt_mon): This.
12293 (abmon): Rename to...
12294 (ab_alt_mon): This.
12295 (mon): Add with proper genitive forms, copy from Wikipedia.
12296 (abmon): Likewise.
12297
0ea3f13c
RL
122982018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12299
12300 [BZ #19485]
12301 * localedata/locales/csb_PL (mon): Fix typos:
12302 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12303 (yesstr): Add, value is "jo".
12304 (nostr): Add, value is "nié".
12305
d93f4ff1
TMQMF
123062018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12307
12308 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12309 all log1p and significand functions on m680x0.
12310 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12311 of s_significand.c..
12312 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12313 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12314 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12315 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12316 s_log1p.c and include it..
12317
f6299d2a
VC
123182018-06-21 Vincent Chen <vincentc@andestech.com>
12319
12320 * elf/elf.h (R_NDS32_NONE): New define.
12321 (R_NDS32_32_RELA): Likewise.
12322 (R_NDS32_COPY): Likewise.
12323 (R_NDS32_GLOB_DAT): Likewise.
12324 (R_NDS32_JUMP_SLOT): Likewise.
12325 (R_NDS32_RELATIVE): Likewise.
12326 (R_NDS32_TLS_TPOFF): Likewise.
12327 (R_NDS32_TLS_DESC): Likewise.
12328
61ab61c2
MW
123292018-06-21 Mark Wielaard <mark@klomp.org>
12330
12331 * elf/elf.h (R_BPF_MAP_FD): Removed.
12332 (R_BPF_64_64, R_BPF_64_32): New.
12333
f496b28e
FW
123342018-06-21 Florian Weimer <fweimer@redhat.com>
12335
12336 [BZ #23253]
12337 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12338 Renamed from libc_feholdsetround_ctx.
12339 (default_libc_feresetround_ctx): Renamed from
12340 libc_feresetround_ctx.
12341 (default_libc_feholdsetround_noex_ctx): Renamed from
12342 libc_feholdsetround_noex_ctx.
12343 (default_libc_feresetround_noex_ctx): Renamed from
12344 libc_feresetround_noex_ctx.
12345 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12346 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12347 forwardning to the old implementations under the new names.
12348 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12349 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12350 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12351 (libc_feresetround_ctx): Forward to default implements for i386
12352 and MATH_SET_BOTH_ROUNDING_MODES.
12353 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12354 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12355
1760daad
JM
123562018-06-20 Joseph Myers <joseph@codesourcery.com>
12357
99c7adf9
JM
12358 * string/tst-cmp.c: Include <libc-diag.h>.
12359 (strncmp_max): Disable -Wstringop-overflow= around call to
12360 strncmp.
12361 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12362 strncasecmp.
12363
1760daad
JM
12364 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12365 (main): Disable -Wunused-value around call to strpbrk.
12366 * string/bug-strspn1.c: Include <libc-diag.h>.
12367 (main): Disable -Wunused-value around call to strspn.
12368
209ae17c
TMQMF
123692018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12370 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12371
12372 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12373 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12374
badba23c
TMQMF
123752018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12376
5e79e029
TMQMF
12377 * math/Makefile (libm-calls): Move s_significandF to...
12378 (gen-libm-calls): ... here.
12379 * math/s_significand_template.c: New file.
12380 * math/s_significand.c: Removed.
12381 * math/s_significandf.c: Removed.
12382 * math/s_significandl.c: Removed.
12383 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12384 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12385
badba23c
TMQMF
12386 * math/e_exp2_template.c (declare_mgen_finite_alias,
12387 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12388 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12389 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12390
2d1c89a5
FW
123912018-06-20 Florian Weimer <fweimer@redhat.com>
12392
12393 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12394
646c2833
JM
123952018-06-19 Joseph Myers <joseph@codesourcery.com>
12396
12397 [BZ #23280]
12398 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12399 floating-point number to strtod functions rather than possibly
12400 negating result of those functions.
12401 * stdio-common/tst-scanf-round.c: New file.
12402 * stdio-common/Makefile (tests): Add tst-scanf-round.
12403 ($(objpfx)tst-scanf-round): Depend on $(libm).
12404
c77e4dc0
ST
124052018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12406
12407 * sysdeps/mach/hurd/localplt.data: Move to...
12408 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12409 R_386_GLOB_DAT like on Linux i386.
12410
91b2f3e5
JM
124112018-06-18 Joseph Myers <joseph@codesourcery.com>
12412
f2857da7
JM
12413 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12414 (SHM_STAT_ANY): New macro.
12415 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12416 (SHM_STAT_ANY): Likewise.
12417 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12418 (SHM_STAT_ANY): Likewise.
12419 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12420 (SHM_STAT_ANY): Likewise.
12421 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12422 (SHM_STAT_ANY): Likewise.
12423 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12424 (SHM_STAT_ANY): Likewise.
12425 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12426 (SHM_STAT_ANY): Likewise.
12427 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12428 (SHM_STAT_ANY): Likewise.
12429 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12430 (SHM_STAT_ANY): Likewise.
12431 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12432 (SHM_STAT_ANY): Likewise.
12433 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12434 (SHM_STAT_ANY): Likewise.
12435 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12436 (SHM_STAT_ANY): Likewise.
12437
176c7fee
JM
12438 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12439 (SEM_STAT_ANY): New macro.
12440 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12441 (SEM_STAT_ANY): Likewise.
12442 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12443 (SEM_STAT_ANY): Likewise.
12444 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12445 (SEM_STAT_ANY): Likewise.
12446 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12447 (SEM_STAT_ANY): Likewise.
12448 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12449 (SEM_STAT_ANY): Likewise.
12450 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12451 (SEM_STAT_ANY): Likewise.
12452 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12453 (SEM_STAT_ANY): Likewise.
12454 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12455 (SEM_STAT_ANY): Likewise.
12456 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12457 (SEM_STAT_ANY): Likewise.
12458
86bf0019
JM
12459 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12460 (MSG_STAT_ANY): New macro.
12461 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12462 (MSG_STAT_ANY): Likewise.
12463 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12464 (MSG_STAT_ANY): Likewise.
12465 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12466 (MSG_STAT_ANY): Likewise.
12467 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12468 (MSG_STAT_ANY): Likewise.
12469 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12470 (MSG_STAT_ANY): Likewise.
12471 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12472 (MSG_STAT_ANY): Likewise.
12473 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12474 (MSG_STAT_ANY): Likewise.
12475 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12476 (MSG_STAT_ANY): Likewise.
12477 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12478 (MSG_STAT_ANY): Likewise.
12479
91b2f3e5
JM
12480 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12481 (MAP_TYPE): Change value to 0x2b.
12482
3fe8fc79
FW
124832018-06-18 Florian Weimer <fweimer@redhat.com>
12484
12485 [BZ #15722]
12486 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12487 socket with SOCK_CLOEXEC.
12488
809dc95d
JM
124892018-06-18 Joseph Myers <joseph@codesourcery.com>
12490
12491 [BZ #23303]
12492 * sysdeps/powerpc/powerpc64/le/Makefile
12493 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12494 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12495 (gnulib-tests): Also add $(f128-loader-link) for
12496 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12497
298a8b59
ST
124982018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12499
12500 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12501 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12502 of sendfile.
12503 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12504 (sendfile64): New strong alias.
faf7bbc2
ST
12505 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12506 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12507 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
12508 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12509 attribute.
12510 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12511 ___pthread_get_cleanup_stack.
932d05f0 12512 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
12513 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12514 * mach/shortcut.awk: Make syscall stubs include
12515 <mach-shortcuts-hidden.h> and add hidden definition.
12516 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
12517 (__mach_msg): Add hidden prototype.
12518 * mach/msg.c: Include <mach.h>.
12519 (__mach_msg): Add hidden definition.
b0344cf5
ST
12520 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12521 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12522 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12523 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
12524 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12525 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
12526 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12527 prototype and definition.
12528 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12529 hidden target for _hurd_self_sigstate.
298a8b59 12530
b12c1e79
JM
125312018-06-15 Joseph Myers <joseph@codesourcery.com>
12532
12533 [BZ #23007]
12534 * stdlib/tst-strtod-nan-sign-main.c: New file.
12535 * stdlib/tst-strtod-nan-sign.c: Likewise.
12536 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12537 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12538 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12539 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12540 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12541
b0debe14
HB
125422018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12543
12544 [BZ #23007]
12545 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12546 appropriate sign.
12547
14beef75
FW
125482018-06-14 Florian Weimer <fweimer@redhat.com>
12549
12550 [BZ #23290]
12551 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12552 that the result stays within the ISO-8859-1 range.
12553 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12554 characters are defined in IBM273.
12555
c596630b
ST
125562018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12557
12558 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12559 __mach_task_self): Remove attribute_hidden.
12560
35ebb6b0
JM
125612018-06-14 Joseph Myers <joseph@codesourcery.com>
12562
12563 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12564 ignore -Wrestrict for one test.
12565
3c7b9f1f
SE
125662018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12567 Szabolcs Nagy <szabolcs.nagy@arm.com>
12568
12569 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12570
c59ee916
FW
125712018-06-14 Florian Weimer <fweimer@redhat.com>
12572
12573 * scripts/update-abilist.sh: Accept empty list of files to patch.
12574
43b5ff50
ST
125752018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12576
12577 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12578 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
12579 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12580 __libc_read and __libc_write to __read and __write.
c8c6e6d6 12581 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
12582 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12583 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12584 __thread_switch, __evc_wait): Move declarations to...
12585 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12586 attribute_hidden.
06d1a826
ST
12587 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12588 use PLT to call _hurd_self_sigstate.
43b5ff50 12589
fcd6b5ac
JM
125902018-06-13 Joseph Myers <joseph@codesourcery.com>
12591
12592 [BZ #23279]
12593 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12594 MAX_EXP as overflowing.
12595 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12596 overflow flag.
12597 (round_str): Output also whether result overflows in each rounding
12598 mode.
12599 * stdlib/tst-strtod-round-data: Add more tests.
12600 * stdlib/tst-strtod-round-data.h: Regenerated.
12601 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12602 (TEST): Handle extra arguments for overflow flags.
12603 (struct test_overflow): New type.
12604 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12605 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12606 (test_in_one_mode): Take argument with overflow information.
12607 (do_test): Update calls to test_in_one_mode.
12608
35df5a77
CD
126092018-06-12 Carlos O'Donell <carlos@redhat.com>
12610
a745c837
CD
12611 * elf/dl-load (_dl_dst_substitute): Correct comment.
12612 (_dl_dst_count): Likewise.
12613
35df5a77
CD
12614 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12615 lll_futex_timed_wait.
12616
48b12ed5
JM
126172018-06-12 Joseph Myers <joseph@codesourcery.com>
12618
12619 [BZ #23277]
12620 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12621 attribute.
12622 * math/test-nan-const.c: New file.
12623 * math/Makefile (tests): Add test-nan-const.
12624 (CFLAGS-test-nan-const.c): New variable.
12625
cb8f6aff
L
126262018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12627
12628 * benchtests/scripts/compare_strings.py (process_results): Add
12629 funcs argument. Compare only functions which are selected.
12630 (main): Check if base function is among selected functions.
12631 Pass selected functions to process_results.
12632 (__main__): Add -f/--functions argument.
12633
fc2ba803
HZ
126342018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12635 Hongbo Zhang <hongbo.zhang@linaro.org>
12636
12637 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12638 __memcpy_falkor for phecda core.
12639 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12640 __memmove_falkor for phecda core.
12641 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12642 __memset_falkor for phecda core.
12643 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12644 for phecda core.
12645 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12646 macro to identify phecda core.
12647
5aad5f61
CD
126482018-06-12 Carlos O'Donell <carlos@redhat.com>
12649 Andreas Schwab <schwab@suse.de>
12650 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 12651 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
12652
12653 [BZ #23102]
12654 [BZ #21942]
12655 [BZ #18018]
12656 [BZ #23259]
12657 CVE-2011-0536
12658 * elf/dl-dst.h: Remove DL_DST_COUNT.
12659 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12660 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12661 (is_dst): Comment. Support ELF gABI.
12662 (_dl_dst_count): Comment. Simplify and count DSTs.
12663 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12664 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12665 locals.
12666
329ea513
ZW
126672018-06-12 Zack Weinberg <zackw@panix.com>
12668
12669 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12670 * sysdeps/unix/sysv/linux/dl-sysdep.c
12671 Include not-cancel.h. Use __close_nocancel instead of __close,
12672 __open64_nocancel instead of __open, __read_nocancel instead of
12673 __libc_read, and __write_nocancel instead of __libc_write.
12674
12675 * csu/check_fds.c (check_one_fd)
12676 * sysdeps/posix/fdopendir.c (__fdopendir)
12677 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 12678 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
12679
12680 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12681 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 12682 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
12683 Use __open64_nocancel instead of __open_nocancel.
12684
12685 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12686 hidden_proto declarations to the end and issue them if either
12687 IS_IN(libc) or IS_IN(rtld).
12688 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12689 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12690 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12691 read_nocancel, waitpid_nocancel, write_nocancel.
12692
b39d961c
TS
12693 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12694 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12695 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 12696
b39d961c
TS
12697 * nptl/pt-fcntl.c: New file.
12698 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12699 (libpthread-routines): Add pt-fcntl.
12700 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12701 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
12702 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12703 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 12704 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
12705 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12706 to fcntl_nocancel.c.
12707 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12710 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12711
12712 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12713 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12714 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12715 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12716 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12717 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12718 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12719 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12720 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12721 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12722 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12723 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12724 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12725 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12726 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12727 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12728 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12729 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12730 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12731 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12732
b39d961c
TS
12733 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12734 libpthread-routines.
12735 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12736 defines nothing.
329ea513 12737
b39d961c
TS
12738 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12739 __libc_read, and __write instead of __libc_write. Define
12740 __open64 in addition to __open.
329ea513 12741
0221ce2a
L
127422018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12743
12744 [BZ #23250]
12745 [BZ #10686]
12746 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12747 to _private_tm[3] and add __glibc_reserved2.
12748 Add _Static_assert of offset of __private_ss == 0x30.
12749 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12750 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12751
e826574c
FW
127522018-06-12 Florian Weimer <fweimer@redhat.com>
12753
12754 x86: Make strncmp usable from rtld.
12755 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12756 __strncmp_ia32 if in libc (and not in rtld).
12757 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12758 strncmp if not in libc (and not to __strncmp_sse2).
12759
c4ad5782
RL
127602018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12761
12762 [BZ #23140]
12763 * localedata/locales/gd_GB (mon): Rename to...
12764 (alt_mon): This.
12765 (mon): Import from CLDR (genitive case).
12766 * localedata/locales/hsb_DE (mon): Rename to...
12767 (alt_mon): This.
12768 (mon): Import from CLDR (genitive case).
12769 * localedata/locales/wa_BE (mon): Rename to...
12770 (alt_mon): This.
12771 (mon): Add, fill with the proper genitive forms, but CLDR data
12772 is incomplete; completed according to the comments in this file.
12773 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12774
12775 * localedata/locales/wa_BE (country_name): Reword
12776 "Beljike" -> "Beldjike".
12777
ca121b11
JM
127782018-06-11 Joseph Myers <joseph@codesourcery.com>
12779
12780 [BZ #23272]
12781 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12782 cases of non-finite arguments.
12783 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12784
2b69fecb
JDA
127852018-06-10 John David Anglin <danglin@gcc.gnu.org>
12786
12787 [BZ #23174]
12788 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12789
283d9851
AZ
127902018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12791
12792 [BZ #23264]
12793 * include/unistd.h (__execvpex): New prototype.
12794 * posix/Makefile (tests): Add tst-spawn4.
12795 (tests-internal): Add tst-spawn4-compat.
12796 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12797 * posix/tst-spawn4-compat.c: New file.
12798 * posix/tst-spawn4.c: Likewise.
12799 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12800 binaries as shell scripts.
12801 * sysdeps/posix/spawni.c (__spawni): Likewise.
12802
67c05796
L
128032018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12804
12805 [BZ #23145]
12806 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12807 ($(all-built-dso:=.dynsym): New target.
12808 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12809 ($(objpfx)check-initfini.out): New target.
12810 (generated): Add check-initfini.out.
12811 * scripts/check-initfini.awk: New file.
12812 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12813 (_fini): Likewise.
12814 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12815 (_fini): Likewise.
12816 * sysdeps/arm/crti.S (_init): Mark as hidden.
12817 (_fini): Likewise.
12818 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12819 (_fini): Likewise.
12820 * sysdeps/i386/crti.S (_init): Mark as hidden.
12821 (_fini): Likewise.
12822 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12823 (_fini): Likewise.
12824 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12825 (_fini): Likewise.
12826 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12827 (_fini): Likewise.
12828 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12829 (_fini): Likewise.
12830 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12831 (_fini): Likewise.
12832 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12833 (_fini): Likewise.
12834 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12835 (_fini): Likewise.
12836 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12837 (_fini): Likewise.
12838 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12839 (_fini): Likewise.
12840 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12841 (_fini): Likewise.
12842 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12843 (_fini): Likewise.
12844 * sysdeps/sh/crti.S (_init): Mark as hidden.
12845 (_fini): Likewise.
12846 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12847 (_fini): Likewise.
12848 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12849 (_fini): Likewise.
12850
1c09524e
TMQMF
128512018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12852
12853 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12854 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12855 and TF redirection to KFtype and KF only when the default
12856 long double type is not the IEEE 128-bit floating point type.
12857
0e0577c9
JM
128582018-06-05 Joseph Myers <joseph@codesourcery.com>
12859
0c1c33b2
JM
12860 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12861 macro.
12862 (HWCAP_USCAT): Likewise.
12863 (HWCAP_ILRCPC): Likewise.
12864 (HWCAP_FLAGM): Likewise.
12865 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12866 Increase to 28.
12867 (_dl_aarch64_cap_flags): Add new flag names.
12868
bef1cbf4
JM
12869 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12870 (MAP_FIXED_NOREPLACE): New macro.
12871 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12872 (MAP_FIXED_NOREPLACE): Likewise.
12873 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12874 (MAP_FIXED_NOREPLACE): Likewise.
12875 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12876 (MAP_FIXED_NOREPLACE): Likewise.
12877 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12878 (MAP_FIXED_NOREPLACE): Likewise.
12879 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12880 (MAP_FIXED_NOREPLACE): Likewise.
12881 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12882 (MAP_FIXED_NOREPLACE): Likewise.
12883 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12884 (MAP_FIXED_NOREPLACE): Likewise.
12885 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12886 (MAP_FIXED_NOREPLACE): Likewise.
12887 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12888 (MAP_FIXED_NOREPLACE): Likewise.
12889 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12890 (MAP_FIXED_NOREPLACE): Likewise.
12891 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12892 (MAP_FIXED_NOREPLACE): Likewise.
12893 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12894 (MAP_FIXED_NOREPLACE): Likewise.
12895 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12896 (MAP_FIXED_NOREPLACE): Likewise.
12897 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12898 (MAP_FIXED_NOREPLACE): Likewise.
12899
0e0577c9
JM
12900 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12901 version to 4.17.
12902
ab3a0da0
JM
129032018-06-04 Joseph Myers <joseph@codesourcery.com>
12904
12905 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12906 version to 4.17
12907
d2d9dfb6
ST
129082018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12909
12910 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12911 int.
12912 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12913
a650b05e
LS
129142018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12915
12916 * benchtests/scripts/compare_string.py: (process_results) Catch
12917 exception in non-existent base_func and catch exception in
12918 non-existent attribute.
12919 (parse_file) Catch exception if input file does not exist.
12920
195abbf4
LS
129212018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12922
12923 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12924 options to avoid diff calculation and omit header, respectively.
12925 (main): process --no-diff and --no-header
12926
14570163
LS
129272018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12928 H.J. Lu <hongjiu.lu@intel.com>
12929
12930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12931 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12932 wcsncmp-sse2.
12933 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12934 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12935 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12936 and __wcsncmp_sse2.
12937 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12938 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12939 AVX unaligned load is fast and vzeroupper is preferred.
12940 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12941 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12942 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12943 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12944 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12945 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12946 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12947 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12948 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12949 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12950 is undefined.
12951
e02c026f
FW
129522018-06-01 Florian Weimer <fweimer@redhat.com>
12953
12954 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12955 configuring with --disable-multi-arch, building with
12956 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12957 Haswell-era CPU.
12958
d8c19275
FW
129592018-06-01 Florian Weimer <fweimer@redhat.com>
12960
12961 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12962 results from building with “-march=x86-64 -mtune=generic
12963 -mfpmath=sse” and running on a Haswell-era CPU.
12964
0d2163eb
JM
129652018-06-01 Joseph Myers <joseph@codesourcery.com>
12966
12967 [BZ #18473]
12968 * soft-fp/sqrttf2.c: Remove file.
12969 * soft-fp/sqrtdf2.c: Move to ....
12970 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12971 <shlib-compat.h>.
12972 (__sqrtdf2): Make conditional on
12973 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12974 symbol.
12975 * soft-fp/sqrtsf2.c: Move to ....
12976 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12977 <shlib-compat.h>.
12978 (__sqrtsf2): Make conditional on
12979 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12980 symbol.
12981 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12982 (gcc-double-routines): Remove sqrtdf2.
12983 (gcc-quad-routines): Remove sqrttf2.
12984 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12985 Do not filter out sqrtsf2 and sqrtdf2.
12986 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12987 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12988
10450210
FW
129892018-06-01 Florian Weimer <fweimer@redhat.com>
12990
12991 * sysdeps/generic/libcidn.abilist: Remove file.
12992
4e8a6346
FW
129932018-06-01 Florian Weimer <fweimer@redhat.com>
12994
12995 [BZ #23236]
12996 * libio/strfile.h (struct _IO_str_fields): Rename members to
12997 discourage their use and add comment.
12998 (_IO_STR_DYNAMIC): Remove unused macro.
12999 * libio/strops.c (_IO_str_init_static_internal): Do not use
13000 callback pointers. Call malloc and free.
13001 (_IO_str_overflow): Do not use callback pointers. Call malloc
13002 and free.
13003 (enlarge_userbuf): Likewise.
13004 (_IO_str_finish): Call free.
13005 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13006 _allocate_buffer_unused.
13007 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13008 and free.
13009 (enlarge_userbuf): Likewise.
13010 (_IO_wstr_finish): Call free.
13011 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13012 _allocate_buffer_unused, _free_buffer_unused.
13013 * libio/memstream.c (__open_memstream): Likewise.
13014 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13015 * libio/wmemstream.c (open_wmemstream): Likewise.
13016
50d004c9
PP
130172018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13018
13019 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13020 AMD Ryzen 7 1800X.
13021
2c93fce7
RS
130222018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13023
13024 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13025 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13026 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13027 New file.
13028 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13029 Likewise.
13030 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13031
0ce2fa69
FW
130322018-05-29 Florian Weimer <fweimer@redhat.com>
13033
13034 * support/Makefile (libsupport-routines): Add
13035 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13036 xpthread_barrierattr_setpshared.
13037 * support/xpthread_barrierattr_destroy.c: New file.
13038 * support/xpthread_barrierattr_init.c: Likewise.
13039 * support/xpthread_barrierattr_setpshared.c: Likewise.
13040
7f7b5d8d
L
130412018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13042
13043 [BZ #23206]
13044 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13045 _r_debug and update DT_DEBUG for debugger.
13046
e4890300
FW
130472018-05-29 Florian Weimer <fweimer@redhat.com>
13048
13049 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13050 (tst-strtod5i.out): Likewise.
13051
2c753f3e
JM
130522018-05-25 Joseph Myers <joseph@codesourcery.com>
13053
b5453d9f
JM
13054 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13055 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13056 (sparc64-quad-routines): New variable. Moved from ....
13057 [$(subdir) = soft-fp] (sysdep_routines): Add
13058 $(sparc64-quad-routines). Moved from ....
13059 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13060 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13061 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13062 moved from ....
13063 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13064 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13065 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13066 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13067 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13068 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13069 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13070 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13071 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13072 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13073 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13074 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13075 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13076 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13077 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13078 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13079 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13080 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13081 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13082 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13083 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13084 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13085 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13086 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13087 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13088 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13089 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13090 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13091 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13092 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13093 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13094 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13095 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13096 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13097 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13098 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13099 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13100 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13101 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13102 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13103 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13104 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13105 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13106 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13107 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13108 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13109 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13110 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13111 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13112 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13113 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13114 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13115 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13116 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13117 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13118 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13119 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13120 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13121
2c753f3e
JM
13122 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13123 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13124 (sparc32-quad-routines): New variable. Moved from ....
13125 [$(subdir) = soft-fp] (sysdep_routines): Add
13126 $(sparc32-quad-routines). Moved from ....
13127 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13128 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13129 moved from ....
13130 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13131 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13132 * sysdeps/sparc/sparc32/q_add.c: ... here.
13133 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13134 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13135 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13136 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13137 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13138 * sysdeps/sparc/sparc32/q_div.c: ... here.
13139 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13140 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13141 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13142 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13143 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13144 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13145 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13146 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13147 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13148 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13149 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13150 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13151 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13152 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13153 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13154 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13155 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13156 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13157 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13158 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13159 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13160 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13161 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13162 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13163 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13164 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13165 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13166 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13167 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13168 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13169 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13170 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13171 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13172 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13173 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13174 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13175 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13176 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13177 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13178 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13179 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13180 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13181 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13182 * sysdeps/sparc/sparc32/q_util.c: ... here.
13183 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13184 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13185 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13186 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13187
c1dc1e1b
TMQMF
131882018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13189 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13190
13191 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13192 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13193 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13194 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13195
14186e8d
JM
131962018-05-24 Joseph Myers <joseph@codesourcery.com>
13197
13198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13199 powerpc/soft-fp.
13200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13201 Likewise.
13202 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13203 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13204
fb0e10b8
GG
132052018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13206
13207 [BZ #23171]
13208 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13209 double version.
13210
1dfeb17e
JM
132112018-05-23 Joseph Myers <joseph@codesourcery.com>
13212
13213 * sysdeps/sh/Implies: Remove sh/soft-fp.
13214 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13215 * sysdeps/sh/sfp-machine.h: ... here.
13216
727b38df
L
132172018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13218
13219 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13220 (__mempcpy_erms): Skip zero length.
13221 (__memmove_erms): Likewise.
13222 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13223 (__memset_erms): Likewise.
13224
2834fb46
JM
132252018-05-23 Joseph Myers <joseph@codesourcery.com>
13226
13227 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13228 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13229 Add functions moved from ....
13230 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13231 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13232 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13233 from ....
13234 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13235 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13236 * sysdeps/alpha/e_sqrtl.c: ... here.
13237 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13238 * sysdeps/alpha/local-soft-fp.h: ... here.
13239 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13240 * sysdeps/alpha/ots_add.c: ... here.
13241 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13242 * sysdeps/alpha/ots_cmp.c: ... here.
13243 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13244 * sysdeps/alpha/ots_cmpe.c: ... here.
13245 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13246 * sysdeps/alpha/ots_cvtqux.c: ... here.
13247 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13248 * sysdeps/alpha/ots_cvtqx.c: ... here.
13249 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13250 * sysdeps/alpha/ots_cvttx.c: ... here.
13251 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13252 * sysdeps/alpha/ots_cvtxq.c: ... here.
13253 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13254 * sysdeps/alpha/ots_cvtxt.c: ... here.
13255 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13256 * sysdeps/alpha/ots_div.c: ... here.
13257 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13258 * sysdeps/alpha/ots_mul.c: ... here.
13259 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13260 * sysdeps/alpha/ots_nintxq.c: ... here.
13261 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13262 * sysdeps/alpha/ots_sub.c: ... here.
13263 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13264 * sysdeps/alpha/sfp-machine.h: ... here.
13265
7f9f1ecb
FW
132662018-05-23 Florian Weimer <fweimer@redhat.com>
13267
13268 [BZ #19728]
13269 [BZ #19729]
13270 [BZ #22247]
13271 CVE-2016-6261
13272 CVE-2016-6263
13273 CVE-2017-14062
13274 Switch to extern IDNA implementation (libidn2).
13275 * libidn: Remove subdirectory.
13276 * LICENSES: Do not mention licensing conditions for the removed
13277 libidn code.
13278 * config.h.in (HAVE_LIBIDN): Remove.
13279 * include/dlfcn.h (__libc_dlopen): Update comment.
13280 * include/idna.h: Remove file.
13281 * inet/Makefile (routines): Add idna.
13282 (tests-static, tests-internal): Add tst-idna_name_classify.
13283 (LOCALES): Generate locales for tests.
13284 (tst-idna_name_classify.out): Depend on generated locales.
13285 * inet/idna_name_classify.c: New file.
13286 * inet/tst-idna_name_classify.c: Likewise.
13287 * inet/net-internal.h (__idna_to_dns_encoding)
13288 (__idna_from_dns_encoding): Declare.
13289 * inet/net-internal.h (enum idna_name_classification): Define.
13290 (__idna_name_classify): Declare.
13291 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13292 __idna_from_dns_encoding.
13293 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13294 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13295 name as a fallback in case of encoding errors.
13296 (getnameinfo): Use DEPRECATED_NI_IDN.
13297 * inet/idna.c: New file.
13298 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13299 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13300 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13301 (modules-names): Add tst-no-libidn2.
13302 (extra-test-objs): Add tst-no-libidn2.os.
13303 (LDFLAGS-tst-no-libidn2.so): Set soname.
13304 (LOCALES): Set, and generate locales.
13305 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13306 (tst-resolv-ai_idn-latin1): Likewise.
13307 (tst-resolv-ai_idn-nolibidn2): Likewise.
13308 (tst-resolv-ai_idn.out): Depend on locales.
13309 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13310 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13311 tst-no-libidn2.so.
13312 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13313 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13314 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13315 * resolv/tst-resolv-ai_idn.c: New file.
13316 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13317 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13318 * resolv/tst-no-libidn2.c: Likewise.
13319 * support/support_format_addrinfo.c (format_ai_flags): Do not
13320 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13321 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13322 (gaih_inet): Call __idna_to_dns_encoding and
13323 __idna_from_dns_encoding, and use the original (punycode) name if
13324 __idna_from_dns_encoding fails due to an encoding error.
13325 (getaddrinfo): Use DEPRECATED_AI_IDN.
13326 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13327 * sysdeps/unix/inet/configure: Remove file.
13328 * sysdeps/unix/inet/configure.ac: Likewise.
13329
5f7b841d
FW
133302018-05-23 Florian Weimer <fweimer@redhat.com>
13331
13332 Implement allocate_once.
13333 * include/allocate_once.h: New file.
13334 * misc/allocate_once.c: Likewise.
13335 * misc/tst-allocate_once.c: Likewise.
13336 * misc/Makefile (routines): Add allocate_once.
13337 (tests-internal): Add tst-allocate_once.
13338 (generated): Add tst-allocate_once.mtrace,
13339 tst-allocate_once-mem.out.
13340 (tests-special): Add tst-allocate_once-mem.out.
13341 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13342 (tst-allocate_once-mem.out): Call mtrace.
13343 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13344
ed983107
L
133452018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13346
13347 [BZ #23196]
13348 * string/test-memcpy.c (do_test1): New function.
13349 (test_main): Call it.
13350
9aaaab7c
AS
133512018-05-23 Andreas Schwab <schwab@suse.de>
13352
13353 [BZ #23196]
13354 CVE-2018-11237
13355 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13356 (L(preloop_large)): Save initial destination pointer in %r11 and
13357 use it instead of %rax after the loop.
13358 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13359
5c5c0dd7
JM
133602018-05-22 Joseph Myers <joseph@codesourcery.com>
13361
8f145c77
JM
13362 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13363 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13364 -I../soft-fp. Moved from ....
13365 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13366 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13367 * sysdeps/aarch64/e_sqrtl.c: ... here.
13368 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13369 * sysdeps/aarch64/sfp-machine.h: ... here.
13370
3d6302a5
JM
13371 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13372 -Wmaybe-uninitialized around access to fq[0].
13373 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13374 Likewise.
13375
5c5c0dd7
JM
13376 [BZ #18471]
13377 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13378 aliases for non-libc case of versioned symbols.
13379 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13380 (llseek): Define as compat symbol if
13381 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13382 with link warning.
13383 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13384 Make into a compat symbol, disabled for minimum symbol version
13385 GLIBC_2.28 and later.
13386 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13387
ed0d6988
FW
133882018-05-22 Florian Weimer <fweimer@redhat.com>
13389
13390 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13391 not add -mpreferred-stack-boundary=4.
13392 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13393 (stack-align-test-flags): Likewise.
13394 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13395 Likewise.
13396 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13397 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13398 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13399 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13400 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13401 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13402 (CFLAGS-tst-align2.c): Likewise.
13403
e28e9b1e
L
134042018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13405
13406 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13407 (index_arch_Prefer_FSRM): Likewise.
13408 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13409 Also check Prefer_FSRM.
13410 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13411 Also return OPTIMIZE (erms) for Prefer_FSRM.
13412
1af30adc
L
134132018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13414
13415 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13416 (index_cpu_FSRM): Likewise.
13417 (reg_FSRM): Likewise.
13418
78274dc8
JM
134192018-05-18 Joseph Myers <joseph@codesourcery.com>
13420
7c67e6e8
JM
13421 * math/gen-tgmath-tests.py: Import sys.
13422 (Tests.__init__): Initialize macros_seen.
13423 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13424 if requested to do so for this macro.
13425 (Tests.add_all_tests): Take argument for macro for which to
13426 generate tests.
13427 (Tests.check_macro_list): New function.
13428 (main): Handle check-list argument and argument specifying macro
13429 for which to generate tests.
13430 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13431 [PYTHON] (tgmath3-macro-tests): Likewise.
13432 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13433 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13434 not test-tgmath3.c.
13435 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13436 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13437 to CFLAGS.
13438 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13439 [PYTHON] ($(foreach
13440 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13441 rule.
13442 [PYTHON] (tests-special): Add
13443 $(objpfx)test-tgmath3-macro-list.out.
13444 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13445
ebc129fd
JM
13446 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13447 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13448 later.
13449
78274dc8
JM
13450 [BZ #22639]
13451 * time/tzset.c (SECSPERDAY): Cast to time_t.
13452 * time/tst-y2039.c: New file.
13453 * time/Makefile (tests): Add tst-y2039.
13454
6f7fdeeb
LS
134552018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13456
13457 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13458 (PREFETCH_ONE_SET): Remove duplicate line.
13459
e363a91c
FW
134602018-05-17 Florian Weimer <fweimer@redhat.com>
13461
13462 * sysdeps/generic/math-type-macros-double.h: Include
13463 <math-nan-payload-double.h> after <libm-alias-double.h>.
13464 * sysdeps/generic/math-type-macros-float.h: Include
13465 <math-nan-payload-float.h> after <libm-alias-float.h>.
13466 * sysdeps/generic/math-type-macros-float128.h: Include
13467 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13468 * sysdeps/generic/math-type-macros-ldouble.h: Include
13469 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13470
dae6c43c
AS
134712018-05-17 Andreas Schwab <schwab@suse.de>
13472
13473 * resolv/res_send.c (__res_context_send): Don't set errno when
13474 returing error after malloc failure.
13475
0068c085
L
134762018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13477
13478 * nptl/allocatestack.c (allocate_stack): Remove the
13479 !__ASSUME_PRIVATE_FUTEX paths.
13480 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13481 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13482 Likewise.
13483 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13484 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13485 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13486 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13487 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13488 !__ASSUME_PRIVATE_FUTEX path.
13489 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13490 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13491 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13492 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13493 !__ASSUME_PRIVATE_FUTEX macros.
13494 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13495 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13496 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13497 * sysdeps/unix/sysv/linux/kernel-features.h
13498 (__ASSUME_PRIVATE_FUTEX): Removed.
13499
632a6cbe
JM
135002018-05-17 Joseph Myers <joseph@codesourcery.com>
13501
13502 * math/Makefile (libm-narrow-fns): Add div.
13503 (libm-test-funcs-narrow): Likewise.
13504 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13505 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13506 * math/gen-auto-libm-tests.c (test_functions): Add div.
13507 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13508 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13509 (NARROW_DIV_TRIVIAL): Likewise.
13510 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13511 macro.
13512 (__ddivl): Likewise.
13513 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13514 ddiv.
13515 (CFLAGS-nldbl-ddiv.c): New variable.
13516 (CFLAGS-nldbl-fdiv.c): Likewise.
13517 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13518 __nldbl_ddivl.
13519 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13520 prototype.
13521 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13522 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13523 * math/auto-libm-test-in: Add tests of div.
13524 * math/auto-libm-test-out-narrow-div: New generated file.
13525 * math/libm-test-narrow-div.inc: New file.
13526 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13527 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13528 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13529 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13530 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13531 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13532 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13533 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13534 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13535 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13536 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13537 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13538 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13539 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13540 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13541 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13542 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13543 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13545 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13546 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13547 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13548 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13549 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13550 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13551 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13552 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13553 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13554 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13555 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13556 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13557 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13562 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13563 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13564 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13565 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13566 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13567 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13568 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13569 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13570
8c78faa9
AZ
135712018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13572
13573 [BZ #23178]
13574 * nscd/nscd-client.h (sendfileall): Remove prototype.
13575 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13576 (handle_request): Use writeall instead of sendfileall.
13577 * nscd/aicache.c (addhstaiX): Likewise.
13578 * nscd/grpcache.c (cache_addgr): Likewise.
13579 * nscd/hstcache.c (cache_addhst): Likewise.
13580 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13581 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13582 * nscd/pwdcache.c (cache_addpw): Likewise.
13583 * nscd/servicescache.c (cache_addserv): Likewise.
13584 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13585 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13586 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13587 Remove define.
13588
04958880
L
135892018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13590
13591 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13592 Include <string/strncat.c>.
13593 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13594 alias.
13595 (__GI___strncat): New hidden alias.
13596
c9992d13
JM
135972018-05-16 Joseph Myers <joseph@codesourcery.com>
13598
13599 * sysdeps/mips/mips32/libm-test-ulps: Update.
13600 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13601
2afece36
FW
136022018-05-16 Florian Weimer <fweimer@redhat.com>
13603
13604 * support/Makefile (libsupport-routines): Add support_quote_blob,
13605 support_test_compare_blob.
13606 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13607 * support/check.h (TEST_COMPARE_BLOB): Define.
13608 (support_test_compare_blob): Declare.
13609 * support/support.h (support_quote_blob): Declare.
13610 * support/support_quote_blob.c: New file.
13611 * support/support_test_compare_blob.c: Likewise.
13612 * support/tst-support_quote_blob.c: Likewise.
13613 * support/tst-test_compare_blob.c: Likewise.
13614
9761bf4d
FW
136152018-05-16 Florian Weimer <fweimer@redhat.com>
13616
13617 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13618 of <strtod_nan_double.h>.
13619 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13620 instead of SET_MANTISSA.
13621 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13622 of include <strtod_nan_float.h>.
13623 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13624 instead of <strtod_nan_ldouble.h>.
13625 * stdlib/strtod_nan_double.h: Move to ...
13626 * sysdeps/generic/math-nan-payload-double.h: ... here.
13627 (FLOAT): Remove definition.
13628 (SET_MANTISSA): Rename to ...
13629 (SET_NAN_PAYLOAD): ... this.
13630 * stdlib/strtod_nan_float.h: Move to ...
13631 * sysdeps/generic/math-nan-payload-float.h: ... here.
13632 (FLOAT): Remove definition.
13633 (SET_MANTISSA): Rename to ...
13634 (SET_NAN_PAYLOAD): ... this.
13635 * sysdeps/generic/math-type-macros-double.h: Include
13636 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13637 instead of <math-svid-compat.h>.
13638 * sysdeps/generic/math-type-macros-float.h: Include
13639 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13640 instead of <math-svid-compat.h>.
13641 * sysdeps/generic/math-type-macros-float128.h: Include
13642 <math-nan-payload-float128.h>.
13643 * sysdeps/generic/math-type-macros-ldouble.h: Include
13644 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13645 instead of <math-svid-compat.h>.
13646 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13647 check for definition.
13648 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13649 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13650 Include <ieee754_float128.h>.
13651 (FLOAT): Remove definition.
13652 (SET_MANTISSA): Rename to ...
13653 (SET_NAN_PAYLOAD): ... this.
13654 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13655 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13656 Do not include <float128_private.h>.
13657 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13658 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13659 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13660 (FLOAT): Remove definition.
13661 (SET_MANTISSA): Rename to ...
13662 (SET_NAN_PAYLOAD): ... this.
13663 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13664 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13665 (FLOAT): Remove definition.
13666 (SET_MANTISSA): Rename to ...
13667 (SET_NAN_PAYLOAD): ... this.
13668 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13669 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13670 (FLOAT): Remove definition.
13671 (SET_MANTISSA): Rename to ...
13672 (SET_NAN_PAYLOAD): ... this.
13673 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13674 of "../stdlib/strtod_nan_double.h".
13675 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13676 of "../stdlib/strtod_nan_float.h".
13677 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13678 instead of "../stdlib/strtod_nan_ldouble.h".
13679 * manual/arith.texi (Parsing of Floats): Adjust comment.
13680
69a01461
JM
136812018-05-16 Joseph Myers <joseph@codesourcery.com>
13682
13683 * math/Makefile (libm-narrow-fns): Add mul.
13684 (libm-test-funcs-narrow): Likewise.
13685 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13686 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13687 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13688 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13689 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13690 (NARROW_MUL_TRIVIAL): Likewise.
13691 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13692 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13693 macro.
13694 (__dmull): Likewise.
13695 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13696 dmul.
13697 (CFLAGS-nldbl-dmul.c): New variable.
13698 (CFLAGS-nldbl-fmul.c): Likewise.
13699 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13700 __nldbl_dmull.
13701 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13702 prototype.
13703 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13704 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13705 * math/auto-libm-test-in: Add tests of mul.
13706 * math/auto-libm-test-out-narrow-mul: New generated file.
13707 * math/libm-test-narrow-mul.inc: New file.
13708 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13709 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13710 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13711 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13712 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13713 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13716 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13718 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13719 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13720 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13721 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13722 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13723 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13724 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13725 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13727 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13728 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13729 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13730 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13731 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13732 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13733 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13734 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13735 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13736 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13737 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13738 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13739 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13744 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13745 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13746 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13747 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13748 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13749 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13750 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13751 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13752
a15529fd
L
137532018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13754
13755 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13756 with *%eax in call.
13757
98ee36c7
L
137582018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13759
13760 * sysdeps/i386/ldsodefs.h: Removed.
13761 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13762 * sysdeps/x86/ldsodefs.h: This.
13763 (La_i86_regs): New.
13764 (La_i86_retval): Likewise.
13765 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13766 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13767
e322ec32
L
137682018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13769
13770 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13771 unnecessary testl.
13772
0937e209
AM
137732018-05-13 Alan Modra <amodra@gmail.com>
13774
13775 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13776 R_PARISC_TLS_DTPOFF32 reloc addend.
13777
5db7d705
TMQMF
137782018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13779
13780 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13781 * math/math.h: Restrict the prototype definition for the functions
13782 issignaling(_Float128) and iszero(_Float128); and template
13783 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13784 __HAVE_FLOAT128_UNLIKE_LDBL.
13785 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13786 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13787 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13788 __f128() constants; define the type _Float128 as long double;
13789 and reuse long double in __CFLOAT128.
13790
b4d5b8b0
JM
137912018-05-11 Joseph Myers <joseph@codesourcery.com>
13792
13793 * sysdeps/generic/math_private.h: Do not include
13794 <math-barriers.h>.
13795 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13796 <math_private.h>.
13797 * math/fromfp.h: Include <math-barriers.h>.
13798 * math/math-narrow.h: Likewise.
13799 * math/s_nextafter.c: Likewise.
13800 * math/s_nexttowardf.c: Likewise.
13801 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13802 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13803 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13804 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13805 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13806 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13807 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13808 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13809 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13810 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13811 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13812 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13813 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13814 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13815 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13816 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13817 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13818 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13819 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13820 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13821 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13822 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13823 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13824 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13825 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13826 * sysdeps/ieee754/k_standardl.c: Likewise.
13827 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13828 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13829 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13830 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13831 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13832 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13833 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13834 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13835 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13836 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13837 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13838 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13839 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13840 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13841 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13842 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13843 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13844 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13845 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13846 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13847 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13848 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13849
fc79706a
FW
138502018-05-11 Florian Weimer <fweimer@redhat.com>
13851
13852 Use 64-bit epoch values in the time zone file parser.
13853 * include/time.h (internal_time_t): Define.
13854 (__tzfile_compute): Use it.
13855 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13856 member.
13857 (transitions): Switch to internal_time_t.
13858 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13859 types.
13860 (__tzfile_compute): Use internal_time_t for timer argument. Check
13861 for truncation before calling __offtime.
13862
89aacb51
FW
138632018-05-11 Florian Weimer <fweimer@redhat.com>
13864
13865 [BZ #23166]
13866 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13867 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13868 Likewise.
13869 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13870 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13871 export without --enable-obsolete-rpc.
13872 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13873 symbol. This should not have been exported, ever.
13874
bb066cb8
RL
138752018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13876
13877 [BZ #23152]
13878 * localedata/locales/gd_GB (abmon): Fix typo in May:
13879 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13880
70c97f84
SP
138812018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13882
db725a45
SP
13883 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13884 Use multiple registers to copy data in loop tail.
13885
70c97f84
SP
13886 * sysdeps/aarch64/multiarch/memmove_falkor.S
13887 (__memmove_falkor): Use multiple registers to move data in
13888 loop tail.
13889
8f5b00d3
JM
138902018-05-10 Joseph Myers <joseph@codesourcery.com>
13891
13892 * math/math-underflow.h: New file.
13893 * sysdeps/generic/math_private.h: Do not include <float.h>.
13894 (fabs_tg): Remove macro. Moved to math-underflow.h.
13895 (min_of_type_f): Likewise.
13896 (min_of_type_): Likewise.
13897 (min_of_type_l): Likewise.
13898 (min_of_type_f128): Likewise.
13899 (min_of_type): Likewise.
13900 (math_check_force_underflow): Likewise.
13901 (math_check_force_underflow_nonneg): Likewise.
13902 (math_check_force_underflow_complex): Likewise.
13903 * math/e_exp2_template.c: Include <math-underflow.h>.
13904 * math/k_casinh_template.c: Likewise.
13905 * math/s_catan_template.c: Likewise.
13906 * math/s_catanh_template.c: Likewise.
13907 * math/s_ccosh_template.c: Likewise.
13908 * math/s_cexp_template.c: Likewise.
13909 * math/s_clog10_template.c: Likewise.
13910 * math/s_clog_template.c: Likewise.
13911 * math/s_csin_template.c: Likewise.
13912 * math/s_csinh_template.c: Likewise.
13913 * math/s_csqrt_template.c: Likewise.
13914 * math/s_ctan_template.c: Likewise.
13915 * math/s_ctanh_template.c: Likewise.
13916 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13917 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13918 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13919 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13920 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13921 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13922 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13923 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13924 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13925 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13926 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13927 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13928 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13929 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13930 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13931 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13932 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13933 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13934 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13935 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13936 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13937 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13938 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13939 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13940 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13941 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13942 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13943 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13944 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13945 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13946 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13947 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13948 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13949 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13950 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13951 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13952 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13953 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13954 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13955 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13956 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13957 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13958 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13959 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13960 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13961 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13962 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13963 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13964 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13965 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13966 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13967 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13968 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13969 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13970 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13971 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13972 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13973 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13974 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13975 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13976 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13977 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13978 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13979 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13980 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13981 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13982 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13983 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13984 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13985 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13986 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13987 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13988 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13989 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13990 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13991 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13992 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13993 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13994 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13995 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13996 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13997 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13998 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13999 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14000
9ed2e15f
JM
140012018-05-09 Joseph Myers <joseph@codesourcery.com>
14002
14003 * sysdeps/generic/math-barriers.h: New file.
14004 * sysdeps/generic/math_private.h [!math_opt_barrier]
14005 (math_opt_barrier): Move to math-barriers.h.
14006 [!math_opt_barrier] (math_force_eval): Likewise.
14007 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14008 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14009 math-barriers.h.
14010 (math_force_eval): Likewise.
14011 * sysdeps/alpha/fpu/math-barriers.h: New file.
14012 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14013 math-barriers.h.
14014 (math_force_eval): Likewise.
14015 * sysdeps/x86/fpu/math-barriers.h: New file.
14016 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14017 math-barriers.h.
14018 (math_force_eval): Likewise.
14019 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14020 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14021 multiple-include guard for rename.
14022 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14023 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14024 math-barriers.h.
14025 (math_force_eval): Likewise.
14026
5460617d
PP
140272018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14028
14029 [BZ #22786]
43d4f3d5 14030 CVE-2018-11236
5460617d
PP
14031 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14032 computation.
14033 * stdlib/Makefile (test-bz22786): New test.
14034 * stdlib/test-bz22786.c: New test.
14035
aaee3cd8
JM
140362018-05-09 Joseph Myers <joseph@codesourcery.com>
14037
14038 * include/math-narrow-eval.h: New file. Contents moved from ....
14039 * sysdeps/generic/math_private.h: ... here.
14040 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14041 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14042 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14043 * stdlib/strtod_l.c: Likewise.
14044 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14045 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14046 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14047 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14048 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14049 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14050 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14051 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14052 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14053 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14054 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14055 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14056 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14057 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14058 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14059 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14060 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14061 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14062 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14063 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14064 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14065 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14066 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14067 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14068 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14069 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14070 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14071 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14072 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14073
0555c477
AS
140742018-05-08 Andreas Schwab <schwab@suse.de>
14075
14076 * sysdeps/nptl/internaltypes.h: Fix comment.
14077
50d7d351
L
140782018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14079
14080 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14081 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14082 hidden.
14083
543477f7
SP
140842018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14085
14086 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14087 of I into loop header.
14088 * benchtests/bench-memmove-walk.c
14089 (test_main): Likewise.
14090
140912018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
14092
14093 Revert:
14094 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14095 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14096
0065aaaa
PP
140972018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14098
14099 [BZ #20419]
14100 * elf/dl-load.c (open_verify): Fix stack overflow.
14101 * elf/Makefile (tst-big-note): New test.
14102 * elf/tst-big-note-lib.S: New.
14103 * elf/tst-big-note.c: New.
14104
b289cd9d
JM
141052018-05-04 Joseph Myers <joseph@codesourcery.com>
14106
14107 * scripts/abilist.awk: Ignore absolute symbols.
14108 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14109 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14110 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14111 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14112 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14113 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14114 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14115 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14116 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14117 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14118 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14119 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14120 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14121 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14122 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14123 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14124 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14125 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14126 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14127 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14128 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14129 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14130 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14131 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14132 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14133 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14134 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14135 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14136 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14137 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14138 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14139 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14140 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14141 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14142 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14143 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14144 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14145 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14146 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14147 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14148 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14149 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14150 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14151 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14152 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14153 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14154 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14155 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14156 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14157 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14158 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14159 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14160 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14161 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14162 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14163 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14164 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14165 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14166 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14167 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14168 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14169 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14170 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14171 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14172 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14173 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14174 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14175 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14176 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14177 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14178 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14179 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14180 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14181 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14182 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14183 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14184 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14185 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14186 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14187 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14188 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14189 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14190 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14191 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14192 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14193 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14194 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14195 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14196 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14197 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14198 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14199 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14200 Likewise.
14201 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14202 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14203 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14204 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14205 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14206 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14207 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14208 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14209 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14210 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14211 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14212 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14213 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14214 Likewise.
14215 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14216 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14217 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14218 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14219 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14220 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14221 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14222 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14223 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14224 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14225 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14226 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14229 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14230 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14231 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14232 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14233 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14234 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14235 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14236 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14237 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14238 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14239 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14240 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14241 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14242 Likewise.
14243 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14244 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14245 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14246 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14247 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14248 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14249 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14250 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14251 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14252 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14253 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14254 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14255 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14256 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14257 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14258 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14259 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14260 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14261 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14262 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14263 Likewise.
14264 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14265 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14266 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14267 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14268 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14269 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14270 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14271 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14272 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14273 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14274 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14275 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14276 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14277 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14278 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14279 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14280 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14281 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14282 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14283 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14284 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14285 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14286 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14287 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14288 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14289 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14290 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14291 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14296 Likewise.
14297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14302 Likewise.
14303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14304 Likewise.
14305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14307 Likewise.
14308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14310 Likewise.
14311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14312 Likewise.
14313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14316 Likewise.
14317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14318 Likewise.
14319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14320 Likewise.
14321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14325 Likewise.
14326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14332 Likewise.
14333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14335 Likewise.
14336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14337 Likewise.
14338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14339 Likewise.
14340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14341 Likewise.
14342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14345 Likewise.
14346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14347 Likewise.
14348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14349 Likewise.
14350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14351 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14352 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14353 Likewise.
14354 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14355 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14356 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14357 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14358 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14359 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14360 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14361 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14362 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14363 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14364 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14365 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14366 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14367 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14368 Likewise.
14369 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14370 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14371 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14372 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14373 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14374 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14375 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14376 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14377 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14378 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14379 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14380 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14381 Likewise.
14382 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14383 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14384 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14385 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14386 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14387 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14388 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14389 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14390 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14391 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14392 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14393 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14394 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14395 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14396 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14397 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14398 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14399 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14400 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14401 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14402 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14403 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14404 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14405 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14406 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14407 Likewise.
14408 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14409 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14410 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14411 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14412 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14413 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14414 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14415 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14416 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14417 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14418 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14419 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14420 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14421 Likewise.
14422 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14423 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14424 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14425 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14426 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14427 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14428 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14429 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14430 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14431 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14432 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14433 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14434 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14435 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14436 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14437 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14438 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14439 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14440 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14441 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14442 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14443 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14444 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14445 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14446 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14447 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14448 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14449 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14450 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14451 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14452 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14453 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14454 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14455 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14456 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14457 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14458 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14459 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14460
16609018
SL
144612018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14462
14463 [BZ #23137]
14464 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14465 Use atomic_load_acquire to load __tid.
14466
556f5c46
L
144672018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14468
14469 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14470 Restore the pointer into %rdx, after syscall and use %rdx,
14471 instead of %rsi, to restore context.
14472
8b8f32b2
L
144732018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14474
14475 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14476 Pop the pointer into %rdx after syscall and use %rdx, instead
14477 of %rsi, to restore context.
14478
d6cc1829
L
144792018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14480
14481 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14482 handlers after setjmp.
14483 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14484 defined.
14485 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14486 <libc-pointer-arith.h>.
14487 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14488 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14489 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14490 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14491 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14492 * sysdeps/x86/__longjmp_cancel.S: New file.
14493 * sysdeps/x86/longjmp.c: Likewise.
14494 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14495
cf2478d5
AZ
144962018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14497
14498 * NEWS: Add ustat.h deprecation entry.
14499 * bits/ustat.h: Remove file.
14500 * misc/sys/ustat.h: Likewise.
14501 * misc/ustat.h: Likewise.
14502 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14503 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14504 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14505 compatibility mode.
14506 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14507 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14508 generic Linux implementation.
14509
dc115e1c
TMQMF
145102018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14511
14512 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14513 * math/w_expl_compat.c: Likewise.
14514 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14515
6b5c8607 145162018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
14517
14518 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14519
c57bf7c1
AZ
145202018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14521
14522 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14523 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14524 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14525 Remove.
14526 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14528 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14529 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14530 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14531 and SYSCALL_LL64.
14532
06135c33
TMQMF
145332018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14534
33927914
TMQMF
14535 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14536
06135c33
TMQMF
14537 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14538 * math/w_asin_template.c: Likewise.
14539 * math/w_atanh_template.c: Likewise.
14540
3a33b069
GG
145412018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14542
14543 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14544 to powerpc/powerpc64/be for big-endian.
14545 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14546 little-endian.
14547
14548 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14549 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14550 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14551 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14552 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14553 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14554 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14555 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14556 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14557 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14558 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14559 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14560 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14561 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14562 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14563 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14564 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14565 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14566 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14567 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14568 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14569 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14570 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14571 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14572 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14573 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14574 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14575 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14576 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14577 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14578 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14579 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14580
14581 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14582 adjusted to imply powerpc64 and older processors on powerpc64/be.
14583 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14584 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14585 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14586 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14587 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14588 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14589 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14590 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14591 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14592 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14593 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14594 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14595 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14596 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14597 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14598 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14599 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14600 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14601 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14602 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14603 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14604 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14605 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14606 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14607 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14608 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14609 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14610 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14611 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14612 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14613 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14614
14615 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14616 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14617 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14618 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14619
14620 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14621 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14622 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14623 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14624
14625 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14626 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14627 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14628 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14629 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14630 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14631 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14632 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14633 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14634 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14635 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14636
14637 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14638 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14639 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14640 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14641 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14642 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14643 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14644 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14645 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14646 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14647 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14648
14649 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14650 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14651 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14652 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14653 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14654 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14655 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14656 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14657 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14658 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14659 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14660 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14661
14662 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14663 and adjusted to imply olders processors.
14664 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14665 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14666 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14667 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14668 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14669 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14670 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14671 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14672 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14673 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14674 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14675
14676 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14677 powerpc64/le.
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14679 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14680
14681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14682 powerpc64le.
14683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14685
14686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14687 powerpc64/be.
14688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14691
14692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14693 powerpc64 and adjusted.
14694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14697 Likewise.
14698
a3fb6b6b
JM
146992018-04-27 Joseph Myers <joseph@codesourcery.com>
14700
14701 * sysdeps/tile: Remove.
14702 * sysdeps/unix/sysv/linux/tile: Likewise.
14703 * README (tilegx-*-linux-gnu): Remove from list of supported
14704 configurations.
14705 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14706 contribution of support for generic Linux kernel syscall
14707 interface.
14708 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14709 tilegx configurations.
14710 (Config.install_linux_headers): Do not handle tile.
14711 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14712 in comment.
14713 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14714 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14715 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14716 conditional undefine and redefine.
14717 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14718 in comment.
14719 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14720 conditional undefine and redefine.
14721
7a6f7478
AJ
147222018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14723
14724 * signal/tst-sigaction.c: New file to test BZ #23069.
14725 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14726
81b49e96
TMQMF
147272018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14728
14729 [BZ #22766]
14730 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14731 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14732 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14733 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14734
7d80f48e
AZ
147352018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14736
14737 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14738 _DIRENT_MATCHES_DIRENT64 is not defined.
14739 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14740 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14741 is defined.
14742 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14743 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14744
42a2bf58
JM
147452018-04-25 Joseph Myers <joseph@codesourcery.com>
14746
14747 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14748 version to GCC 8 branch.
14749
9320ca88
JM
147502018-04-24 Joseph Myers <joseph@codesourcery.com>
14751
5e14bb97
JM
14752 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14753 (check_no_hidden): Use type of original function when declaring
14754 alias.
14755
9320ca88
JM
14756 * sysdeps/unix/sysv/linux/sys/ptrace.h
14757 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14758 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14759 (struct __ptrace_seccomp_metadata): New type.
14760 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14761 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14762 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14763 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14764 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14765 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14766 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14767 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14768 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14769 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14770 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14771 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14772 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14773 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14774 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14775 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14776
af7e376b
AZ
147772018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14778
14779 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14780 defined.
14781 * dirent/versionsort.c (versionsort): Likewise.
14782 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14783 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14784 * dirent/versionsort64.c (versionsort64): Likewise.
14785 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14786 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14787 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14788 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14789 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14790 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14791 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14792 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14793 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14794 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14797 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14798 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14799
da5e0361
JM
148002018-04-23 Joseph Myers <joseph@codesourcery.com>
14801
14802 * elf/elf.h (NT_PPC_PKEY): New macro.
14803
6b5c8607 148042018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
14805
14806 [BZ #23094]
14807 * localedata/locales/hr_HR: fix thousands_sep and
14808 mon_thousands_sep
14809
573963e3
JM
148102018-04-20 Joseph Myers <joseph@codesourcery.com>
14811
14812 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14813 (XTABS): Define to TAB3.
14814
c0123b3b
AZ
148152018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14816
0900a849
AZ
14817 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14818
c0123b3b
AZ
14819 * dirent/scandir-tail-common.c: New file.
14820 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14821 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14822 * dirent/scandir.c: Use scandir-tail-common.c.
14823 * dirent/scandirat.c: Likewise.
14824 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14825 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14826 if _DIRENT_MATCHES_DIRENT64 is defined.
14827 * dirent/scandirat64.c (scandirat64): Likewise.
14828 * include/dirent.h (__scandir_tail): Only define iff
14829 _DIRENT_MATCHES_DIRENT64 is not defined.
14830 (__scandir64_tail): Define regardless.
14831 (__scandirat, scandirat64): Remove libc_hidden_proto.
14832 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14833 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14835 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14836 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14837 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14838 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14839
458b94f6
JM
148402018-04-20 Joseph Myers <joseph@codesourcery.com>
14841
14842 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14843 New macro.
14844 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14845 Increase to 24.
14846 (_dl_aarch64_cap_flags): Add asimdfhm.
14847
9f0437e8
CLT
148482018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14849
14850 * sysdeps/nios2/libm-test-ulps: Update.
14851
298d0e31
AZ
148522018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14853
50511ca4
AZ
14854 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14855 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14856
298d0e31
AZ
14857 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14858 requirements.
6b5c8607 14859 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
14860 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14861 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14862 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14863 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14864 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14865 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14866 use getdents64 syscalls as base.
14867 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14868 symbol if required.
14869 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14870 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14871 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14872 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14873 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14874 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14875 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14876 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14877 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14878 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14879 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14880
0085be14
SL
148812018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14882
14883 * scripts/test_printers_common.py (init_test): Disable lock elision.
14884
da796524
SL
148852018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14886
14887 * math/test-tgmath.c (count_double, count_float,
14888 count_ldouble, count_cdouble, count_cfloat,
14889 count_cldouble): Use volatile int.
14890
0dd25301
ST
148912018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14892
14893 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14894 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 14895 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
14896 i386-gnu.
14897 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14898 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14899 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14900 msqid_ds.msg_lrpid): Likewise.
14901 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14902 Likewise.
14903 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14904 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
14905 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14906 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14907 unsigned int.
14908 (struct statvfs64): Likewise.
f55a4fde
ST
14909 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14910 Likewise.
77b93390
ST
14911 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14912 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14913 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14914 instead of wait_queue.
14915 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14916 instead of vm_area_struct.
5cd2931a
ST
14917 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14918 struct sched_param definition to it.
e60c3f2b
ST
14919 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14920 * bits/types/struct_sched_param.h: New file.
14921 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14922 <bits/types/struct_sched_param.h> instead of <sched.h>.
14923 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
14924 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14925 generic version but include <bits/pthreadtypes.h> to make struct
14926 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
14927 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14928 non-compliant.
a564872d
ST
14929 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14930 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14931 [__USE_XOPEN] (OFDEL): New macro.
14932 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 14933 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
14934 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14935 prototypes.
14936 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14937 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
14938 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14939 non-compliant.
14940 * sysdeps/i386/sys/ucontext.h: Likewise.
14941 * sysdeps/m68k/sys/ucontext.h: Likewise.
14942 * sysdeps/mips/sys/ucontext.h: Likewise.
14943 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
14944 * sysdeps/mach/hurd/i386/Makefile
14945 (test-xfail-POSIX/fcntl.h/conform): Add.
14946 (test-xfail-POSIX/signal.h/conform): Add.
14947 (test-xfail-POSIX/semaphore.h/conform): Add.
14948 (test-xfail-POSIX/regex.h/conform): Add.
14949 (test-xfail-POSIX/aio.h/conform): Add.
14950 (test-xfail-POSIX/mqueue.h/conform): Add.
14951 (test-xfail-POSIX/sys/types.h/conform): Add.
14952 (test-xfail-UNIX98/fcntl.h/conform): Add.
14953 (test-xfail-UNIX98/netdb.h/conform): Add.
14954 (test-xfail-UNIX98/signal.h/conform): Add.
14955 (test-xfail-UNIX98/semaphore.h/conform): Add.
14956 (test-xfail-UNIX98/regex.h/conform): Add.
14957 (test-xfail-UNIX98/aio.h/conform): Add.
14958 (test-xfail-UNIX98/ftw.h/conform): Add.
14959 (test-xfail-UNIX98/mqueue.h/conform): Add.
14960 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14961 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14962 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14963 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14964 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14965 (test-xfail-UNIX98/sys/types.h/conform): Add.
14966 (test-xfail-UNIX98/stdlib.h/conform): Add.
14967 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14968 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14969 (test-xfail-POSIX2008/netdb.h/conform): Add.
14970 (test-xfail-POSIX2008/signal.h/conform): Add.
14971 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14972 (test-xfail-POSIX2008/regex.h/conform): Add.
14973 (test-xfail-POSIX2008/aio.h/conform): Add.
14974 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14975 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14976 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14977 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14978 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14979 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14980 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14981 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14982 (test-xfail-XOPEN2K/signal.h/conform): Add.
14983 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14984 (test-xfail-XOPEN2K/regex.h/conform): Add.
14985 (test-xfail-XOPEN2K/aio.h/conform): Add.
14986 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14987 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14988 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14989 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14990 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14991 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14992 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14993 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14994 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14995 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14996 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14997 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14998 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14999 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15000 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15001 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15002 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15003 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15004 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15005 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15006 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15007 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15008 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15009 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15010 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15011 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
15012 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15013 i386-gnu.
15014 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15015 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 15016
d6397de3
JM
150172018-04-18 Joseph Myers <joseph@codesourcery.com>
15018
15019 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15020 --enable-obsolete for powerpc-linux-gnuspe.
15021
8323a902
ST
150222018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15023
3dc0814c 15024 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 15025 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 15026 prototypes.
c5896a45
ST
15027 * sysdeps/mach/include/mach.h: Likewise.
15028 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15029 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 15030
743b9c2a
AZ
150312018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15032
15033 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15034 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15035 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15036 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15037
326e74e7
AS
150382018-04-16 Andreas Schwab <schwab@suse.de>
15039
15040 [BZ #19527]
15041 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15042
6b5c8607 150432018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
15044
15045 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15046 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15047
a700e7cb
DD
150482018-04-12 DJ Delorie <dj@redhat.com>
15049
15050 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15051 version to 4.16.
15052
d8abfab7
SL
150532018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15054
15055 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15056 (struct kernel_sigaction): Use the same definition on 31bit as is used
15057 on 64bit.
15058
583a27d5
FW
150592018-04-09 Florian Weimer <fweimer@redhat.com>
15060
15061 [BZ #23037]
15062 * resolv/res_send.c (send_dg): Use designated initializers instead
15063 of assignment to zero-initialize other fields of struct mmsghdr.
15064
243f59e5
AZ
150652018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15066
942de61a
AZ
15067 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15068 __READDIR_ALIAS): Undefine after usage.
15069 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15070 __READDIR_R_ALIAS): Likewise.
15071 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15072 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15073 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15074 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15075 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15076 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15077 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15078 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15079 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15080 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15081 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15082 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15083 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15084 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15085 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15086 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15087 * sysdeps/unix/sysv/linux/readdir.c: New file.
15088 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15089 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15090 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15091
243f59e5
AZ
15092 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15093
690c3475
AS
150942018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15095
15096 * manual/charset.texi (Converting a Character): Fix typo.
15097
6b5c8607 150982018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 15099
bbc2062a
AZ
15100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15101
fa7c6199
AZ
15102 * sysdeps/arm/libm-test-ulps: Update.
15103
b4a5d26d
AZ
15104 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15105 as base implementation.
15106 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15107 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15108 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15109 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15110 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15111 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15112 remove unrequired definitions and update comments.
15113 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15114 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15115 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15116 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15117 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15118 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15119 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15120 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15121 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15122 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15123 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15124 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15125 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15126 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15127 and RESET_SA_RESTORER hooks.
15128
db9e55ff
SL
151292018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15130
15131 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15132
cf138b0c
FW
151332018-04-05 Florian Weimer <fweimer@redhat.com>
15134
15135 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15136 integer overflow, memory leak on error, and indeterminate errno
15137 value. Add a null wide character to terminate the result string.
15138 * manual/charset.texi (Converting a Character): Mention embedded
15139 null bytes in the mbrtowc input string. Explain what happens in
15140 the -2 result case. Do not claim that mbrtowc is simple or
15141 obvious to use. Adjust the description of the code example. Use
15142 @code, not @var, for concrete variables.
15143
0f339252
FW
151442018-04-05 Florian Weimer <fweimer@redhat.com>
15145
15146 * manual/examples/mbstouwcs.c: New file.
15147 * manual/charset.texi (Converting a Character): Include it.
15148
e5f9508a
ST
151492018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15150
c120981d
ST
15151 * include/dirent.h (dirfd): Add hidden proto.
15152 * dirent/dirfd.c (dirfd): Add hidden def.
15153 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15154 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 15155
b2fd61ca
TMQMF
151562018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15157
15158 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15159 sin, cos and sincos to 1 ULP.
15160
10a446dd
MR
151612018-04-04 Maciej W. Rozycki <macro@mips.com>
15162
e7feec37
MR
15163 [BZ #19818]
15164 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15165 symbols.
15166 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15167 * elf/tst-absolute-sym.c: New file.
15168 * elf/tst-absolute-sym-lib.c: New file.
15169 * elf/tst-absolute-sym-lib.lds: New file.
15170 * elf/Makefile (tests): Add `tst-absolute-sym'.
15171 (modules-names): Add `tst-absolute-sym-lib'.
15172 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15173 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15174 ($(objpfx)tst-absolute-sym): New dependency.
15175
10a446dd
MR
15176 [BZ #19818]
15177 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15178 parameter.
15179 (SYMBOL_ADDRESS): New macro.
15180 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15181 SYMBOL_ADDRESS for symbol address calculation.
15182 * elf/dl-runtime.c (_dl_fixup): Likewise.
15183 (_dl_profile_fixup): Likewise.
15184 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15185 * elf/rtld.c (dl_main): Likewise.
15186 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15187 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15188 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15189 (elf_machine_rela): Likewise.
15190 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15191 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15192 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15193 (elf_machine_rela): Likewise.
15194 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15195 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15196 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15197 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15198 Likewise.
15199 (elf_machine_reloc): Likewise.
15200 (elf_machine_got_rel): Likewise.
15201 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15202 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15203 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15204 Likewise.
15205 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15206 Likewise.
15207 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15208 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15209 Likewise.
15210 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15211 Likewise.
15212 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15213 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15214 Likewise.
15215 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15216 Likewise.
15217 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15218 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15219
9185f86d
ZW
152202018-04-04 Zack Weinberg <zackw@panix.com>
15221
15222 * sysdeps/generic/internal-signals.h: Include signal.h,
15223 sigsetops.h, and stdbool.h.
15224 (__libc_signal_block_all): Actually block all signals.
15225 (__libc_signal_block_app): Likewise.
15226 (__libc_signal_restore_set): Actually restore the signal mask.
15227
b07367bc
FW
152282018-04-04 Florian Weimer <fweimer@redhat.com>
15229
15230 inet: Actually build and run tst-deadline.
15231 * inet/Makefile (tests-internal): Add tst-deadline and do not
15232 overwrite the variable.
15233 (tests-static-internal): Remove variable.
15234
f2652643
L
152352018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15236
15237 [BZ #22947]
15238 * bits/uio-ext.h (RWF_APPEND): New.
15239 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15240 * manual/llio.texi: Document RWF_APPEND.
15241 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15242 (RWF_SUPPORTED): Add RWF_APPEND.
15243
6b5c8607 152442018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
15245
15246 [BZ #22391]
15247 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15248 check for internal nptl signals.
15249 * nptl/sigaction.c (__sigaction): Likewise.
15250 * signal/sigaddset.c (sigaddset): Likewise.
15251 * signal/sigdelset.c (sigdelset): Likewise.
15252 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15253 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15254 value.
15255 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15256 to filter out internal nptl signals.
15257 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15258 also check realtime signals using standard macros.
15259 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15260 __is_internal_signal, __libc_signal_block_all,
15261 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15262 * sysdeps/nptl/sigfillset.c: Remove file.
15263 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15264 Change return to bool.
15265 (__clear_internal_signals): Remove SIGTIMER clean since it is
15266 equal to SIGCANEL on Linux.
15267 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15268 signal set was constructed using standard functions.
15269
511ed56f
ST
152702018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15271
92846492
ST
15272 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15273 ifname is too long.
e8ef51b1
ST
15274 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15275 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
15276 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15277 hidden def.
15278 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
15279 * signal/sigaddset.c: Include <sigsetopts.h>.
15280 * signal/sigdelset.c: Likewise.
511ed56f 15281
e88ecbbf
WD
152822018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15283
15284 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15285 (__cos): Likewise.
15286 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15287 logic as sin and cos.
15288
aef3e255
WD
152892018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15290
15291 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15292 inputs. Return correct sign.
15293 (do_sincos): Remove small input check before do_sin, let do_sin set
15294 the sign.
15295 (__sin): Likewise.
15296 (__cos): Likewise.
15297
72f6e9a3
WD
152982018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15299
15300 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15301 (do_cos_slow): Likewise.
15302 (do_sin_slow): Likewise.
15303 (reduce_and_compute): Likewise.
15304 (slow): Likewise.
15305 (slow1): Likewise.
15306 (slow2): Likewise.
15307 (sloww): Likewise.
15308 (sloww1): Likewise.
15309 (sloww2): Likewise.
15310 (bslow): Likewise.
15311 (bslow1): Likewise.
15312 (bslow2): Likewise.
15313 (cslow2): Likewise.
15314
64909583
WD
153152018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15316
15317 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15318 (do_cos): Remove corp parameter and calculations.
15319 (do_sin): Likewise.
15320 (do_sincos): Remove cor variable.
15321 (__sin): Use do_sincos for huge inputs.
15322 (__cos): Likewise.
15323 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15324 (reduce_and_compute_sincos): Remove unused function.
15325
d9469deb
WD
153262018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15327
15328 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15329 reduce_sincos, improve accuracy to 136 bits.
15330 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15331 (__sin): Use improved reduction and simplified do_sincos calculation.
15332 (__cos): Likewise.
15333 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15334
7a5640f2
WD
153352018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15336
15337 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15338 (do_sincos_2): Likewise.
15339 (__sin): Remove middle range reduction case.
15340 (__cos): Likewise.
15341 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15342 reduction case.
15343
19a8b9a3
WD
153442018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15345
15346 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15347 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15348 inputs.
15349 (__cos): Likewise.
15350 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15351
f72aa11d
JM
153522018-04-03 Joseph Myers <joseph@codesourcery.com>
15353
15354 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 15355 version to 4.16
f72aa11d 15356
8e4754ed
AZ
153572018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15358
15359 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15360 Remove definitions.
15361 (opendir_oflags): Use O_DIRECTORY regardless.
15362 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15363 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15364
8e2666ea
ST
153652018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15366
15367 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15368 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15369 macros.
15370 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15371 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15372 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15373 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
15374 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15375 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 15376
ad2b41bf
ST
15377 * htl/Makefile: Bump licence to LGPL 2.1+.
15378 * htl/alloca_cutoff.c: Likewise.
15379 * htl/cthreads-compat.c: Likewise.
15380 * htl/lockfile.c: Likewise.
15381 * htl/pt-alloc.c: Likewise.
15382 * htl/pt-cancel.c: Likewise.
15383 * htl/pt-cleanup.c: Likewise.
15384 * htl/pt-create.c: Likewise.
15385 * htl/pt-dealloc.c: Likewise.
15386 * htl/pt-detach.c: Likewise.
15387 * htl/pt-exit.c: Likewise.
15388 * htl/pt-getattr.c: Likewise.
15389 * htl/pt-initialize.c: Likewise.
15390 * htl/pt-internal.h: Likewise.
15391 * htl/pt-join.c: Likewise.
15392 * htl/pt-self.c: Likewise.
15393 * htl/pt-setcancelstate.c: Likewise.
15394 * htl/pt-setcanceltype.c: Likewise.
15395 * htl/pt-sigmask.c: Likewise.
15396 * htl/pt-spin-inlines.c: Likewise.
15397 * htl/pt-testcancel.c: Likewise.
15398 * htl/pt-yield.c: Likewise.
15399 * htl/tests/test-1.c: Likewise.
15400 * htl/tests/test-10.c: Likewise.
15401 * htl/tests/test-11.c: Likewise.
15402 * htl/tests/test-12.c: Likewise.
15403 * htl/tests/test-13.c: Likewise.
15404 * htl/tests/test-14.c: Likewise.
15405 * htl/tests/test-15.c: Likewise.
15406 * htl/tests/test-16.c: Likewise.
15407 * htl/tests/test-17.c: Likewise.
15408 * htl/tests/test-2.c: Likewise.
15409 * htl/tests/test-3.c: Likewise.
15410 * htl/tests/test-4.c: Likewise.
15411 * htl/tests/test-5.c: Likewise.
15412 * htl/tests/test-6.c: Likewise.
15413 * htl/tests/test-7.c: Likewise.
15414 * htl/tests/test-8.c: Likewise.
15415 * htl/tests/test-9.c: Likewise.
15416 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15417 * sysdeps/htl/bits/cancelation.h: Likewise.
15418 * sysdeps/htl/bits/pthread-np.h: Likewise.
15419 * sysdeps/htl/bits/pthread.h: Likewise.
15420 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15421 * sysdeps/htl/bits/semaphore.h: Likewise.
15422 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15423 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15424 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15425 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15426 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15427 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15428 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15429 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15430 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15431 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15432 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15433 * sysdeps/htl/old_pt-atfork.c: Likewise.
15434 * sysdeps/htl/pt-atfork.c: Likewise.
15435 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15436 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15437 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15438 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15439 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15440 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15441 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15442 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15443 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15444 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15445 * sysdeps/htl/pt-attr-init.c: Likewise.
15446 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15447 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15448 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15449 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15450 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15451 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15452 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15453 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15454 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15455 * sysdeps/htl/pt-attr.c: Likewise.
15456 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15457 * sysdeps/htl/pt-barrier-init.c: Likewise.
15458 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15459 * sysdeps/htl/pt-barrier.c: Likewise.
15460 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15461 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15462 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15463 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15464 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15465 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15466 * sysdeps/htl/pt-cond-init.c: Likewise.
15467 * sysdeps/htl/pt-cond-signal.c: Likewise.
15468 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15469 * sysdeps/htl/pt-cond-wait.c: Likewise.
15470 * sysdeps/htl/pt-cond.c: Likewise.
15471 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15472 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15473 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15474 * sysdeps/htl/pt-condattr-init.c: Likewise.
15475 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15476 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15477 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15478 * sysdeps/htl/pt-equal.c: Likewise.
15479 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15480 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15481 * sysdeps/htl/pt-getschedparam.c: Likewise.
15482 * sysdeps/htl/pt-getspecific.c: Likewise.
15483 * sysdeps/htl/pt-init-specific.c: Likewise.
15484 * sysdeps/htl/pt-key-create.c: Likewise.
15485 * sysdeps/htl/pt-key-delete.c: Likewise.
15486 * sysdeps/htl/pt-key.h: Likewise.
15487 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15488 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15489 * sysdeps/htl/pt-mutex-init.c: Likewise.
15490 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15491 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15492 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15493 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15494 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15495 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15496 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15497 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15498 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15499 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15500 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15501 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15502 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15503 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15504 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15505 * sysdeps/htl/pt-mutexattr.c: Likewise.
15506 * sysdeps/htl/pt-once.c: Likewise.
15507 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15508 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15509 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15510 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15511 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15512 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15513 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15514 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15515 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15516 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15517 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15518 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15519 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15520 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15521 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15522 * sysdeps/htl/pt-setschedparam.c: Likewise.
15523 * sysdeps/htl/pt-setschedprio.c: Likewise.
15524 * sysdeps/htl/pt-setspecific.c: Likewise.
15525 * sysdeps/htl/pt-spin.c: Likewise.
15526 * sysdeps/htl/pt-startup.c: Likewise.
15527 * sysdeps/htl/pthread.h: Likewise.
15528 * sysdeps/htl/sem-close.c: Likewise.
15529 * sysdeps/htl/sem-destroy.c: Likewise.
15530 * sysdeps/htl/sem-getvalue.c: Likewise.
15531 * sysdeps/htl/sem-init.c: Likewise.
15532 * sysdeps/htl/sem-open.c: Likewise.
15533 * sysdeps/htl/sem-post.c: Likewise.
15534 * sysdeps/htl/sem-timedwait.c: Likewise.
15535 * sysdeps/htl/sem-trywait.c: Likewise.
15536 * sysdeps/htl/sem-unlink.c: Likewise.
15537 * sysdeps/htl/sem-wait.c: Likewise.
15538 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15539 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15540 * sysdeps/mach/htl/pt-block.c: Likewise.
15541 * sysdeps/mach/htl/pt-spin.c: Likewise.
15542 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15543 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15544 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15545 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15546 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15547 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15548 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15549 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15550 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15551 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15552 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15553 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15554 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15555 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15556 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15557 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15558 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15559 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15560 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15561 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15562 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15563 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15564 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15565 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15566 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15567 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15568 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15569 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15570 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15571 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15572 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15573 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15574 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15575 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15576 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15577 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15578 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15579 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15580 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15581 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15582 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15583 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15584 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15585
fb03b04b
ST
15586 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15587 * README: Remove the mention of out-of-tree patches needed for
15588 GNU/Hurd.
15589
fa9e1555
ST
15590 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15591 (UTIME_NOW, UTIME_OMIT): Define macros.
15592
f6fb29d2
ST
15593 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15594 instead of pthread_detach.
15595 (__cthread_fork): Call __pthread_create instead of pthread_create.
15596 (__cthread_keycreate): Call __pthread_key_create instead of
15597 pthread_key_create.
15598 (__cthread_getspecific): Call __pthread_getspecific instead of
15599 pthread_getspecific.
15600 (__cthread_setspecific): Call __pthread_setspecific instead of
15601 pthread_setspecific.
15602 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15603 __pthread_mutex_unlock instead of pthread_mutex_lock and
15604 pthread_mutex_unlock.
15605 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15606 ___pthread_get_cleanup_stack.
15607 (__pthread_get_cleanup_stack): New strong alias.
15608 * htl/pt-create.c: Include <pthreadP.h>.
15609 (entry_point): Call __pthread_exit instead of pthread_exit.
15610 (pthread_create): Rename to __pthread_create.
15611 (pthread_create): New strong alias.
15612 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15613 (pthread_detach): New strong alias.
15614 (__pthread_detach): Call __pthread_cond_broadcast instead of
15615 pthread_cond_broadcast.
fe9748cc
ST
15616 * htl/pt-exit.c: Include <pthreadP.h>.
15617 (__pthread_exit): Call __pthread_setcancelstate and
15618 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15619 __pthread_get_cleanup_stack.
f6fb29d2
ST
15620 * htl/pt-testcancel.c: Include <pthreadP.h>.
15621 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15622 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15623 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15624 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15625 pthread_attr_getstacksize.
15626 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15627 Rename to __pthread_attr_getstackaddr.
15628 (pthread_attr_getstackaddr): New strong alias.
15629 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15630 Rename to __pthread_attr_getstacksize.
15631 (pthread_attr_getstacksize): New strong alias.
15632 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15633 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15634 (pthread_attr_setstack): New strong alias.
15635 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15636 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15637 pthread_attr_getstacksize, pthread_attr_setstacksize and
15638 pthread_attr_setstackaddr.
15639 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15640 Rename to __pthread_attr_setstackaddr.
15641 (pthread_attr_setstackaddr): New strong alias.
15642 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15643 Rename to __pthread_attr_setstacksize.
15644 (pthread_attr_setstacksize): New strong alias.
15645 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15646 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15647 pthread_exit.
15648 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15649 (__pthread_key_create): New hidden def.
15650 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15651 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15652 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15653 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15654 __pthread_setspecific, __pthread_setcancelstate,
15655 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15656 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15657 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15658 declarations.
15659 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15660 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15661 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15662 (pthread_attr_setstackaddr): New strong alias.
15663 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15664 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15665 (pthread_attr_setstacksize): New strong alias.
15666 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15667 (call_exit): Call __pthread_exit instead of pthread_exit.
15668 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15669 (_pthread_mutex_init): New hidden definition.
15670 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15671 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15672 instead of pthread_attr_init and pthread_attr_setstack.
15673
dba2bdbe
ST
15674 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15675 __vm_deallocate instead of vm_allocate and vm_deallocate.
15676 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15677 setenv.
15678 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15679 of geteuid.
15680 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15681 strdup.
15682 * hurd/siginfo.c: Include <libioP.h>.
15683 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15684 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15685 munmap.
dba2bdbe
ST
15686 * mach/devstream.c: Include <libioP.h>.
15687 (dealloc_ref): Call __mach_port_deallocate instead of
15688 mach_port_deallocate.
15689 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15690 Call __mach_port_deallocate instead of mach_port_deallocate.
15691 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15692 pathconf.
15693 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15694 munmap.
15695 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15696 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15697 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15698 of munmap.
15699 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15700 of close.
15701 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15702 instead of sysconf.
15703 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15704 __clock_gettime instead of clock_gettime.
15705 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15706 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15707 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15708 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15709 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15710 tcgetattr.
15711 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15712 __clock_gettime and __nanosleep instead of clock_gettime and
15713 nanosleep.
7a8f45e3
ST
15714 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15715 __hurd_catch_signal.
15716 (hurd_catch_signal): New strong alias.
15717 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15718 __hurd_catch_signal instead of hurd_catch_signal.
15719 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15720 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15721 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15722 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15723 (_hurd_thread_sigstate): Add hidden def.
15724 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15725 mutex_unlock.
15726 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15727 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15728 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15729 __hurd_file_name_path_lookup.
15730 (hurd_file_name_path_lookup): New strong alias.
15731 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15732 hurd_file_name_path_lookup.
15733 * mach/errstring.c (mach_error_type): Add hidden def.
15734 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15735 * mach/mutex-init.c (__mutex_init): Add hidden def.
15736 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15737 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15738 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15739 * sysdeps/mach/hurd/getcwd.c
15740 (_hurd_canonicalize_directory_name_internal): Rename to
15741 __hurd_canonicalize_directory_name_internal.
15742 (_hurd_canonicalize_directory_name_internal): New strong alias.
15743 (__canonicalize_directory_name_internal, __getcwd): Call
15744 __hurd_canonicalize_directory_name_internal instead of
15745 _hurd_canonicalize_directory_name_internal.
15746 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15747 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15748 hidden defs.
15749 * sysdeps/hurd/include/hurd.h: New file.
15750 * sysdeps/hurd/include/hurd/fd.h: New file.
15751 * sysdeps/hurd/include/hurd/signal.h: New file.
15752 * sysdeps/mach/include/lock-intern.h: New file.
15753 * sysdeps/mach/include/mach.h: New file.
15754 * sysdeps/mach/include/mach/mig_support.h: New file.
15755 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
15756 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15757 prototype.
15758 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15759 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15760 _HEADER_H_HIDDEN_DEF macro.
15761 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15762 _hurd_fd_error_signal): Add hidden prototype.
15763 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15764 hidden def.
82dbf555
ST
15765 * libio/iolibio.h (_IO_puts): New hidden prototype.
15766 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
15767 * sysdeps/mach/hurd/localplt.data: New file.
15768
33574c17 157692018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
15770 Amos Jeffries <squid3@treenet.co.nz>
15771 David Michael <fedora.dm0@gmail.com>
15772 Marco Gerards <marco@gnu.org>
15773 Marcus Brinkmann <marcus@gnu.org>
15774 Neal H. Walfield <neal@gnu.org>
15775 Pino Toscano <toscano.pino@tiscali.it>
15776 Richard Braun <rbraun@sceen.net>
15777 Roland McGrath <roland@gnu.org>
15778 Samuel Thibault <samuel.thibault@ens-lyon.org>
15779 Thomas DiModica <ricinwich@yahoo.com>
15780 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
15781
15782 * htl: New directory.
15783 * sysdeps/htl: New directory.
15784 * sysdeps/hurd/htl: New directory.
15785 * sysdeps/i386/htl: New directory.
15786 * sysdeps/mach/htl: New directory.
15787 * sysdeps/mach/hurd/htl: New directory.
15788 * sysdeps/mach/hurd/i386/htl: New directory.
15789 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15790 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15791 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15792
03e2aa50
ST
157932018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15794
15795 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15796 signals in thread created for runing timers.
15797
1aa52ced
FW
157982018-04-01 Florian Weimer <fweimer@redhat.com>
15799
15800 * support/support_format_addrinfo.c (support_format_addrinfo):
15801 Include unknown error number in formatted result.
15802
4d76d3e5
FW
158032018-03-29 Florian Weimer <fweimer@redhat.com>
15804
15805 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15806 capture SIGBUS.
15807
d39c0a45
AZ
158082018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15809
15810 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15811 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15812 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15813 (__ASSUME_CLONE_BACKWARDS): Define.
15814
cc8a1620
JH
158152018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15816
57408435 15817 [BZ #23024]
cc8a1620
JH
15818 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15819 early when linux sentinel value is set.
15820
8bfd94d0
ST
158212018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15822
15823 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15824
f178e59f
AS
158252018-03-27 Andreas Schwab <schwab@suse.de>
15826
15827 [BZ #23005]
15828 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15829 allocation of private copy of nsaddr_list fails.
15830
5f45f96a
JM
158312018-03-26 Joseph Myers <joseph@codesourcery.com>
15832
15833 [BZ #16552]
15834 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15835 * sysdeps/unix/sysv/linux/umount.c: ... here.
15836 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15837 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15838 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15839 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15841 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15842 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15843
3dfd23eb
AS
158442018-03-26 Andreas Schwab <schwab@suse.de>
15845
15846 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15847 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15848 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15849 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15850 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15851 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15852 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15853 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15854 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15855 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15856 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15857 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15858 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15859 (R_RISCV_NUM): Define.
15860
fa97d2ab
ST
158612018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15862
15863 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15864 TLS declaration of errno.
37be82a0
ST
15865 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15866 __libc_setup_tls.
15867 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15868 (ARCH_SETUP_TLS): Likewise.
15869 * sysdeps/mach/hurd/libc-start.h: New file copied from
15870 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
15871 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15872 instead of __libc_setup_tls.
37be82a0 15873 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
15874 __libc_setup_tls before initializing libpthread and running _hurd_init
15875 which starts the signal thread.
15876 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15877 Declare function.
2d813d7b 15878 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 15879
b8114edd
L
158802018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15881
15882 [BZ #22998]
15883 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15884 after it is defined.
15885
cd66c0e5
AS
158862018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15887 Max Horn <max@quendi.de>
15888
15889 [BZ #22644]
43d4f3d5 15890 CVE-2017-18269
cd66c0e5
AS
15891 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15892 branch conditions.
15893 * string/test-memmove.c (do_test2): New testcase.
15894
a4406139
JM
158952018-03-22 Joseph Myers <joseph@codesourcery.com>
15896
15897 * sysdeps/generic/frame.h: Remove file.
15898 * sysdeps/arm/frame.h: Likewise.
15899 * sysdeps/hppa/frame.h: Likewise.
15900 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15901 macro.
15902 (GET_FRAME): Likewise.
15903 (GET_STACK): Likewise.
15904 (CALL_SIGHANDLER): Likewise.
15905 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15906 Likewise.
15907 (GET_FRAME): Likewise.
15908 (GET_STACK): Likewise.
15909 (CALL_SIGHANDLER): Likewise.
15910 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15911 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15912 (GET_FRAME): Likewise.
15913 (GET_STACK): Likewise.
15914 (CALL_SIGHANDLER): Likewise.
15915 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15916 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15917 (GET_FRAME): Likewise.
15918 (GET_STACK): Likewise.
15919 (ADVANCE_STACK_FRAME): Likewise.
15920 (CALL_SIGHANDLER): Likewise.
15921 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15922 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15923 (GET_FRAME): Likewise.
15924 (GET_STACK): Likewise.
15925 (CALL_SIGHANDLER): Likewise.
15926 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15927 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15928 (GET_FRAME): Likewise.
15929 (GET_STACK): Likewise.
15930 (CALL_SIGHANDLER): Likewise.
15931 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15932 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15933 (GET_FRAME): Likewise.
15934 (GET_STACK): Likewise.
15935 (CALL_SIGHANDLER): Likewise.
15936 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15937 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15938 (GET_FRAME): Likewise.
15939 (GET_STACK): Likewise.
15940 (CALL_SIGHANDLER): Likewise.
15941 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15942 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15943 (GET_FRAME): Likewise.
15944 (GET_STACK): Likewise.
15945 (CALL_SIGHANDLER): Likewise.
15946 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15947 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15948 (GET_FRAME): Likewise.
15949 (GET_STACK): Likewise.
15950 (CALL_SIGHANDLER): Likewise.
15951 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15952 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15953 (GET_FRAME): Likewise.
15954 (GET_STACK): Likewise.
15955 (CALL_SIGHANDLER): Likewise.
15956 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15957 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15958 (GET_FRAME): Likewise.
15959 (GET_STACK): Likewise.
15960 (CALL_SIGHANDLER): Likewise.
15961 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15962 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15963 (GET_FRAME): Likewise.
15964 (GET_STACK): Likewise.
15965 (CALL_SIGHANDLER): Likewise.
15966 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15967 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15968 (FIRST_FRAME_POINTER): Likewise.
15969 (ADVANCE_STACK_FRAME): Likewise.
15970 (GET_STACK): Likewise.
15971 (GET_FRAME): Likewise.
15972 (CALL_SIGHANDLER): Likewise.
15973 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15974 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15975 (ADVANCE_STACK_FRAME): Likewise.
15976 (GET_STACK): Likewise.
15977 (GET_FRAME): Likewise.
15978 (CALL_SIGHANDLER): Likewise.
15979 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15980 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15981 (GET_FRAME): Likewise.
15982 (GET_STACK): Likewise.
15983 (CALL_SIGHANDLER): Likewise.
15984 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15985 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15986 (GET_FRAME): Likewise.
15987 (GET_STACK): Likewise.
15988 (CALL_SIGHANDLER): Likewise.
15989
ffec7b27
JM
159902018-03-21 Joseph Myers <joseph@codesourcery.com>
15991
15992 * sysdeps/x86_64/backtrace.c: Move to ....
15993 * debug/backtrace.c: ... here.
15994 * sysdeps/aarch64/backtrace.c: Remove file.
15995 * sysdeps/alpha/backtrace.c: Likewise.
15996 * sysdeps/hppa/backtrace.c: Likewise.
15997 * sysdeps/ia64/backtrace.c: Likewise.
15998 * sysdeps/mips/backtrace.c: Likewise.
15999 * sysdeps/nios2/backtrace.c: Likewise.
16000 * sysdeps/riscv/backtrace.c: Likewise.
16001 * sysdeps/sh/backtrace.c: Likewise.
16002 * sysdeps/tile/backtrace.c: Likewise.
16003
8a07b0c4
JM
160042018-03-20 Joseph Myers <joseph@codesourcery.com>
16005
d0c5d731
JM
16006 [BZ #22987]
16007 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16008 function.
16009 (fdimf): Likewise.
16010 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16011
8a07b0c4
JM
16012 [BZ #17343]
16013 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16014 possibly overflowing computations.
16015
ceb54b9b
ST
160162018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16017
16018 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16019 values from Linux-specific section now that it is in the GNU section.
16020 * sysdeps/gnu/errlist.c: Regenerate.
16021
8d3f9e85
JM
160222018-03-20 Joseph Myers <joseph@codesourcery.com>
16023
16024 * math/Makefile (libm-narrow-fns): Add sub.
16025 (libm-test-funcs-narrow): Likewise.
16026 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16027 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16028 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16029 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16030 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16031 (NARROW_SUB_TRIVIAL): Likewise.
16032 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16033 macro.
16034 (__dsubl): Likewise.
16035 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16036 dsub.
16037 (CFLAGS-nldbl-dsub.c): New variable.
16038 (CFLAGS-nldbl-fsub.c): Likewise.
16039 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16040 __nldbl_dsubl.
16041 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16042 prototype.
16043 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16044 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16045 * math/auto-libm-test-in: Add tests of sub.
16046 * math/auto-libm-test-out-narrow-sub: New generated file.
16047 * math/libm-test-narrow-sub.inc: New file.
16048 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16049 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16050 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16051 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16052 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16053 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16054 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16055 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16056 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16057 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16058 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16059 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16060 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16061 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16062 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16063 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16064 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16065 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16067 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16068 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16069 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16070 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16071 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16072 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16073 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16074 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16075 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16076 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16077 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16078 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16079 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16084 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16085 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16086 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16087 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16088 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16089 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16090 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16091 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16092 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16093 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16094
d473f015
JM
160952018-03-19 Joseph Myers <joseph@codesourcery.com>
16096
16097 [BZ #20079]
16098 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16099
fbce6f72
WD
161002018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16101
16102 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16103
72e7ffc3
RB
161042018-03-18 Richard Braun <rbraun@sceen.net>
16105
16106 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16107 thread reference.
16108
542c20a1
AA
161092018-03-18 Agustina Arzille <avarzille@riseup.net>
16110
16111 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16112 (__libc_cleanup_fct): Define function.
16113 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16114 __libc_cleanup_end): Rewrite implementation using
16115 __attribute__ ((__cleanup__)).
16116 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
16117 * hurd/Makefile (routines): Add hurdlock.
16118 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16119 interface.
16120 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16121 * hurd/hurdpid.c: Include <lowlevellock.h>
16122 (_S_msg_proc_newids): Use lll_wait to synchronize.
16123 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16124 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16125 * mach/Makefile (lock-headers): Remove machine-lock.h.
16126 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16127 <machine-lock.h>.
16128 (__spin_lock_t): New type.
16129 (__SPIN_LOCK_INITIALIZER): New macro.
16130 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16131 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16132 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16133 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16134 (__mutex_init): Initialize with lll.
16135 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16136 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16137 needing lll.
16138 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16139 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16140 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16141 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16142 (__setpgid): Use lll for synchronization.
16143 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16144 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16145 instead of <cthreads.h>.
16146 (_IO_lock_inexpensive): New macro
16147 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16148 (__libc_lock_self0): New declaration.
16149 (__libc_lock_owner_self): New macro.
16150 (__libc_key_t): Remove type.
16151 (_LIBC_LOCK_INITIALIZER): New macro.
16152 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16153 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16154 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16155 __libc_lock_define_initialized_recursive,
16156 __rtld_lock_define_initialized_recursive,
16157 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16158 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16159 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16160 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16161 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16162 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16163 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16164 New macros.
16165 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16166 * hurd/hurdlock.c: New file.
16167 * hurd/hurdlock.h: New file.
16168 * mach/lowlevellock.h: New file
542c20a1 16169
9a37922e
ST
161702018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16171
16172 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
16173 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16174 when opening a symlink with O_NOFOLLOW.
72103e73
ST
16175 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16176 path when flags contains O_NOFOLLOW.
16177 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16178 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
16179 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16180 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
16181 * sysdeps/mach/hurd/mlockall.c: New file.
16182 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 16183
34e6a869
ST
161842018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16185
16186 * hurd/hurdsig.c: Include <pthread.h>.
16187 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16188 get the signal thread stack layout.
dc33bef3
ST
16189 * hurd/Makefile (headers): Remove threadvar.h.
16190 (inline-headers): Remove threadvar.h.
16191 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16192 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16193 __hurd_threadvar_max, __hurd_errno_location.
16194 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16195 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16196 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16197 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16198 unless TLS is not initialized yet, in which case we do not need a
16199 critical section yet anyway.
16200 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16201 <machine-sp.h>.
16202 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16203 declarations.
16204 (__hurd_threadvar_index): Remove enum.
16205 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16206 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16207 inlines.
16208 (__hurd_reply_port0): New variable declaration.
16209 (__hurd_local_reply_port): New macro.
16210 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16211 (interrupted_reply_port_location): Add thread_t parameter. Use it
16212 with THREAD_TCB to access thread-local variables.
16213 (_hurdsig_abort_rpcs): Pass ss->thread to
16214 interrupted_reply_port_location.
16215 (_hurd_internal_post_signal): Likewise.
16216 (_hurdsig_init): Use presence of cthread_fork instead of
16217 __hurd_threadvar_stack_mask to start signal thread by hand.
16218 Remove signal thread threadvar initialization.
16219 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16220 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16221 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16222 of threadvar.
16223 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16224 __libc_lock_self0.
16225 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16226 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16227 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16228 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16229 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16230 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16231 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16232 define variables.
16233 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16234 <hurd/threadvar.h>.
16235 [IS_IN(rtld)] (rtld_errno): New variable.
16236 [IS_IN(rtld)] (__errno_location): New weak function.
16237 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16238 * sysdeps/mach/hurd/errno.c: Remove file.
16239 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16240 (__fork): Remove THREADVAR_SPACE macro and its use.
16241 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16242 variable.
16243 (init): Do not initialize threadvar.
16244 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16245 symbol.
16246 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16247 __hurd_local_reply_port instead of threadvar.
16248 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16249 _hurd_sigstate fields.
16250 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16251 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16252 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16253 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16254 instead of threadvar.
16255 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16256 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16257 (use_threadvar, global_reply_port): Remove variables.
16258 (__hurd_reply_port0): New variable.
16259 (__mig_get_reply_port): Use __hurd_local_reply_port and
16260 __hurd_reply_port0 instead of threadvar.
16261 (__mig_dealloc_reply_port): Likewise.
16262 (__mig_init): Do not initialize threadvar.
16263 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
16264 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16265 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16266 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16267 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16268 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16269 __cthread_setspecific.
16270 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16271 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16272 __cthread_t instead of cthread_fork, cthread_detach,
16273 pthread_getattr_np, pthread_attr_getstack.
16274 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16275 __cthread_keycreate.
16276 (cthread_getspecific): Rename to __cthread_getspecific.
16277 (cthread_setspecific): Rename to __cthread_setspecific.
16278 (__libc_getspecific): Use __cthread_getspecific instead of
16279 cthread_getspecific.
16280 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16281 __cthread_keycreate instead of cthread_keycreate.
16282 (__libc_setspecific): Use __cthread_setspecific instead of
16283 cthread_setspecific.
16284 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16285 Likewise.
dd28d4ba
ST
16286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16287 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16288 testing whether it is defined.
34e6a869 16289
f8baf2a2
ST
162902018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16291
16292 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16293 Define macro.
16294 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16295 * sysdeps/mach/i386/thread_state.h
16296 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16297 i386_THREAD_STATE.
16298 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16299 i386_THREAD_STATE.
16300 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16301
16302 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16303 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16304
16305 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16306 macros.
16307 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16308 descriptor instead of creating a new one.
16309 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16310
16311 * mach/setup-thread.c: Include <ldsodefs.h>.
16312 (__mach_setup_thread): Call _dl_allocate_tls, pass
16313 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16314 MACHINE_THREAD_STATE_FLAVOR, before getting
16315 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16316 MACHINE_THREAD_STATE_FLAVOR with the result.
16317 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16318 MACHINE_THREAD_STATE_FIX_NEW.
16319 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16320 too. Add original thread parameter.
16321
34ba96b8
JM
163222018-03-16 Joseph Myers <joseph@codesourcery.com>
16323
5d75b75f
JM
16324 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16325 Remove inline function.
16326
34ba96b8
JM
16327 * sysdeps/i386/fpu/libm-test-ulps: Update.
16328 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16329
22679b2c
WD
163302018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16331
16332 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16333 commit.
16334
c429a8d8
JM
163352018-03-15 Joseph Myers <joseph@codesourcery.com>
16336
16337 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16338 (__sincos_code): Remove define and undefine.
16339 [__FAST_MATH__] (__sincos): Remove inline function.
16340 [__FAST_MATH__] (__sincosf): Remove inline function.
16341 [__FAST_MATH__] (__sincosl): Remove inline function.
16342 (__atan2l): Remove inline functions.
16343 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16344 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16345 function.
16346 (floor): Remove inline function.
16347 (ceil): Likewise.
16348 [__FAST_MATH__] (__ldexp_code): Remove macro.
16349 [__FAST_MATH__] (ldexp): Remove inline function.
16350 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16351 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16352 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16353 [__USE_ISOC99] (__lrint_code): Remove macro.
16354 [__USE_ISOC99] (__llrint_code): Likewise.
16355 [__USE_ISOC99] (lrintf): Remove inline function.
16356 [__USE_ISOC99] (lrint): Likewise.
16357 [__USE_ISOC99] (lrintl): Likewise.
16358 [__USE_ISOC99] (llrint): Likewise.
16359 [__USE_ISOC99] (llrintf): Likewise.
16360 [__USE_ISOC99] (llrintl): Likewise.
16361
700593fd
WD
163622018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16363
16364 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16365 (__ieee754_sqrtf): Remove.
16366 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16367 (__ieee754_sqrtf): Remove.
16368 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16369 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16370 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16371 (__ieee754_sqrtf): Remove.
16372 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16373 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16374 (sqrtf): Remove.
16375 (sqrtl): Remove.
16376 (__ieee754_sqrt): Remove.
16377 (__ieee754_sqrtf): Remove.
16378 (__ieee754_sqrtl): Remove.
16379 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16380 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16381 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16382 (__ieee754_sqrtf): Remove.
16383 (__ieee754_sqrtl): Remove.
16384
f67a8147
WD
163852018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16386
16387 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16388 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16389 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16390 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16391 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16392 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16393 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16394 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16395 Likewise.
16396 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16397 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16398 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16399 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16400 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16401 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16402 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16403 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16404 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16405 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16406 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16407 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16408 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16409 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16410 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16411 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16412 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16413 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16414 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16415 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16416 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16417 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16418 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16419 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16420 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16421 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16422 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16423 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16424 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16425 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16426 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16427 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16428 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16429 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16430 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16431 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16432 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16433 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16434 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16435 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16436
1294b189
WD
164372018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16438
16439 * include/math.h (sqrt): Declare with asm redirect.
16440 (sqrtf): Likewise.
16441 (sqrtl): Likewise.
16442 (sqrtf128): Likewise.
16443 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16444 nonlib and libnldbl with -fmath-errno.
16445 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16446 * math/w_sqrt_template.c: Likewise.
16447 * math/w_sqrtf_compat.c: Likewise.
16448 * math/w_sqrtl_compat.c: Likewise.
16449 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16450 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16451 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16452 complex.h.
16453
f1c8185d
WD
164542018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16455
16456 * benchtests/Makefile: Define _ISOMAC.
16457 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16458 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16459 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16460 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16461 * benchtests/bench-timing.h: Define attribute_hidden.
16462
b47c3e76
SP
164632018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16464
16465 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16466 mov + lsr.
16467
807fee29
RL
164682018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16469
16470 [BZ #22963]
16471 * localedata/locales/cs_CZ (mon): Rename to...
16472 (alt_mon): This.
16473 (mon): Import from CLDR (genitive case).
16474
e7155a28
RL
164752018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16476
16477 [BZ #22937]
16478 * localedata/locales/el_CY (abmon): Rename to...
16479 (ab_alt_mon): This.
16480 (abmon): Import from CLDR (abbreviated genitive case).
16481 * localedata/locales/el_GR (abmon): Rename to...
16482 (ab_alt_mon): This.
16483 (abmon): Import from CLDR (abbreviated genitive case).
16484
71d7b121
RL
164852018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16486
16487 [BZ #22932]
16488 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16489
a00bffe8
RB
164902018-03-15 Robert Buj <robert.buj@gmail.com>
16491
16492 [BZ #22848]
16493 * localedata/locales/ca_ES (abmon): Rename to...
16494 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16495 (mon): Rename to...
16496 (alt_mon): This.
16497 (abmon): Import from CLDR (genitive case, month names preceded by
16498 "de" or "d’").
16499 (mon): Likewise.
16500 (abday): Synchronize with CLDR.
16501 (d_t_fmt): Likewise.
16502 (d_fmt): Likewise.
16503 (am_pm): Likewise.
16504
16505 (LC_TIME): Improve indentation.
16506 (LC_TELEPHONE): Likewise.
16507 (LC_NAME): Likewise.
16508 (LC_ADDRESS): Likewise.
16509
f9555d73
JM
165102018-03-14 Joseph Myers <joseph@codesourcery.com>
16511
16512 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16513 (lrintf): Remove definitions used only with old GCC.
16514 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16515 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16516 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16517 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16518 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16519 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16520 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16521 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16522 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16523 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16524 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16525 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16526 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16527 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16528 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16529 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16530 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16531 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16532 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16533 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16534 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16535 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16536 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16537 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16538 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16539 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16540 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16541 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16542
d46f84de
SP
165432018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16544
16545 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16546 instruction to unbreak builds with binutils 2.26 and older.
16547
7108f1f9
SP
165482018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16549
16550 * sysdeps/aarch64/strncmp.S (count): New macro.
16551 (strncmp): Store misaligned length in SRC1 in COUNT.
16552 (mutual_align): Adjust.
16553 (misaligned8): Load dword at a time when it is safe.
16554
2cc7bad0
ZW
165552018-03-12 Zack Weinberg <zackw@panix.com>
16556
16557 [BZ #1190]
16558 [BZ #19476]
16559 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16560 if the _IO_EOF_SEEN bit is already set; update commentary.
16561 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16562 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16563
16564 * support/support_openpty.c, support/tty.h: New files.
16565 * support/Makefile (libsupport-routines): Add support_openpty.
16566
16567 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16568 New test cases.
16569 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16570 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16571
778f1974
DL
165722018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16573
16574 * po/pt_BR.po: Update translations.
16575
6b5c8607 165762018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
16577
16578 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16579 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16580 get a port to the startup server.
16581
d3da750d
ZW
165822018-03-11 Zack Weinberg <zackw@panix.com>
16583
16584 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16585 before nldbl-compat.h.
16586
054b72cc
ZW
165872018-03-10 Zack Weinberg <zackw@panix.com>
16588
0d13dfa1
ZW
16589 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16590 math.h or math_private.h.
16591
16592 * sysdeps/alpha/fpu/s_isnan.c
16593 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16594 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16595 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16596 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16597 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16598 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16599 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16600 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16601 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16604 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16605 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16606 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16607 Include math_private.h.
16608
16609 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16610 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16611 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16612 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16613 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16614 * sysdeps/powerpc/power7/fpu/s_logb.c:
16615 Include math.h and math_private.h.
16616
054b72cc
ZW
16617 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16618 uses of $at in .set noat / .set at.
16619
6253bacd
L
166202018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16621
16622 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16623 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16624 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16625 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16626 Likewise.
16627
229855e5
FW
166282018-03-09 Florian Weimer <fweimer@redhat.com>
16629
16630 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16631 in comment.
16632
9aa5c222
AJ
166332018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16634
16635 [BZ #22919]
16636 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16637 Add nop before __startcontext, add explaining comments.
16638
3dc21497
AZ
166392018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16640
e921c89e
AZ
16641 [BZ #22926]
16642 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16643 empty for __SPE__.
16644 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16645 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16646 Do not build hardware transactional code for __SPE__.
16647 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16648 (__lll_trylock_elision): Likewise.
16649 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16650 (__lll_unlock_elision): Likewise.
16651
d9f26dab 16652 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
16653 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16654 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16655 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16656 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16657 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16658 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16659 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16660 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16661 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16662 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16663 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16664 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16665 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16666 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16667 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16668 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16669 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16670 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16671 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16672 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16673 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16674 (__ASSUME_CLONE_BACKWARDS): Define.
16675 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16676 __clone2 if __NR_clone2 is defined.
16677 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16678 (__ASSUME_CLONE_BACKWARDS): Likewise.
16679 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16680 (__ASSUME_CLONE_BACKWARDS): Likewise.
16681 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16682 (__ASSUME_CLONE2): Likewise.
16683 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16684 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16685 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16686 variants and the define architecture can use.
16687 (__ASSUME_CLONE_DEFAULT): Define as default.
16688 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16689 (__ASSUME_CLONE_BACKWARDS): Likewise.
16690 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16691 (__ASSUME_CLONE_BACKWARDS): Likewise.
16692 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16693 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16694
adc95fb0
SP
166952018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16696
4e54d918
SP
16697 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16698
30a81dae
SP
16699 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16700 time.
16701
adc95fb0
SP
16702 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16703 (do_test_limit): Likewise.
16704
16705 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16706 for every implementation.
16707 (do_test): Likewise.
16708
16709 * benchtests/bench-strncmp.c: Convert output to json.
16710
4e9066bc
ST
167112018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16712
16713 * io/futimens.c: Add missing start-of-file descriptive comment.
16714 * io/utime.c: Likewise.
16715 * misc/futimesat.c: Likewise.
16716 * misc/utimes.c: Likewise.
16717 * sysdeps/mach/hurd/futimesat.c: Likewise.
16718 * sysdeps/mach/hurd/utimes.c: Likewise.
16719 * sysdeps/posix/utime.c: Likewise.
16720 * sysdeps/posix/utimes.c: Likewise.
16721 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16722 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16723 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16724 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16725
ec1300cf
ST
167262018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16727
16728 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16729 hurd_futimes.
16730 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16731 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16732 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16733 (__futimens): Move implementation to...
16734 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16735 utime_tvalue_from_tspec): ... new helper functions.
16736 (hurd_futimens): New function.
16737 * sysdeps/mach/hurd/futimesat.c: New file.
16738 * sysdeps/mach/hurd/utimensat.c: New file.
16739
bbe762d1
FC
167402018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16741
16742 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16743 UTIME_OMIT): New macros.
16744 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16745 before reverting to converting time spec to time value and calling
16746 __file_utimes.
16747 * sysdeps/mach/hurd/utime-helper.c: New file.
16748 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16749 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16750 reverting to utime_tvalue_from_tval and __file_utimes.
16751 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16752 (__lutimes): Just call hurd_futimens after lookup.
16753 * sysdeps/mach/hurd/utimes.c: Likewise.
16754
a1ede3a4
ST
167552018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16756
16757 * bits/sigaction.h: Add include guard.
16758 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16759 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16760 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16761 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16762 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16763 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16764 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16765 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16766 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16767
6900d2ca
JM
167682018-03-05 Joseph Myers <joseph@codesourcery.com>
16769
16770 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16771 -Wmaybe-uninitialized for -Os.
16772 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16773 this disabling.
16774
68448be2
AZ
167752018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16776
5226a81f
AZ
16777 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16778 __INO_T_MATCHES_INO64_T is defined.
16779 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16780 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16781 of definition.
16782 * dirent/alphasort64.c: Likewise.
16783 * dirent/scandir.c: Likewise.
16784 * dirent/scandir64-tail.c: Likewise.
16785 * dirent/scandir64.c: Likewise.
16786 * dirent/scandirat.c: Likewise.
16787 * dirent/scandirat64.c: Likewise.
16788 * dirent/versionsort.c: Likewise.
16789 * dirent/versionsort64.c: Likewise.
16790 * include/dirent.h: Likewise.
16791
fbd01e6c
AZ
16792 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16793 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16794 for socketpair endpoint.
16795 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16796 WRITE_BUFFER_SIZE as buffer size for sending socket.
16797 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16798 issue on system where send is implemented with sendto syscall.
16799 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16800 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16801 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16802 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16803
68448be2
AZ
16804 [BZ #21269]
16805 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16806 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16807 sa_restorer for vDSO case.
16808 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16809
eb1ca47e
ST
168102018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16811
16812 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
16813 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16814 * hurd/hurd/ioctl.h: Include <mach/port.h>
16815 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
16816 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16817 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
16818 (headers): Move mach/param.h to bits/mach/param.h.
16819 * sysdeps/mach/i386/mach/param.h: Move file to ...
16820 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16821 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16822 of <mach/param.h>.
3403cb7d
ST
16823 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16824 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16825 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
16826 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16827 trivial, for C++ conformity.
44c6376c 16828 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
16829 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16830 Process mig output through $(migheadersed).
16831 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
16832 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16833 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16834 headers.
ba89615d
ST
16835 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16836 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16837 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16838 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16839 <bits/types/sigset_t.h>.
16840 [!defined __USE_GNU]: Do not #error out.
16841 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16842 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16843 Include <stddef.h> and <bits/types/sigset_t.h>
16844 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16845 instead of sighandler_t.
974393ea
ST
16846 * stdlib/errno.h (error_t): Move definition to...
16847 * bits/types/error_t.h: ... new header.
16848 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16849 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16850 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16851 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16852 * hurd/hurd.h: Include <bits/types/error_t.h>
16853 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16854 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16855 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16856 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16857 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16858 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 16859 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 16860
eaf6753f
AS
168612018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16862
16863 [BZ #22918]
16864 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16865 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16866 * nscd/gai.c (__nss_hosts_database): Readd definition.
16867 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16868 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16869 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16870
4dc23804
JM
168712018-03-02 Joseph Myers <joseph@codesourcery.com>
16872
16873 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16874 (ifunc_one): Likewise.
16875
1c81d55f
DD
168762018-03-01 DJ Delorie <dj@delorie.com>
16877
16878 [BZ #22342]
16879 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16880 key value.
16881
b717c14f
MR
168822018-03-01 Maciej W. Rozycki <macro@mips.com>
16883
16884 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16885 `match_pid' parameter.
16886 (td_ta_thr_iter): Update accordingly.
16887
1efe1358
FW
168882018-03-01 Florian Weimer <fweimer@redhat.com>
16889
16890 * nptl/Makefile (install-lib-ldscripts): Remove.
16891 (install): Remove rule.
16892 ($(inst_libdir)/libpthread.so): Likewise.
16893
a527f09c
MF
168942018-03-01 Mike FABIAN <mfabian@redhat.com>
16895
16896 [BZ #22896]
16897 * localedata/locales/an_ES: update month and day names,
16898 improve d_fmt, improve postal_fmt, add country_post,
16899 add country_isbn
16900
35d660b0
MF
169012018-03-01 Mike FABIAN <mfabian@redhat.com>
16902
16903 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16904 Ukrainian instead of Bulgarian.
16905
1a2f44a8
FW
169062018-03-01 Florian Weimer <fweimer@redhat.com>
16907
16908 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16909 reference.
16910
bd60ce86
FW
169112018-03-01 Florian Weimer <fweimer@redhat.com>
16912
16913 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16914 * nptl/Makefile (routines): Add pthread_atfork.
16915 (static-only-routines): Set to pthread_atfork.
16916 (libpthread-routines): Remove pthread_atfork.
16917 (libpthread-static-only-routines): Remove.
16918 (install): Update comment.
16919 (libpthread.so): Do not install libpthread_nonshared.a.
16920 (tests): Do not link with libpthread_nonshared.a.
16921 (generated): Remove libpthread_nonshared.a.
16922 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16923 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16924 with libpthread_nonshared.a.
16925
000f290f
JM
169262018-02-28 Joseph Myers <joseph@codesourcery.com>
16927
e2bcf6a8
JM
16928 [BZ #22902]
16929 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16930 (libc_feholdexcept_setroundf128): New macro.
16931 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16932
000f290f
JM
16933 [BZ #15105]
16934 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16935 libc_hidden_def.
16936 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16937 * include/inttypes.h: New file.
16938
02f2fead
JM
169392018-02-27 Joseph Myers <joseph@codesourcery.com>
16940
16941 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16942 -Os in two more places.
16943
874c56d7
MF
169442018-02-27 Mike FABIAN <mfabian@redhat.com>
16945
16946 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16947 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16948 be sorted correctly at the moment because of a bug.
16949
15973854
MF
169502018-02-27 Mike FABIAN <mfabian@redhat.com>
16951
16952 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16953 treat ñ as a primary different character, sync the collation
16954 for Spanish with CLDR.
16955 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16956 * localedata/Makefile: Add new test files.
16957 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16958 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16959 collation order.
16960 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16961 * localedata/am_ET.UTF-8.in: New test file.
16962 * localedata/az_AZ.UTF-8.in: Likewise.
16963 * localedata/be_BY.UTF-8.in: Likewise.
16964 * localedata/ber_DZ.UTF-8.in: Likewise.
16965 * localedata/ber_MA.UTF-8.in: Likewise.
16966 * localedata/bg_BG.UTF-8.in: Likewise.
16967 * localedata/br_FR.UTF-8.in: Likewise.
16968 * localedata/cmn_TW.UTF-8.in: Likewise.
16969 * localedata/crh_UA.UTF-8.in: Likewise.
16970 * localedata/csb_PL.UTF-8.in: Likewise.
16971 * localedata/cv_RU.UTF-8.in: Likewise.
16972 * localedata/cy_GB.UTF-8.in: Likewise.
16973 * localedata/dz_BT.UTF-8.in: Likewise.
16974 * localedata/eo.UTF-8.in: Likewise.
16975 * localedata/es_ES.UTF-8.in: Likewise.
16976 * localedata/fa_IR.UTF-8.in: Likewise.
16977 * localedata/fi_FI.UTF-8.in: Likewise.
16978 * localedata/fil_PH.UTF-8.in: Likewise.
16979 * localedata/fur_IT.UTF-8.in: Likewise.
16980 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16981 * localedata/ha_NG.UTF-8.in: Likewise.
16982 * localedata/ig_NG.UTF-8.in: Likewise.
16983 * localedata/ik_CA.UTF-8.in: Likewise.
16984 * localedata/kk_KZ.UTF-8.in: Likewise.
16985 * localedata/ku_TR.UTF-8.in: Likewise.
16986 * localedata/ky_KG.UTF-8.in: Likewise.
16987 * localedata/ln_CD.UTF-8.in: Likewise.
16988 * localedata/mi_NZ.UTF-8.in: Likewise.
16989 * localedata/ml_IN.UTF-8.in: Likewise.
16990 * localedata/mn_MN.UTF-8.in: Likewise.
16991 * localedata/mr_IN.UTF-8.in: Likewise.
16992 * localedata/mt_MT.UTF-8.in: Likewise.
16993 * localedata/nb_NO.UTF-8.in: Likewise.
16994 * localedata/om_KE.UTF-8.in: Likewise.
16995 * localedata/os_RU.UTF-8.in: Likewise.
16996 * localedata/ps_AF.UTF-8.in: Likewise.
16997 * localedata/ro_RO.UTF-8.in: Likewise.
16998 * localedata/ru_RU.UTF-8.in: Likewise.
16999 * localedata/sc_IT.UTF-8.in: Likewise.
17000 * localedata/se_NO.UTF-8.in: Likewise.
17001 * localedata/sq_AL.UTF-8.in: Likewise.
17002 * localedata/sv_SE.UTF-8.in: Likewise.
17003 * localedata/szl_PL.UTF-8.in: Likewise.
17004 * localedata/tg_TJ.UTF-8.in: Likewise.
17005 * localedata/tk_TM.UTF-8.in: Likewise.
17006 * localedata/tt_RU.UTF-8.in: Likewise.
17007 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17008 * localedata/ug_CN.UTF-8.in: Likewise.
17009 * localedata/uz_UZ.UTF-8.in: Likewise.
17010 * localedata/vi_VN.UTF-8.in: Likewise.
17011 * localedata/yi_US.UTF-8.in: Likewise.
17012 * localedata/yo_NG.UTF-8.in: Likewise.
17013 * localedata/zh_CN.UTF-8.in: Likewise.
17014 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17015 file and fix bugs in the collation.
17016 * localedata/locales/az_AZ: Likewise.
17017 * localedata/locales/be_BY: Likewise.
17018 * localedata/locales/ber_DZ: Likewise.
17019 * localedata/locales/ber_MA: Likewise.
17020 * localedata/locales/bg_BG: Likewise.
17021 * localedata/locales/br_FR: Likewise.
17022 * localedata/locales/br_FR@euro: Likewise.
17023 * localedata/locales/ca_ES: Likewise.
17024 * localedata/locales/cns11643_stroke: Likewise.
17025 * localedata/locales/crh_UA: Likewise.
17026 * localedata/locales/cs_CZ: Likewise.
17027 * localedata/locales/csb_PL: Likewise.
17028 * localedata/locales/cv_RU: Likewise.
17029 * localedata/locales/cy_GB: Likewise.
17030 * localedata/locales/da_DK: Likewise.
17031 * localedata/locales/dz_BT: Likewise.
17032 * localedata/locales/en_CA: Likewise.
17033 * localedata/locales/eo: Likewise.
17034 * localedata/locales/es_CU: Likewise.
17035 * localedata/locales/es_EC: Likewise.
17036 * localedata/locales/es_ES: Likewise.
17037 * localedata/locales/es_US: Likewise.
17038 * localedata/locales/et_EE: Likewise.
17039 * localedata/locales/fa_IR: Likewise.
17040 * localedata/locales/fi_FI: Likewise.
17041 * localedata/locales/fil_PH: Likewise.
17042 * localedata/locales/fur_IT: Likewise.
17043 * localedata/locales/gez_ER@abegede: Likewise.
17044 * localedata/locales/ha_NG: Likewise.
17045 * localedata/locales/hr_HR: Likewise.
17046 * localedata/locales/hsb_DE: Likewise.
17047 * localedata/locales/hu_HU: Likewise.
17048 * localedata/locales/ig_NG: Likewise.
17049 * localedata/locales/ik_CA: Likewise.
17050 * localedata/locales/is_IS: Likewise.
17051 * localedata/locales/iso14651_t1_pinyin: Likewise.
17052 * localedata/locales/kk_KZ: Likewise.
17053 * localedata/locales/ku_TR: Likewise.
17054 * localedata/locales/ky_KG: Likewise.
17055 * localedata/locales/ln_CD: Likewise.
17056 * localedata/locales/lt_LT: Likewise.
17057 * localedata/locales/lv_LV: Likewise.
17058 * localedata/locales/mi_NZ: Likewise.
17059 * localedata/locales/ml_IN: Likewise.
17060 * localedata/locales/mn_MN: Likewise.
17061 * localedata/locales/mr_IN: Likewise.
17062 * localedata/locales/mt_MT: Likewise.
17063 * localedata/locales/nb_NO: Likewise.
17064 * localedata/locales/om_KE: Likewise.
17065 * localedata/locales/os_RU: Likewise.
17066 * localedata/locales/pl_PL: Likewise.
17067 * localedata/locales/ps_AF: Likewise.
17068 * localedata/locales/ro_RO: Likewise.
17069 * localedata/locales/ru_RU: Likewise.
17070 * localedata/locales/ru_UA: Likewise.
17071 * localedata/locales/sc_IT: Likewise.
17072 * localedata/locales/se_NO: Likewise.
17073 * localedata/locales/si_LK: Likewise.
17074 * localedata/locales/sq_AL: Likewise.
17075 * localedata/locales/sv_FI: Likewise.
17076 * localedata/locales/sv_FI@euro: Likewise.
17077 * localedata/locales/sv_SE: Likewise.
17078 * localedata/locales/szl_PL: Likewise.
17079 * localedata/locales/tg_TJ: Likewise.
17080 * localedata/locales/ti_ER: Likewise.
17081 * localedata/locales/tk_TM: Likewise.
17082 * localedata/locales/tl_PH: Likewise.
17083 * localedata/locales/tr_TR: Likewise.
17084 * localedata/locales/tt_RU: Likewise.
17085 * localedata/locales/tt_RU@iqtelif: Likewise.
17086 * localedata/locales/ug_CN: Likewise.
17087 * localedata/locales/uk_UA: Likewise.
17088 * localedata/locales/uz_UZ: Likewise.
17089 * localedata/locales/uz_UZ@cyrillic: Likewise.
17090 * localedata/locales/vi_VN: Likewise.
17091 * localedata/locales/yi_US: Likewise.
17092 * localedata/locales/yo_NG: Likewise.
17093
ce6636b0
MF
170942018-02-27 Mike FABIAN <mfabian@redhat.com>
17095
17096 * gen-locales.mk: Make test files which contain @ modifiers in their
17097 name work.
17098 * localedata/gen-locale.sh: Likewise.
17099
ac3a3b4b
MF
171002018-02-27 Mike FABIAN <mfabian@redhat.com>
17101
17102 * posix/tst-fnmatch.input: Fix results for range expressions
17103 for non C locales.
17104 * posix/tst-regexloc.c: Do not use a range expression for
17105 de_DE.ISO-8859-1 locale.
17106
770cbe14
MF
171072018-02-27 Mike FABIAN <mfabian@redhat.com>
17108
17109 * posix/bug-regex5.c: Fix test case because with the new
17110 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17111 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17112 file.
17113
0fc355d9
MF
171142018-02-27 Mike FABIAN <mfabian@redhat.com>
17115
17116 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17117 downloaded from ISO, the collation order of @-. and space has changed.
17118 Therefore, this test file needed to be adapted.
17119 * localedata/fr_CA.UTF-8.in: Likewise.
17120 * localedata/fr_FR.UTF-8.in: Likewise.
17121 * localedata/uk_UA.UTF-8.in: Likewise.
17122
43f3893f
MF
171232018-02-27 Mike FABIAN <mfabian@redhat.com>
17124
17125 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17126 order of ȥ in the new iso14651_t1_common file.
17127 * localedata/pl_PL.UTF-8.in: Likewise.
17128
df74ef78
MF
171292018-02-27 Mike FABIAN <mfabian@redhat.com>
17130
17131 * localedata/locales/iso14651_t1_common: Add sections for various
17132 scripts to the iso14651_t1_common file.
17133
d5adfbad
MF
171342018-02-27 Mike FABIAN <mfabian@redhat.com>
17135
17136 * localedata/locales/iso14651_t1_common: Use the code point of a
17137 character in the fourth collation level instead of IGNORE for all
17138 entries which have IGNORE on all 4 levels.
17139
5f5a9610
MF
171402018-02-27 Mike FABIAN <mfabian@redhat.com>
17141
17142 * localedata/locales/iso14651_t1_common: Add some convenient collation
17143 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17144 rules similar to those in CLDR.
17145
8a97e900
MF
171462018-02-27 Mike FABIAN <mfabian@redhat.com>
17147
17148 * localedata/locales/iso14651_t1_common: The new version of this
17149 file downloaded from ISO contained several syntax errors which
17150 are fixed by this patch.
17151
bbdd2fba
MF
171522018-02-27 Mike FABIAN <mfabian@redhat.com>
17153
17154 * localedata/locales/iso14651_t1_common: replace all <U.....>
17155 with <U000.....> because glibc understands only 4 digit or 8 digit
17156
1569e551
MF
171572018-02-27 Mike FABIAN <mfabian@redhat.com>
17158
17159 * localedata/locales/iso14651_t1_common: Necessary changes
17160 to make the file downloaded from ISO usable by glibc.
17161
9479b6d5
MF
171622018-02-27 Mike FABIAN <mfabian@redhat.com>
17163
17164 [BZ #14095]
17165 * localedata/locales/iso14651_t1_common: Update file to
17166 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17167
03b540b3
ST
171682018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17169
17170 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17171 of <nptl/pthreadP.h>
17172 (thread_attr_compare): Move function to...
eb937a52 17173 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 17174 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 17175 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 17176
20602c72
JM
171772018-02-26 Joseph Myers <joseph@codesourcery.com>
17178
f54d8f73
JM
17179 * string/strcoll_l.c: Include <libc-diag.h>.
17180 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17181 declarations of seq1 and seq2.
17182
20602c72
JM
17183 [BZ #15105]
17184 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17185 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17186
f5f473a9
DL
171872018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17188
17189 [BZ #22433]
17190 [BZ #22807]
17191 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17192 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17193 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17194 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17195 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17196 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17197
398c6fdd
TMQMF
171982018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17199
17200 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17201 macros used in __ptrace_request.
17202
f5d1f629
L
172032018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17204
17205 [BZ #22792]
17206 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17207 to $(CC).
17208 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17209 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17210 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17211 <tcb-offsets.h>.
17212
54412d20
JM
172132018-02-23 Joseph Myers <joseph@codesourcery.com>
17214
17215 [BZ #15105]
17216 * ctype/ctype.c (tolower): Use libc_hidden_def.
17217 (toupper): Likewise.
17218 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17219 [!_ISOMAC] (toupper): Likewise.
17220
81be4b5e
MF
172212018-02-23 Mike FABIAN <mfabian@redhat.com>
17222
17223 * localedata/Makefile: Remove --quiet argument when
17224 installing locales
17225
9d5cfd8e
MF
172262018-02-23 Mike FABIAN <mfabian@redhat.com>
17227
17228 [BZ #17438]
17229 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17230 in d_fmt.
17231 * localedata/locales/pt_PT (LC_TIME): likewise
17232
6c7269f3
MF
172332018-02-23 Mike FABIAN <mfabian@redhat.com>
17234
17235 [BZ #22646]
17236 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17237 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17238 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17239
92aabad9
AZ
172402018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17241
4cdc25a4
AZ
17242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17243
27761a10
AZ
17244 * nptl/Makefile (routines): Remove unregister-atfork.
17245 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17246 (fork_handler_alloc): Remove function.
17247 (fork_handlers, fork_handler_init): New variables.
17248 (__fork_lock): Rename to atfork_lock.
17249 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17250 to use a dynamic array to add/remove atfork handlers.
17251 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17252 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17253 Remove declaration.
17254 (fork_handler): Remove next, refcntr, and need_signal member.
17255 (__run_fork_handler_type): New enum.
17256 (__run_fork_handlers): New prototype.
17257 * nptl/register-atfork.c: Remove file.
17258 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17259
92aabad9
AZ
17260 * sysdeps/nptl/nptl-signals.h: Move to ...
17261 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17262 comments.
17263 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17264 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17265 unnecessary check for SIGTIMER.
17266 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17267 remove unnecessary removal of SIGTIMER.
17268 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17269 include-signals.h rename.
17270 * nptl/pthreadP.h: Likewise.
17271 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17272 __is_internal_signal instead of __nptl_is_internal_signal.
17273
6b5c8607 172742018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 17275
7e04eb29 17276 [BZ # 22884]
fdcc6253
AW
17277 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17278 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17279 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17280 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17281
8090720a
DD
172822018-02-22 DJ Delorie <dj@delorie.com>
17283
17284 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17285
6ca24c43
SP
172862018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17287
17288 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17289 do_misaligned, not misaligned8.
17290
e9537ddd
SE
172912018-02-22 Steve Ellcey <sellcey@cavium.com>
17292
17293 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17294 Add memcpy_thunderx2.
17295 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17296 Increment to 4.
17297 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17298 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17299 and IS_THUNDERX2PA checks.
17300 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17301 Use macro to set name appropriately.
17302 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17303 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17304 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17305 New macro.
17306 (IS_THUNDERX2): New macro.
17307
6e336476
SL
173082018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17309
17310 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17311
34957904
ZW
173122018-02-21 Zack Weinberg <zackw@panix.com>
17313
30bfee26
ZW
17314 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17315 Define here, unconditionally.
17316 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17317 * libio/libioP.h: Remove #if 0 blocks.
17318 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17319 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17320 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17321
17322 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17323 Assume weak_alias is always defined.
17324
17325 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17326 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17327 Remove #if 0 and #ifdef TODO blocks.
17328 Assume text_set_element is always defined.
17329
17330 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17331 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17332 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17333
df6c012b
ZW
17334 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17335 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17336 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17337 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17338 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17339 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17340 Reformat bit flags for _flags field to make occupancy clearer.
17341 Update commentary.
17342 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17343 Keep definitions consistent with those in libio/libio.h.
17344
17345 * libio/libio.h (_IO_file_flags): Remove macro.
17346 All uses changed to _flags.
17347
177aad3f
ZW
17348 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17349 (__HAVE_COLUMN, _IO_BE): Don't define.
17350 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17351 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17352 * libio/libioP.h (EOF): Don't define.
17353 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17354 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17355 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17356 testing _IO_UNIFIED_JUMPTABLES.
17357
9964a145
ZW
17358 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17359 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17360 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17361 (_IO_size_t): Delete; all uses changed to size_t.
17362 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17363 (_IO_off_t): Delete; all uses changed to off_t.
17364 (_IO_off64_t): Delete; all uses changed to off64_t.
17365 (_IO_pid_t): Delete; all uses changed to pid_t.
17366 (_IO_uid_t): Delete; all uses changed to uid_t.
17367 (_IO_wint_t): Delete; all uses changed to wint_t.
17368 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17369 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17370 (_IO_cookie_io_functions_t): Delete; all uses changed to
17371 cookie_io_functions_t.
17372 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17373 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17374 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17375 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17376
17377 * libio/iofopncook.c: Remove unnecessary forward declarations.
17378 * libio/iolibio.h: Correct outdated commentary.
17379 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17380 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17381 Remove unnecessary casts.
17382 * stdio-common/getline.c: Use _IO_getdelim directly.
17383 Don't redefine ssize_t.
17384 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17385 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17386 Remove outdated comments.
17387 * stdio-common/vfscanf.c: Don't redefine va_list.
17388
34957904
ZW
17389 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17390 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17391 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17392 which are always true, and __cplusplus, which is always false.
17393
30ac923d
JM
173942018-02-21 Joseph Myers <joseph@codesourcery.com>
17395
039c721a
JM
17396 [BZ #15105]
17397 [BZ #19463]
17398 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17399 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17400 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17401 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17402 libc_hidden_proto.
17403 [!_ISOMAC] (putc_unlocked): Likewise.
17404 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17405 define inline if [__USE_EXTERN_INLINES].
17406 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17407 putc_unlocked.
17408
30ac923d
JM
17409 [BZ #15105]
17410 [BZ #19463]
17411 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17412 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17413 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17414 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17415 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17416 getc_unlocked.
17417 * time/tzfile.c (__tzfile_read): Likewise.
17418
7ec5f946
MF
174192018-02-21 Mike FABIAN <mfabian@redhat.com>
17420
17421 [BZ #22517]
17422 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17423
0d217f40
RJ
174242018-02-21 Rical Jasan <ricaljasan@pacific.net>
17425
17426 * io/fcntl.h: Fix a typo in a comment.
17427
862b4502
RJ
174282018-02-21 Rical Jasan <ricaljasan@pacific.net>
17429
17430 [BZ #22862]
17431 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17432 define _DEFAULT_SOURCE.
17433 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17434
999a6dab
FW
174352018-02-21 Florian Weimer <fweimer@redhat.com>
17436
17437 [BZ #20890]
17438 * elf/cache.c (save_cache): Call fsync on temporary file before
17439 renaming it.
17440 (save_aux_cache): Call fdatasync on temporary file before renaming
17441 it.
17442
52a01100
FW
174432018-02-21 Florian Weimer <fweimer@redhat.com>
17444
17445 [BZ #22787]
17446 * include/caller.h: Remove file.
17447 * elf/dl-caller.c: Likewise.
17448 * elf/Makefile (dl-routines): Remove dl-caller.
17449 (shared-only-routines): Do not add dl-caller.
17450 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17451 __check_caller.
17452 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17453 member.
17454 (dl_open_worker): Do not call __check_caller.
17455 (_dl_open): Do not set caller_dl_open member.
17456 * elf/rtld.c (_rtld_global_ro): Do not initialize
17457 _dl_check_caller member.
17458 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17459 _dl_check_caller member.
17460 (_dl_check_caller): Remove declaration.
17461 * sysdeps/unix/sysv/linux/dl-execstack.c
17462 (_dl_make_stack_executable): Do not call __check_caller.
17463
b5bf62e4
ST
174642018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17465
17466 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 17467 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 17468
e8d190b9
RJ
174692018-02-20 Rical Jasan <ricaljasan@pacific.net>
17470
17471 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17472 description.
17473
6a3962c4
RJ
174742018-02-20 Rical Jasan <ricaljasan@pacific.net>
17475
da81ae64 17476 [BZ #16335]
6a3962c4
RJ
17477 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17478 of 199606L, 200112L, and 200809L.
17479 (_XOPEN_SOURCE): Document special values of 600 and 700.
17480 (_ISOC11_SOURCE): Document macro.
17481 (_ATFILE_SOURCE): Likewise.
17482 (_FORTIFY_SOURCE): Likewise.
17483
ec481ad8
JM
174842018-02-19 Joseph Myers <joseph@codesourcery.com>
17485
17486 [BZ #15105]
17487 [BZ #19463]
17488 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17489 and define as weak alias of __ferror_unlocked. Use
17490 libc_hidden_weak.
17491 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17492 libc_hidden_proto.
17493 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17494 function if [__USE_EXTERN_INLINES].
17495 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17496 ferror_unlocked.
17497
7d15ef84
RJ
174982018-02-19 Rical Jasan <ricaljasan@pacific.net>
17499
17500 [BZ #6889]
17501 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17502
f8d79582
AJ
175032018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17504
17505 [BZ #22818]
17506 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17507 the GLIBC_2.1 version.
17508
56456a2a
AJ
175092018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17510
17511 [BZ #21508]
17512 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17513 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17514 intl/tst-gettext-de.po from po/de.po by removing the
17515 POT-Creation-Date line.
17516 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17517 ../po/de.po.
17518 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17519 ../po/de.po.
17520
13768813
ST
175212018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17522
17523 * mach/Makefile (headers): Add mach/param.h.
17524 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17525 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
17526 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17527 (__ptsname_r): Move implementation to...
17528 (__ptsname_internal): ... new function. Add filling the STP
17529 structure.
13768813 17530
6aca1b61
JDA
175312018-02-17 John David Anglin <danglin@gcc.gnu.org>
17532
17533 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17534 idouble to 1 ULP.
17535
16efad51
RJ
175362018-02-16 Rical Jasan <ricaljasan@pacific.net>
17537
17538 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17539 syntax.
17540
87245073
SL
175412018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17542
17543 * nptl/Makefile (tst-mutex8-ENV): Delete.
17544 * nptl/tst-mutex8.c (check_type):
17545 Add runtime check if mutex will be elided.
17546
7fc03cf3
JM
175472018-02-15 Joseph Myers <joseph@codesourcery.com>
17548
db9881ec
JM
17549 [BZ #20980]
17550 [BZ #21234]
17551 * manual/install.texi (Configuring and compiling): Describe
17552 passing CC and CFLAGS on configure command line, not as
17553 environment variables. Use @code markup on those variables.
17554 Specify what options go in CC and what go in CFLAGS. Note the
17555 requirement to compile with optimization.
17556 * INSTALL: Regenerated.
17557
3785b31c
JM
17558 [BZ #18124]
17559 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17560 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17561 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17562 __sigprocmask instead of sigprocmask.
17563 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17564 Likewise.
17565 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17566 __sigsetjmp and sigprocmask.
17567
055ac2a7
JM
17568 [BZ #15105]
17569 * include/argz.h (argz_next): Use libc_hidden_proto.
17570 (__argz_next): Likewise.
17571 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17572 (argz_next): Use libc_hidden_weak.
17573
e4452a2d
JM
17574 [BZ #15105]
17575 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17576 libc_hidden_proto.
17577 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17578 libc_hidden_def.
17579
499b3153
JM
17580 [BZ #15105]
17581 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17582 libc_hidden_proto.
17583 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17584
7fc03cf3
JM
17585 [BZ #15105]
17586 [BZ #19463]
17587 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17588 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17589 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17590 (__feof_unlocked): New declaration, and inline function if
17591 [__USE_EXTERN_INLINES].
17592 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17593 instead of feof_unlocked.
17594 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17595 * nss/nsswitch.c (nss_parse_file): Likewise.
17596 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17597 Likewise.
17598 * time/getdate.c (__getdate_r): Likewise.
17599 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17600 Define as macro to call __feof_unlocked.
17601
0c8a67a5
WD
176022018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17603
17604 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17605
610ee1fc
WD
176062018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17607
17608 * math/Makefile: Remove mpexp.c and mplog.c
17609 * sysdeps/i386/fpu/mpexp.c: Delete file.
17610 * sysdeps/i386/fpu/mplog.c: Likewise.
17611 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17612 * sysdeps/ia64/fpu/mplog.c: Likewise.
17613 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17614 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17615 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17616 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17617 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17618 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17619 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17620 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17621 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17622 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17623 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17624 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17625 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17626 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17627 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17628 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17629
8e7196c8
SL
176302018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17631
17632 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17633
4f55ad0b
AZ
176342018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17635
17636 * sysdeps/sh/libm-test-ulps: Update.
17637
261a851c
TMQMF
176382018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17639
17640 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17641 idouble to 1 ULP.
17642
e16deca6
ZW
176432018-02-12 Zack Weinberg <zackw@panix.com>
17644
17645 [BZ #19239]
17646 * posix/sys/types.h: Don't include sys/sysmacros.h.
17647 * misc/sys/sysmacros.h: Remove the conditional deprecation
17648 warnings for the macros defined by this header.
17649
de800d83
SN
176502018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17651
17652 * manual/probes.texi: Remove slowexp probes.
17653 * math/Makefile: Remove slowexp.
17654 * sysdeps/generic/math_private.h (__slowexp): Remove.
17655 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17656 document error bounds.
17657 * sysdeps/i386/fpu/slowexp.c: Remove.
17658 * sysdeps/ia64/fpu/slowexp.c: Remove.
17659 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17660 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17661 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17662 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17663 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17664 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17665 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17666 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17667 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17668 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17669 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17670
c3d466cb
WD
176712018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17672
17673 [BZ #13932]
17674 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17675 * benchtests/pow-inputs: Update comment for slow path cases.
17676 * manual/probes.texi (slowpow_p10): Delete removed probe.
17677 (slowpow_p10): Likewise.
17678 * math/Makefile: Remove halfulp.c and slowpow.c.
17679 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17680 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17681 (__halfulp): Remove.
17682 (__slowpow): Remove.
17683 * sysdeps/i386/fpu/halfulp.c: Delete file.
17684 * sysdeps/i386/fpu/slowpow.c: Likewise.
17685 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17686 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17687 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17688 improve comments and add error analysis.
17689 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17690 (power1): Remove function:
17691 (log1): Remove error argument, add error analysis.
17692 (my_log2): Remove function.
17693 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17694 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17695 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17696 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17697 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17698 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17699 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17700 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17701 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17702 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17703 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17704 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17705 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17706 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17707
7bb087bd
ST
177082018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17709
17710 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17711 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17712
2fd4bbaa
DL
177132018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17714
17715 [BZ #22433]
17716 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17717 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17718 and PTRACE_SETHBPREGS.
17719
402ecba4
ZW
177202018-02-10 Zack Weinberg <zackw@panix.com>
17721
17722 [BZ #22830]
17723 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17724 correctly.
17725 * malloc/tst-malloc-stats-cancellation.c: New test case.
17726 * malloc/Makefile: Add new test case.
17727
4f5b921e
WD
177282018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17729
17730 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17731
a85b70db
JM
177322018-02-10 Joseph Myers <joseph@codesourcery.com>
17733
d8742dd8
JM
17734 * math/Makefile (libm-narrow-fns): Add add.
17735 (libm-test-funcs-narrow): Likewise.
17736 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17737 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17738 * math/gen-auto-libm-tests.c (test_functions): Add add.
17739 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17740 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17741 (NARROW_ADD_TRIVIAL): Likewise.
17742 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17743 macro.
17744 (__daddl): Likewise.
17745 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17746 dadd.
17747 (CFLAGS-nldbl-dadd.c): New variable.
17748 (CFLAGS-nldbl-fadd.c): Likewise.
17749 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17750 __nldbl_daddl.
17751 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17752 prototype.
17753 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17754 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17755 * math/auto-libm-test-in: Add tests of add.
17756 * math/auto-libm-test-out-narrow-add: New generated file.
17757 * math/libm-test-narrow-add.inc: New file.
17758 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17759 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17760 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17761 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17762 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17763 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17764 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17765 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17766 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17767 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17768 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17769 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17770 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17771 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17772 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17773 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17774 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17775 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17777 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17778 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17779 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17780 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17781 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17782 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17783 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17784 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17785 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17786 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17787 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17788 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17789 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17794 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17795 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17796 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17797 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17798 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17799 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17800 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17801 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17802 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17803 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17804
a85b70db
JM
17805 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17806 (f128-pairs): New variable.
17807 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17808 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17809 to CFLAGS.
17810 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17811 Also make tests add $(f128-loader-link) to gnulib-tests.
17812
6a1ff640
DD
178132018-02-09 DJ Delorie <dj@redhat.com>
17814
17815 [BZ #22827]
17816 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17817 64-bit ELF type for 64-bit ELF objects.
17818
bfd47587
JM
178192018-02-09 Joseph Myers <joseph@codesourcery.com>
17820
31958338
JM
17821 * math/libm-test-driver.c (snan_tests_arg): New variable.
17822 * math/libm-test-support.h (snan_tests_arg): New declaration.
17823 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17824
8e554659
JM
17825 * math/Makefile (test-type-pairs): New variable.
17826 (test-type-pairs-f64xf128-yes): Likewise.
17827 (tests): Add test-narrow-macros.
17828 (libm-test-funcs-narrow): New variable.
17829 (libm-test-c-narrow): Likewise.
17830 (generated): Add $(libm-test-c-narrow).
17831 (libm-tests-base-narrow): New variable.
17832 (libm-tests-narrow): Likewise.
17833 (libm-tests): Add $(libm-tests-narrow).
17834 (libm-tests-for-type): Handle $(libm-tests-narrow).
17835 (libm-test-c-narrow-obj): New variable.
17836 ($(libm-test-c-narrow-obj)): New rule.
17837 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17838 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17839 $(o-iterator) to set dependencies and CFLAGS.
17840 * math/gen-auto-libm-tests.c: Document use for narrowing
17841 functions.
17842 (output_for_one_input_case): Take argument NARROW.
17843 (generate_output): Likewise. Update call to
17844 output_for_one_input_case.
17845 (main): Take --narrow option. Update call to generate_output.
17846 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17847 (apply_lit): Update call to _apply_lit.
17848 (apply_arglit): New function.
17849 (parse_args): Handle "a" arguments.
17850 (parse_auto_input): Handle format names using ":".
17851 * math/README.libm-test: Document "a" parameter type.
17852 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17853 (ARG_TYPE_TRUE_MIN): Likewise.
17854 (ARG_TYPE_MAX): Likwise.
17855 (ARG_MIN_EXP): Likewise.
17856 (ARG_MAX_EXP): Likewise.
17857 (ARG_MANT_DIG): Likewise.
17858 (TEST_COND_arg_ibm128): Likewise.
17859 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17860 (TEST_COND_arg_fmt): New macro.
17861 (init_max_error): Update prototype.
17862 * math/libm-test-support.c (test_ibm128): New variable.
17863 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17864 instead of using [TEST_COND_ibm128] conditional.
17865 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17866 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17867 [TEST_NARROW] (TEST_MSG): New definition.
17868 (arg_plus_zero): New macro.
17869 (arg_minus_zero): Likewise.
17870 (arg_plus_infty): Likewise.
17871 (arg_minus_infty): Likewise.
17872 (arg_qnan_value_pl): Likewise.
17873 (arg_qnan_value): Likewise.
17874 (arg_snan_value_pl): Likewise.
17875 (arg_snan_value): Likewise.
17876 (arg_max_value): Likewise.
17877 (arg_min_value): Likewise.
17878 (arg_min_subnorm_value): Likewise.
17879 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17880 (RUN_TEST_LOOP_aa_f): New macro.
17881 (TEST_SUFF): New macro.
17882 (TEST_SUFF_STR): Likewise.
17883 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17884 (TEST_COND_any_ibm128): New macro.
17885 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17886 this_func. Update call to init_max_error.
17887 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17888 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17889 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17890 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17891 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17892 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17893 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17894 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17895 * math/test-math-vector.h (TEST_NARROW): Likewise.
17896 * math/test-arg-double.h: New file.
17897 * math/test-arg-float128.h: Likewise.
17898 * math/test-arg-float32x.h: Likewise.
17899 * math/test-arg-float64.h: Likewise.
17900 * math/test-arg-float64x.h: Likewise.
17901 * math/test-arg-ldouble.h: Likewise.
17902 * math/test-math-narrow.h: Likewise.
17903 * math/test-narrow-macros.c: Likewise.
17904 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17905 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17906 test-narrow-macros-ldbl-64.
17907 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17908
63716ab2
JM
17909 * math/bits/mathcalls-narrow.h: New file.
17910 * include/bits/mathcalls-narrow.h: Likewise.
17911 * math/math-narrow.h: Likewise.
17912 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17913 (__MATHCALL_NARROW_ARGS_2): Likewise.
17914 (__MATHCALL_NARROW_ARGS_3): Likewise.
17915 (__MATHCALL_NARROW_NORMAL): Likewise.
17916 (__MATHCALL_NARROW_REDIR): Likewise.
17917 (__MATHCALL_NARROW): Likewise.
17918 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17919 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17920 defined.
17921 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17922 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17923 (libm-narrow-fns): New variable.
17924 (libm-narrow-types-basic): Likewise.
17925 (libm-narrow-types-ldouble-yes): Likewise.
17926 (libm-narrow-types-float128-yes): Likewise.
17927 (libm-narrow-types-float128-alias-yes): Likewise.
17928 (libm-narrow-types): Likewise.
17929 (libm-routines): Add narrowing functions.
17930 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17931 (libc_feholdexcept_setroundf128): New macro.
17932 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17933 * sysdeps/ieee754/float128/float128_private.h: Include
17934 <math/math-narrow.h>.
17935 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17936 Undefine and redefine.
17937 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17938 (libm_alias_float_ldouble): Undefine and redefine.
17939 (libm_alias_double_ldouble): Likewise.
17940
bfd47587
JM
17941 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17942
3f8d9d58
WD
179432018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17944
17945 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17946 FPCR/FPSR.
17947
1f6676d7
RJ
179482018-02-09 Rical Jasan <ricaljasan@pacific.net>
17949
17950 * manual/creature.texi: Convert references to gcc.info to gcc.
17951 * manual/stdio.texi: Likewise.
17952 * manual/string.texi: Likewise.
17953
d80441dd
JM
179542018-02-07 Joseph Myers <joseph@codesourcery.com>
17955
15081be9
JM
17956 [BZ #17979]
17957 * posix/bits/types.h (__int_least8_t): New typedef.
17958 (__uint_least8_t): Likewise.
17959 (__int_least16_t): Likewise.
17960 (__uint_least16_t): Likewise.
17961 (__int_least32_t): Likewise.
17962 (__uint_least32_t): Likewise.
17963 (__int_least64_t): Likewise.
17964 (__uint_least64_t): Likewise.
17965 * sysdeps/generic/stdint.h (int_least8_t): Define using
17966 __int_least8_t.
17967 (int_least16_t): Define using __int_least16_t.
17968 (int_least32_t): Define using __int_least32_t.
17969 (int_least64_t): Define using __int_least64_t.
17970 (uint_least8_t): Define using __uint_least8_t.
17971 (uint_least16_t): Define using __uint_least16_t.
17972 (uint_least32_t): Define using __uint_least32_t.
17973 (uint_least64_t): Define using __uint_least64_t.
17974 * wcsmbs/uchar.h: Include <bits/types.h>.
17975 (char16_t): Define using __uint_least16_t conditional only on
17976 [!__USE_ISOCXX11].
17977 (char32_t): Define using __uint_least32_t conditional only on
17978 [!__USE_ISOCXX11].
17979 * wcsmbs/test-char-types.c: New file.
17980 * wcsmbs/Makefile (tests): Add test-char-types.
17981
d80441dd
JM
17982 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17983 version to 4.0.1.
17984
6c6c962a
ZW
179852018-02-07 Zack Weinberg <zackw@panix.com>
17986
63fb8f9a
ZW
17987 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17988 Delete all contents except for definitions of _G_HAVE_MMAP and
17989 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17990 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17991 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17992 change as above.
17993
17994 * libio/libio.h: Don't include bits/_G_config.h here.
17995 Include stddef.h with __need_wchar_t defined. Include
17996 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17997 Define _IO_iconv_t here, directly.
17998 Don't define _IO_HAVE_ST_BLKSIZE.
17999 * libio/libioP.h: Include _G_config.h here. Move include of
18000 shlib-compat.h up with rest of includes. Simplify conditionals
18001 controlling definition of _IO_JUMPS_OFFSET.
18002
18003 * csu/init.c: Remove always-true #if around entire file.
18004 Don't include stdio.h. Set _IO_stdin_used to hardwired
18005 constant 0x20001, and update commentary.
18006 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18007 Replace all uses of _G_va_list with __gnuc_va_list.
18008 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18009 instead of #if _IO_HAVE_ST_BLKSIZE.
18010 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18011 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18012 not #ifdef.
18013
6c6c962a
ZW
18014 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18015 multiple-include guard to match.
18016 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18017 into this file.
18018 Remove preprocessor conditionals that are always true and/or
18019 redundant to other preprocessor conditionals in the same nest.
18020 Include shlib-compat.h unconditionally.
18021 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18022 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18023 defined after including stdio.h.
18024 Use __BEGIN_DECLS/__END_DECLS.
18025
18026 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18027 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18028 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18029
a4fea3f2
ZW
180302018-02-07 Zack Weinberg <zackw@panix.com>
18031
18032 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18033 New single-type headers split from _G_config.h.
18034 * libio/bits/types/cookie_io_functions_t.h
18035 * libio/bits/types/struct_FILE.h
18036 New single-type headers split from libio.h.
18037
18038 * libio/Makefile: Install the above new headers. Don't install
18039 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18040 bits/libio-ldbl.h.
18041 * libio/_G_config.h, libio/libio.h: Delete file.
18042
18043 * libio/bits/libio.h: Remove improper-inclusion guard.
18044 Include stdio.h and don't repeat anything that it does.
18045 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18046 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18047 __io_read_fn as cookie_read_function_t,
18048 __io_write_fn as cookie_write_function_t,
18049 __io_seek_fn as cookie_seek_function_t,
18050 __io_close_fn as cookie_close_function_t,
18051 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18052 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18053 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 18054 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
18055 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18056 and _IO_ferror_unlocked.
18057 Move prototypes of __uflow and __overflow...
18058
18059 * libio/stdio.h: ...here. Don't include bits/libio.h.
18060 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 18061 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
18062 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18063 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18064 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18065 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18066 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18067 __ssize_t, not _IO_ssize_t. Unconditionally define
18068 BUFSIZ as 8192 and EOF as (-1).
18069
18070 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18071 macros from bits/types/struct_FILE.h instead of _IO_* macros
18072 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18073 instead of _IO_ssize_t.
18074 * libio/bits/stdio2.h: Similarly.
18075
18076 * libio/iolibio.h: Add multiple-include guard.
18077 Include bits/libio.h after stdio.h.
18078 * libio/libioP.h: Add multiple-include guard.
18079 Include stdio.h and bits/libio.h before iolibio.h.
18080
6c6c962a 18081 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
18082 * include/bits/types/cookie_io_functions_t.h
18083 * include/bits/types/struct_FILE.h: New wrappers.
18084
18085 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
18086 Get definitions of _G_fpos_t and _G_fpos64_t from
18087 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18088 respectively. Remove improper-inclusion guards.
a4fea3f2 18089
6c6c962a 18090 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 18091 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 18092 libio.h and _G_config.h.
a4fea3f2 18093
ce999220
JM
180942018-02-07 Joseph Myers <joseph@codesourcery.com>
18095
8b4a1182
JM
18096 [BZ #15105]
18097 [BZ #19463]
18098 * include/sys/sysmacros.h [!_ISOMAC]
18099 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18100 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18101 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18102 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18103 libc_hidden_proto.
18104 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18105 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18106 Likewise.
18107 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18108 Undefine and redefine to add use __gnu_dev_ prefix.
18109 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18110 Likewise.
18111 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18112 and define as hidden inline function.
18113 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18114 Likewise.
18115 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18116 Likewise.
18117 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18118 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18119 (gnu_dev_minor): Likewise.
18120 (gnu_dev_makedev): Likewise.
18121 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18122 makedev.
18123 * posix/wordexp.c (exec_comm_child): Likewise.
18124 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18125 instead of minor and __gnu_dev_major instead of major.
18126 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18127 __gnu_dev_major instead of major.
18128 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18129 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18130 instead of gnu_dev_minor.
18131 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18132 (SLAVE_P): Likewise.
18133 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18134 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18135 instead of major.
18136
ce999220
JM
18137 [BZ #21313]
18138 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18139 in another place.
18140 * locale/weightwc.h (findidx): Likewise.
18141
b7c83ca3
WD
181422018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18143
18144 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18145 (slowlog_inexact): Likewise
18146 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18147 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18148
388ff7bd
IG
181492018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18150
18151 [BZ #22797]
18152 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18153 missing second underscore to parameter name.
18154
663e7d78
JM
181552018-02-06 Joseph Myers <joseph@codesourcery.com>
18156
0d40d0ec
JM
18157 [BZ #14508]
18158 [BZ #15512]
18159 [BZ #17082]
18160 [BZ #20530]
18161 * bits/byteswap.h: Update file comment. Do not include
18162 <bits/byteswap-16.h>.
18163 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18164 constant.
18165 (__bswap_16): Define as inline function.
18166 (__bswap_constant_32): Reformat definition.
18167 (__bswap_32): Always define as inline function, not macro, using
18168 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18169 otherwise __bswap_constant_32.
18170 (__bswap_constant_64): Reformat definition. Do not use
18171 __extension__ here.
18172 (__bswap_64): Always define as inline function, not macro. Use
18173 __extension__ on function definition. Use __builtin_bswap64 if
18174 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18175 * string/test-endian-file-scope.c: New file.
18176 * string/test-endian-sign-conversion.c: Likewise.
18177 * string/Makefile (headers): Remove bits/byteswap-16.h.
18178 (tests): Add test-endian-file-scope and
18179 test-endian-sign-conversion.
18180 (CFLAGS-test-endian-sign-conversion.c): New variable.
18181 * bits/byteswap-16.h: Remove file.
18182 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18183 * sysdeps/ia64/bits/byteswap.h: Likewise.
18184 * sysdeps/m68k/bits/byteswap.h: Likewise.
18185 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18186 * sysdeps/s390/bits/byteswap.h: Likewise.
18187 * sysdeps/tile/bits/byteswap.h: Likewise.
18188 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18189 * sysdeps/x86/bits/byteswap.h: Likewise.
18190
383e87c9
JM
18191 [BZ #17721]
18192 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18193 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18194 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18195 199901L] (__restrict): Define to restrict.
18196
d92c2759
JM
18197 [BZ #19667]
18198 * string/testcopy.c: Include <support/support.h>. Do not include
18199 <malloc.h>. Use <support/test-driver.c>.
18200 (main): Rename to do_test. Make static. Use xmalloc instead of
18201 malloc.
18202
625fb764
JM
18203 [BZ #13575]
18204 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18205 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18206 (SSIZE_MAX): Define to INT_MAX.
18207 * posix/test-ssize-max.c: New file.
18208 * posix/Makefile (tests): Add test-ssize-max.
18209
02325d6c
JM
18210 [BZ #19668]
18211 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18212 <support/support.h>. Do not include <malloc.h>.
18213 (query_auxv): Use xmalloc instead of malloc.
18214
663e7d78
JM
18215 [BZ #14553]
18216 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18217 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18218 instead of loff_t.
18219
6b5c8607 182202018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
18221
18222 [BZ #18023]
18223 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18224 Use scratch_buffer instead of extend_alloca.
18225
de6da571
ZW
182262018-02-06 Zack Weinberg <zackw@panix.com>
18227
26c07172
ZW
18228 * libio/stdio.h: Don't define getc or putc as macros.
18229 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18230 not _IO_getc and _IO_putc.
18231
de6da571
ZW
18232 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18233 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18234
92669d6e
JM
182352018-02-06 Joseph Myers <joseph@codesourcery.com>
18236
c2b84df9
JM
18237 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18238 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18239
41376f8c
JM
18240 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18241
d28bf648
JM
18242 [BZ #14890]
18243 * elf/elf.h (NT_PRFPREG): New macro.
18244 (NT_S390_VXRS_LOW): Likewise.
18245 (NT_S390_VXRS_HIGH): Likewise.
18246 (NT_S390_GS_CB): Likewise.
18247 (NT_S390_GS_BC): Likewise.
18248 (NT_S390_RI_CB): Likewise.
18249
e76def72
JM
18250 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18251 (MAP_SYNC): New macro.
18252 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18253 Likewise.
18254 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18255 (MAP_SYNC): Likewise.
18256 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18257 (MAP_SYNC): Likewise.
18258 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18259 (MAP_SYNC): Likewise.
18260 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18261 (MAP_SYNC): Likewise.
18262 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18263 (MAP_SYNC): Likewise.
18264 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18265 (MAP_SYNC): Likewise.
18266 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18267 Likewise.
18268 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18269 Likewise.
18270
92669d6e
JM
18271 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18272 (MAP_SHARED_VALIDATE): New macro.
18273 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18274 (MAP_SHARED_VALIDATE): Likewise.
18275
6a5cac49
L
182762018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18277
18278 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18279 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18280 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18281
b44e0dfb
L
182822018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18283
18284 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18285 (DT_NUM): Updated to 35.
18286
f886c16c
L
182872018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18288
18289 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18290 __builtin_expect with __glibc_likely and __glibc_unlikely.
18291 (elf_machine_rela): Likewise.
18292 (elf_machine_lazy_rel): Likewise.
18293
06fbebff
L
182942018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18295
18296 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 18297 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
18298 (elf_machine_lazy_rel): Likewise.
18299
371b220f
L
183002018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18301
18302 [BZ #22638]
18303 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18304 SHARED.
65805016 18305 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 18306
f649a1b8
AS
183072018-02-05 Andreas Schwab <schwab@suse.de>
18308
18309 [BZ #22761]
18310 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18311 string.
18312
9fdb340e
ST
183132018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18314
18315 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18316 not check against PTHREAD_STACK_MIN.
18317
09e56b9e
SM
183182018-02-02 Sean McKean <smckean83@gmail.com>
18319
18320 [BZ #22735]
18321 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18322
d4b4a00a
FW
183232018-02-02 Florian Weimer <fweimer@redhat.com>
18324
18325 [BZ #22753]
18326 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18327 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18328 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18329 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18330 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18331 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18332 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18333 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18334 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18335 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18336 * misc/tst-preadvwritev2.c (do_test): Call it.
18337 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18338
3dfcbfa1
SP
183392018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18340
84c94d2f
SP
18341 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18342
96e6a716
SP
18343 * benchtests/bench-memcmp.c: Print json instead of plain text.
18344
3dfcbfa1
SP
18345 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18346 every test run.
18347
049375e2
JM
183482018-02-01 Joseph Myers <joseph@codesourcery.com>
18349
39f898c6
JM
18350 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18351 version to 4.15.
18352 (s390_sthyi): New syscall.
18353
6f9a3dd8
JM
18354 * sysdeps/generic/ldbl-classify-compat.h: New file.
18355 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18356 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18357 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18358 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18359 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18360 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18361 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18362 <ldbl-classify-compat.h>.
18363 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18364 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18365 <ldbl-classify-compat.h>.
18366 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18367 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18368 <ldbl-classify-compat.h>.
18369 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18370 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18371 <ldbl-classify-compat.h>.
18372 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18373 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18374 <ldbl-classify-compat.h>.
18375 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18376 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18377 <ldbl-classify-compat.h>.
18378 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18379 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18380 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18381 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18382 * sysdeps/microblaze/math_private.h: Likewise.
18383 * sysdeps/nios2/math_private.h: Likewise.
18384 * sysdeps/sh/math_private.h: Likewise.
18385
eb65a3d5
JM
18386 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18387 * sysdeps/m68k/coldfire/math_private.h: ... here.
18388 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18389 * sysdeps/tile/math_private.h: Likewise.
18390 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18391 Remove macro.
18392 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18393 Likewise.
18394
8a6bb1d0
JM
18395 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18396 Remove macro.
18397 (libc_fetestexcept): Likewise.
18398 (libc_feupdateenv_test): Likewise.
18399 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18400 (libc_fetestexcept): Likewise.
18401 (libc_feupdateenv_test): Likewise.
18402 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18403 (libc_fetestexcept): Likewise.
18404 (libc_feupdateenv_test): Likewise.
18405 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18406 (libc_fetestexcept): Likewise.
18407 (libc_feupdateenv_test): Likewise.
18408
ae1fcb7b
JM
18409 * sysdeps/generic/math_private.h
18410 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18411 New inline function.
18412 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18413 Likewise.
18414
b1c347e2
JM
18415 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18416 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18417 * sysdeps/generic/math_private.h
18418 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18419 inline function.
18420 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18421 Likewise.
18422 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18423 Likewise.
18424 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18425 Likewise.
18426 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18427 Likewise.
18428 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18429 Likewise.
18430 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18431 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18432 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18433 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18434 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18435 (__fegetenv): Likewise.
18436 (fesetenv): Likewise.
18437 (__fesetenv): Likewise.
18438 (feupdateenv): Likewise.
18439 (__feupdateenv): Likewise.
18440 (fegetround): Likewise.
18441 (__fegetround): Likewise.
18442 (fesetround): Likewise.
18443 (__fesetround): Likewise.
18444
d23a4962
JM
18445 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18446 (feraiseexcept): New macro.
18447 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18448 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18449 Remove macro.
18450 (__feraiseexcept): Likewise.
18451 (feclearexcept): Likewise.
18452 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18453 (__feraiseexcept): Likewise.
18454 (feclearexcept): Likewise.
18455 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18456 (__feraiseexcept): Likewise.
18457 (feclearexcept): Likewise.
18458 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18459 (__feraiseexcept): Likewise.
18460 (feclearexcept): Likewise.
18461 (fetestexcept): Likewise.
18462
5f167950
JM
18463 * sysdeps/m68k/coldfire/math-tests.h: New file.
18464
ccc9035a
JM
18465 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18466 * sysdeps/m68k/bits/fenv.h: ... here.
18467 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18468 not define.
18469 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18470 Likewise.
18471 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18472 Likewise.
18473 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18474 Likewise.
18475 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18476 Likewise.
18477 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18478 Define to 0.
18479 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18480 (__FE_UNDEFINED): New enum constant.
18481 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18482 Do not define.
18483 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18484 Likewise.
18485 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18486 Likewise.
18487 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18488 to match generic bits/fenv.h.
18489 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18490 Do not define.
18491
049375e2
JM
18492 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18493 packed on bits.
18494 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18495 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18496 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18497 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18498
f1d73681
CD
184992018-02-01 Carlos O'Donell <carlos@redhat.com>
18500 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18501 Joseph Myers <joseph@codesourcery.com>
18502
18503 [BZ #21314]
18504 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18505 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18506 computation using c.
18507 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18508 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18509 computation using c.
18510
242cbc90
DL
185112018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18512
086ee48e
DL
18513 * version.h (RELEASE): Set to "development".
18514 (VERSION): Set to "2.27.9000".
18515 * NEWS (2.28): New section.
18516
23158b08
DL
18517 * version.h (RELEASE): Set to "stable".
18518 (VERSION): Set to "2.27".
18519 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18520
242cbc90
DL
18521 * NEWS: Add the list of bugs fixed in 2.27.
18522
673e2305
AZ
185232018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18524
18525 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18526 against PTHREAD_STACK_MIN.
18527
ced64e01
DL
185282018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18529
18530 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18531 New entries.
18532 (Rafal Luzynski, Andreas Schwab): Update.
18533
c10c9a5e
RL
185342018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18535
18536 [BZ #10871]
18537 * NEWS: List the languages which actually use the alternative
18538 months feature in this release. Also explain that "alt_mon" and
18539 "ab_alt_mon" are optional.
18540
650ba77a
IM
185412018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18542
18543 [BZ #22765]
18544 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18545
93493119
DL
185462018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18547
18548 * manual/install.texi (Tools for Compilation): Update the newest
18549 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18550 * INSTALL: Regenerated.
18551
363e4519 185522018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
18553
18554 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18555 instead of __builtin_expect.
18556
d7536874
FW
185572018-01-30 Florian Weimer <fweimer@redhat.com>
18558
18559 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18560 data.
18561 * nss/tst-nss-getpwent.c (do_test): Likewise.
18562
9a1b267d
RL
185632018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18564
18565 [BZ #10871]
18566 * localedata/locales/hr_HR (mon): Rename to...
18567 (alt_mon): This.
18568 (mon): Import from CLDR (genitive case).
18569 (d_t_fmt): Update the comment.
18570
9a179328
AS
185712018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18572
18573 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18574 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18575 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18576
e01e0ddc
ST
185772018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18578
18579 * mach/Versions: Fix version when __mach_host_self_ was added.
18580 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18581 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18582 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18583 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18584 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18585 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18586 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18587 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18588 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18589 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18590 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18591 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
18592 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18593 || to respect codestyle.
2aadb705
ST
18594 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18595 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
18596 * malloc/malloc.c: Include <assert.h>.
18597 (assert): Do not define.
18598 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
18599 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18600 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 18601 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 18602 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 18603
521877e1
PD
186042018-01-29 Darius Rad <darius@bluespec.com>
18605
18606 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18607
532cf290
PD
186082018-01-29 Palmer Dabbelt <palmer@sifive.com>
18609
18610 * sysdeps/init_array/crti.S (.section .init_array): Add
18611 PREINIT_FUNCTION when defined.
40ca951b 18612 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 18613 * config.h.in: Regenerate.
ba9e25a6
PD
18614 * manual/platform.texi: Add RISC-V documenation for
18615 __riscv_flush_icache.
c776fa11
PD
18616 * sysdeps/riscv/__longjmp.S: New file.
18617 * sysdeps/riscv/backtrace.c: Likewise.
18618 * sysdeps/riscv/bits/endian.h: Likewise.
18619 * sysdeps/riscv/bits/setjmp.h: Likewise.
18620 * sysdeps/riscv/bits/wordsize.h: Likewise.
18621 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18622 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18623 * sysdeps/riscv/dl-trampoline.S: Likewise.
18624 * sysdeps/riscv/gccframe.h: Likewise.
18625 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18626 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18627 * sysdeps/riscv/machine-gmon.h: Likewise.
18628 * sysdeps/riscv/memusage.h: Likewise.
18629 * sysdeps/riscv/setjmp.S: Likewise.
18630 * sysdeps/riscv/sys/asm.h: Likewise.
18631 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
18632 * sysdeps/riscv/dl-tls.h: New file.
18633 * sysdeps/riscv/libc-tls.c: Likewise.
18634 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18635 * sysdeps/riscv/nptl/tls.h: Likewise.
18636 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
18637 * sysdeps/riscv/bits/fenv.h: New file.
18638 * sysdeps/riscv/e_sqrtl.c: Likewise.
18639 * sysdeps/riscv/fpu_control.h: Likewise.
18640 * sysdeps/riscv/math-tests.h: Likewise.
18641 * sysdeps/riscv/nofpu/Implies: Likewise.
18642 * sysdeps/riscv/sfp-machine.h: Likewise.
18643 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
18644 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18645 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18646 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18647 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18648 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18649 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18650 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18651 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18652 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18653 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18654 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18655 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18656 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18657 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18658 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18659 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18660 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18661 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18662 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18663 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18664 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18665 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18666 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18667 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18668 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18669 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18670 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18671 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18672 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18673 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18674 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18675 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18676 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18677 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18678 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18679 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18680 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18681 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18682 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18683 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18684 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18685 * sysdeps/riscv/rvf/math_private.h: Likewise.
18686 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18687 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18688 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18689 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18690 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18691 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18692 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18693 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18694 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18695 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18696 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18697 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18698 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18699 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18700 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18701 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
18702 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18703 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18704 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18705 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
18706 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18707 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18708 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18709 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18710 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18711 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18712 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18713 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18714 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
18715 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18716 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18717 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18718 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18719 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18720 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18721 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18722 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18723 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18724 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18725 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18726 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18727 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18728 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18729 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18730 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18731 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18732 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18733 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18734 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18735 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18736 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
18737 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18738 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18739 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
18740 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18741 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18742 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18743 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18744 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18745 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18746 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18747 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18748 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18749 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18750 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18751 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18752 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18753 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
18754 * sysdeps/riscv/Implies: New file.
18755 * sysdeps/riscv/Makefile: Likewise.
18756 * sysdeps/riscv/configure: Likewise.
18757 * sysdeps/riscv/configure.ac: Likewise.
18758 * sysdeps/riscv/nptl/Makefile: Likewise.
18759 * sysdeps/riscv/preconfigure: Likewise.
18760 * sysdeps/riscv/rv64/Implies-after: Likewise.
18761 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18762 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18763 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18764 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18765 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18766 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18767 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18768 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18769 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18770 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18771 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
18772 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18773 (Config): Likewise.
532cf290 18774
cdd14619
FW
187752018-01-29 Florian Weimer <fweimer@redhat.com>
18776
18777 [BZ #22701]
18778 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18779 libnsl_hidden_proto.
18780 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18781 libnsl_hidden_proto.
18782 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18783 * nis/Makefile (libnsl-routines): Add nss-default only for
18784 build-obsolete-nsl.
18785 * nis/nis_defaults.c (__nis_default_ttl): Add
18786 libnsl_hidden_nolink_def.
18787 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18788 declaration.
18789 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18790 * nis/ypclnt.c (yp_maplist): Likewise.
18791
b7ccb5de
RN
187922018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18793
18794 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18795 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18796
522623e4
JM
187972018-01-29 Joseph Myers <joseph@codesourcery.com>
18798
e3aa6999
JM
18799 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18800 clean -dxfq for git updates when replacing sources.
18801
088de7d0
JM
18802 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18803 --disable-libcilkrts unconditionally, not just for the final GCC
18804 build for Hurd.
18805
522623e4
JM
18806 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18807 version to 4.15.
18808
8b406f87
RL
188092018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18810
18811 [BZ #10871]
18812 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18813 case).
18814
105e90bd
RL
188152018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18816
18817 [BZ #10871]
18818 * localedata/locales/be_BY (mon): Rename to...
18819 (alt_mon): This, then synchronize with CLDR (nominative case).
18820 (abmon): Rename to...
18821 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18822 (mon): Import from CLDR (genitive case).
18823 (abmon): Likewise.
18824 * localedata/locales/be_BY@latin (mon): Rename to...
18825 (alt_mon): This.
18826 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18827
18828 * localedata/locales/be_BY@latin (lang_name): Reworded to
18829 "biełaruskaja mova".
18830
561cb414
RL
188312018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18832
18833 [BZ #10871]
18834 * localedata/locales/el_CY (mon): Renamed to...
18835 (alt_mon): This.
18836 (mon): Import from CLDR (genitive case).
18837 * localedata/locales/el_GR: Likewise.
18838
f7bdf30d
RL
188392018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18840
18841 [BZ #10871]
18842 * localedata/locales/ru_RU (mon): Rename to...
18843 (alt_mon): This.
18844 (abmon): Rename to...
18845 (ab_alt_mon): This.
18846 (mon): Import from CLDR (genitive case).
18847 (abmon): Copy from the old content except the 5th month which is
18848 now in the genitive case, even when abbreviated.
18849 * localedata/locales/ru_UA: Likewise.
18850 * time/tst-strptime.c (day_tests): Add an actual example of
18851 a difference between %b and %Ob in Russian.
18852
85285a0c
ST
188532018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18854
18855 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
18856 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18857 a `c' variable.
3538a4b6 18858 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
18859 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18860 <sys/wait.h>, <time.h>, <sys/uio.h>.
18861 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 18862 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
18863 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18864 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18865 return 0.
05ebfe87
ST
18866 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18867 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
18868 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18869 instead of void *.
18870 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18871 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
18872 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18873 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
18874 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18875 and make them the default for now.
903d3633
ST
18876 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18877 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
18878 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18879 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18880 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18881 MACH_IPC_COMPAT.
06fac9f5
ST
18882 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18883 __task_terminate would ever return successfully.
f8177753
ST
18884 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18885 to global scope.
41cdb1eb
ST
18886 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18887 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
18888 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18889 critical section to make code simpler and avoid warning.
18890 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18891 critical section to make code simpler and avoid warning.
844bf921
ST
18892 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18893 const char * instead of char *.
f8bee46c
ST
18894 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18895 __hurd_file_name_split, hurd_file_name_split,
18896 __hurd_directory_name_split, hurd_directory_name_split,
18897 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18898 hurd_file_name_path_lookup): Make lookup function parameter take a
18899 const char *name instead of char *name.
18900 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18901 __hurd_directory_name_split): Likewise.
18902 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18903 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
18904 * sysdeps/mach/hurd/check_native.c: New file.
18905 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
18906 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18907 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
18908 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18909 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
18910 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18911 (do_test_bz20181): Rename accordingly.
18912 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
18913 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18914 <sys/mount.h>.
28f6186f
ST
18915 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18916 version only if __USE_EXTERN_INLINES is defined.
18917 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18918 __hurd_sockfail): Likewise.
18919 (_hurd_fd_get): Always declare functions, and provide inline versions
18920 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18921 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18922 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18923 _hurd_port_set): Always declare functions, and provide inline versions
18924 only if __USE_EXTERN_INLINES and _LIBC are defined and
18925 IS_IN(libc).
18926 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18927 _hurd_critical_section_unlock): Likewise.
18928 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18929 * __hurd_threadvar_location): Likewise.
18930 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18931 _hurd_userlink_clear): Likewise.
18932 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18933 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18934 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18935 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18936 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18937 __spin_lock_locked): Likewise.
18938 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18939 __spin_lock_locked): Likewise.
18940 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18941 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18942 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18943 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18944 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
18945 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18946 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
18947 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18948 check size against PTHREAD_STACK_MIN.
625ba81e
ST
18949 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18950 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
18951 * mach/Makefile (user-interfaces): Add mach/gnumach.
18952 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18953 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
18954 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18955 instead of invalid -1.
1f89ac71
ST
18956 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18957 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18958 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18959 <net/ppp_defs.h>.
85285a0c 18960
1fd1e27c 189612018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
18962
18963 * hurd/fcntl-internal.h: New file.
18964
3854c5a8
JC
189652018-01-27 James Clarke <jrtc27@jrtc27.com>
18966
7e23a7dd
JC
18967 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18968
3854c5a8
JC
18969 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18970
5503f413
AS
189712018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18972
18973 [BZ #22701]
18974 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18975 Build only shared objects.
18976
caaf7804
CD
189772018-01-26 Carlos O'Donell <carlos@redhat.com>
18978
18979 * README: Update for hppa.
18980
1cbf818d
PM
189812018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18982
caaf7804
CD
18983 * sysdeps/sparc/fpu/libm-test-ulps: Update
18984 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 18985
caaf7804 189862018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
18987
18988 Revert:
18989
18990 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18991
18992 [BZ #22563]
18993 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18994 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18995 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18996 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18997 to feature_1.
18998
18999 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19000
19001 [BZ #22563]
19002 * bits/types/__cancel_jmp_buf_tag.h: New file.
19003 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19004 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19005 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19006 * nptl/Makefile (headers): Add
19007 bits/types/__cancel_jmp_buf_tag.h.
19008 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19009 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19010 * sysdeps/nptl/pthread.h: Include
19011 <bits/types/__cancel_jmp_buf_tag.h>.
19012 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19013 __cancel_jmp_buf.
19014 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19015
65f6c94e
RL
190162018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19017
19018 [BZ #10871]
19019 * localedata/locales/uk_UA (mon): Renamed to...
19020 (alt_mon): This.
19021 (alt_digits): "0" removed and then renamed to...
19022 (mon): This.
19023 (date_fmt): Definition changed not to use the alternative
19024 digits hack.
19025
fb58aac5
PD
190262018-01-25 Palmer Dabbelt <palmer@sifive.com>
19027
19028 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19029 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19030 * elf/elf.h (EF_RISCV_RVC): New define.
19031 (EF_RISCV_FLOAT_ABI): Likewise.
19032 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19033 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19034 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19035 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19036 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19037 define.
19038 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19039
128c43a2
AS
190402018-01-25 Andreas Schwab <schwab@suse.de>
19041
19042 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19043 single quotes.
19044 * sysdeps/gnu/configure: Regenerate.
19045 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19046 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19048 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19049 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19050 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19051 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19052 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19053
f9015003
ST
190542018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19055
48130690 19056 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 19057 URL, and run autoconf, make it the default for now.
f9015003 19058
91b2cffa
JM
190592018-01-24 Joseph Myers <joseph@codesourcery.com>
19060
3005b705
JM
19061 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19062 soft-float ColdFire configuration.
19063
69231fab
JM
19064 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19065 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19066 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19067
d4c7e1d0
JM
19068 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19069 MicroBlaze file.
19070
0cfe5be5
JM
19071 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19072 ....
19073 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19074 ... here.
19075 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19076 New file.
19077
91b2cffa
JM
19078 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19079 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19080 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19081 file.
19082
c739e191
SN
190832018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19084
19085 [BZ #22742]
19086 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19087 Rename to __reserved and add comment.
19088 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19089 Rename to __reserved.
19090
394b5bac
JM
190912018-01-24 Joseph Myers <joseph@codesourcery.com>
19092
19093 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19094 i686-gnu configurations.
19095 (Context.run_builds): Include mig, gnumach and hurd in components
19096 considered.
19097 (Context.checkout): Add mig, gnumach and hurd to components.
19098 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19099 hurd.
19100 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19101 (Config.build): Install gnumach headers, build mig and install
19102 hurd headers for 'gnu' OS.
19103 (Config.install_gnumach_headers): New function.
19104 (Config.install_hurd_headers): Likewise.
19105 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19106 when building for 'gnu' OS.
19107
28c3f14f
TK
191082018-01-23 Tobias Klauser <tklauser@distanz.ch>
19109
19110 * manual/tunables.texi (Hardware Capability Tunables): Fix
19111 spelling.
19112
0f5e2da1
RJ
191132018-01-22 Rical Jasan <ricaljasan@pacific.net>
19114
19115 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19116 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19117 (ALTMON_11, ALTMON_12): Improve documentation.
19118 * manual/time.texi (strftime): Likewise.
19119
7817b14a
RL
191202018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19121
19122 [BZ #10871]
19123 * localedata/locales/pl_PL: Alternative month names added,
19124 primary month names are genitive now.
19125 * time/tst-strptime.c (day_tests): Actually use a genitive case
19126 of a month name in Polish language.
19127
22390764
RL
191282018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19129
19130 [BZ #10871]
19131 * manual/locale.texi: Document ALTMON_1..12 constants for
19132 nl_langinfo. Specify when to use ALTMON instead of MON.
19133 * manual/time.texi (strftime, strptime): Document GNU extension
19134 permitting O modifier with %B and %b. Specify when to use
19135 %OB instead of %B.
19136
761a585c
RL
191372018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19138
19139 [BZ #10871]
19140 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19141 names, define them as the same as abbreviated month names explicitly.
19142 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19143 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19144 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19145 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19146 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19147 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19148 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19149 _NL_WABALTMON_12): New enum constants.
19150 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19151 wab_alt_mon, and ab_alt_mon_defined members.
19152 (time_output): Output ab_alt_mon and wab_alt_mon members.
19153 (time_read): Read them, initialize them as copies of abmon and wabmon
19154 respectively if they are missing, initialize ab_alt_mon_defined.
19155 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19156 * locale/programs/locfile-kw.h: Regenerate.
19157 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19158 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19159 and ru_RU.UTF-8.
19160 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19161 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19162 (__strftime_internal): Handle %Ob and %Oh formats.
19163 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19164 (__strptime_internal): Handle %Ob and %Oh formats.
19165 * time/tst-strptime.c (day_tests): Add more tests to parse different
19166 forms of month names including the new %Ob format specifier.
19167
95cb863a
RL
191682018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19169
19170 [BZ #10871]
19171 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19172 define them as the same as primary full month names explicitly.
19173 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19174 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19175 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19176 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19177 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19178 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19179 _NL_WALTMON_12): New enum constants.
19180 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19181 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19182 macros.
19183 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19184 walt_mon, and alt_mon_defined members.
19185 (time_output): Output alt_mon and walt_mon members.
19186 (time_read): Read them, initialize them as copies of mon and wmon
19187 respectively if they are missing, initialize alt_mon_defined.
19188 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19189 * locale/programs/locfile-kw.h: Regenerate.
19190 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19191 * localedata/tst-langinfo.c (map): Add tests for the new constants
19192 ALTMON_1 .. ALTMON_12.
19193 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19194 and pl_PL.UTF-8.
19195 * time/strftime_l.c (f_altmonth): New macro.
19196 (__strftime_internal): Handle %OB format.
19197 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19198 (__strptime_internal): Handle %OB format.
19199 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19200 of month names including the new %OB format specifier.
19201
4612268a
TMQMF
192022018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19203
19204 [BZ #22685]
19205 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19206 from ABORT_TRANSACTION.
19207 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19208 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19209 ABORT_TRANSACTION_IMPL): Likewise.
19210 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19211 Linux code, but remove the code that aborts transactions.
19212
64f63cb4
ST
192132018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19214
19215 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19216
32ac6e92
RL
192172018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19218
19219 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19220 in date: "2004-14-09" should be "2004-09-14".
19221 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19222 "2003-15-09" should be "2003-09-15".
19223
8e448310
AS
192242018-01-18 Arjun Shankar <arjun@redhat.com>
19225
19226 [BZ #22343]
71aa429b 19227 [BZ #22774]
4590634f 19228 CVE-2018-6485
71aa429b 19229 CVE-2018-6551
8e448310
AS
19230 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19231 after padding.
19232 (_int_memalign): check for integer overflow before calling
19233 _int_malloc.
19234 * malloc/tst-malloc-too-large.c: New test.
19235 * malloc/Makefile: Add tst-malloc-too-large.
19236
e234d7cb
RL
192372018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19238
19239 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19240 in date: "2017-24-07" should be "2017-07-24".
19241 * localedata/locales/mai_IN: Likewise.
19242 * localedata/locales/mai_NP: Likewise.
19243
48b66019
DL
192442018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19245
19246 * po/ru.po: Update translations.
19247
1eeddc58
JM
192482018-01-17 Joseph Myers <joseph@codesourcery.com>
19249
19250 [BZ #22719]
19251 * sysdeps/hppa/backtrace.c: New file.
19252
207a72e2
L
192532018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19254
19255 [BZ #22715]
19256 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19257 align La_x86_64_retval to VEC_SIZE.
19258
4942c4ea
JM
192592018-01-16 Joseph Myers <joseph@codesourcery.com>
19260
19261 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19262 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19263
10d200db
FW
192642018-01-16 Florian Weimer <fweimer@redhat.com>
19265
19266 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19267 Move tst-thread-exit-clobber ...
19268 [$(CXX)] (tests-unsupported): ... to here.
19269
953c49cc
SN
192702018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19271
19272 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19273 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19274 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19275 (_dl_aarch64_cap_flags): Update.
19276 (_DL_HWCAP_COUNT): Update.
19277
afce1991
SN
192782018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19279
19280 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19281 (_DL_HWCAP_LAST): Remove.
19282 (_DL_HWCAP_COUNT): Move to ...
19283 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19284 (_DL_HWCAP_COUNT): ... here.
19285
b725132d
FW
192862018-01-16 Florian Weimer <fweimer@redhat.com>
19287
19288 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19289 mode with GNU extensions.
19290
c9e613a7
AH
192912018-01-15 Alan Hayward <alan.hayward@arm.com>
19292
19293 * elf/elf.h (NT_ARM_SVE): Define.
19294
860b0240
FW
192952018-01-15 Florian Weimer <fweimer@redhat.com>
19296
19297 [BZ #22636]
19298 * nptl/tst-minstack-throw.cc: New file.
19299 * nptl/Makefile (tests): Add tst-minstack-throw.
19300 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19301 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19302
16d0f6ac
JM
193032018-01-15 Joseph Myers <joseph@codesourcery.com>
19304
19305 * scripts/build-many-glibcs.py (Context.checkout): Default
19306 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19307 version to 1.1.0.
19308
505d3910
CD
193092018-01-13 Carlos O'Donell <carlos@redhat.com>
19310
19311 [BZ #22707]
19312 * elf/elf.h (DF_1_STUB): Define.
19313 (DF_1_PIE): Define.
19314
af1e6be4
TMQMF
193152018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19316
19317 [BZ #22697]
19318 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19319 Do not add 0.5 to integer or out-of-range arguments.
19320
98d13ce0
DL
193212018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19322
19323 * po/bg.po: Update translations.
19324 * po/cs.po: Likewise.
19325 * po/de.po: Likewise.
19326 * po/ko.po: Likewise.
19327 * po/pl.po: Likewise.
19328 * po/sv.po: Likewise.
19329 * po/uk.po: Likewise.
19330 * po/vi.po: Likewise.
19331
3d1d7928
SN
193322018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19333
19334 * aarch64/start.S (_start): Use __wrap_main.
19335 (__wrap_main): New local symbol.
19336
52a713fd
DL
193372018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19338
19339 [BZ #22679]
19340 CVE-2018-1000001
19341 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19342 generic_getcwd if the path returned by getcwd syscall is not absolute.
19343 * io/tst-getcwd-abspath.c: New test.
19344 * io/Makefile (tests): Add tst-getcwd-abspath.
19345
249a5895
IK
193462018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19347
19348 * malloc/malloc.c (malloc_consolidate): Add size check.
19349
1a51e46e
FW
193502018-01-12 Florian Weimer <fweimer@redhat.com>
19351
19352 * support/write_message.c (write_message): Preserve errno.
19353 * support/check.c (print_failure): Likewise.
19354 * support/support_test_verify_impl.c (support_test_verify_impl):
19355 Likewise.
19356 * support/support_test_compare_failure.c
19357 (support_test_compare_failure): Likewise.
19358
9a08a366
FW
193592018-01-12 Florian Weimer <fweimer@redhat.com>
19360
19361 [BZ #22701]
19362 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19363 Prevent installation of libnsl.so.
19364 (libnsl-inhibit-o): Do not build (or install) static libraries.
19365
80647883 193662018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
19367
19368 [BZ #22657]
19369 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19370 before the day number which may produce a double space.
19371 (date_fmt): Likewise.
19372
c8924f1f
JM
193732018-01-12 Joseph Myers <joseph@codesourcery.com>
19374
19375 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19376 instead of fegetenv.
19377
da09e6fa
JM
193782018-01-11 Joseph Myers <joseph@codesourcery.com>
19379
19380 [BZ #22702]
19381 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19382 comment to say exceptions are discarded.
19383 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19384 __fegetenv.
19385 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19386 be enabled.
19387
08c6e952
FW
193882018-01-11 Florian Weimer <fweimer@redhat.com>
19389
19390 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19391 and error message.
19392
d8b77890
FW
193932018-01-11 Florian Weimer <fweimer@redhat.com>
19394
19395 [BZ #22636]
19396 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19397 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19398
b303185d
JM
193992018-01-10 Joseph Myers <joseph@codesourcery.com>
19400
19401 [BZ #22693]
19402 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19403 negative arguments in test for NaN or infinity argument.
19404
ee61d028
DL
194052018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19406
19407 * po/libc.pot: Regenerate.
19408
f993b875
FW
194092018-01-10 Florian Weimer <fweimer@redhat.com>
19410
19411 [BZ #22636]
19412 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19413 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19414
09085ede
ST
194152018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19416
19417 * hurd/hurd/fd.h: Include <fcntl.h>
19418 (__hurd_at_flags): New function.
19419 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19420 with call to __hurd_at_flags.
19421 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19422 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19423 __faccessat
19424 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19425 (__access_noerrno): Use __faccessat_common instead of access_common.
19426 (__access): Likewise.
19427 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19428 with a call to __faccessat.
19429 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19430 (__faccessat_common): ... this. Move implementation of __access into it when
19431 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19432 reauthenticate_cwdir_at helper to implement AT mechanism.
19433 (__faccessat_noerrno): New function, just calls __faccessat_common.
19434 (__faccessat): New function, just calls __faccessat_common.
19435 (faccessat): Define weak alias.
19436
12727488
JM
194372018-01-10 Joseph Myers <joseph@codesourcery.com>
19438
87faac55
JM
19439 [BZ #22691]
19440 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19441 (CFLAGS-s_fmaxmagl.c): New variable.
19442 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19443
12727488
JM
19444 [BZ #22690]
19445 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19446 long int for arguments of possibly overflowing addition or
19447 subtraction.
19448 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19449
e134ca17
JM
194502018-01-09 Joseph Myers <joseph@codesourcery.com>
19451
b2584ac2
JM
19452 [BZ #22688]
19453 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19454 (CFLAGS-e_remainderl.c): New variable.
19455
e134ca17
JM
19456 [BZ #22687]
19457 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19458 variable.
19459 (CFLAGS-s_cacoshl.c): Likewise.
19460 (CFLAGS-s_casinhl.c): Likewise.
19461 (CFLAGS-s_catanl.c): Likewise.
19462 (CFLAGS-s_catanhl.c): Likewise.
19463 (CFLAGS-s_cexpl.c): Likewise.
19464 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19465 (CFLAGS-s_csinhl.c): Likewise.
19466 (CFLAGS-s_clogl.c): Likewise.
19467 (CFLAGS-s_clog10l.c): Likewise.
19468 (CFLAGS-s_csinl.c): Likewise.
19469 (CFLAGS-s_csqrtl.c): Likewise.
19470
d31a4a48
ST
194712017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
194722017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
19473
19474 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19475 (_hurd_exec_paths): New function.
19476 * hurd/hurd.h (_hurd_exec): Deprecate function.
19477 (_hurd_exec_paths): Declare function.
19478 * hurd/Versions: Export _hurd_exec_paths.
19479 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19480 (__execve): Use __getcwd to build absolute path, and use
19481 _hurd_exec_paths instead of _hurd_exec.
19482 * sysdeps/mach/hurd/spawni.c: Likewise.
19483 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19484 _hurd_exec.
19485
d7ff3f11
DL
194862018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19487
19488 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19489 test instead of failing in case of ENOENT returned by posix_openpt.
19490
401311cf
FW
194912018-01-08 Florian Weimer <fweimer@redhat.com>
19492
19493 resolv: Support binary labels in test framework.
19494 * support/resolv_test.c (struct to_be_freed): Remove.
19495 (struct compressed_name): New.
19496 (allocate_compressed_name, ascii_tolower)
19497 (compare_compressed_name): New functions.
19498 (struct resolv_response_builder): Update type of
19499 compression_offsets for use with tsearch. Rempve to_be_freed.
19500 (response_push_pointer_to_free): Remove function.
19501 (resolv_response_add_name): Rewrite using struct compressed_name
19502 and tsearch instead of hsearch_r.
19503 (response_builder_allocate): Remove initialization of
19504 compression_offsets.
19505 (response_builder_free): Update for removal of to_be_freed. Use
19506 tdestroy instead of hdestroy_r.
19507 * resolv/Makefile (tests): Add tst-resolv-binary.
19508 (tst-resolv-binary): Link with -lresolv -lpthread.
19509
2b3aa446
FW
195102018-01-08 Florian Weimer <fweimer@redhat.com>
19511
19512 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19513 time. Pass positive flag instead of negative flag to
19514 support_test_compare_failure.
19515 (support_test_compare_failure): Change negative parameter to
19516 positive.
19517 * support/support_test_compare_failure.c (report)
19518 (support_test_compare_failure): Likewise.
19519 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19520 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19521
630f4cc3
SN
195222018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19523
19524 [BZ #22637]
19525 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19526 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19527 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19528 stacksize.
19529 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19530
c70e4e9c
L
195312018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19532
19533 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19534 Add s_sincosf-sse2 and s_sincosf-fma.
19535 (CFLAGS-s_sincosf-fma.c): New.
19536 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19537 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19538 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19539 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19540 __sincosf is defined.
19541
579396ee
FW
195422018-01-08 Florian Weimer <fweimer@redhat.com>
19543
19544 * nptl/tst-thread-exit-clobber.cc: New file.
19545 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19546 C++11 mode.
19547 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19548 (tests): Add tst-thread-exit-clobber.
19549 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19550
dabd75b6
FW
195512018-01-08 Florian Weimer <fweimer@redhat.com>
19552
19553 * support/check.h (support_static_assert): Define.
19554 (TEST_COMPARE): Use it.
19555
c2e014cc
AJ
195562018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19557
19558 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19559 [!__RLIM_T_MATCHES_RLIM64_T]
19560 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19561 __getrlimit64. Add libc_hidden_weak.
19562
31a98837
PD
195632018-01-06 Palmer Dabbelt <palmer@sifive.com>
19564
19565 * elf/elf.h (R_RISCV_NONE): New define.
19566 (R_RISCV_32): Likewise.
19567 (R_RISCV_64): Likewise.
19568 (R_RISCV_RELATIVE): Likewise.
19569 (R_RISCV_COPY): Likewise.
19570 (R_RISCV_JUMP_SLOT): Likewise.
19571 (R_RISCV_TLS_DTPMOD32): Likewise.
19572 (R_RISCV_TLS_DTPMOD64): Likewise.
19573 (R_RISCV_TLS_DTPREL32): Likewise.
19574 (R_RISCV_TLS_DTPREL64): Likewise.
19575 (R_RISCV_TLS_TPREL32): Likewise.
19576 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
19577 * Makerules (make-link-multidir): Make directories before linking into
19578 them.
150bbac1
PD
19579 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19580 define.
19581 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
19582 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19583 in subdirectories of lib.
8e13c51b
PD
19584 * nptl/Makefile (/librt.so): Always depend on
19585 "$(shared-thread-library)".
31a98837 19586
fad7d57e
ST
195872018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19588
19589 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
19590 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19591 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19592 (___tls_get_addr).
19593 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
19594 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19595 "-O2 -march=i686".
01c7e549 19596 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
19597 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19598 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19599 * sysdeps/gnu/glob-lstat-compat.c: New file.
19600 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 19601 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 19602
3a32b716
TMQMF
196032018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19604
19605 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19606 Reserve 16 chars to reloc_addr before calling _itoa_word.
19607
24731685
AJ
196082018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19609
19610 [BZ #22678]
19611 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19612 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19613
19be56d8
AJ
19614 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19615 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19616
a6d0afb5
AJ
19617 * resource/tst-getrlimit.c: Add copyright header.
19618
8e900969
AJ
196192018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19620 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19621
19622 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19623 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19624 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19625 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19626 instead.
19627 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19628 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19629 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19630 RLIM64_INFINITY): Fix values to match the kernel ones.
19631 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19632 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19633 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19634 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19635 getrlimit64@@GLIBC_2_27.
19636 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19637 and setrlimit64.
19638 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19639 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19640 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19641 setrlimit, getrlimit64 and setrlimit64.
19642
0d0bc784
AJ
196432018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19644
19645 [BZ #22648]
19646 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19647 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19648
ba374b6d
JM
196492018-01-04 Joseph Myers <joseph@codesourcery.com>
19650
19651 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19652 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19653 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19654
4854ddd8
AZ
196552018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19656
b0a4eca2
AZ
19657 [BZ #15479]
19658 [BZ #22666]
19659 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19660 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19661
4854ddd8
AZ
19662 [BZ #15479]
19663 [BZ #22665]
19664 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19665 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19666 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19667 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19668
8a5df95f
FW
196692018-01-04 Florian Weimer <fweimer@redhat.com>
19670
19671 [BZ #22667]
19672 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19673 Align the stack before calling exit.
19674 * stdlib/tst-makecontext-align.c: New file.
19675 * stdlib/Makefile (tests): Add tst-makecontext-align.
19676
82eef55f
FW
196772018-01-04 Florian Weimer <fweimer@redhat.com>
19678
19679 Add support for calling dlvsym from libc.so.
19680 * include/dlfcn.h (__libc_dlvsym): Declare.
19681 * elf/Makefile (tests-static-internal): Add
19682 tst-libc_dlvsym-static.
19683 (tests-internal): Add tst-libc_dlvsym.
19684 (modules-names): Add tst-libc_dlvsym-dso.
19685 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19686 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19687 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19688 object tst-libc_dlvsym-dso.so needs to be built before running
19689 these tests.
19690 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19691 * elf/Versions: Export __libc_dlvsym.
19692 * elf/dl-libc.c (struct do_dlvsym_args): New.
19693 (do_dlvsym, __libc_dlvsym): New functions.
19694 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19695 (_dl_open_hook2): New variable.
19696 (__libc_register_dl_open_hook): Set it.
19697 * elf/tst-libc_dlvsym-dso.c: New file.
19698 * elf/tst-libc_dlvsym-static.c: Likewise.
19699 * elf/tst-libc_dlvsym.c: Likewise.
19700 * elf/tst-libc_dlvsym.h: Likewise.
19701
1714fc06
ST
197022018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19703
19704 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19705 include <sys/mount.h>.
19706
3c7d0312
WD
197072018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19708
19709 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19710 Add __NO_MATH_ERRNO__ check.
19711
7eff0954
JM
197122018-01-02 Joseph Myers <joseph@codesourcery.com>
19713
19714 * sysdeps/mips/mips32/libm-test-ulps: Update.
19715 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19716
77f49956
FW
197172018-01-02 Florian Weimer <fweimer@redhat.com>
19718
19719 * misc/tst-pselect.c: Add copyright header.
19720
363e4519 197212018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
19722
19723 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19724 comment.
19725 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19726 comment.
19727 (settrlimit): Rename into setrlimit.
19728 (__sttrlimit): Rename into __setrlimit.
19729
3e4226ff
AJ
19730 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19731 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19732 never defined in that case.
19733
b9256ab6
JM
197342018-01-02 Joseph Myers <joseph@codesourcery.com>
19735
28fd6a44
JM
19736 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19737
a4933a15
JM
19738 * sysdeps/arm/libm-test-ulps: Update.
19739
b9256ab6
JM
19740 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19741 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19742
4cf82d23
RS
197432018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19744
19745 * NEWS: Add cosf and sincosf to list of optimized functions.
19746
6a9dd7a7
AJ
197472018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19748
19749 [BZ #22660]
19750 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19751 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19752 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19753 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19754
dbba87d5
DL
197552018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19756
b05cb613
DL
19757 [BZ #22433]
19758 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19759
dbba87d5
DL
19760 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19761 making a copy of it.
19762
688903eb
JM
197632018-01-01 Joseph Myers <joseph@codesourcery.com>
19764
66ac23de
JM
19765 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19766 trailing whitespace removed.
19767 * scripts/config.guess: Update to version 2018-01-01.
19768 * scripts/config.sub: Update to version 2018-01-01.
19769 * scripts/move-if-change: Update from gnulib.
19770
09533208
JM
19771 * NEWS: Update copyright dates.
19772 * catgets/gencat.c (print_version): Likewise.
19773 * csu/version.c (banner): Likewise.
19774 * debug/catchsegv.sh: Likewise.
19775 * debug/pcprofiledump.c (print_version): Likewise.
19776 * debug/xtrace.sh (do_version): Likewise.
19777 * elf/ldconfig.c (print_version): Likewise.
19778 * elf/ldd.bash.in: Likewise.
19779 * elf/pldd.c (print_version): Likewise.
19780 * elf/sotruss.sh: Likewise.
19781 * elf/sprof.c (print_version): Likewise.
19782 * iconv/iconv_prog.c (print_version): Likewise.
19783 * iconv/iconvconfig.c (print_version): Likewise.
19784 * locale/programs/locale.c (print_version): Likewise.
19785 * locale/programs/localedef.c (print_version): Likewise.
19786 * login/programs/pt_chown.c (print_version): Likewise.
19787 * malloc/memusage.sh (do_version): Likewise.
19788 * malloc/memusagestat.c (print_version): Likewise.
19789 * malloc/mtrace.pl: Likewise.
19790 * manual/libc.texinfo: Likewise.
19791 * nptl/version.c (banner): Likewise.
19792 * nscd/nscd.c (print_version): Likewise.
19793 * nss/getent.c (print_version): Likewise.
19794 * nss/makedb.c (print_version): Likewise.
19795 * posix/getconf.c (main): Likewise.
19796 * scripts/test-installation.pl: Likewise.
19797 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19798
688903eb
JM
19799 * All files with FSF copyright notices: Update copyright dates
19800 using scripts/update-copyrights.
19801 * locale/programs/charmap-kw.h: Regenerated.
19802 * locale/programs/locfile-kw.h: Likewise.
19803
4f820792
ZW
198042017-12-31 Zack Weinberg <zackw@panix.com>
19805
19806 * libio/bits/libio-ldbl.h: Correct check for improper
19807 inclusion. Add own multiple include guard.
19808
3e3c904d
AJ
198092017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19810 Dmitry V. Levin <ldv@altlinux.org>
19811
19812 [BZ #22625]
31f96325 19813 CVE-2017-16997
3e3c904d
AJ
19814 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19815 string token expansion. Check for NULL pointer or empty string possibly
19816 returned by expand_dynamic_string_token.
19817 (decompose_rpath): Check for empty path after dynamic string
19818 token expansion.
19819
7e21972b
DL
198202017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19821
c48831d0
DL
19822 [BZ #22433]
19823 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19824
ac583f50
DL
19825 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19826 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19827 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19828 and PTRACE_SYSCALL.
19829 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19830 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19831 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19832 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19833 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19834 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19835
7e21972b
DL
19836 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19837 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19838 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19839 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19840 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19841 bits/ptrace-shared.h.
19842 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19843 <bits/ptrace-shared.h>.
19844 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19845 __ptrace_peeksiginfo_flags, ptrace): Remove.
19846 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19847 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19848 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19849 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19850 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19851
72f29e3a
AJ
198522017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19853
19854 [BZ #17804]
19855 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19856 end of the loop. Improve comments.
19857
54e4efc2
AJ
198582017-12-29 Zack Weinberg <zackw@panix.com>
19859
19860 [BZ #22615]
19861 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19862 might be set on success.
19863
f8aa69be
AJ
198642017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19865
19866 [BZ #22611]
19867 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19868 is unchanged on success.
19869
97f13188
DL
198702017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19871
2bd86632
DL
19872 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19873 updated.
19874 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19875 expand_dynamic_string_token): Likewise.
19876 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19877 is_path argument.
19878
1c36e1e6
DL
19879 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19880 contains ':'.
19881
97f13188
DL
19882 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19883 is set and name contains ':', and all code depending on these checks.
19884
48a8f832
ZW
198852017-12-24 Zack Weinberg <zackw@panix.com>
19886
19887 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19888 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19889 respectively.
19890 * libio/libio.h: Rename the original version of this file to
19891 libio/bits/libio.h. Error out if not included by stdio.h or the
19892 stub libio.h.
19893 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19894 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19895 if not included by bits/libio.h or the stub _G_config.h.
19896 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19897 sysdeps/unix/sysv/linux/bits. Error out if not included by
19898 bits/libio.h or the stub _G_config.h.
19899 * libio/stdio.h: Include bits/libio.h, not libio.h.
19900 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19901 well as libio.h and _G_config.h.
19902
19903 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19904 * libio/strfile.h, stdio-common/vfscanf.c
19905 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19906 Include stdio.h, not _G_config.h nor libio.h.
19907 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19908 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19909
19910 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19911
a47ad79a
DL
199122017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19913
19914 [BZ #22347]
19915 * stdlib/getrandom.c (getrandom): Fix comment.
19916 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19917
363e4519 199182017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 19919
f5c558f3
AJ
19920 [BZ #21161]
19921 * manual/arith.texi (strtoul): Fix a typo.
19922
e65a5644
AJ
19923 [BZ #22596]
19924 * manual/arith.texi (finite): Fix the description of the return
19925 value.
19926
ed8ae46b
EB
199272017-12-22 Eric Blake <ebb9@byu.net>
19928
19929 Avoid gcc warnings on cygwin
19930 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19931 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19932 Avoid unused variable.
19933
bad7a0c8
FW
199342017-12-22 Florian Weimer <fweimer@redhat.com>
19935
19936 * io/Makefile (routines): Add copy_file_range.
19937 (tests): Add tst-copy_file_range.
19938 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19939 * io/Versions (GLIBC_2.27): Export copy_file_range.
19940 * io/copy_file_range-compat.c: New file.
19941 * io/copy_file_range.c: Likewise.
19942 * io/tst-copy_file_range-compat.c: Likewise.
19943 * io/tst-copy_file_range.c: Likewise.
19944 * manual/llio.texi (Copying File Data): New section.
19945 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19946 * support/Makefile (libsupport-routines): Add support-xfstat,
19947 xftruncate, xlseek.
19948 * support/support-xfstat.c: New file.
19949 * support/xftruncate.c: Likewise.
19950 * support/xlseek.c: Likewise.
19951 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19952 * sysdeps/unix/sysv/linux/**.abilist: Update.
19953 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19954
6cb86fd2
SN
199552017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19956
19957 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19958 disable-multi-arch variant to aarch64-linux-gnu.
19959
41d11b15
JM
199602017-12-20 Joseph Myers <joseph@codesourcery.com>
19961
19962 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19963 trailing whitespace removed.
19964 * scripts/config.guess: Update to version 2017-12-17.
19965 * scripts/config.sub: Update to version 2017-11-23.
19966 * scripts/install-sh: Update to version 2017-09-23.17.
19967 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19968
4735850f
AZ
199692017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19970
8d2d239c
AZ
19971 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19972 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19973 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19974 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19975 * sysdeps/tile/crtn.S: Likewise.
19976 * sysdeps/tile/dl-start.S (_start): Likewise.
19977 * sysdeps/tile/dl-trampoline.S: Likewise.
19978 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19979 * sysdeps/tile/start.S (_start): Likewise.
19980 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19981 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19982 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19983 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19984 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19985 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19986 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19987
24d1d8ec
AZ
19988 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19989 comment.
19990 * sysdeps/tile/preconfigure: Remove tilegx folder.
19991 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19992 * sysdeps/tile/Implies: ... here.
19993 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19994 * sysdeps/tile/Makefile: ... here.
19995 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19996 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19997 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19998 * sysdeps/tile/bits/wordsize.h: ... here.
19999 * sysdeps/tile/tilegx/*: Move to ...
20000 * sysdeps/tile/*: ... here.
20001 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20002 * sysdeps/tile/tilegx32/Implies: ... here.
20003 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20004 * sysdeps/tile/tilegx64/Implies: ... here.
20005 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20006 to ...
20007 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20008 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20009 * sysdeps/unix/sysv/linux/tile/*: ... here.
20010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20011 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20013 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20014
ed95f611
AZ
20015 * README: Remove tilepro-*-linux-gnu from supported architecture.
20016 * scripts/build-many-glibcs.py: Likewise.
20017 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20018 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20019 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20020 elf_machine_matches_host, elf_machine_dynamic,
20021 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20022 howto, elf_machine_rela): Likewise.
20023 * sysdeps/tile/dl-start.S (_start): Likewise.
20024 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20025 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20026 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20027 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20028 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20029 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20030 Likewise.
20031 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20032 * sysdeps/tile/preconfigure: Likewise.
20033 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20034 POINTER_CHK_GUARD): Likewise.
20035 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20036 * sysdeps/tile/start.S (_start): Likewise.
20037 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20038 Likewise.
20039 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20040 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20041 CMOVNEZ): Remove.
20042 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20043 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20044 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20045 Likewise.
20046 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20047 * sysdeps/tile/tilepro/Implies: Remove file.
20048 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20049 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20050 * sysdeps/tile/tilepro/memchr.c: Likewise.
20051 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20052 * sysdeps/tile/tilepro/memset.c: Likewise.
20053 * sysdeps/tile/tilepro/memusage.h: Likewise.
20054 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20055 * sysdeps/tile/tilepro/strchr.c: Likewise.
20056 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20057 * sysdeps/tile/tilepro/strlen.c: Likewise.
20058 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20059 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20060 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20061 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20062 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20063 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20064 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20065 Likewise.
20066 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20067 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20068 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20069 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20070 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20071 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20072 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20073 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20074 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20075 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20076 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20077 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20078 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20079 tilepro mention in comment.
20080
4735850f
AZ
20081 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20082 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20083 * nptl/pthread_join_common.c: New file: common function used on
20084 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20085 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20086 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20087 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20088 (cleanup): Move definition to pthread_join_common.c.
20089 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20090 Remove superflous checks.
20091 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20092 Likewise.
20093
8bfb461e
SN
200942017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20095
20096 * sysdeps/aarch64/libm-test-ulps: Update.
20097
4e001969
AZ
200982017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20099
20100 * sysdeps/aarch64/memset.S (MEMSET): Define.
20101
8a26ad2a
FW
201022017-12-20 Florian Weimer <fweimer@redhat.com>
20103
20104 [BZ #22635]
20105 nptl: Provide full implementation of pthread_self in libc.so.
20106 * nptl/Makefile (routines): Add pthread_self.
20107 (libpthread-routines): Replace pthread_self with
20108 compat-pthread_self.
20109 * nptl/forward.c (pthread_self): Remove.
20110 * nptl/nptl-init.c (pthread_functions): Do not initialize
20111 ptr_pthread_self.
20112 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20113 * nptl/compat-pthread_self.c: New file.
20114 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20115 Remove ptr_pthread_self.
20116
5069ff32
AR
201172017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20118
20119 * posix/regcomp.c: Fix spelling in comments.
20120 * posix/regex.h: Likewise.
20121 * posix/regex_internal.c: Likewise.
20122 * posix/regexec.c: Likewise.
20123
c85e54ac
GG
201242017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20125
20126 [BZ #22377]
20127 * math/Makefile [C++] (tests): Add test for iseqsig.
20128 * math/math.h [C++] (iseqsig): New implementation, which does
20129 not rely on __MATH_TG/__builtin_types_compatible_p.
20130 * math/test-math-iseqsig.cc: New file.
20131 * sysdeps/powerpc/powerpc64le/Makefile
20132 (CFLAGS-test-math-iseqsig.cc): New variable.
20133
10e93d96
DL
201342017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20135
20136 * elf/dl-load.c (is_trusted_path): Remove.
20137 (fillin_rpath): Remove check_trusted argument and its use,
20138 all callers changed.
20139
ce16eb52
L
201402017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20141
20142 [BZ #22630]
20143 * Makeconfig (link-pie-before-libc): Replace -pie with
20144 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20145 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20146 (tst-dlopen-aout-no-pie): New.
20147 (LDFLAGS-tst-prelink): Removed.
20148 (tst-prelink-no-pie): New.
20149 (LDFLAGS-tst-main1): Removed.
20150 (tst-main1-no-pie): New.
20151 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20152 (tst-gmon-no-pie): New.
20153
126adc89
L
201542017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20155
20156 * manual/install.texi: Document that --enable-static-pie
20157 implies PIE.
20158 * INSTALL: Regenerated.
20159
648615e1
BE
201602017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20161
20162 [BZ #21309]
20163 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20164 unsigned.
20165
f1e00502
JM
201662017-12-19 Joseph Myers <joseph@codesourcery.com>
20167
20168 Revert:
20169
20170 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20171
20172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20173
20174 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20175
20176 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20177 <errno.h>. Include "eexp.tbl".
20178 (half): New constant.
20179 (one): Likewise.
20180 (__ieee754_exp): Rewrite.
20181 (__slowexp): Remove prototype.
20182 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20183 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20184 * sysdeps/i386/fpu/slowexp.c: Likewise.
20185 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20186 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20187 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20188 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20189 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20190 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20191 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20192 comment.
20193 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20194 (CPPFLAGS-slowexp.c): Remove variable.
20195 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20196 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20197 (CFLAGS-slowexp-fma.c): Remove variable.
20198 (CFLAGS-slowexp-fma4.c): Likewise.
20199 (CFLAGS-slowexp-avx.c): Likewise.
20200 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20201 define as macro.
20202 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20203 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20204 * math/Makefile (type-double-routines): Remove slowexp.
20205 * manual/probes.texi (slowexp_p6): Remove.
20206 (slowexp_p32): Likewise.
20207
d711a00f
AZ
202082017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20209
e184ac3a
AZ
20210 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20211 arithmetic.
20212
d711a00f
AZ
20213 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20214
6f58c10d
JM
202152017-12-19 Joseph Myers <joseph@codesourcery.com>
20216
20217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20218
6fd0a3c6
PM
202192017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20220
20221 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20222 <errno.h>. Include "eexp.tbl".
20223 (half): New constant.
20224 (one): Likewise.
20225 (__ieee754_exp): Rewrite.
20226 (__slowexp): Remove prototype.
20227 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20228 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20229 * sysdeps/i386/fpu/slowexp.c: Likewise.
20230 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20231 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20232 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20233 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20234 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20235 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20236 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20237 comment.
20238 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20239 (CPPFLAGS-slowexp.c): Remove variable.
20240 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20241 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20242 (CFLAGS-slowexp-fma.c): Remove variable.
20243 (CFLAGS-slowexp-fma4.c): Likewise.
20244 (CFLAGS-slowexp-avx.c): Likewise.
20245 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20246 define as macro.
20247 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20248 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20249 * math/Makefile (type-double-routines): Remove slowexp.
20250 * manual/probes.texi (slowexp_p6): Remove.
20251 (slowexp_p32): Likewise.
20252
3bb1ef58 202532017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 20254 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
20255
20256 [BZ #22603]
20257 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20258 addition.
20259
554e3d51
AZ
202602017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20261
20262 [BZ #22605]
20263 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20264 code.
20265
cba595c3
L
202662017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20267
20268 [BZ #22563]
20269 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20270 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20271 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20272 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20273 to feature_1.
20274
f81ddabf
L
202752017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20276
20277 [BZ #22563]
20278 * bits/types/__cancel_jmp_buf_tag.h: New file.
20279 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20280 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20281 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20282 * nptl/Makefile (headers): Add
20283 bits/types/__cancel_jmp_buf_tag.h.
20284 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20285 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20286 * sysdeps/nptl/pthread.h: Include
20287 <bits/types/__cancel_jmp_buf_tag.h>.
20288 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20289 __cancel_jmp_buf.
20290 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20291
1a49fc59
L
202922017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20293
20294 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20295 --enable-static-pie variants to x86_64, x32 and i686.
20296
8e52f573
JM
202972017-12-19 Joseph Myers <joseph@codesourcery.com>
20298
66425185
JM
20299 [BZ #22631]
20300 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20301 argument for attrubutes. All callers changed.
20302 (__inline_mathop1): Likewise. All callers changed.
20303 (__inline_mathop): Likewise. All callers changed.
20304 [__USE_MISC] (scalbn): Use __inline_forward instead of
20305 __inline_forward_c.
20306 [__USE_ISOC99] (scalbln): Likewise.
20307 [__USE_ISOC99] (nearbyint): Likewise.
20308 [__USE_ISOC99] (lrint): Likewise.
20309 [__USE_MISC] (scalbnf): Likewise.
20310 [__USE_ISOC99] (scalblnf): Likewise.
20311 [__USE_ISOC99] (nearbyintf): Likewise.
20312 [__USE_ISOC99] (lrintf): Likewise.
20313 [__USE_MISC] (scalbnl): Likewise.
20314 [__USE_ISOC99] (scalblnl): Likewise.
20315 [__USE_ISOC99] (nearbyintl): Likewise.
20316 [__USE_ISOC99] (lrintl): Likewise.
20317 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20318 __inline_mathop and __m81_defun changed.
20319
8e52f573
JM
20320 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20321 CPU or FPU for ARM hard-float configurations.
20322
1421f39b
JM
203232017-12-18 Joseph Myers <joseph@codesourcery.com>
20324
40c4162d
JM
20325 * nptl/tst-attr3.c: Include <libc-diag.h>.
20326 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20327
5983df32
JM
20328 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20329
1421f39b
JM
20330 * string/tester.c (test_strncat): Also disable -Warray-bounds
20331 warnings for two tests.
20332
00c714df
L
203332017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20334
20335 [BZ #22614]
20336 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20337 $(cc-pie-default) == yes.
20338 * config.make.in (cc-pie-default): New.
20339 * configure.ac (libc_cv_pie_default): Renamed to ...
20340 (libc_cv_cc_pie_default): This.
20341 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20342 * configure: Regenerated.
20343
8e1472d2
FW
203442017-12-18 Florian Weimer <fweimer@redhat.com>
20345
20346 [BZ #20204]
20347 ld.so: Harden dl-libc/libdl hooks.
20348 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20349 (rtld_active): New function.
20350 * dlfcn/dladdr.c (__dladdr): Call it.
20351 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20352 * dlfcn/dlclose.c (__dlcose): Likewise.
20353 * dlfcn/dlerror.c (__dlerror): Likewise.
20354 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20355 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20356 * dlfcn/dlopen.c (__dlopen): Likewise.
20357 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20358 * dlfcn/dlsym.c (__dlsym): Likewise.
20359 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20360 * libio/vtables.c (_IO_vtable_check): Likewise.
20361 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20362 (__libc_dlclose): Likewise.
20363 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20364 assignment.
20365
49b036bc
JM
203662017-12-18 Joseph Myers <joseph@codesourcery.com>
20367
20368 [BZ #22446]
20369 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20370 buffers for readlink input and output.
20371
368b6c8d
ST
203722017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20373
c85c564d
ST
20374 [BZ #22624]
20375 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20376 inhibit_stack_protector.
20377
368b6c8d
ST
20378 [BZ #22624]
20379 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20380 inhibit_stack_protector.
20381
bb195224
DL
203822017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20383
20384 [BZ #22627]
20385 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20386 code and invocation.
20387
14d886ed
SN
203882017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20389
20390 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20391
7d38eb38
AJ
203922017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20393
20394 [BZ #22505]
20395 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20396
2e77deef
RS
203972017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20398
20399 * sysdeps/s390/fpu/libm-test-ulps: Update.
20400
0b9bef6d
RS
204012017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20402
20403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20404
984ae996
RS
204052017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20406
20407 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20408 constants to s_sincosf.h file.
20409 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20410 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20411 implementation.
20412 * sysdeps/ieee754/flt-32/s_sincosf.h:
20413 New file.
20414
363e4519 204152017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
20416
20417 [BZ #14681]
20418 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20419 before mtrace.
20420
9d7a3741
L
204212017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20422
20423 [BZ #19574]
20424 * INSTALL: Regenerated.
20425 * Makeconfig (real-static-start-installed-name): New.
20426 (pic-default): Updated for --enable-static-pie.
20427 (pie-default): New for --enable-static-pie.
20428 (default-pie-ldflag): Likewise.
20429 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20430 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20431 Replace $(static-start-installed-name) with
20432 $(real-static-start-installed-name).
20433 (+prectorT): Updated for --enable-static-pie.
20434 (+postctorT): Likewise.
20435 (CFLAGS-.o): Add $(pie-default).
20436 (CFLAGS-.op): Likewise.
20437 * NEWS: Mention --enable-static-pie.
20438 * config.h.in (ENABLE_STATIC_PIE): New.
20439 * configure.ac (--enable-static-pie): New configure option.
20440 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20441 (have-static-pie): Likewise.
20442 Enable static PIE if linker supports --no-dynamic-linker.
20443 (ENABLE_STATIC_PIE): New AC_DEFINE.
20444 (enable-static-pie): New LIBC_CONFIG_VAR.
20445 * configure: Regenerated.
20446 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20447 gr$(start-installed-name) for --enable-static-pie.
20448 (extra-objs): Likewise.
20449 (install-lib): Likewise.
20450 (extra-objs): Add static-reloc.o and static-reloc.os
20451 ($(objpfx)$(start-installed-name)): Also depend on
20452 $(objpfx)static-reloc.o.
20453 ($(objpfx)r$(start-installed-name)): New.
20454 ($(objpfx)g$(start-installed-name)): Also depend on
20455 $(objpfx)static-reloc.os.
20456 ($(objpfx)gr$(start-installed-name)): New.
20457 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20458 in libc.a.
20459 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20460 initimage.
20461 * csu/static-reloc.c: New file.
20462 * elf/Makefile (routines): Add dl-reloc-static-pie.
20463 (elide-routines.os): Likewise.
20464 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20465 (tst-tls1-static-non-pie-no-pie): New.
20466 * elf/dl-reloc-static-pie.c: New file.
20467 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20468 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20469 STATIC_PIE_BOOTSTRAP.
20470 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20471 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20472 (tests-static): Likewise.
20473 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20474 (tst-gmon-static-no-pie): New.
20475 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20476 (CRT-tst-gmon-static-pie): Likewise.
20477 (tst-gmon-static-pie-ENV): Likewise.
20478 (tests-special): Likewise.
20479 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20480 (clean-tst-gmon-static-pie-data): Likewise.
20481 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20482 * gmon/tst-gmon-static-pie.c: New file.
20483 * manual/install.texi: Document --enable-static-pie.
20484 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20485 (_dl_get_dl_main_map): Likewise.
20486 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20487 * sysdeps/x86_64/configure.ac: Likewise.
20488 * sysdeps/i386/configure: Regenerated.
20489 * sysdeps/x86_64/configure: Likewise.
20490 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20491 (ASFLAGS-.op): Likewise.
20492
95511aab
JM
204932017-12-15 Joseph Myers <joseph@codesourcery.com>
20494
20495 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20496 * posix/tst-mmap-offset.c (fname): Use /tmp.
20497 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20498
a7e3edf4
SE
204992017-12-15 Steve Ellcey <sellcey@cavium.com>
20500
20501 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20502
d232f2e1
TS
205032017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20504
20505 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20506 errno.
20507
174edbde
JM
205082017-12-15 Joseph Myers <joseph@codesourcery.com>
20509
5170fa49
JM
20510 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20511 --with-float=hard for arm-linux-gnueabihf configurations.
20512
f2da2fd8
JM
20513 [BZ #14121]
20514 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20515 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20516 ($(mo-installed)): Use $(objpfx)%.mo.
20517 (realclean): Remove rule.
20518
0c4fe28d
JM
20519 * po/Makefile (linguas): Remove rule and dependencies.
20520 (linguas.mo): Likewise.
20521 (.PHONY): Do not depend on linguas and linguas.mo.
20522 (podir): Remove variable.
20523 (pofiles): Likewise.
20524 [$(pofiles)] (%.po): Remove rule.
20525
174edbde
JM
20526 * sysdeps/sparc/sparc32/Makefile
20527 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20528 start-of-line whitespace in argument of echo.
20529 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20530 with whitespace. Generate __wrap_.udiv alias.
20531 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20532 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20533 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20534 * sysdeps/sparc/sparc32/urem.S: Likewise.
20535
1e36806f
RS
205362017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20537
20538 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20539 for aligned inputs.
20540
aa6932aa
SP
205412017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20542
5f1603c3
SP
20543 * benchtests/bench-strcmp.c: Print output in JSON format.
20544
aa6932aa
SP
20545 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20546
3ff3dfa5
FW
205472017-12-14 Florian Weimer <fweimer@redhat.com>
20548
20549 [BZ #22607]
20550 CVE-2017-1000409
20551 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20552 the expanded path string.
20553
8a0b17e4
FW
205542017-12-14 Florian Weimer <fweimer@redhat.com>
20555
20556 [BZ #22606]
20557 CVE-2017-1000408
20558 * elf/dl-load.c (system_dirs): Update comment.
20559 (nsystem_dirs_len): Use array_length.
20560 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20561
f58bd7f0
FW
205622017-12-14 Florian Weimer <fweimer@redhat.com>
20563
20564 Simplify compiling most of support/ outside of glibc.
20565 * support/check_addrinfo.c: Include <string.h>.
20566 * support/check_dns_packet.c: Likewise.
20567 * support/check_hostent.c: Likewise.
20568 * support/support_can_chroot.c: Include <support/xunistd.h>.
20569 * support/support_format_addrinfo.c: Include <stdlib.h>
20570 * support/support_format_dns_packet.c: Include <stdbool.h>.
20571 * support/support_format_hostent.c: Include <stdlib.h>.
20572 * support/support_format_netent.c: Likewise.
20573 * support/support_write_string.c: Include <support/xunistd.h>.
20574 * support/xdlfcn.c: Include <stddef.h>.
20575
4ca945e9
L
205762017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20577
20578 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20579
1b6e07f8
PM
205802017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20581 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20582
e6a1c5dc
PM
20583 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20584 (sysdeps_routines): Add memset-niagara7.
20585 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20586 Likewise.
20587 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20588 file.
20589 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20590 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20591 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20592 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20593 Add niagara7 option.
20594 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20595 memset.
20596
1b6e07f8
PM
20597 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20598 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20599 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20600 Likewise.
20601 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20602 New file.
20603 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20604 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20605 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20606 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20607 and __memmove_niagara7.
20608 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20609 Add niagara7 option.
20610 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20611 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20612 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20613 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20614 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20615
bfb7bf22
JM
206162017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20617
767a26d6
JM
20618 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20619 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20620 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20621 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20622
bfb7bf22
JM
20623 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20624 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20625 _dl_sparc_cap_flags array.
20626 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20627
2bce01eb
SP
206282017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20629
20630 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20631 time whenever possible.
20632
363e4519 206332017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
20634
20635 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20636 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20637
6f7c0092
JM
206382017-12-12 Joseph Myers <joseph@codesourcery.com>
20639
20640 * soft-fp/fmadf4.c: Move to ....
20641 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20642 * soft-fp/fmasf4.c: Move to ....
20643 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20644 * soft-fp/fmatf4.c: Move to ....
20645 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20646 * sysdeps/ieee754/soft-fp/Makefile: New file.
20647 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20648 * sysdeps/arm/preconfigure: Regenerated.
20649 * sysdeps/arm/nofpu/Implies: New file.
20650 * sysdeps/arm/s_fma.c: Remove file.
20651 * sysdeps/arm/s_fmaf.c: Likewise.
20652 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20653 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20654 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20655 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20656 * sysdeps/microblaze/s_fma.c: Remove file.
20657 * sysdeps/microblaze/s_fmaf.c: Likewise.
20658 * sysdeps/mips/mips32/nofpu/Implies: New file.
20659 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20660 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20661 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20662 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20663 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20664 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20665 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20666 implementation.
20667 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20668 * sysdeps/nios2/s_fma.c: Remove file.
20669 * sysdeps/nios2/s_fmaf.c: Likewise.
20670 * sysdeps/sh/nofpu/Implies: New file.
20671 * sysdeps/sh/s_fma.c: Remove file.
20672 * sysdeps/sh/s_fmaf.c: Likewise.
20673 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20674 * sysdeps/tile/s_fma.c: Remove file.
20675 * sysdeps/tile/s_fmaf.c: Likewise.
20676
ac817e08
L
206772017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20678
20679 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20680 Add s_cosf-sse2 and s_cosf-fma.
20681 (CFLAGS-s_cosf-fma.c): New.
20682 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20683 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20684 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20685
eb428576
SE
206862017-12-12 Steve Ellcey <sellcey@cavium.com>
20687
20688 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20689
c80acdc3
AZ
206902017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20691
cc683f7e
AZ
20692 * libio/Makefile (tests): Add tst-bz22415.
20693 (tst-bz22415-ENV): New rule.
20694 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20695 (tests-special): Add tst-bz22415-mem.out.
20696 ($(objpfx)tst-bz22415-mem.out): New rule.
20697 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20698 in case of a successful seek operation.
20699 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20700 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20701 buffer is required.
20702 * libio/tst-bz22415.c: New test.
20703
c80acdc3
AZ
20704 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20705
363e4519 207062017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
20707
20708 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20709 __IPC_64 to 0 to avoid IPC_64 being set.
20710
4e0dca54
SN
207112017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20712
20713 [BZ #22593]
20714 * math/bits/mathcalls.h (nextafter): Remove const.
20715 (nexttoward): Likewise.
20716
8df5d347
JM
207172017-12-12 Joseph Myers <joseph@codesourcery.com>
20718
20719 * configure.ac (--with-fp): Remove configure option.
20720 (with_fp_cond): New variable.
20721 (libc_cv_with_fp): New configure test. Use this variable instead
20722 of with_fp.
20723 * configure: Regenerated.
20724 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20725 * manual/install.texi (Configuring and compiling): Remove
20726 --without-fp.
20727 * INSTALL: Regenerated.
20728 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20729 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20730 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20731 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20732 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20733 use --without-fp to configure glibc.
20734
0cee1257
RJ
207352017-12-12 Rical Jasan <ricaljasan@pacific.net>
20736
20737 * manual/locale.texi (nl_langinfo): Fix a typo.
20738
363e4519 207392017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
20740
20741 [BZ #22588]
20742 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20743
36975e8e
L
207442017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20745
20746 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20747 (CFLAGS-argp-parse.c): Likewise.
20748 (CFLAGS-argp-fmtstream.c): Likewise.
20749 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20750 (CPPFLAGS-sha512-crypt.c): Likewise.
20751 (CPPFLAGS-md5-crypt.c): Likewise.
20752 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20753 (CFLAGS-stack_chk_fail_local.c): Likewise.
20754 (CFLAGS-backtrace.c): Likewise.
20755 (CFLAGS-sprintf_chk.c): Likewise.
20756 (CFLAGS-snprintf_chk.c): Likewise.
20757 (CFLAGS-vsprintf_chk.c): Likewise.
20758 (CFLAGS-vsnprintf_chk.c): Likewise.
20759 (CFLAGS-asprintf_chk.c): Likewise.
20760 (CFLAGS-vasprintf_chk.c): Likewise.
20761 (CFLAGS-obprintf_chk.c): Likewise.
20762 (CFLAGS-dprintf_chk.c): Likewise.
20763 (CFLAGS-vdprintf_chk.c): Likewise.
20764 (CFLAGS-printf_chk.c): Likewise.
20765 (CFLAGS-fprintf_chk.c): Likewise.
20766 (CFLAGS-vprintf_chk.c): Likewise.
20767 (CFLAGS-vfprintf_chk.c): Likewise.
20768 (CFLAGS-gets_chk.c): Likewise.
20769 (CFLAGS-fgets_chk.c): Likewise.
20770 (CFLAGS-fgets_u_chk.c): Likewise.
20771 (CFLAGS-fread_chk.c): Likewise.
20772 (CFLAGS-fread_u_chk.c): Likewise.
20773 (CFLAGS-swprintf_chk.c): Likewise.
20774 (CFLAGS-vswprintf_chk.c): Likewise.
20775 (CFLAGS-wprintf_chk.c): Likewise.
20776 (CFLAGS-fwprintf_chk.c): Likewise.
20777 (CFLAGS-vwprintf_chk.c): Likewise.
20778 (CFLAGS-vfwprintf_chk.c): Likewise.
20779 (CFLAGS-fgetws_chk.c): Likewise.
20780 (CFLAGS-fgetws_u_chk.c): Likewise.
20781 (CFLAGS-read_chk.c): Likewise.
20782 (CFLAGS-pread_chk.c): Likewise.
20783 (CFLAGS-pread64_chk.c): Likewise.
20784 (CFLAGS-recv_chk.c): Likewise.
20785 (CFLAGS-recvfrom_chk.c): Likewise.
20786 (CFLAGS-tst-longjmp_chk.c): Likewise.
20787 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20788 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20789 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20790 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20791 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20792 (CFLAGS-tst-chk1.c): Likewise.
20793 (CFLAGS-tst-chk2.c): Likewise.
20794 (CFLAGS-tst-chk3.c): Likewise.
20795 (CFLAGS-tst-chk4.cc): Likewise.
20796 (CFLAGS-tst-chk5.cc): Likewise.
20797 (CFLAGS-tst-chk6.cc): Likewise.
20798 (CFLAGS-tst-lfschk1.c): Likewise.
20799 (CFLAGS-tst-lfschk2.c): Likewise.
20800 (CFLAGS-tst-lfschk3.c): Likewise.
20801 (CFLAGS-tst-lfschk4.cc): Likewise.
20802 (CFLAGS-tst-lfschk5.cc): Likewise.
20803 (CFLAGS-tst-lfschk6.cc): Likewise.
20804 (CFLAGS-tst-ssp-1.c): Likewise.
20805 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20806 (CFLAGS-scandir64.c): Likewise.
20807 (CFLAGS-scandir-tail.c): Likewise.
20808 (CFLAGS-scandir64-tail.c): Likewise.
20809 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20810 (CFLAGS-dl-tunables.c): Likewise.
20811 (CFLAGS-dl-runtime.c): Likewise.
20812 (CFLAGS-dl-lookup.c): Likewise.
20813 (CFLAGS-dl-iterate-phdr.c): Likewise.
20814 (CFLAGS-vismain.c): Likewise.
20815 (CFLAGS-tst-linkall-static.c): Likewise.
20816 (CFLAGS-tst-linkall-static.c): Likewise.
20817 (CPPFLAGS-dl-load.c): Likewise.
20818 (CFLAGS-ldconfig.c): Likewise.
20819 (CFLAGS-dl-cache.c): Likewise.
20820 (CFLAGS-cache.c): Likewise.
20821 (CFLAGS-rtld.c): Likewise.
20822 (CFLAGS-multiload.c): Likewise.
20823 (CFLAGS-filtmod1.c): Likewise.
20824 (CFLAGS-tst-align.c): Likewise.
20825 (CFLAGS-tst-align2.c): Likewise.
20826 (CFLAGS-tst-alignmod.c): Likewise.
20827 (CFLAGS-tst-alignmod2.c): Likewise.
20828 (CPPFLAGS-tst-execstack.c): Likewise.
20829 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20830 (CFLAGS-tst-latepthreadmod.c): Likewise.
20831 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20832 (CFLAGS-getgrnam_r.c): Likewise.
20833 (CFLAGS-getgrent_r.c): Likewise.
20834 (CFLAGS-getgrent.c): Likewise.
20835 (CFLAGS-fgetgrent.c): Likewise.
20836 (CFLAGS-fgetgrent_r.c): Likewise.
20837 (CFLAGS-putgrent.c): Likewise.
20838 (CFLAGS-initgroups.c): Likewise.
20839 (CFLAGS-getgrgid.c): Likewise.
20840 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20841 (CFLAGS-getsgent.c): Likewise.
20842 (CFLAGS-fgetsgent.c): Likewise.
20843 (CFLAGS-fgetsgent_r.c): Likewise.
20844 (CFLAGS-putsgent.c): Likewise.
20845 (CFLAGS-getsgnam.c): Likewise.
20846 (CFLAGS-getsgnam_r.c): Likewise.
20847 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20848 (CFLAGS-iconv_charmap.c): Likewise.
20849 (CFLAGS-dummy-repertoire.c): Likewise.
20850 (CFLAGS-charmap.c): Likewise.
20851 (CFLAGS-linereader.c): Likewise.
20852 (CFLAGS-simple-hash.c): Likewise.
20853 (CFLAGS-gconv_conf.c): Likewise.
20854 (CFLAGS-iconvconfig.c): Likewise.
20855 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20856 (CFLAGS-gethstbyad.c): Likewise.
20857 (CFLAGS-gethstbynm_r.c): Likewise.
20858 (CFLAGS-gethstbynm.c): Likewise.
20859 (CFLAGS-gethstbynm2_r.c): Likewise.
20860 (CFLAGS-gethstbynm2.c): Likewise.
20861 (CFLAGS-gethstent_r.c): Likewise.
20862 (CFLAGS-gethstent.c): Likewise.
20863 (CFLAGS-rcmd.c): Likewise.
20864 (CFLAGS-getnetbynm_r.c): Likewise.
20865 (CFLAGS-getnetbynm.c): Likewise.
20866 (CFLAGS-getnetbyad_r.c): Likewise.
20867 (CFLAGS-getnetbyad.c): Likewise.
20868 (CFLAGS-getnetent_r.c): Likewise.
20869 (CFLAGS-getnetent.c): Likewise.
20870 (CFLAGS-getaliasent_r.c): Likewise.
20871 (CFLAGS-getaliasent.c): Likewise.
20872 (CFLAGS-getrpcent_r.c): Likewise.
20873 (CFLAGS-getrpcent.c): Likewise.
20874 (CFLAGS-getservent_r.c): Likewise.
20875 (CFLAGS-getservent.c): Likewise.
20876 (CFLAGS-getprtent_r.c): Likewise.
20877 (CFLAGS-getprtent.c): Likewise.
20878 (CFLAGS-either_ntoh.c): Likewise.
20879 (CFLAGS-either_hton.c): Likewise.
20880 (CFLAGS-getnetgrent.c): Likewise.
20881 (CFLAGS-getnetgrent_r.c): Likewise.
20882 (CFLAGS-tst-checks-posix.c): Likewise.
20883 (CFLAGS-tst-sockaddr.c): Likewise.
20884 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20885 (CFLAGS-tst-translit.c): Likewise.
20886 (CFLAGS-tst-gettext2.c): Likewise.
20887 (CFLAGS-tst-codeset.c): Likewise.
20888 (CFLAGS-tst-gettext3.c): Likewise.
20889 (CFLAGS-tst-gettext4.c): Likewise.
20890 (CFLAGS-tst-gettext5.c): Likewise.
20891 (CFLAGS-tst-gettext6.c): Likewise.
20892 * io/Makefile (CFLAGS-open.c): Likewise.
20893 (CFLAGS-open64.c): Likewise.
20894 (CFLAGS-creat.c): Likewise.
20895 (CFLAGS-creat64.c): Likewise.
20896 (CFLAGS-fcntl.c): Likewise.
20897 (CFLAGS-poll.c): Likewise.
20898 (CFLAGS-ppoll.c): Likewise.
20899 (CFLAGS-lockf.c): Likewise.
20900 (CFLAGS-statfs.c): Likewise.
20901 (CFLAGS-fstatfs.c): Likewise.
20902 (CFLAGS-statvfs.c): Likewise.
20903 (CFLAGS-fstatvfs.c): Likewise.
20904 (CFLAGS-fts.c): Likewise.
20905 (CFLAGS-fts64.c): Likewise.
20906 (CFLAGS-ftw.c): Likewise.
20907 (CFLAGS-ftw64.c): Likewise.
20908 (CFLAGS-lockf.c): Likewise.
20909 (CFLAGS-posix_fallocate.c): Likewise.
20910 (CFLAGS-posix_fallocate64.c): Likewise.
20911 (CFLAGS-fallocate.c): Likewise.
20912 (CFLAGS-fallocate64.c): Likewise.
20913 (CFLAGS-read.c): Likewise.
20914 (CFLAGS-write.c): Likewise.
20915 (CFLAGS-test-stat.c): Likewise.
20916 (CFLAGS-test-lfs.c): Likewise.
20917 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20918 (CFLAGS-fputc.c): Likewise.
20919 (CFLAGS-fputwc.c): Likewise.
20920 (CFLAGS-freopen64.c): Likewise.
20921 (CFLAGS-freopen.c): Likewise.
20922 (CFLAGS-fseek.c): Likewise.
20923 (CFLAGS-fseeko64.c): Likewise.
20924 (CFLAGS-fseeko.c): Likewise.
20925 (CFLAGS-ftello64.c): Likewise.
20926 (CFLAGS-ftello.c): Likewise.
20927 (CFLAGS-fwide.c): Likewise.
20928 (CFLAGS-genops.c): Likewise.
20929 (CFLAGS-getc.c): Likewise.
20930 (CFLAGS-getchar.c): Likewise.
20931 (CFLAGS-getwc.c): Likewise.
20932 (CFLAGS-getwchar.c): Likewise.
20933 (CFLAGS-iofclose.c): Likewise.
20934 (CFLAGS-iofflush.c): Likewise.
20935 (CFLAGS-iofgetpos64.c): Likewise.
20936 (CFLAGS-iofgetpos.c): Likewise.
20937 (CFLAGS-iofgets.c): Likewise.
20938 (CFLAGS-iofgetws.c): Likewise.
20939 (CFLAGS-iofputs.c): Likewise.
20940 (CFLAGS-iofputws.c): Likewise.
20941 (CFLAGS-iofread.c): Likewise.
20942 (CFLAGS-iofsetpos64.c): Likewise.
20943 (CFLAGS-iofsetpos.c): Likewise.
20944 (CFLAGS-ioftell.c): Likewise.
20945 (CFLAGS-iofwrite.c): Likewise.
20946 (CFLAGS-iogetdelim.c): Likewise.
20947 (CFLAGS-iogetline.c): Likewise.
20948 (CFLAGS-iogets.c): Likewise.
20949 (CFLAGS-iogetwline.c): Likewise.
20950 (CFLAGS-ioputs.c): Likewise.
20951 (CFLAGS-ioseekoff.c): Likewise.
20952 (CFLAGS-ioseekpos.c): Likewise.
20953 (CFLAGS-iosetbuffer.c): Likewise.
20954 (CFLAGS-iosetvbuf.c): Likewise.
20955 (CFLAGS-ioungetc.c): Likewise.
20956 (CFLAGS-ioungetwc.c): Likewise.
20957 (CFLAGS-oldfileops.c): Likewise.
20958 (CFLAGS-oldiofclose.c): Likewise.
20959 (CFLAGS-oldiofgetpos64.c): Likewise.
20960 (CFLAGS-oldiofgetpos.c): Likewise.
20961 (CFLAGS-oldiofsetpos64.c): Likewise.
20962 (CFLAGS-oldiofsetpos.c): Likewise.
20963 (CFLAGS-peekc.c): Likewise.
20964 (CFLAGS-putc.c): Likewise.
20965 (CFLAGS-putchar.c): Likewise.
20966 (CFLAGS-putwc.c): Likewise.
20967 (CFLAGS-putwchar.c): Likewise.
20968 (CFLAGS-rewind.c): Likewise.
20969 (CFLAGS-wfileops.c): Likewise.
20970 (CFLAGS-wgenops.c): Likewise.
20971 (CFLAGS-oldiofopen.c): Likewise.
20972 (CFLAGS-iofopen.c): Likewise.
20973 (CFLAGS-iofopen64.c): Likewise.
20974 (CFLAGS-oldtmpfile.c): Likewise.
20975 (CFLAGS-tst_putwc.c): Likewise.
20976 * locale/Makefile (CFLAGS-md5.c): Likewise.
20977 (CFLAGS-charmap.c): Likewise.
20978 (CFLAGS-locfile.c): Likewise.
20979 (CFLAGS-charmap-dir.c): Likewise.
20980 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20981 (CFLAGS-getpt.c): Likewise.
20982 (CFLAGS-pt_chown.c): Likewise.
20983 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20984 (CFLAGS-obstack.c): Likewise.
20985 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20986 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20987 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20988 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20989 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20990 (CFLAGS-test-tgmath.c): Likewise.
20991 (CFLAGS-test-tgmath2.c): Likewise.
20992 (CFLAGS-test-tgmath-ret.c): Likewise.
20993 (CFLAGS-test-powl.c): Likewise.
20994 (CFLAGS-test-snan.c): Likewise.
20995 (CFLAGS-test-signgam-finite.c): Likewise.
20996 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20997 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20998 (CFLAGS-test-signgam-uchar.c): Likewise.
20999 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21000 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21001 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21002 (CFLAGS-test-signgam-uint.c): Likewise.
21003 (CFLAGS-test-signgam-uint-init.c): Likewise.
21004 (CFLAGS-test-signgam-uint-static.c): Likewise.
21005 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21006 (CFLAGS-test-signgam-ullong.c): Likewise.
21007 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21008 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21009 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21010 (CFLAGS-test-math-cxx11.cc): Likewise.
21011 (CFLAGS-test-math-isinff.cc): Likewise.
21012 (CFLAGS-test-math-iszero.cc): Likewise.
21013 (CFLAGS-test-math-issignaling.cc): Likewise.
21014 (CFLAGS-test-math-iscanonical.cc): Likewise.
21015 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21016 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21017 (CFLAGS-test-flt-eval-method.c): Likewise.
21018 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21019 (CFLAGS-test-finite-macros.c): Likewise.
21020 * misc/Makefile (CFLAGS-select.c): Likewise.
21021 (CFLAGS-tsearch.c): Likewise.
21022 (CFLAGS-lsearch.c): Likewise.
21023 (CFLAGS-pselect.c): Likewise.
21024 (CFLAGS-readv.c): Likewise.
21025 (CFLAGS-writev.c): Likewise.
21026 (CFLAGS-preadv.c): Likewise.
21027 (CFLAGS-preadv64.c): Likewise.
21028 (CFLAGS-pwritev.c): Likewise.
21029 (CFLAGS-pwritev64.c): Likewise.
21030 (CFLAGS-preadv2.c): Likewise.
21031 (CFLAGS-preadv64v2.c): Likewise.
21032 (CFLAGS-pwritev2.c): Likewise.
21033 (CFLAGS-pwritev64v2.c): Likewise.
21034 (CFLAGS-usleep.c): Likewise.
21035 (CFLAGS-syslog.c): Likewise.
21036 (CFLAGS-error.c): Likewise.
21037 (CFLAGS-getpass.c): Likewise.
21038 (CFLAGS-mkstemp.c): Likewise.
21039 (CFLAGS-mkstemp64.c): Likewise.
21040 (CFLAGS-getsysstats.c): Likewise.
21041 (CFLAGS-getusershell.c): Likewise.
21042 (CFLAGS-err.c): Likewise.
21043 (CFLAGS-tst-tsearch.c): Likewise.
21044 (CFLAGS-msync.c): Likewise.
21045 (CFLAGS-fdatasync.c): Likewise.
21046 (CFLAGS-fsync.c): Likewise.
21047 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21048 (CFLAGS-unwind.c): Likewise.
21049 (CFLAGS-unwind-forcedunwind.c): Likewise.
21050 (CFLAGS-pthread_cancel.c): Likewise.
21051 (CFLAGS-pthread_setcancelstate.c): Likewise.
21052 (CFLAGS-pthread_setcanceltype.c): Likewise.
21053 (CFLAGS-cancellation.c): Likewise.
21054 (CFLAGS-libc-cancellation.c): Likewise.
21055 (CFLAGS-pthread_exit.c): Likewise.
21056 (CFLAGS-forward.c): Likewise.
21057 (CFLAGS-pthread_testcancel.c): Likewise.
21058 (CFLAGS-pthread_join.c): Likewise.
21059 (CFLAGS-pthread_timedjoin.c): Likewise.
21060 (CFLAGS-pthread_once.c): Likewise.
21061 (CFLAGS-pthread_cond_wait.c): Likewise.
21062 (CFLAGS-sem_wait.c): Likewise.
21063 (CFLAGS-sem_timedwait.c): Likewise.
21064 (CFLAGS-fcntl.c): Likewise.
21065 (CFLAGS-lockf.c): Likewise.
21066 (CFLAGS-pread.c): Likewise.
21067 (CFLAGS-pread64.c): Likewise.
21068 (CFLAGS-pwrite.c): Likewise.
21069 (CFLAGS-pwrite64.c): Likewise.
21070 (CFLAGS-wait.c): Likewise.
21071 (CFLAGS-waitpid.c): Likewise.
21072 (CFLAGS-sigwait.c): Likewise.
21073 (CFLAGS-msgrcv.c): Likewise.
21074 (CFLAGS-msgsnd.c): Likewise.
21075 (CFLAGS-tcdrain.c): Likewise.
21076 (CFLAGS-open.c): Likewise.
21077 (CFLAGS-open64.c): Likewise.
21078 (CFLAGS-pause.c): Likewise.
21079 (CFLAGS-recv.c): Likewise.
21080 (CFLAGS-send.c): Likewise.
21081 (CFLAGS-accept.c): Likewise.
21082 (CFLAGS-sendto.c): Likewise.
21083 (CFLAGS-connect.c): Likewise.
21084 (CFLAGS-recvfrom.c): Likewise.
21085 (CFLAGS-recvmsg.c): Likewise.
21086 (CFLAGS-sendmsg.c): Likewise.
21087 (CFLAGS-close.c): Likewise.
21088 (CFLAGS-read.c): Likewise.
21089 (CFLAGS-write.c): Likewise.
21090 (CFLAGS-nanosleep.c): Likewise.
21091 (CFLAGS-sigsuspend.c): Likewise.
21092 (CFLAGS-msync.c): Likewise.
21093 (CFLAGS-fdatasync.c): Likewise.
21094 (CFLAGS-fsync.c): Likewise.
21095 (CFLAGS-pt-system.c): Likewise.
21096 (CFLAGS-tst-cleanup2.c): Likewise.
21097 (CFLAGS-tst-cleanupx2.c): Likewise.
21098 (CFLAGS-flockfile.c): Likewise.
21099 (CFLAGS-ftrylockfile.c): Likewise.
21100 (CFLAGS-funlockfile.c): Likewise.
21101 (CFLAGS-tst-initializers1.c): Likewise.
21102 (CFLAGS-tst-initializers1-c89.c): Likewise.
21103 (CFLAGS-tst-initializers1-c99.c): Likewise.
21104 (CFLAGS-tst-initializers1-c11.c): Likewise.
21105 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21106 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21107 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21108 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21109 (CFLAGS-nscd_getgr_r.c): Likewise.
21110 (CFLAGS-nscd_gethst_r.c): Likewise.
21111 (CFLAGS-nscd_getai.c): Likewise.
21112 (CFLAGS-nscd_initgroups.c): Likewise.
21113 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21114 (CFLAGS-pause.c): Likewise.
21115 (CFLAGS-pread.c): Likewise.
21116 (CFLAGS-pread64.c): Likewise.
21117 (CFLAGS-pwrite.c): Likewise.
21118 (CFLAGS-pwrite64.c): Likewise.
21119 (CFLAGS-sleep.c): Likewise.
21120 (CFLAGS-wait.c): Likewise.
21121 (CFLAGS-waitid.c): Likewise.
21122 (CFLAGS-waitpid.c): Likewise.
21123 (CFLAGS-getopt.c): Likewise.
21124 (CFLAGS-wordexp.c): Likewise.
21125 (CFLAGS-sysconf.c): Likewise.
21126 (CFLAGS-pathconf.c): Likewise.
21127 (CFLAGS-fpathconf.c): Likewise.
21128 (CFLAGS-spawn.c): Likewise.
21129 (CFLAGS-spawnp.c): Likewise.
21130 (CFLAGS-spawni.c): Likewise.
21131 (CFLAGS-glob.c): Likewise.
21132 (CFLAGS-glob64.c): Likewise.
21133 (CFLAGS-getconf.c): Likewise.
21134 (CFLAGS-nanosleep.c): Likewise.
21135 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21136 (CFLAGS-getpwent.c): Likewise.
21137 (CFLAGS-getpw.c): Likewise.
21138 (CFLAGS-fgetpwent_r.c): Likewise.
21139 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21140 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21141 (CFLAGS-mq_timedreceive.c): Likewise.
21142 (CFLAGS-mq_timedsend.c): Likewise.
21143 (CFLAGS-clock_nanosleep.c): Likewise.
21144 (CFLAGS-librt-cancellation.c): Likewise.
21145 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21146 (CFLAGS-getspent.c): Likewise.
21147 (CFLAGS-fgetspent.c): Likewise.
21148 (CFLAGS-fgetspent_r.c): Likewise.
21149 (CFLAGS-putspent.c): Likewise.
21150 (CFLAGS-getspnam.c): Likewise.
21151 (CFLAGS-getspnam_r.c): Likewise.
21152 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21153 (CFLAGS-sigsuspend.c): Likewise.
21154 (CFLAGS-sigtimedwait.c): Likewise.
21155 (CFLAGS-sigwait.c): Likewise.
21156 (CFLAGS-sigwaitinfo.c): Likewise.
21157 (CFLAGS-sigreturn.c): Likewise.
21158 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21159 (CFLAGS-vfwprintf.c): Likewise.
21160 (CFLAGS-tmpfile.c): Likewise.
21161 (CFLAGS-tmpfile64.c): Likewise.
21162 (CFLAGS-tempname.c): Likewise.
21163 (CFLAGS-psignal.c): Likewise.
21164 (CFLAGS-vprintf.c): Likewise.
21165 (CFLAGS-cuserid.c): Likewise.
21166 (CFLAGS-errlist.c): Likewise.
21167 (CFLAGS-siglist.c): Likewise.
21168 (CFLAGS-scanf15.c): Likewise.
21169 (CFLAGS-scanf17.c): Likewise.
21170 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21171 (CFLAGS-msort.c): Likewise.
21172 (CFLAGS-qsort.c): Likewise.
21173 (CFLAGS-system.c): Likewise.
21174 (CFLAGS-fmtmsg.c): Likewise.
21175 (CFLAGS-strfmon.c): Likewise.
21176 (CFLAGS-strfmon_l.c): Likewise.
21177 (CFLAGS-strfromd.c): Likewise.
21178 (CFLAGS-strfromf.c): Likewise.
21179 (CFLAGS-strfroml.c): Likewise.
21180 (CFLAGS-tst-bsearch.c): Likewise.
21181 (CFLAGS-tst-qsort.c): Likewise.
21182 (CFLAGS-tst-makecontext2.c): Likewise.
21183 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21184 (CFLAGS-xnlm_prot.c): Likewise.
21185 (CFLAGS-xrstat.c): Likewise.
21186 (CFLAGS-xyppasswd.c): Likewise.
21187 (CFLAGS-xklm_prot.c): Likewise.
21188 (CFLAGS-xrex.c): Likewise.
21189 (CFLAGS-xsm_inter.c): Likewise.
21190 (CFLAGS-xmount.c): Likewise.
21191 (CFLAGS-xrusers.c): Likewise.
21192 (CFLAGS-xspray.c): Likewise.
21193 (CFLAGS-xnfs_prot.c): Likewise.
21194 (CFLAGS-xrquota.c): Likewise.
21195 (CFLAGS-xkey_prot.c): Likewise.
21196 (CFLAGS-auth_unix.c): Likewise.
21197 (CFLAGS-key_call.c): Likewise.
21198 (CFLAGS-pmap_rmt.c): Likewise.
21199 (CFLAGS-clnt_perr.c): Likewise.
21200 (CFLAGS-openchild.c): Likewise.
21201 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21202 (CFLAGS-msgsnd.c): Likewise.
21203 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21204 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21205 (CFLAGS-tzset.c): Likewise.
21206 (CFLAGS-getdate.c): Likewise.
21207 (CFLAGS-test_time.c): Likewise.
21208 (CPPFLAGS-tst-tzname.c): Likewise.
21209 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21210 (CFLAGS-zic.c): Likewise.
21211 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21212 (CFLAGS-wcswidth.c): Likewise.
21213 (CFLAGS-wcstol.c): Likewise.
21214 (CFLAGS-wcstoul.c): Likewise.
21215 (CFLAGS-wcstoll.c): Likewise.
21216 (CFLAGS-wcstoull.c): Likewise.
21217 (CFLAGS-wcstod.c): Likewise.
21218 (CFLAGS-wcstold.c): Likewise.
21219 (CFLAGS-wcstof128.c): Likewise.
21220 (CFLAGS-wcstof.c): Likewise.
21221 (CFLAGS-wcstol_l.c): Likewise.
21222 (CFLAGS-wcstoul_l.c): Likewise.
21223 (CFLAGS-wcstoll_l.c): Likewise.
21224 (CFLAGS-wcstoull_l.c): Likewise.
21225 (CFLAGS-wcstod_l.c): Likewise.
21226 (CFLAGS-wcstold_l.c): Likewise.
21227 (CFLAGS-wcstof128_l.c): Likewise.
21228 (CFLAGS-wcstof_l.c): Likewise.
21229 (CPPFLAGS-tst-wchar-h.c): Likewise.
21230 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 21231
f4b2aea6
PC
212322017-12-11 Paul A. Clarke <pc@us.ibm.com>
21233
21234 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21235
c9cd7b0c
AZ
212362017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21237 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21238
21239 * manual/tunables.texi (Hardware Capability Tunables): Document
21240 glibc.tune.cached_memopt.
21241 * sysdeps/powerpc/cpu-features.c: New file.
21242 * sysdeps/powerpc/cpu-features.h: New file.
21243 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21244 _dl_powerpc_cpu_features.
21245 * sysdeps/powerpc/dl-tunables.list: New file.
21246 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21247 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21248 (INIT_ARCH): Initialize use_aligned_memopt.
21249 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21250 IS_IN(rtld))]: Restrict dl_platform_init availability and
21251 initialize CPU features used by tunables.
21252 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21253 Add memcpy-power8-cached.
21254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21255 __memcpy_power8_cached.
21256 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21257 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21258 New file.
21259
e70c6fee
L
212602017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21261
21262 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21263 (CFLAGS-noinl-tester.c): Likewise.
21264 (CFLAGS-tst-strlen.c): Likewise.
21265 (CFLAGS-stratcliff.c): Likewise.
21266 (CFLAGS-test-ffs.c): Likewise.
21267 (CFLAGS-tst-inlcall.c): Likewise.
21268 (CFLAGS-tst-xbzero-opt.c): Likewise.
21269 (CFLAGS-memcpy.c): Likewise.
21270 (CFLAGS-wordcopy.c): Likewise.
21271
dee94366
SL
212722017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21273
21274 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21275 Store r15 on stack and add cfi rule.
21276 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21277 Likewise.
21278
363e4519 212792017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
21280
21281 [BZ #22577]
21282 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21283 call.
21284
9d0ffa60
L
212852017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21286
21287 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21288 Add s_sinf-sse2 and s_sinf-fma.
21289 (CFLAGS-s_sinf-fma.c): New.
21290 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21291 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21292 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21293
9574c7b6
L
212942017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21295
21296 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21297
d15e83c5
JM
212982017-12-07 Joseph Myers <joseph@codesourcery.com>
21299
21300 [BZ #22568]
21301 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21302 part of result to imaginary part of argument if it is zero and the
21303 real part of the argument is not finite.
21304 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21305 of result to real part of argument if it is zero and the imaginary
21306 part of the argument is not finite.
21307
d89756eb
MF
213082017-12-07 Mike FABIAN <mfabian@redhat.com>
21309
21310 [BZ #22524]
21311 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21312 and to the list of locales to be built for testing.
21313 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21314 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21315 and build the collation rules upon that.
21316
1f9055ce
JM
213172017-12-07 Joseph Myers <joseph@codesourcery.com>
21318
21319 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21320 * manual/math.texi (Mathematics): Document support for _Float32.
21321 * math/Makefile (test-types): Add float32.
21322 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21323 * stdlib/Versions (GLIBC_2.27): Likewise.
21324 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21325 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21326 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21327 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21328 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21329 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21330 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21331 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21332 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21333 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21334 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21335 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21336 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21337 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21338 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21339 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21340 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21341 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21342 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21343 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21344 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21345 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21346 Likewise.
21347 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21348 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21349 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21350 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21351 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21353 Likewise.
21354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21355 Likewise.
21356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21357 Likewise.
21358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21359 Likewise.
21360
21361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21362 Likewise.
21363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21364 Likewise.
21365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21366 Likewise.
21367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21368 Likewise.
21369 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21370 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21371 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21372 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21373 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21374 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21375 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21376 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21377 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21378 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21380 Likewise.
21381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21382 Likewise.
21383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21384 Likewise.
21385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21386 Likewise.
21387 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21388 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21389 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21390 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21391 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21392 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21393 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21394 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21395
5244527d
JM
213962017-12-06 Joseph Myers <joseph@codesourcery.com>
21397
fb1ca2aa
JM
21398 * stdlib/strtof.c: Include <bits/floatn.h>
21399 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21400 and later undefine as macro. Define as weak alias if
21401 [!USE_WIDE_CHAR].
21402 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21403 and later undefine as macro. Define as weak alias if
21404 [USE_WIDE_CHAR].
21405 * stdlib/strtof_l.c: Include <bits/floatn.h>
21406 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21407 and later undefine as macro. Define as weak alias if
21408 [!USE_WIDE_CHAR].
21409 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21410 and later undefine as macro. Define as weak alias if
21411 [USE_WIDE_CHAR].
21412
fc10cc3f
JM
21413 * stdlib/strfromf.c: Include <bits/floatn.h>.
21414 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21415 and later undefine as macro and define as weak alias.
21416
e420d228
JM
21417 * math/test-float32.h: New file.
21418
26007a2f
JM
21419 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21420 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21421 (libm_alias_float_other_r): Create f32 alias.
21422 (libm_alias_float_r): Use semicolon before call to
21423 libm_alias_float_other_r.
21424
c191f64c
JM
21425 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21426 second argument to libm_alias_float_other.
21427 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21428 second argument to libm_alias_float_other.
21429 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21430 argument to libm_alias_float_other.
21431
5244527d
JM
21432 [BZ #22561]
21433 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21434 real part of result for argument 0 + i * NaN.
21435 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21436 results for tests of 0 + i * NaN.
21437
d73fac82
AZ
214382017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21439
21440 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21441
7ec094e8
DM
214422017-12-06 David S. Miller <davem@davemloft.net>
21443
21444 * sysdeps/sparc/fpu/libm-test-ulps: Update
21445 exp_{downward,towardzero,upward} ulps.
21446
53994f12
JM
214472017-12-06 Joseph Myers <joseph@codesourcery.com>
21448
1dbe6f64
JM
21449 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21450 variables static.
21451
53994f12
JM
21452 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21453 (Y0_2D): Likewise.
21454 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21455 (Y0_2D): Likewise.
21456 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21457 (Y0_2D): Likewise.
21458 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21459 (Y0_2D): Likewise.
21460
62ea2193
MF
214612017-12-06 Mike FABIAN <mfabian@redhat.com>
21462
21463 [BZ #22515]
21464 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21465 and to the list of locales to be built for testing.
21466 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21467 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21468 and build the collation rules upon that.
21469
87235d70
RS
214702017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21471
21472 * NEWS: Add sinf to list of optimized functions.
21473
0d93b7fd
JM
214742017-12-06 Joseph Myers <joseph@codesourcery.com>
21475
21476 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21477 (__HAVE_FLOAT32X): Likewise.
21478 * manual/math.texi (Mathematics): Document support for _Float64
21479 and _Float32x.
21480 * math/Makefile (test-types): Add float64 and float32x.
21481 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21482 functions.
21483 * stdlib/Versions (GLIBC_2.27): Likewise.
21484 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21485 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21486 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21487 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21488 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21489 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21490 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21491 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21492 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21493 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21494 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21495 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21496 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21497 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21498 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21499 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21500 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21501 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21502 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21503 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21504 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21505 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21506 Likewise.
21507 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21508 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21509 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21510 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21511 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21513 Likewise.
21514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21515 Likewise.
21516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21517 Likewise.
21518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21519 Likewise.
21520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21521 Likewise.
21522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21523 Likewise.
21524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21525 Likewise.
21526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21527 Likewise.
21528 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21529 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21530 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21531 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21532 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21533 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21534 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21535 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21536 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21537 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21539 Likewise.
21540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21541 Likewise.
21542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21543 Likewise.
21544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21545 Likewise.
21546 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21547 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21548 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21549 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21550 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21551 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21552 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21553 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21554
f7787234
JM
215552017-12-05 Joseph Myers <joseph@codesourcery.com>
21556
21557 * bits/floatn-common.h: Include <bits/long-double.h>.
21558 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21559 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21560 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21561 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21562 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21563 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21564 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21565 (__builtin_huge_valf64): Use __builtin_huge_vall.
21566 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21567 (__builtin_inff64): Use __builtin_infl.
21568 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21569 (__builtin_nanf64): Use __builtin_nanl.
21570 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21571 (__builtin_nansf64): Use __builtin_nansl.
21572
363e4519
DL
215732017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21574 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 21575 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
21576
21577 * elf/dl-tunables.list: Add elision parameters.
21578 * manual/tunables.texi: Add entries about elision tunable.
21579 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21580 Add callback functions to dynamically enable/disable elision.
21581 Add multiple callbacks functions to set elision parameters.
21582 Deleted __libc_enable_secure check.
21583 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21584 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21585 * configure: Regenerated.
21586 * configure.ac: Option enable_lock_elision was deleted.
21587 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21588 * config.make.in: Remove references to enable_lock_elision.
21589 * manual/install.texi: Elision configure option was removed.
21590 * INSTALL: Regenerated to remove enable_lock_elision.
21591 * nptl/Makefile:
21592 Disable elision so it can verify error case for destroying a mutex.
21593 * sysdeps/powerpc/nptl/elide.h:
21594 Cleanup ENABLE_LOCK_ELISION check.
21595 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21596 * sysdeps/s390/configure: Regenerated.
21597 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21598 * nptl/tst-mutex8.c:
21599 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21600 * sysdeps/powerpc/powerpc32/sysdep.h:
21601 Deleted all ENABLE_LOCK_ELISION checks.
21602 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21603 * sysdeps/powerpc/sysdep.h: Likewise.
21604 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21605 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21606 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21607 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21608 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21609 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21610 enable-lock-elision.
21611
a5a2a76b
JM
216122017-12-05 Joseph Myers <joseph@codesourcery.com>
21613
21614 * stdlib/strtod.c: Include <bits/floatn.h>.
21615 (BUILD_DOUBLE): New macro.
21616 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21617 (strtof64): Define and later undefine as macro. Define as weak
21618 alias if [!USE_WIDE_CHAR].
21619 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21620 (wcstof64): Define and later undefine as macro. Define as weak
21621 alias if [USE_WIDE_CHAR].
21622 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21623 (strtof32x): Define and later undefine as macro. Define as weak
21624 alias if [!USE_WIDE_CHAR].
21625 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21626 (wcstof32x): Define and later undefine as macro. Define as weak
21627 alias if [USE_WIDE_CHAR].
21628 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21629 (BUILD_DOUBLE): New macro.
21630 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21631 (strtof64_l): Define and later undefine as macro. Define as weak
21632 alias if [!USE_WIDE_CHAR].
21633 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21634 (wcstof64_l): Define and later undefine as macro. Define as weak
21635 alias if [USE_WIDE_CHAR].
21636 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21637 (strtof32x_l): Define and later undefine as macro. Define as weak
21638 alias if [!USE_WIDE_CHAR].
21639 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21640 (wcstof32x_l): Define and later undefine as macro. Define as weak
21641 alias if [USE_WIDE_CHAR].
21642
94d80dfc
AZ
216432017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21644
21645 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21646 (reduced): Use ones as double instead of integer.
21647
00d54af7
SN
216482017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21649
21650 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21651
f2d64d62
JM
216522017-12-05 Joseph Myers <joseph@codesourcery.com>
21653
1f70eae4
JM
21654 * stdlib/strfromd.c: Include <bits/floatn.h>.
21655 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21656 and later undefine as macro and define as weak alias.
21657 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21658 Likewise.
21659
e2c4dce5
JM
21660 * math/test-float32x.h: New file.
21661 * math/test-float64.h: Likewise.
21662
f2d64d62
JM
21663 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21664 (libm_alias_double_other_r_f64): New macro.
21665 (libm_alias_double_other_r_f32x): Likewise.
21666 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21667 libm_alias_double_other_r_f32x.
21668 (libm_alias_double_r): Use semicolon before call to
21669 libm_alias_double_other_r.
21670 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21671 <bits/floatn.h>.
21672 (libm_alias_double_other_r_f64): New macro.
21673 (libm_alias_double_other_r_f32x): Likewise.
21674 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21675 libm_alias_double_other_r_f32x.
21676
91c318e7
L
216772017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21678
21679 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21680 int.
21681 (SINF_FUNC): Likewise. Replace floor with simple casts.
21682
de9661d6
MF
216832017-12-05 Mike FABIAN <mfabian@redhat.com>
21684
21685 [BZ #22517]
21686 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21687 and to the list of locales to be built for testing.
21688 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21689 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21690 and build the collation rules upon that.
21691
f18b8dc7
CM
216922017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21693
21694 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21695 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21696 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21697 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21698 instead of __insn__xxx.
21699 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21700 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21701 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21702 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21703 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21704 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21705
446d22e9
FW
217062017-12-05 Florian Weimer <fweimer@redhat.com>
21707
21708 Linux: Implement interfaces for memory protection keys
21709 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21710 xsignal, xsysconf.
21711 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21712 * support/xunistd.h (xsysconf): Declare.
21713 * support/xraise.c: New file.
21714 * support/xsigaction.c: Likewise.
21715 * support/xsignal.c: Likewise.
21716 * support/xsysconf.c: Likewise.
21717 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21718 pkey_set, pkey_get, pkey_mprotect.
21719 [misc] (tests): Add tst-pkey.
21720 (tst-pkey): Link with -lpthread.
21721 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21722 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21723 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21724 (PKEY_DISABLE_WRITE): Define.
21725 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21726 Declare.
21727 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21728 (SEGV_PKUERR): Add.
21729 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21730 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21731 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21732 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21733 Add.
21734 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21735 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21736 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21737 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21738 * sysdeps/unix/sysv/linux/**.abilist: Update.
21739
da616c14
FW
217402017-12-05 Florian Weimer <fweimer@redhat.com>
21741
21742 * support/tst-test_compare.c (subprocess): Use long long instead
21743 of long argument for consistent type width across 32-bit and
21744 64-bit architectures.
21745 (do_test): Adjust expected output.
21746
216933b2
JM
217472017-12-05 Joseph Myers <joseph@codesourcery.com>
21748
21749 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21750 (cosf): Define using libm_alias_float.
21751 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21752 (fabsf): Define using libm_alias_float.
21753 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21754 (fmaf): Define using libm_alias_float.
21755 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21756 (rintf): Define using libm_alias_float.
21757 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21758 (sinf): Define using libm_alias_float.
21759 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21760 <libm-alias-float.h>.
21761 (modff): Define using libm_alias_float.
21762 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21763 <libm-alias-float.h>.
21764 (logbf): Define using libm_alias_float.
21765 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21766 <libm-alias-float.h>.
21767 (ceilf): Define using libm_alias_float.
21768 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21769 <libm-alias-float.h>.
21770 (copysignf): Define using libm_alias_float.
21771 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21772 <libm-alias-float.h>.
21773 (floorf): Define using libm_alias_float.
21774 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21775 <libm-alias-float.h>.
21776 (llrintf): Define using libm_alias_float.
21777 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21778 <libm-alias-float.h>.
21779 (llroundf): Define using libm_alias_float.
21780 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21781 <libm-alias-float.h>.
21782 (lrintf): Define using libm_alias_float.
21783 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21784 <libm-alias-float.h>.
21785 (lroundf): Define using libm_alias_float.
21786 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21787 <libm-alias-float.h>.
21788 (nearbyintf): Define using libm_alias_float.
21789 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21790 <libm-alias-float.h>.
21791 (rintf): Define using libm_alias_float.
21792 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21793 <libm-alias-float.h>.
21794 (roundf): Define using libm_alias_float.
21795 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21796 <libm-alias-float.h>.
21797 (truncf): Define using libm_alias_float.
21798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21799 Include <libm-alias-float.h>.
21800 (ceilf): Define using libm_alias_float.
21801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21802 Include <libm-alias-float.h>.
21803 (copysignf): Define using libm_alias_float.
21804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21805 Include <libm-alias-float.h>.
21806 (floorf): Define using libm_alias_float.
21807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21808 Include <libm-alias-float.h>.
21809 (llrintf): Define using libm_alias_float.
21810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21811 Include <libm-alias-float.h>.
21812 (llroundf): Define using libm_alias_float.
21813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21814 Include <libm-alias-float.h>.
21815 (logbf): Define using libm_alias_float.
21816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21817 Include <libm-alias-float.h>.
21818 (lrintf): Define using libm_alias_float.
21819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21820 Include <libm-alias-float.h>.
21821 (lroundf): Define using libm_alias_float.
21822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21823 Include <libm-alias-float.h>.
21824 (modff): Define using libm_alias_float.
21825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21826 Include <libm-alias-float.h>.
21827 (roundf): Define using libm_alias_float.
21828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21829 Include <libm-alias-float.h>.
21830 (truncf): Define using libm_alias_float.
21831 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21832 <libm-alias-float.h>.
21833 (llrintf): Define using libm_alias_float.
21834 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21835 <libm-alias-float.h>.
21836 (llroundf): Define using libm_alias_float.
21837 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21838 <libm-alias-float.h>.
21839 (ceilf): Define using libm_alias_float.
21840 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21841 <libm-alias-float.h>.
21842 (floorf): Define using libm_alias_float.
21843 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21844 <libm-alias-float.h>.
21845 (llroundf): Define using libm_alias_float.
21846 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21847 <libm-alias-float.h>.
21848 (lroundf): Define using libm_alias_float.
21849 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21850 <libm-alias-float.h>.
21851 (roundf): Define using libm_alias_float.
21852 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21853 <libm-alias-float.h>.
21854 (truncf): Define using libm_alias_float.
21855 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21856 <libm-alias-float.h>.
21857 (copysignf): Define using libm_alias_float.
21858 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21859 <libm-alias-float.h>.
21860 (llrintf): Define using libm_alias_float.
21861 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21862 <libm-alias-float.h>.
21863 (llroundf): Define using libm_alias_float.
21864 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21865 <libm-alias-float.h>.
21866 (lrintf): Define using libm_alias_float.
21867 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21868 <libm-alias-float.h>.
21869 (lroundf): Define using libm_alias_float.
21870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21871 <libm-alias-float.h>.
21872 (ceilf): Define using libm_alias_float.
21873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21874 <libm-alias-float.h>.
21875 (copysignf): Define using libm_alias_float.
21876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21877 <libm-alias-float.h>.
21878 (cosf): Define using libm_alias_float.
21879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21880 <libm-alias-float.h>.
21881 (floorf): Define using libm_alias_float.
21882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21883 <libm-alias-float.h>.
21884 (llrintf): Define using libm_alias_float.
21885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21886 <libm-alias-float.h>.
21887 (llroundf): Define using libm_alias_float.
21888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21889 <libm-alias-float.h>.
21890 (logbf): Define using libm_alias_float.
21891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21892 <libm-alias-float.h>.
21893 (modff): Define using libm_alias_float.
21894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21895 <libm-alias-float.h>.
21896 (roundf): Define using libm_alias_float.
21897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21898 <libm-alias-float.h>.
21899 (sinf): Define using libm_alias_float.
21900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21901 <libm-alias-float.h>.
21902 (truncf): Define using libm_alias_float.
21903 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21904 <libm-alias-float.h>.
21905 (ceilf): Define using libm_alias_float.
21906 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21907 <libm-alias-float.h>.
21908 (copysignf): Define using libm_alias_float.
21909 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21910 <libm-alias-float.h>.
21911 (floorf): Define using libm_alias_float.
21912 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21913 <libm-alias-float.h>.
21914 (llrintf): Define using libm_alias_float.
21915 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21916 <libm-alias-float.h>.
21917 (llroundf): Define using libm_alias_float.
21918 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21919 <libm-alias-float.h>.
21920 (nearbyintf): Define using libm_alias_float.
21921 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21922 <libm-alias-float.h>.
21923 (rintf): Define using libm_alias_float.
21924 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21925 <libm-alias-float.h>.
21926 (roundf): Define using libm_alias_float.
21927 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21928 <libm-alias-float.h>.
21929 (truncf): Define using libm_alias_float.
21930 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21931 <libm-alias-float.h>.
21932 (ceilf): Define using libm_alias_float.
21933 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21934 <libm-alias-float.h>.
21935 (floorf): Define using libm_alias_float.
21936 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21937 <libm-alias-float.h>.
21938 (llroundf): Define using libm_alias_float.
21939 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21940 <libm-alias-float.h>.
21941 (roundf): Define using libm_alias_float.
21942 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21943 <libm-alias-float.h>.
21944 (truncf): Define using libm_alias_float.
21945 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21946 <libm-alias-float.h>.
21947 (copysignf): Define using libm_alias_float.
21948 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21949 <libm-alias-float.h>.
21950 (llrintf): Define using libm_alias_float.
21951 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21952 <libm-alias-float.h>.
21953 (llroundf): Define using libm_alias_float.
21954 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21955 <libm-alias-float.h>.
21956 (cosf): Define using libm_alias_float.
21957 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21958 <libm-alias-float.h>.
21959 (llrintf): Define using libm_alias_float.
21960 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21961 <libm-alias-float.h>.
21962 (llroundf): Define using libm_alias_float.
21963 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21964 <libm-alias-float.h>.
21965 (sinf): Define using libm_alias_float.
21966
93485524
FW
219672017-12-04 Florian Weimer <fweimer@redhat.com>
21968
21969 * support/check.h (TEST_COMPARE): Define.
21970 (support_test_compare_failure): Declare.
21971 * support/Makefile (libsupport-routines): Add
21972 support_test_compare_failure.
21973 (tests): Add tst-test_compare.
21974 * support /support_test_compare_failure.c: New file.
21975 * support/tst-test_compare.c: Likewise.
21976
96b06a19
MF
219772017-12-04 Mike FABIAN <mfabian@redhat.com>
21978
21979 [BZ #22527]
21980 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21981 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21982 available, this rewrite of the collation rules does reproduce
21983 the test file in the same order.
21984
1f6d91f3
MF
219852017-12-04 Mike FABIAN <mfabian@redhat.com>
21986
21987 [BZ #10580]
21988 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21989 digraphs in the month and day names. Using single code points for
21990 digraphs is deprecated. While there are dedicated Unicode
21991 codepoints, for the digraphs, these are included for backwards
21992 compatibility and modern texts use a sequence of Basic Latin
21993 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21994 This makes the month and day names agree exactly with CLDR now,
21995 CLDR does not use the single code points for the digraphs either.
21996
2e49fed8
CM
219972017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21998
21999 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22000
73895b49
JM
220012017-12-04 Joseph Myers <joseph@codesourcery.com>
22002
22003 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22004 of floor.
22005
4c1d801a
SP
220062017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22007
22008 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22009 Define only for libc.so.
22010
478593e6
SL
220112017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22012
22013 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22014 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 22015 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
22016 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22017 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22018
7863a711
RS
220192017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22020
22021 [BZ #5997]
22022 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22023
800a496a
JDA
220242017-12-02 John David Anglin <danglin@gcc.gnu.org>
22025
b3f7fb12
JDA
22026 [BZ libc/19170]
22027 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22028 PREINIT_FUNCTION_WEAK is nonzero.
22029 (gmon_initializer): New function. Put procedure label for it in
22030 .init_array section.
22031 (_init): Don't call PREINIT_FUNCTION.
22032 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22033 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22034 value when map argument is null.
22035
800a496a
JDA
22036 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22037 depi instruction from PIC pc-relative sequence.
22038 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22039 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22040 (elf_machine_load_address): Likewise.
22041 (elf_machine_runtime_setup): Likewise.
22042
d17542d2
JM
220432017-12-02 Joseph Myers <joseph@codesourcery.com>
22044
22045 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22046 <libm-alias-double.h>.
22047 (logb): Define using libm_alias_double.
22048 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22049 <libm-alias-double.h>.
22050 (copysign): Define using libm_alias_double.
22051 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22052 <libm-alias-double.h>.
22053 (llrint): Define using libm_alias_double.
22054 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22055 <libm-alias-double.h>.
22056 (llround): Define using libm_alias_double.
22057 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22058 <libm-alias-double.h>.
22059 (lrint): Define using libm_alias_double.
22060 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22061 <libm-alias-double.h>.
22062 (lround): Define using libm_alias_double.
22063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22064 Include <libm-alias-double.h>.
22065 (copysign): Define using libm_alias_double.
22066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22067 Include <libm-alias-double.h>.
22068 (llrint): Define using libm_alias_double.
22069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22070 Include <libm-alias-double.h>.
22071 (llround): Define using libm_alias_double.
22072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22073 <libm-alias-double.h>.
22074 (logb): Define using libm_alias_double.
22075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22076 Include <libm-alias-double.h>.
22077 (lrint): Define using libm_alias_double.
22078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22079 Include <libm-alias-double.h>.
22080 (lround): Define using libm_alias_double.
22081 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22082 <libm-alias-double.h>.
22083 (llrint): Define using libm_alias_double.
22084 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22085 <libm-alias-double.h>.
22086 (llround): Define using libm_alias_double.
22087 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22088 <libm-alias-double.h>.
22089 (llround): Define using libm_alias_double.
22090 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22091 <libm-alias-double.h>.
22092 (lround): Define using libm_alias_double.
22093 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22094 <libm-alias-double.h>.
22095 (copysign): Define using libm_alias_double.
22096 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22097 <libm-alias-double.h>.
22098 (llrint): Define using libm_alias_double.
22099 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22100 <libm-alias-double.h>.
22101 (llround): Define using libm_alias_double.
22102 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22103 <libm-alias-double.h>.
22104 (lrint): Define using libm_alias_double.
22105 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22106 <libm-alias-double.h>.
22107 (lround): Define using libm_alias_double.
22108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22109 <libm-alias-double.h>.
22110 (copysign): Define using libm_alias_double.
22111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22112 <libm-alias-double.h>.
22113 (llrint): Define using libm_alias_double.
22114 (lrint): Likewise.
22115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22116 <libm-alias-double.h>.
22117 (llround): Define using libm_alias_double.
22118 (lround): Likewise.
22119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22120 <libm-alias-double.h>.
22121 (logb): Define using libm_alias_double.
22122 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22123 <libm-alias-double.h>.
22124 (copysign): Define using libm_alias_double.
22125 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22126 <libm-alias-double.h>.
22127 (llrint): Define using libm_alias_double.
22128 (lrint): Likewise.
22129 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22130 <libm-alias-double.h>.
22131 (llround): Define using libm_alias_double.
22132 (lround): Likewise.
22133 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22134 <libm-alias-double.h>.
22135 (llround): Define using libm_alias_double.
22136 (lround): Likewise.
22137 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22138 <libm-alias-double.h>.
22139 (copysign): Define using libm_alias_double.
22140 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22141 <libm-alias-double.h>.
22142 (llrint): Define using libm_alias_double.
22143 (lrint): Likewise.
22144 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22145 <libm-alias-double.h>.
22146 (llround): Define using libm_alias_double.
22147 (lround): Likewise.
22148 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22149 <libm-alias-double.h>.
22150 (llrint): Define using libm_alias_double.
22151 (lrint): Likewise.
22152 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22153 <libm-alias-double.h>.
22154 (llround): Define using libm_alias_double.
22155 (lround): Likewise.
22156
ec2cf3f4
JM
221572017-12-01 Joseph Myers <joseph@codesourcery.com>
22158
0ddde474
JM
22159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22160 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22161 compat symbol based on llround.
22162
0d5ba561
JM
22163 * sysdeps/powerpc/power7/fpu/s_logb.c
22164 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22165 symbol based on __logb, not on logb.
22166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22167 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22169 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22170
51ea3b20
JM
22171 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22172 (rint): Define using libm_alias_double.
22173 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22174 <libm-alias-double.h>.
22175 (modf): Define using libm_alias_double.
22176 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22177 <libm-alias-double.h>.
22178 (ceil): Define using libm_alias_double.
22179 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22180 <libm-alias-double.h>.
22181 (floor): Define using libm_alias_double.
22182 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22183 <libm-alias-double.h>.
22184 (nearbyint): Define using libm_alias_double.
22185 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22186 <libm-alias-double.h>.
22187 (rint): Define using libm_alias_double.
22188 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22189 <libm-alias-double.h>.
22190 (round): Define using libm_alias_double.
22191 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22192 <libm-alias-double.h>.
22193 (trunc): Define using libm_alias_double.
22194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22195 <libm-alias-double.h>.
22196 (ceil): Define using libm_alias_double.
22197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22198 Include <libm-alias-double.h>.
22199 (floor): Define using libm_alias_double.
22200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22201 <libm-alias-double.h>.
22202 (modf): Define using libm_alias_double.
22203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22204 Include <libm-alias-double.h>.
22205 (round): Define using libm_alias_double.
22206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22207 Include <libm-alias-double.h>.
22208 (trunc): Define using libm_alias_double.
22209 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22210 <libm-alias-double.h>.
22211 (ceil): Define using libm_alias_double.
22212 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22213 <libm-alias-double.h>.
22214 (floor): Define using libm_alias_double.
22215 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22216 <libm-alias-double.h>.
22217 (round): Define using libm_alias_double.
22218 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22219 <libm-alias-double.h>.
22220 (trunc): Define using libm_alias_double.
22221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22222 <libm-alias-double.h>.
22223 (ceil): Define using libm_alias_double.
22224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22225 <libm-alias-double.h>.
22226 (floor): Define using libm_alias_double.
22227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22228 <libm-alias-double.h>.
22229 (modf): Define using libm_alias_double.
22230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22231 <libm-alias-double.h>.
22232 (round): Define using libm_alias_double.
22233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22234 <libm-alias-double.h>.
22235 (trunc): Define using libm_alias_double.
22236 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22237 <libm-alias-double.h>.
22238 (ceil): Define using libm_alias_double.
22239 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22240 <libm-alias-double.h>.
22241 (floor): Define using libm_alias_double.
22242 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22243 <libm-alias-double.h>.
22244 (nearbyint): Define using libm_alias_double.
22245 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22246 <libm-alias-double.h>.
22247 (rint): Define using libm_alias_double.
22248 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22249 <libm-alias-double.h>.
22250 (round): Define using libm_alias_double.
22251 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22252 <libm-alias-double.h>.
22253 (trunc): Define using libm_alias_double.
22254 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22255 <libm-alias-double.h>.
22256 (ceil): Define using libm_alias_double.
22257 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22258 <libm-alias-double.h>.
22259 (floor): Define using libm_alias_double.
22260 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22261 <libm-alias-double.h>.
22262 (round): Define using libm_alias_double.
22263 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22264 <libm-alias-double.h>.
22265 (trunc): Define using libm_alias_double.
22266
ec2cf3f4
JM
22267 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22268 (fabs): Define using libm_alias_double.
22269 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22270 (fma): Define using libm_alias_double.
22271 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22272 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22273 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22274 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22275
5b7bd975
AZ
222762017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22277
0594b13f
AZ
22278 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22279
dbdfcf3b
AZ
22280 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22281 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22282 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22283
5b7bd975
AZ
22284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22285 due redirect macro.
22286
ef9ecfa6
AS
222872017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22288
22289 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22290
5b4e5e78
AZ
222912017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22292
2a14526b
AZ
22293 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22294 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22295 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22296 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22297
dbeb74ef 22298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
22299 (libm-sysdep_routines): Add s_nearbyintf-generic and
22300 s_nearbyint-generic.
22301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22302 New file.
22303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22305 Likewise.
22306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22307 Likewise.
22308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22309 file.
22310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22311 Likewise.
22312
22313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
22314 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22316 file.
22317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22319 Likewise.
22320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22323
fa7ded96
AZ
22324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22325 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22327 file.
22328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22330 Likewise.
22331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22334
e240cf0e
AZ
22335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22336 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22338 file.
22339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22341 Likewise.
22342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22345
5b4e5e78
AZ
22346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22347 (sysdep_calls): New rule.
22348 (sysdep_routines): Use sysdep_calls as base.
22349 (libm-sysdep_routines): Add generic rule for symbols shared with
22350 libc. Add s_copysign-generic and s_copysign-generic objects.
22351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22352 New file.
22353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22355 Likewise.
22356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22359
d985adae
MF
223602017-12-01 Mike FABIAN <mfabian@redhat.com>
22361
22362 [BZ #22519]
22363 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22364 the list of locales to be built for testing.
22365 * localedata/is_IS.UTF-8.in: New file.
22366 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22367 on iso14651_t1.
22368
ff84a0e0
JM
223692017-12-01 Joseph Myers <joseph@codesourcery.com>
22370
22371 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22372 <libm-alias-float.h>.
22373 (fabsf): Define using libm_alias_float.
22374
ef5d8b43
L
223752017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22376
22377 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22378
c0535adf
JM
223792017-11-30 Joseph Myers <joseph@codesourcery.com>
22380
f938b397
JM
22381 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22382 <libm-alias-float.h>.
22383 (fabsf): Define using libm_alias_float.
22384 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22385 <libm-alias-float.h>.
22386 (lrintf): Define using libm_alias_float.
22387 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22388 <libm-alias-float.h>.
22389 (rintf): Define using libm_alias_float.
22390
2251fad0
JM
22391 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22392 <libm-alias-double.h>.
22393 (fabs): Define using libm_alias_double.
22394 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22395 <libm-alias-double.h>.
22396 (lrint): Define using libm_alias_double.
22397 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22398 <libm-alias-double.h>.
22399 (rint): Define using libm_alias_double.
22400
e53df1de
JM
22401 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22402 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22403 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22404 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22405 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22406 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22407 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22408 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22409 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22410 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22411 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22412 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22413 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22414 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22415 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22416 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22417 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22418 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22419 s_atan_template.c.
22420 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22421 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22422 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22423 s_ceil_template.c.
22424 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22425 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22426 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22427 s_cos_template.c.
22428 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22429 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22430 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22431 s_expm1_template.c.
22432 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22433 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22434 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22435 s_fabs_template.c.
22436 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22437 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22438 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22439 s_floor_template.c.
22440 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22441 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22442 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22443 s_frexp_template.c.
22444 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22445 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22446 s_lrint_template.c.
22447 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22448 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22449 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22450 s_modf_template.c.
22451 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22452 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22453 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22454 s_nearbyint_template.c.
22455 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22456 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22457 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22458 s_remquo_template.c.
22459 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22460 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22461 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22462 s_rint_template.c.
22463 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22464 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22465 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22466 s_sin_template.c.
22467 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22468 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22469 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22470 s_sincos_template.c.
22471 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22472 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22473 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22474 s_tan_template.c.
22475 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22476 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22477 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22478 s_tanh_template.c.
22479 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22480 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22481 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22482 s_trunc_template.c.
22483 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22484 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22485 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22486 s_atan.c instead of including s_atan.c.
22487 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22488 s_atanf.c instead of including s_atanf.c.
22489 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22490 s_atanl.c instead of including s_atanl.c.
22491 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22492 instead of s_atan.c.
22493 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22494 instead of s_atanf.c.
22495 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22496 instead of s_atanl.c.
22497
c0535adf
JM
22498 * scripts/update-copyrights: Do not handle intl/plural.c
22499 specially.
22500
1faaf703
JB
225012017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22502
22503 [BZ #22432]
22504 * configure.ac (BISON): Require to be present.
22505 * configure: Regenerated.
22506 * intl/Makefile (generated): Add plural.c.
22507 [$(BISON) != no]: Make code unconditional.
22508 (plural.c): Change rule to $(objpfx)plural.c.
22509 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22510 * intl/plural.c: Remove.
22511 * manual/install.texi (Tools for Compilation): Document bison as
22512 required.
22513 * INSTALL: Regenerated.
22514
faec6323
JM
225152017-11-30 Joseph Myers <joseph@codesourcery.com>
22516
bd6ea9ed
JM
22517 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22518 <libm-alias-double.h>.
22519 (llrint): Define using libm_alias_double.
22520 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22521 <libm-alias-float.h>.
22522 (llrintf): Define using libm_alias_float.
22523 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22524 <libm-alias-ldouble.h>.
22525 (llrintl): Define using libm_alias_ldouble.
22526
faec6323
JM
22527 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22528 declare_mgen_alias instead of weak_alias.
22529 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22530 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22531 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22532
023cade3
AZ
225332017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22534
9e2279a0
AZ
22535 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22536 Add add_n-generic.
22537 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22538 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22539 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22540
75f37c71
AZ
22541 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22542 Add submul_1-generic.
22543 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22544 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22545 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22546
b70cbbfc 22547 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
22548 Add addmul_1-generic.
22549 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22550 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22551 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22552
22553 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
22554 Add sub_n-generic.
22555 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22556 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22557 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22558
023cade3
AZ
22559 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22560 Add mul_1-generic.
22561 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22562 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22563 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22564
fbb5fd03
MF
225652017-11-30 Mike FABIAN <mfabian@redhat.com>
22566
22567 According to CLDR, collation rules for Serbian and Bosnian
22568 should be the same as for Croatian.
22569
22570 [BZ #22534]
22571 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22572 and to the list of locales to be built for testing.
22573 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22574 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22575 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22576 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22577
5e56e937
MF
225782017-11-30 Mike FABIAN <mfabian@redhat.com>
22579
22580 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22581 to make test case pass.
22582 * localedata/hr_HR.UTF-8.in: Add more test strings.
22583
cf4341ca
MF
225842017-11-30 Mike FABIAN <mfabian@redhat.com>
22585
22586 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22587
363e4519 225882017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
22589
22590 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22591 the list of locales to built for testing.
22592 * localedata/hr_HR.UTF-8.in: New file.
22593
363e4519 225942017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
22595
22596 [BZ #10580]
22597 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22598 iso14651_t1.
22599 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22600 CLDR (except use ligatures for the digraphs, CLDR does not use
22601 the ligatures), add first_workday, some fixes in the date and time
22602 formats.
22603 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22604 for Đ and đ.
22605 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22606 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22607 Add int_p_cs_precedes and int_n_cs_precedes.
22608 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22609 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22610 LC_MONETARY now).
22611 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22612 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22613 name_miss.
22614 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22615 and lang_lib. Change postal_fmt.
22616
f33632cc
L
226172017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22618
22619 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22620 <setjmp.h>.
22621 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22622 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22623 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22624 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22625 * sysdeps/generic/setjmpP.h: New file.
22626 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22627 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22628 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22629 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22630 Add jmp_buf-ssp.sym.
22631 (tests): Add tst-saved_mask-1.
22632
34697694
AS
226332017-11-30 Arjun Shankar <arjun@redhat.com>
22634
22635 [BZ #22375]
37ac8e63 22636 CVE-2017-17426
34697694
AS
22637 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22638 instead of request2size.
22639
3e5efdbd
JM
226402017-11-30 Joseph Myers <joseph@codesourcery.com>
22641
18305fba
JM
22642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22643 (__lllrint): Remove alias.
22644 (lllrint): Likewise.
22645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22646 (__lllrintf): Likewise.
22647 (lllrintf): Likewise.
22648
3e5efdbd
JM
22649 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22650 <libm-alias-float.h>.
22651 (copysignf): Define using libm_alias_float.
22652 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22653 <libm-alias-float.h>.
22654 (fabsf): Define using libm_alias_float.
22655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22656 Include <libm-alias-float.h>.
22657 (copysignf): Define using libm_alias_float.
22658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22659 <libm-alias-float.h>.
22660 (fabsf): Define using libm_alias_float.
22661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22662 <libm-alias-float.h>.
22663 (fdimf): Define using libm_alias_float.
22664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22665 <libm-alias-float.h>.
22666 (fmaf): Define using libm_alias_float.
22667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22668 <libm-alias-float.h>.
22669 (llrintf): Define using libm_alias_float.
22670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22671 Include <libm-alias-float.h>.
22672 (nearbyintf): Define using libm_alias_float.
22673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22674 <libm-alias-float.h>.
22675 (rintf): Define using libm_alias_float.
22676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22677 <libm-alias-float.h>.
22678 (llrintf): Define using libm_alias_float.
22679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22680 <libm-alias-float.h>.
22681 (lrintf): Define using libm_alias_float.
22682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22683 <libm-alias-float.h>.
22684 (nearbyintf): Define using libm_alias_float.
22685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22686 <libm-alias-float.h>.
22687 (rintf): Define using libm_alias_float.
22688 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22689 <libm-alias-float.h>.
22690 (ceilf): Define using libm_alias_float.
22691 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22692 <libm-alias-float.h>.
22693 (floorf): Define using libm_alias_float.
22694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22695 <libm-alias-float.h>.
22696 (fmaf): Define using libm_alias_float.
22697 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22698 <libm-alias-float.h>.
22699 (lrintf): Define using libm_alias_float.
22700 (llrintf): Likewise.
22701 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22702 <libm-alias-float.h>.
22703 (nearbyintf): Define using libm_alias_float.
22704 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22705 <libm-alias-float.h>.
22706 (rintf): Define using libm_alias_float.
22707 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22708 <libm-alias-float.h>.
22709 (truncf): Define using libm_alias_float.
22710 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22711 <libm-alias-float.h>.
22712 (copysignf): Define using libm_alias_float.
22713 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22714 <libm-alias-float.h>.
22715 (fabsf): Define using libm_alias_float.
22716 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22717 <libm-alias-float.h>.
22718 (lrintf): Define using libm_alias_float.
22719 (llrintf): Likewise.
22720 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22721 <libm-alias-float.h>.
22722 (nearbyintf): Define using libm_alias_float.
22723 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22724 <libm-alias-float.h>.
22725 (rintf): Define using libm_alias_float.
22726
011fba7e
JM
227272017-11-29 Joseph Myers <joseph@codesourcery.com>
22728
875cd548
JM
22729 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22730 <libm-alias-double.h>.
22731 (copysign): Define using libm_alias_double.
22732 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22733 <libm-alias-double.h>.
22734 (fabs): Define using libm_alias_double.
22735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22736 Include <libm-alias-double.h>.
22737 (copysign): Define using libm_alias_double.
22738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22739 <libm-alias-double.h>.
22740 (fabs): Define using libm_alias_double.
22741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22742 <libm-alias-double.h>.
22743 (fdim): Define using libm_alias_double.
22744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22745 <libm-alias-double.h>.
22746 (fma): Define using libm_alias_double.
22747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22748 <libm-alias-double.h>.
22749 (llrint): Define using libm_alias_double.
22750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22751 Include <libm-alias-double.h>.
22752 (nearbyint): Define using libm_alias_double.
22753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22754 <libm-alias-double.h>.
22755 (rint): Define using libm_alias_double.
22756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22757 <libm-alias-double.h>.
22758 (fabs): Define using libm_alias_double.
22759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22760 <libm-alias-double.h>.
22761 (llrint): Define using libm_alias_double.
22762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22763 <libm-alias-double.h>.
22764 (nearbyint): Define using libm_alias_double.
22765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22766 <libm-alias-double.h>.
22767 (rint): Define using libm_alias_double.
22768 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22769 <libm-alias-double.h>.
22770 (ceil): Define using libm_alias_double.
22771 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22772 <libm-alias-double.h>.
22773 (floor): Define using libm_alias_double.
22774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22775 <libm-alias-double.h>.
22776 (fma): Define using libm_alias_double.
22777 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22778 <libm-alias-double.h>.
22779 (lrint): Define using libm_alias_double.
22780 (llrint): Likewise.
22781 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22782 <libm-alias-double.h>.
22783 (nearbyint): Define using libm_alias_double.
22784 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22785 <libm-alias-double.h>.
22786 (rint): Define using libm_alias_double.
22787 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22788 <libm-alias-double.h>.
22789 (trunc): Define using libm_alias_double.
22790 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22791 <libm-alias-double.h>.
22792 (copysign): Define using libm_alias_double.
22793 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22794 <libm-alias-double.h>.
22795 (fabs): Define using libm_alias_double.
22796 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22797 <libm-alias-double.h>.
22798 (lrint): Define using libm_alias_double.
22799 (llrint): Likewise.
22800 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22801 <libm-alias-double.h>.
22802 (nearbyint): Define using libm_alias_double.
22803 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22804 <libm-alias-double.h>.
22805 (rint): Define using libm_alias_double.
22806
cf4ebc27
JM
22807 [BZ #22229]
22808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22809 <math_ldbl_opt.h>.
22810 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22811
0c097378
JM
22812 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22813 SPARC --disable-multi-arch glibc variants.
22814
34bb10aa
JM
22815 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22816 <libm-alias-float.h>.
22817 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22818 if [SHARED].
22819 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22820 <libm-alias-float.h>.
22821 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22822 if [SHARED].
22823 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22824 <libm-alias-float.h>.
22825 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22826 if [SHARED].
22827 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22828 <libm-alias-float.h>.
22829 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22830 if [SHARED].
22831 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22832 <libm-alias-float.h>.
22833 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22834 if [SHARED].
22835 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22836 <libm-alias-float.h>.
22837 (ceilf): Define using libm_alias_float.
22838 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22839 <libm-alias-float.h>.
22840 (floorf): Define using libm_alias_float.
22841 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22842 <libm-alias-float.h>.
22843 (fmaf): Define using libm_alias_float.
22844 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22845 <libm-alias-float.h>.
22846 (nearbyintf): Define using libm_alias_float.
22847 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22848 <libm-alias-float.h>.
22849 (rintf): Define using libm_alias_float.
22850 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22851 <libm-alias-float.h>.
22852 (truncf): Define using libm_alias_float.
22853 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22854 (copysignf): Define using libm_alias_float.
22855 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22856 (cosf): Define using libm_alias_float.
22857 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22858 (fabsf): Define using libm_alias_float.
22859 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22860 (fmaxf): Define using libm_alias_float.
22861 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22862 (fminf): Define using libm_alias_float.
22863 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22864 (llrintf): Define using libm_alias_float.
22865 [!__ILP32__] (lrintf): Likewise.
22866 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22867 (sincosf): Define using libm_alias_float.
22868 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22869 (sinf): Define using libm_alias_float.
22870 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22871 (lrintf): Define using libm_alias_float.
22872
011fba7e
JM
22873 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22874 <libm-alias-double.h>.
22875 (atan): Define using libm_alias_double.
22876 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22877 <libm-alias-double.h>.
22878 (ceil): Define using libm_alias_double.
22879 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22880 <libm-alias-double.h>.
22881 (floor): Define using libm_alias_double.
22882 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22883 <libm-alias-double.h>.
22884 (fma): Define using libm_alias_double.
22885 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22886 <libm-alias-double.h>.
22887 (nearbyint): Define using libm_alias_double.
22888 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22889 <libm-alias-double.h>.
22890 (rint): Define using libm_alias_double.
22891 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22892 <libm-alias-double.h>.
22893 (sin): Define using libm_alias_double.
22894 (cos): Likewise.
22895 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22896 <libm-alias-double.h>.
22897 (tan): Define using libm_alias_double.
22898 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22899 <libm-alias-double.h>.
22900 (trunc): Define using libm_alias_double.
22901 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22902 (copysign): Define using libm_alias_double.
22903 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22904 (fabs): Define using libm_alias_double.
22905 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22906 (fmax): Define using libm_alias_double.
22907 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22908 (fmin): Define using libm_alias_double.
22909 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22910 (llrint): Define using libm_alias_double.
22911 [!__ILP32__] (lrint): Likewise.
22912 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22913 (lrint): Define using libm_alias_double.
22914
1cbd7bfe
AZ
229152017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22916
21bfcc3d
AZ
22917 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22918 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22919 objects.
22920 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22921 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22922 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22923 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22924 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22925 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22926
522228dd
AZ
22927 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22928 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22929 objects.
22930 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22931 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22932 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22933 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22934 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22935 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22936
2a6f4fab
AZ
22937 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22938 (libm-sysdep_routines): Add s_nearbyint-generic and
22939 s_nearbyintf-generic objects.
22940 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22941 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22942 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22943 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22944 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22945 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22946
712b5b83
AZ
22947 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22948 Add s_finitef-generic and s_finite-generic objects.
22949 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22950 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22951 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22952 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22953 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22954 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22955
c96d3335
AZ
22956 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22957 Add s_isinff-generic and s_isinf-generic objects.
22958 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22959 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22960 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22961 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22962 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22963 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22964
c6862a23
AZ
22965 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22966 Add s_isnanf-generic and s_isnan-generic objects.
22967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22973
1cbd7bfe
AZ
22974 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22975 macro.
22976 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22977 rule.
22978 (sysdep_routines): Use sysdep_calls as base.
22979 (libm-sysdep_routines): Add generic rule for symbols shared with
22980 libc. Add s_signbit-generic and s_signbitf-generic objects.
22981 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22982 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22983 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22984 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22985 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22986 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22987
aa1142c5
JM
229882017-11-29 Joseph Myers <joseph@codesourcery.com>
22989
22990 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22991 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22992 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22993 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22994 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22995 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22996 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22997 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22998 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22999 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23000 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23001 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23002 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23003 libm_alias_float_r.
23004 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23005 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23006 (logf): Likewise.
23007 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23008 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23009 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23010 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23011 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23012 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23013 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23014 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23015 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23016 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23017 libm_alias_float.
23018 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23019 (cosf): Likewise.
23020 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23021 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23022 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23023 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23024 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23025 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23026 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23027 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23028 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23029 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23030 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23031 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23032 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23033 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23034 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23035 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23036 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23037 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23038 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23039 libm_alias_float.
23040 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23041 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23042 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23043 * sysdeps/ia64/fpu/w_lgammaf_main.c
23044 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23045 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23046
363e4519
DL
230472017-11-28 Mike FABIAN <mfabian@redhat.com>
23048 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
23049
23050 [BZ #17750]
23051 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23052 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23053 accents sorting.
23054 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23055 sorting.
23056 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23057 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23058 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23059 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23060 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23061 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23062 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23063 instead of “ifdef DIACRIT_BACKWARD”.
23064
a55430cb
AZ
230652017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23066
23067 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23068 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23069 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23070 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23071 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23072 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23073 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23074 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23075 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23076 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23079 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23080 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23081 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23082 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23083 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23084 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23086 ($(have-as-vis3) == yes): Remove conditional.
23087 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23088 Likewise.
23089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23090 file.
23091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23092 file.
23093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23094 file.
23095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23096 file.
23097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23103 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23104 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23105
0609ec0a
JM
231062017-11-29 Joseph Myers <joseph@codesourcery.com>
23107
23108 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23109 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23110 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23111 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23112 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23113 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23114 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23115 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23116 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23117 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23118 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23119 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23120 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23121 libm_alias_double_r.
23122 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23123 (log): Likewise.
23124 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23125 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23126 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23127 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23128 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23129 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23130 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23131 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23132 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23133 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23134 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23135 libm_alias_double.
23136 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23137 (cos): Likewise.
23138 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23139 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23140 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23141 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23142 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23143 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23144 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23145 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23146 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23147 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23148 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23149 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23150 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23151 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23152 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23153 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23154 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23155 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23156 libm_alias_double.
23157 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23158 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23159 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23160 * sysdeps/ia64/fpu/w_lgamma_main.c
23161 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23162 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23163
d5bfa34a
JDA
231642017-11-28 John David Anglin <danglin@gcc.gnu.org>
23165
23166 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23167 address of $global$ into %dp register earlier. Use pc-relative
23168 instruction sequence for PIC case.
23169
bc4e8f9b
JM
231702017-11-28 Joseph Myers <joseph@codesourcery.com>
23171
e4602cba
JM
23172 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23173 (asinhf): Define using libm_alias_float.
23174 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23175 (atanf): Define using libm_alias_float.
23176 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23177 (cbrtf): Define using libm_alias_float.
23178 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23179 (ceilf): Define using libm_alias_float.
23180 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23181 (copysignf): Define using libm_alias_float.
23182 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23183 (expm1f): Define using libm_alias_float.
23184 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23185 (fabsf): Define using libm_alias_float.
23186 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23187 (floorf): Define using libm_alias_float.
23188 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23189 (fmaxf): Define using libm_alias_float.
23190 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23191 (fminf): Define using libm_alias_float.
23192 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23193 (frexpf): Define using libm_alias_float.
23194 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23195 (llrintf): Define using libm_alias_float.
23196 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23197 (logbf): Define using libm_alias_float.
23198 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23199 (lrintf): Define using libm_alias_float.
23200 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23201 (nearbyintf): Define using libm_alias_float.
23202 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23203 (remquof): Define using libm_alias_float.
23204 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23205 (rintf): Define using libm_alias_float.
23206 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23207 (truncf): Define using libm_alias_float.
23208 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23209 <libm-alias-float.h>.
23210 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23211 if [SHARED].
23212 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23213 <libm-alias-float.h>.
23214 (expf): Define using libm_alias_float, or libm_alias_float_other
23215 if [SHARED].
23216 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23217 <libm-alias-float.h>.
23218 (log2f): Define using libm_alias_float, or libm_alias_float_other
23219 if [SHARED].
23220 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23221 <libm-alias-float.h>.
23222 (logf): Define using libm_alias_float, or libm_alias_float_other
23223 if [SHARED].
23224 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23225 <libm-alias-float.h>.
23226 (powf): Define using libm_alias_float, or libm_alias_float_other
23227 if [SHARED].
23228 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23229 <libm-alias-float.h>.
23230 (cosf): Define using libm_alias_float.
23231 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23232 <libm-alias-float.h>.
23233 (sincosf): Define using libm_alias_float.
23234 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23235 <libm-alias-float.h>.
23236 (sinf): Define using libm_alias_float.
23237 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23238 (fmaxf): Define using libm_alias_float.
23239 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23240 (fminf): Define using libm_alias_float.
23241 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23242 <libm-alias-float.h>.
23243 (fmaf): Define using libm_alias_float.
23244
bc4e8f9b
JM
23245 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23246 (asinh): Define using libm_alias_double.
23247 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23248 (atan): Define using libm_alias_double.
23249 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23250 (cbrt): Define using libm_alias_double.
23251 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23252 (ceil): Define using libm_alias_double.
23253 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23254 (copysign): Define using libm_alias_double.
23255 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23256 (expm1): Define using libm_alias_double.
23257 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23258 (fabs): Define using libm_alias_double.
23259 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23260 (fdim): Define using libm_alias_double.
23261 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23262 (floor): Define using libm_alias_double.
23263 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23264 (fmax): Define using libm_alias_double.
23265 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23266 (fmin): Define using libm_alias_double.
23267 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23268 (frexp): Define using libm_alias_double.
23269 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23270 (llrint): Define using libm_alias_double.
23271 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23272 (logb): Define using libm_alias_double.
23273 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23274 (lrint): Define using libm_alias_double.
23275 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23276 (nearbyint): Define using libm_alias_double.
23277 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23278 (remquo): Define using libm_alias_double.
23279 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23280 (rint): Define using libm_alias_double.
23281 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23282 (trunc): Define using libm_alias_double.
23283 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23284 (fmax): Define using libm_alias_double.
23285 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23286 (fmin): Define using libm_alias_double.
23287 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23288 (fma): Define using libm_alias_double.
23289
8d81ce0c
L
232902017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23291
23292 [BZ #22370]
23293 * elf/dl-hwcaps.c (ROUND): Removed.
23294 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23295 and ELF_NOTE_NEXT_OFFSET.
23296 * elf/dl-load.c (ROUND): Removed.
23297 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23298 * elf/readelflib.c (ROUND): Removed.
23299 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23300 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23301 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23302 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23303
6940bd96
JM
233042017-11-28 Joseph Myers <joseph@codesourcery.com>
23305
313ba463
JM
23306 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23307 [!__fmaf] (fmaf): Define using libm_alias_float.
23308
6940bd96
JM
23309 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23310 [!__fma] (fma): Define using libm_alias_double.
23311 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23312
22c69b6a
MF
233132017-11-28 Mike FABIAN <mfabian@redhat.com>
23314
23315 [BZ #22336]
23316 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23317 and implement the collation rules for cs from CLDR on top of that.
23318 * Makefile: Add cs_CZ.UTF-8 to test-input.
23319 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23320
8d7d3ba8
SP
233212017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23322
23323 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23324
0422ed1e
VR
233252017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23326 Icarus Sparry <icarus.w.sparry@intel.com>
23327
23328 * benchtests/Makefile:Add BENCHSET to allow subsets of
23329 benchmarks to be run.
23330 * benchtests/README: Add documentation for: Running subsets of
23331 benchmarks.
23332
0595e360
VR
233332017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23334
d5090db3
VR
23335 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23336 range of tests names.
23337
0595e360
VR
23338 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23339 result from property and remove "max", min" and "mean" from
23340 required properties based on benchtests/bench-skeleton.c.
23341
b4c645c2
FW
233422017-11-28 Florian Weimer <fweimer@redhat.com>
23343
23344 [BZ #20826]
23345 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23346 due to Internet requirement.
23347 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23348 tst-getaddrinfo5.
23349 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23350
88684de7
AZ
233512017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23352
69056564
AZ
23353 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23354 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23355 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23356 (sysdep_routines): Add memset-ultra1.
23357 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23358 file.
23359 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23360 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23361 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23362 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23363 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23364 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23365 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23366 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23367
88684de7
AZ
23368 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23369 file.
23370 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23371 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23372 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23373 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23374 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23375 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23376 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23377 macro.
23378 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23379 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23380 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23381 (sysdep_routines): Add memcpy-ultra1.
23382 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23383 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23384
d8124864
JM
233852017-11-28 Joseph Myers <joseph@codesourcery.com>
23386
f433d0b3
JM
23387 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23388 (cfloat_versions): Take function argument without trailing 'f'.
23389 Call libm_alias_float_other.
23390 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23391 * sysdeps/alpha/fpu/cargf.c: Likewise.
23392 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23393 * sysdeps/alpha/fpu/conjf.c: Likewise.
23394 * sysdeps/alpha/fpu/crealf.c: Likewise.
23395 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23396 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23397 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23398 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23399 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23400 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23401 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23402 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23403 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23404 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23405 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23406 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23407 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23408 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23409 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23410 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23411 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23412 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23413 (clog10f): Use libm_alias_float_other.
23414 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23415 (ceilf): Define using libm_alias_float.
23416 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23417 (copysignf): Define using libm_alias_float.
23418 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23419 (fabsf): Define using libm_alias_float.
23420 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23421 (floorf): Define using libm_alias_float.
23422 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23423 (fmaxf): Define using libm_alias_float.
23424 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23425 (fminf): Define using libm_alias_float.
23426 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23427 (lrintf): Define using libm_alias_float.
23428 (llrintf): Likewise.
23429 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23430 (lroundf): Define using libm_alias_float.
23431 (llroundf): Likewise.
23432 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23433 (rintf): Define using libm_alias_float.
23434 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23435 (truncf): Define using libm_alias_float.
23436
15ff4900
JM
23437 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23438 (ceilf): Define using libm_alias_float.
23439 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23440 (floorf): Define using libm_alias_float.
23441 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23442 (fmaf): Define using libm_alias_float.
23443 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23444 (fmaxf): Define using libm_alias_float.
23445 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23446 (fminf): Define using libm_alias_float.
23447 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23448 (llrintf): Define using libm_alias_float.
23449 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23450 (llroundf): Define using libm_alias_float.
23451 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23452 (lrintf): Define using libm_alias_float.
23453 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23454 (lroundf): Define using libm_alias_float.
23455 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23456 <libm-alias-float.h>.
23457 (nearbyintf): Define using libm_alias_float.
23458 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23459 (rintf): Define using libm_alias_float.
23460 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23461 (roundf): Define using libm_alias_float.
23462 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23463 (truncf): Define using libm_alias_float.
23464
5de60638
JM
23465 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23466 (ceil): Define using libm_alias_double.
23467 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23468 (copysign): Define using libm_alias_double.
23469 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23470 (fabs): Define using libm_alias_double.
23471 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23472 (floor): Define using libm_alias_double.
23473 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23474 (fmax): Define using libm_alias_double.
23475 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23476 (fmin): Define using libm_alias_double.
23477 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23478 (lrint): Define using libm_alias_double.
23479 (llrint): Likewise.
23480 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23481 (lround): Define using libm_alias_double.
23482 (llround): Likewise.
23483 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23484 (rint): Define using libm_alias_double.
23485 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23486 (trunc): Define using libm_alias_double.
23487
d8124864
JM
23488 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23489 (libm_alias_double_r): Add semicolon after weak_alias call.
23490
f07d2ec8
JM
234912017-11-27 Joseph Myers <joseph@codesourcery.com>
23492
23493 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23494 (ceil): Define using libm_alias_double.
23495 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23496 (floor): Define using libm_alias_double.
23497 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23498 (fma): Define using libm_alias_double.
23499 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23500 (fmax): Define using libm_alias_double.
23501 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23502 (fmin): Define using libm_alias_double.
23503 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23504 (llrint): Define using libm_alias_double.
23505 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23506 (llround): Define using libm_alias_double.
23507 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23508 (lrint): Define using libm_alias_double.
23509 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23510 (lround): Define using libm_alias_double.
23511 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23512 (nearbyint): Define using libm_alias_double.
23513 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23514 (rint): Define using libm_alias_double.
23515 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23516 (round): Define using libm_alias_double.
23517 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23518 (trunc): Define using libm_alias_double.
23519
4bab0224
FW
235202017-11-27 Florian Weimer <fweimer@redhat.com>
23521
23522 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23523 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23524 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23525 (tests): Add tst-mlock2.
23526 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23527 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23528 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23529 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23530 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23531 for mlock. Document mlock2.
23532
a23aa5b7
JM
235332017-11-27 Joseph Myers <joseph@codesourcery.com>
23534
23535 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23536 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23537 Likewise.
23538 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23539 Likewise.
23540 * sysdeps/x86/Makeconfig: New file.
23541 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23542 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23543 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23544 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23545 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23546 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23547 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23548 Likewise.
23549 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23550 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23551 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23552 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23553 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23554 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23555 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23556 * manual/math.texi (Mathematics): Document support for _Float64x.
23557 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23558 * stdlib/Versions (GLIBC_2.27): Likewise.
23559 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23560 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23561 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23562 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23563 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23564 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23565 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23566 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23567 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23568 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23569 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23570 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23572 Likewise.
23573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23574 Likewise.
23575 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23576 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23577 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23578 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23579 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23580 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23581 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23582 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23583 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23584 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23585 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23586 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23587 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23588 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23589
c2c299fd
AS
235902017-11-27 Andreas Schwab <schwab@suse.de>
23591
23592 * elf/Makefile (dl-routines): Add dl-sort-maps.
23593 * elf/dl-sort-maps.c: New file.
23594 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23595 (_dl_sort_maps): Declare.
23596 * elf/dl-fini.c (_dl_sort_fini): Remove.
23597 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23598 * elf/dl-close.c (_dl_close_worker): Likewise.
23599 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23600 open-coding it.
23601 * elf/dl-open.c (dl_open_worker): Likewise.
23602
9d4b0117
JM
236032017-11-24 Joseph Myers <joseph@codesourcery.com>
23604
de61465c
JM
23605 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23606 using libm_alias_float128.
23607 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23608 Likewise.
23609 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23610 Likewise.
23611 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23612 (setpayloadsigf128): Likewise.
23613 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23614 Likewise.
23615 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23616 Likewise.
23617
9ae6d171
JM
23618 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23619 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23620 -mfloat128 to CFLAGS.
23621 ($(foreach
23622 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23623 Likewise.
23624 (CFLAGS-libm-test-support-float64x.c): New variable.
23625 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23626 $(f128-loader-link) to gnulib-tests.
23627
6e70d156
JM
23628 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23629 (libm_alias_float128_other_r): If
23630 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23631 alias.
23632 (libm_alias_float128_r): Add semicolon after weak_alias call.
23633 * sysdeps/generic/libm-alias-ldouble.h
23634 (libm_alias_ldouble_other_r_f128): New macro.
23635 (libm_alias_ldouble_other_r_f64x): Likewise.
23636 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23637 and libm_alias_ldouble_other_r_f64x.
23638 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23639 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23640 (libm_alias_ldouble_other_r_f128): New macro.
23641 (libm_alias_ldouble_other_r_f64x): Likewise.
23642 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23643 and libm_alias_ldouble_other_r_f64x.
23644
df2806cd
JM
23645 * stdlib/strfroml.c: Always include <stdlib.h>.
23646 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23647 undefine as macro and define as weak alias.
23648 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23649 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23650 <stdlib.h>.
23651 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23652 Define and later undefine as macro and define as weak alias.
23653
0df4fe35
JM
23654 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23655 Define and later undefine as macro. Define as weak alias if
23656 [!USE_WIDE_CHAR].
23657 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23658 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23659 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23660 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23661 Define and later undefine as macro. Define as weak alias if
23662 [!USE_WIDE_CHAR].
23663 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23664 Define and later undefine as macro. Define as weak alias if
23665 [USE_WIDE_CHAR].
23666 * sysdeps/ieee754/float128/strtof128_l.c
23667 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23668 Define and later undefine as macro. Define as weak alias if
23669 [!USE_WIDE_CHAR].
23670 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23671 Define and later undefine as macro. Define as weak alias if
23672 [USE_WIDE_CHAR].
23673 * sysdeps/ieee754/ldbl-128/strtold_l.c
23674 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23675 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23676 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23677 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23678 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23679 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23680 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23681 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23682 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23683 * sysdeps/ieee754/ldbl-96/strtold_l.c
23684 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23685 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23686 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23687 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23688
ae7207d0
JM
23689 * math/test-float64x.h: New file.
23690 * math/Makefile (type-float64x-yes): New variable.
23691 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23692
9596fc69
JM
23693 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23694 function-like macro.
23695 (min_of_type_): Likewise.
23696 (min_of_type_l): Likewise.
23697 (min_of_type_f128): Likewise.
23698 (min_of_type): Pass () as last argument of __MATH_TG.
23699
46453c3c
JM
23700 * stdlib/tst-strtod-round-skeleton.c
23701 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23702 headers.
23703
01e659e7
JM
23704 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23705 for combinations of long double with _Float64 and _Float64x.
23706
5c60afdd
JM
23707 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23708 (__DECL_SIMD_cosf32): Likewise.
23709 (__DECL_SIMD_cosf64): Likewise.
23710 (__DECL_SIMD_cosf32x): Likewise.
23711 (__DECL_SIMD_cosf64x): Likewise.
23712 (__DECL_SIMD_cosf128x): Likewise.
23713 (__DECL_SIMD_sinf16): Likewise.
23714 (__DECL_SIMD_sinf32): Likewise.
23715 (__DECL_SIMD_sinf64): Likewise.
23716 (__DECL_SIMD_sinf32x): Likewise.
23717 (__DECL_SIMD_sinf64x): Likewise.
23718 (__DECL_SIMD_sinf128x): Likewise.
23719 (__DECL_SIMD_sincosf16): Likewise.
23720 (__DECL_SIMD_sincosf32): Likewise.
23721 (__DECL_SIMD_sincosf64): Likewise.
23722 (__DECL_SIMD_sincosf32x): Likewise.
23723 (__DECL_SIMD_sincosf64x): Likewise.
23724 (__DECL_SIMD_sincosf128x): Likewise.
23725 (__DECL_SIMD_logf16): Likewise.
23726 (__DECL_SIMD_logf32): Likewise.
23727 (__DECL_SIMD_logf64): Likewise.
23728 (__DECL_SIMD_logf32x): Likewise.
23729 (__DECL_SIMD_logf64x): Likewise.
23730 (__DECL_SIMD_logf128x): Likewise.
23731 (__DECL_SIMD_expf16): Likewise.
23732 (__DECL_SIMD_expf32): Likewise.
23733 (__DECL_SIMD_expf64): Likewise.
23734 (__DECL_SIMD_expf32x): Likewise.
23735 (__DECL_SIMD_expf64x): Likewise.
23736 (__DECL_SIMD_expf128x): Likewise.
23737 (__DECL_SIMD_powf16): Likewise.
23738 (__DECL_SIMD_powf32): Likewise.
23739 (__DECL_SIMD_powf64): Likewise.
23740 (__DECL_SIMD_powf32x): Likewise.
23741 (__DECL_SIMD_powf64x): Likewise.
23742 (__DECL_SIMD_powf128x): Likewise.
23743
9d4b0117
JM
23744 * stdlib/Versions (libc): Move entries for wcstof128 and
23745 wcstof128_l to ....
23746 * wcsmbs/Versions (libc): ... here.
23747 Include <float128-abi.h>.
23748
7911dd47
FW
237492017-11-24 Florian Weimer <fweimer@redhat.com>
23750
23751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23752 bits/mman-shared.h.
23753 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23754 <bits/mman-shared.h>.
23755 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23756 to ...
23757 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23758 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23759 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23760 <bits/mman-shared.h>.
23761
c45d78aa
AZ
237622017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23763
23764 [BZ #22457]
23765 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23766 posix_memalign/free.
23767 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23768
3ffc4cc1
MF
237692017-11-22 Mike FABIAN <mfabian@redhat.com>
23770
23771 [BZ #22469]
23772 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23773 and implement the collation rules for pl from CLDR on top of that.
23774 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23775 of locales to be built for testing.
23776 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23777
3a327316
JM
237782017-11-23 Joseph Myers <joseph@codesourcery.com>
23779
23780 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23781 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23782 libm_alias_ldouble_other.
23783 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23784 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23785 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23786 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23787 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23788 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23789 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23790 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23791 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23792 libm_alias_ldouble_r.
23793 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23794 libm_alias_ldouble_other.
23795 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23796 (log10l): Likewise.
23797 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23798 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23799 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23800 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23801 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23802 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23803 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23804 (atan2l): Likewise.
23805 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23806 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23807 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23808 libm_alias_ldouble.
23809 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23810 (cosl): Likewise.
23811 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23812 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23813 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23814 (expl): Likewise.
23815 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23816 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23817 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23818 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23819 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23820 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23821 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23822 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23823 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23824 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23825 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23826 libm_alias_ldouble.
23827 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23828 libm_alias_ldouble_other.
23829 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23830 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23831 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23832 libm_alias_ldouble.
23833 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23834 libm_alias_ldouble_other.
23835 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23836 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23837 * sysdeps/ia64/fpu/w_lgammal_main.c
23838 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23839 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23840
0a947e06
FW
238412017-11-23 Florian Weimer <fweimer@redhat.com>
23842
23843 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23844 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23845 alike. Remove freeres marker.
23846 * malloc/arena.c (arena_thread_freeres): Call
23847 tcache_thread_shutdown.
23848
67f36c79
FW
238492017-11-23 Florian Weimer <fweimer@redhat.com>
23850
23851 [BZ #22459]
23852 Export nscd hash function as __nss_hash.
23853 * include/nss.h (__nss_hash): Declare.
23854 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23855 symbol.
23856 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23857 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23858 of __nscd_hash.
23859 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23860 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23861 * nss/Makefiles (routines): Add nss_hash.
23862 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23863 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23864 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23865 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23866
cccb6d4e
FW
238672017-11-23 Florian Weimer <fweimer@redhat.com>
23868
23869 [BZ #22478]
23870 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23871 Return error code, not -1.
23872 * signal/tst-sigwait-eintr.c: New file.
23873 * signal/Makefile (tests): Add tst-sigwait-eintr.
23874
59d2cbb1
FW
238752017-11-23 Florian Weimer <fweimer@redhat.com>
23876
23877 Linux: Add memfd_create system call wrapper
23878 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23879 tst-memfd_create.
23880 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23881 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23882 [__USE_GNU] (memfd_create): Declare.
23883 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23884 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23885 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23886 * sysdeps/unix/sysv/linux/**.abilist: Update.
23887 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23888
a90d1ac2
JM
238892017-11-22 Joseph Myers <joseph@codesourcery.com>
23890
0a9d1d62
JM
23891 * localedata/gen-locale.sh: Fix typo in variable name.
23892
754034c4
JM
23893 * resolv/res_debug.c (p_secstodate): Condition definition on
23894 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23895 directly as __p_secstodate, and as a compat symbol. Do not use
23896 libresolv_hidden_def.
23897 * resolv/resolv.h (p_secstodate): Remove macro and function
23898 declaration.
23899 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23900 using p_secstodate.
23901 * include/resolv.h (__p_secstodate): Do not use
23902 libresolv_hidden_proto.
23903 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23904 (tests-internal): ... here.
23905 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23906 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23907 and declare and use __p_secstodate and use compat_symbol_reference
23908 in that case.
23909 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23910 implementation returning 77.
23911
f120cda6
JM
23912 [BZ #22463]
23913 * resolv/res_debug.c: Include <libc-diag.h>.
23914 (p_secstodate): Assert time_t at least as wide as u_long. On
23915 overflow, use integer seconds since the epoch as output, or use
23916 "<overflow>" as output and set errno to EOVERFLOW if integer
23917 seconds since the epoch would be 14 or more characters.
23918 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23919 for sprintf call.
23920 * resolv/tst-p_secstodate.c: New file.
23921 * resolv/Makefile (tests): Add tst-p_secstodate.
23922 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23923
a90d1ac2
JM
23924 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23925 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23926 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23927
0285e6bd
PE
239282017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23929
23930 * posix/regcomp.c (init_word_char): Add comments.
23931
4bae6150
JM
239322017-11-22 Joseph Myers <joseph@codesourcery.com>
23933
23934 [BZ #22447]
23935 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23936 strlen to compute length of ut_user and set trailing NUL byte of
23937 result explicitly.
23938
4b7af5fc
MF
239392017-11-21 Mike FABIAN <mfabian@redhat.com>
23940
23941 [BZ #15537]
23942 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23943 using “copy "iso14651_t1"” and then implementing the
23944 collation rules for lv from CLDR on top of that.
23945 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23946 of locales to be built for testing.
23947 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23948 sorting.
23949
922bb78c
JM
239502017-11-21 Joseph Myers <joseph@codesourcery.com>
23951
23952 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23953 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23954 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23955 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23956 [__USE_MISC] (MADV_HWPOISON): New macro.
23957 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23958
a3aaa598
AZ
239592017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23960
23961 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23962 -Wmissing-braces on GCC 4.9.
23963
8beba15d
SL
239642017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23965
23966 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23967 * sysdeps/s390/s390-32/start.S (_start): Likewise
23968 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23969 (thread_start): Likewise.
23970 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23971 (thread_start): Likewise.
23972 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23973 (__makecontext_ret): Likewise.
23974 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23975 (__makecontext_ret): Likewise.
23976
80eb52e3
SL
239772017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23978
23979 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23980 __wcschrnul): Remove attribute_hidden.
23981
567d8c1f
PE
239822017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23983
23984 regex: don't assume uint64_t or uint32_t
23985 This avoids -Werror=overflow errors for 32-bit systems in
23986 the 64-bit case. Problem reported by Joseph Myers in:
23987 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23988 Also, when this code is used in Gnulib it ports to platforms
23989 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23990 them, and on some 32-bit compilers there is no uint64_t.
23991 Problem reported by Gianluigi Tiesi in:
23992 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23993 * posix/regcomp.c (init_word_char): Don't assume that the types
23994 uint64_t and uint32_t exist. Adapted from Gnulib patch
23995 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23996 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23997
4d7632ff
SP
239982017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23999
5a67c4fa
SP
24000 * sysdeps/aarch64/memset-reg.h: New file.
24001 * sysdeps/aarch64/memset.S: Use it.
24002 (__memset): Rename to MEMSET macro.
24003 [ZVA_MACRO]: Use zva_macro.
24004 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24005 Add memset_generic and memset_falkor.
24006 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24007 (__libc_ifunc_impl_list): Add memset ifuncs.
24008 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24009 local variable zva_size.
24010 * sysdeps/aarch64/multiarch/memset.c: New file.
24011 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24012 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24013 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24014 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24015 (DCZID_DZP_MASK): New macro.
24016 (DCZID_BS_MASK): Likewise.
24017 (init_cpu_features): Read and set zva_size.
24018 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24019 (struct cpu_features): New member zva_size.
24020
eb332f9f
SP
24021 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24022 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24023 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24024
4d7632ff
SP
24025 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24026 backwards. Fix timing computation.
24027 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24028 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24029 on memset by N at a time. Fix timing computation.
24030
a465b89e
FW
240312017-11-20 Florian Weimer <fweimer@redhat.com>
24032
24033 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24034 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24035
0f74bbf5
FW
240362017-11-19 Florian Weimer <fweimer@redhat.com>
24037
24038 manual: Document mprotect
24039 * manual/memory.texi (Memory Protection): New section.
24040 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24041 documentation of PROT_* flags and reference the Memory Protection
24042 section instead.
24043
f6e965ee
FW
240442017-11-19 Florian Weimer <fweimer@redhat.com>
24045
24046 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24047 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24048 (Scatter-Gather): ... to here. Remove misleading comment.
24049
363e4519 240502017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 24051
5f9d1949
CB
24052 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24053 style.
24054
ea69a5c8
CB
24055 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24056 when /proc/<pid>/setgroups does not exist.
24057
8db7f48c
FW
240582017-11-18 Florian Weimer <fweimer@redhat.com>
24059
24060 * sysdeps/unix/sysv/linux/tst-ttyname.c
24061 (become_root_in_mount_ns): Remove.
24062 (do_in_chroot_1): Call support_enter_mount_namespace.
24063 (do_in_chroot_2): Likewise.
24064 (do_test): Call support_become_root early.
24065
273a0c49
FW
240662017-11-18 Florian Weimer <fweimer@redhat.com>
24067
24068 * support/namespace.h (support_enter_mount_namespace): Declare.
24069 * support/support_enter_mount_namespace.c: New file.
24070 * support/Makefile (libsupport-routines): Add
24071 support_enter_mount_namespace.
24072
8adfb0ee
FW
240732017-11-18 Florian Weimer <fweimer@redhat.com>
24074
24075 * support/temp_file.c (support_create_temp_directory): Use
24076 test_dir and do not rely on the presence of the XXXXXX suffix.
24077 * support/temp_file.h (support_create_temp_directory): Update
24078 comment.
24079 * support/tst-xreadlink.c (do_test): Adjust.
24080 * support/support_chroot.c (support_chroot_create): Likewise.
24081
df0c40ee
TMQMF
240822017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24083
24084 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24085 macro.
24086 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24087 htm-no-suspend.
24088
015c6dc2
JM
240892017-11-17 Joseph Myers <joseph@codesourcery.com>
24090
f58e5f48
JM
24091 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24092 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24093 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24094 (ceill): Define using libm_alias_ldouble.
24095 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24096 <libm-alias-ldouble.h>.
24097 (copysignl): Define using libm_alias_ldouble.
24098 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24099 (fabsl): Define using libm_alias_ldouble.
24100 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24101 (floorl): Define using libm_alias_ldouble.
24102 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24103 (fmaxl): Define using libm_alias_ldouble.
24104 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24105 (fminl): Define using libm_alias_ldouble.
24106 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24107 (llrintl): Define using libm_alias_ldouble.
24108 (lrintl): Likewise.
24109 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24110 <libm-alias-ldouble.h>.
24111 (nearbyintl): Define using libm_alias_ldouble.
24112 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24113 (truncl): Define using libm_alias_ldouble.
24114 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24115 <libm-alias-ldouble.h>.
24116 (lrintl): Define using libm_alias_ldouble.
24117
2ce30701
JM
24118 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24119 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24120 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24121 (asinhl): Define using libm_alias_ldouble.
24122 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24123 (atanl): Define using libm_alias_ldouble.
24124 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24125 (cbrtl): Define using libm_alias_ldouble.
24126 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24127 (ceill): Define using libm_alias_ldouble.
24128 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24129 (copysignl): Define using libm_alias_ldouble.
24130 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24131 (fabsl): Define using libm_alias_ldouble.
24132 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24133 (floorl): Define using libm_alias_ldouble.
24134 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24135 (fmaxl): Define using libm_alias_ldouble.
24136 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24137 (fminl): Define using libm_alias_ldouble.
24138 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24139 (frexpl): Define using libm_alias_ldouble.
24140 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24141 (llrintl): Define using libm_alias_ldouble.
24142 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24143 (logbl): Define using libm_alias_ldouble.
24144 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24145 (lrintl): Define using libm_alias_ldouble.
24146 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24147 (nearbyintl): Define using libm_alias_ldouble.
24148 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24149 (nextafterl): Define using libm_alias_ldouble.
24150 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24151 (remquol): Define using libm_alias_ldouble.
24152 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24153 (rintl): Define using libm_alias_ldouble.
24154 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24155 (truncl): Define using libm_alias_ldouble.
24156 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24157 (fmaxl): Define using libm_alias_ldouble.
24158 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24159 (fminl): Define using libm_alias_ldouble.
24160
015c6dc2
JM
24161 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24162 to C syntax instead of availability and properties of types.
24163 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24164 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24165 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24166 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24167 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24168 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24169
ce003e5d
FW
241702017-11-17 Florian Weimer <fweimer@redhat.com>
24171
24172 support_become_root: Enable file creation in namespaces.
24173 * support/support_become_root.c (setup_mapping): New function.
24174 (support_become_root): Call it.
24175
e7df6c5c
JM
241762017-11-17 Joseph Myers <joseph@codesourcery.com>
24177
24178 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24179 macro.
24180
58a813bf
AZ
241812017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24182
24183 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24184 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24185
f97773d1
JM
241862017-11-16 Joseph Myers <joseph@codesourcery.com>
24187
6a6aa1f3
JM
24188 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24189
f97773d1
JM
24190 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24191 version to 4.14.
24192
a306c790
SP
241932017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24194
7b0fb870
SP
24195 * INSTALL: Fix botched up regeneration.
24196
24197 * NEWS: Update sourceare link to https.
a306c790
SP
24198 * configure.ac: Likewise.
24199 * crypt/md5test-giant.c: Likewise.
24200 * dlfcn/bug-atexit1.c: Likewise.
24201 * dlfcn/bug-atexit2.c: Likewise.
24202 * localedata/README: Likewise.
24203 * malloc/tst-mallocfork.c: Likewise.
24204 * manual/install.texi: Likewise.
24205 * nptl/tst-pthread-getattr.c: Likewise.
24206 * stdio-common/tst-fgets.c: Likewise.
24207 * stdio-common/tst-fwrite.c: Likewise.
24208 * sunrpc/Makefile: Likewise.
24209 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24210 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
24211 * configure: Regenerate.
24212 * INSTALL: Regenerate.
a306c790 24213
7532837d
MS
242142017-11-15 Martin Sebor <msebor@redhat.com>
24215
24216 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24217 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24218 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24219
495a56fd
LS
242202017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24221
d9611e30
LS
24222 [BZ #22145]
24223 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24224 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24225
a09dfc19
LS
24226 [BZ #22145]
24227 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24228 Defer is_pty check until end of the function.
24229 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24230
2fbce9c2
LS
24231 [BZ #22145]
24232 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24233 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24234 (ttyname): Likewise.
24235 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24236 (__ttyname_r): Likewise.
24237
d10d6cab
LS
24238 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24239 int to bool.
24240
9b5a8750
LS
24241 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24242
495a56fd
LS
24243 * manual/terminal.texi (Is It a Terminal):
24244 Mention ENODEV for ttyname and ttyname_r.
24245
fa680dc6
JM
242462017-11-15 Joseph Myers <joseph@codesourcery.com>
24247
78cde19f
JM
24248 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24249 constant and macro.
24250
fa680dc6
JM
24251 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24252 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24253 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24254 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24255 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24256 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24257
ad4f43a2
AZ
242582017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24259
1ba1d8a4
AZ
24260 * signal/sigrelse.c (sigrelse): Optimize implementation.
24261
ad4f43a2
AZ
24262 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24263 (__sigpause): Rely on __sigsuspend to implement single thread
24264 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24265
d0212d42
JM
242662017-11-15 Joseph Myers <joseph@codesourcery.com>
24267
24268 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24269 kernel version to 4.14.
24270
2180fee1
SE
242712017-11-15 Steve Ellcey <sellcey@cavium.com>
24272
24273 [BZ #22442]
24274 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24275 Check if ifname is too long.
24276
cad7ca39
LS
242772017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24278
24279 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24280
58c9f659
MF
242812017-11-15 Mike FABIAN <mfabian@redhat.com>
24282
24283 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24284 was accidentally lost.
24285
0fa87c01
MF
242862017-11-15 Mike FABIAN <mfabian@redhat.com>
24287
24288 * localedata/locales/az_IR: Add standard copyright header.
24289
34eb4157
FW
242902017-11-15 Florian Weimer <fweimer@redhat.com>
24291
24292 [BZ #22439]
24293 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24294 not just the top one. Output a new "subheaps" statistic.
24295
7a9368a1
FW
242962017-11-15 Florian Weimer <fweimer@redhat.com>
24297
24298 [BZ #22408]
24299 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24300 under the per-arena lock.
24301 * malloc/Makefile (tests): Add tst-malloc_info.
24302 (tst-malloc_info): Link with libpthread.
24303 * malloc/tst-malloc_info.c: New file.
24304
be3a79a3
JM
243052017-11-15 Joseph Myers <joseph@codesourcery.com>
24306
24307 [BZ #21660]
24308 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24309 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24310 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24311 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24312 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24313 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24314 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24315 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24316 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24317 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24318 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24319 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24320 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24321 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24322 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24323 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24324 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24325 (__floating_type): Likewise.
24326 (__real_integer_type): Likewise.
24327 (__complex_integer_type): Likewise.
24328 (__expr_is_real): Likewise.
24329 (__tgmath_real_type_sub): Likewise.
24330 (__tgmath_real_type): Likewise.
24331 (__tgmath_complex_type_sub): Likewise.
24332 (__tgmath_complex_type): Likewise.
24333 (__TGMATH_F128): Likewise.
24334 (__TGMATH_CF128): Likewise.
24335 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24336 new macros.
24337 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24338 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24339 Likewise.
24340 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24341 Likewise.
24342 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24343 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24344 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24345 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24346 Likewise.
24347 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24348 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24349 Likewise.
24350 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24351 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24352 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24353 Likewise.
24354 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24355 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24356 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24357 (cimag): Likewise.
24358 (creal): Likewise.
24359
ec72135e
JM
243602017-11-14 Joseph Myers <joseph@codesourcery.com>
24361
2e64ec9c
JM
24362 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24363 for stpncpy calls for GCC 8.
24364 (test_strncat): Disable -Wstringop-truncation warning for strncat
24365 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24366 strncat call for GCC 7.
24367 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24368 calls for GCC 8.
24369 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24370 trailing NUL.
24371
ec72135e
JM
24372 * string/bug-strncat1.c: Include <libc-diag.h>.
24373 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24374
363e4519 243752017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
24376
24377 [BZ #22387]
24378 * localedata/locales/aa_DJ: Improved readibility by replacing
24379 <Uxxxx> sequences in the ASCII printable range by their ASCII
24380 character equivalents.
24381 * localedata/locales/aa_ER: Likewise.
24382 * localedata/locales/aa_ER@saaho: Likewise.
24383 * localedata/locales/aa_ET: Likewise.
24384 * localedata/locales/af_ZA: Likewise.
24385 * localedata/locales/agr_PE: Likewise.
24386 * localedata/locales/ak_GH: Likewise.
24387 * localedata/locales/am_ET: Likewise.
24388 * localedata/locales/anp_IN: Likewise.
24389 * localedata/locales/ar_AE: Likewise.
24390 * localedata/locales/ar_BH: Likewise.
24391 * localedata/locales/ar_DZ: Likewise.
24392 * localedata/locales/ar_EG: Likewise.
24393 * localedata/locales/ar_IN: Likewise.
24394 * localedata/locales/ar_IQ: Likewise.
24395 * localedata/locales/ar_JO: Likewise.
24396 * localedata/locales/ar_KW: Likewise.
24397 * localedata/locales/ar_LB: Likewise.
24398 * localedata/locales/ar_LY: Likewise.
24399 * localedata/locales/ar_MA: Likewise.
24400 * localedata/locales/ar_OM: Likewise.
24401 * localedata/locales/ar_QA: Likewise.
24402 * localedata/locales/ar_SA: Likewise.
24403 * localedata/locales/ar_SD: Likewise.
24404 * localedata/locales/ar_SS: Likewise.
24405 * localedata/locales/ar_SY: Likewise.
24406 * localedata/locales/ar_TN: Likewise.
24407 * localedata/locales/ar_YE: Likewise.
24408 * localedata/locales/as_IN: Likewise.
24409 * localedata/locales/ast_ES: Likewise.
24410 * localedata/locales/ayc_PE: Likewise.
24411 * localedata/locales/az_AZ: Likewise.
24412 * localedata/locales/az_IR: Likewise.
24413 * localedata/locales/be_BY: Likewise.
24414 * localedata/locales/be_BY@latin: Likewise.
24415 * localedata/locales/bem_ZM: Likewise.
24416 * localedata/locales/ber_DZ: Likewise.
24417 * localedata/locales/ber_MA: Likewise.
24418 * localedata/locales/bg_BG: Likewise.
24419 * localedata/locales/bhb_IN: Likewise.
24420 * localedata/locales/bho_IN: Likewise.
24421 * localedata/locales/bi_VU: Likewise.
24422 * localedata/locales/bn_BD: Likewise.
24423 * localedata/locales/bn_IN: Likewise.
24424 * localedata/locales/bo_CN: Likewise.
24425 * localedata/locales/bo_IN: Likewise.
24426 * localedata/locales/br_FR: Likewise.
24427 * localedata/locales/brx_IN: Likewise.
24428 * localedata/locales/bs_BA: Likewise.
24429 * localedata/locales/byn_ER: Likewise.
24430 * localedata/locales/ca_AD: Likewise.
24431 * localedata/locales/ca_ES: Likewise.
24432 * localedata/locales/ca_FR: Likewise.
24433 * localedata/locales/ca_IT: Likewise.
24434 * localedata/locales/ce_RU: Likewise.
24435 * localedata/locales/chr_US: Likewise.
24436 * localedata/locales/cmn_TW: Likewise.
24437 * localedata/locales/crh_UA: Likewise.
24438 * localedata/locales/cs_CZ: Likewise.
24439 * localedata/locales/csb_PL: Likewise.
24440 * localedata/locales/cv_RU: Likewise.
24441 * localedata/locales/cy_GB: Likewise.
24442 * localedata/locales/da_DK: Likewise.
24443 * localedata/locales/de_AT: Likewise.
24444 * localedata/locales/de_BE: Likewise.
24445 * localedata/locales/de_CH: Likewise.
24446 * localedata/locales/de_DE: Likewise.
24447 * localedata/locales/de_IT: Likewise.
24448 * localedata/locales/de_LI: Likewise.
24449 * localedata/locales/de_LU: Likewise.
24450 * localedata/locales/doi_IN: Likewise.
24451 * localedata/locales/dv_MV: Likewise.
24452 * localedata/locales/dz_BT: Likewise.
24453 * localedata/locales/el_CY: Likewise.
24454 * localedata/locales/el_GR: Likewise.
24455 * localedata/locales/en_AG: Likewise.
24456 * localedata/locales/en_AU: Likewise.
24457 * localedata/locales/en_BW: Likewise.
24458 * localedata/locales/en_CA: Likewise.
24459 * localedata/locales/en_DK: Likewise.
24460 * localedata/locales/en_GB: Likewise.
24461 * localedata/locales/en_HK: Likewise.
24462 * localedata/locales/en_IE: Likewise.
24463 * localedata/locales/en_IL: Likewise.
24464 * localedata/locales/en_IN: Likewise.
24465 * localedata/locales/en_NG: Likewise.
24466 * localedata/locales/en_NZ: Likewise.
24467 * localedata/locales/en_PH: Likewise.
24468 * localedata/locales/en_SG: Likewise.
24469 * localedata/locales/en_US: Likewise.
24470 * localedata/locales/en_ZA: Likewise.
24471 * localedata/locales/en_ZM: Likewise.
24472 * localedata/locales/en_ZW: Likewise.
24473 * localedata/locales/eo: Likewise.
24474 * localedata/locales/es_AR: Likewise.
24475 * localedata/locales/es_BO: Likewise.
24476 * localedata/locales/es_CL: Likewise.
24477 * localedata/locales/es_CO: Likewise.
24478 * localedata/locales/es_CR: Likewise.
24479 * localedata/locales/es_CU: Likewise.
24480 * localedata/locales/es_DO: Likewise.
24481 * localedata/locales/es_EC: Likewise.
24482 * localedata/locales/es_ES: Likewise.
24483 * localedata/locales/es_GT: Likewise.
24484 * localedata/locales/es_HN: Likewise.
24485 * localedata/locales/es_MX: Likewise.
24486 * localedata/locales/es_NI: Likewise.
24487 * localedata/locales/es_PA: Likewise.
24488 * localedata/locales/es_PE: Likewise.
24489 * localedata/locales/es_PR: Likewise.
24490 * localedata/locales/es_PY: Likewise.
24491 * localedata/locales/es_SV: Likewise.
24492 * localedata/locales/es_US: Likewise.
24493 * localedata/locales/es_UY: Likewise.
24494 * localedata/locales/es_VE: Likewise.
24495 * localedata/locales/et_EE: Likewise.
24496 * localedata/locales/eu_ES: Likewise.
24497 * localedata/locales/eu_ES@euro: Likewise.
24498 * localedata/locales/fa_IR: Likewise.
24499 * localedata/locales/ff_SN: Likewise.
24500 * localedata/locales/fi_FI: Likewise.
24501 * localedata/locales/fil_PH: Likewise.
24502 * localedata/locales/fo_FO: Likewise.
24503 * localedata/locales/fr_BE: Likewise.
24504 * localedata/locales/fr_CA: Likewise.
24505 * localedata/locales/fr_CH: Likewise.
24506 * localedata/locales/fr_FR: Likewise.
24507 * localedata/locales/fr_LU: Likewise.
24508 * localedata/locales/fur_IT: Likewise.
24509 * localedata/locales/fy_DE: Likewise.
24510 * localedata/locales/fy_NL: Likewise.
24511 * localedata/locales/ga_IE: Likewise.
24512 * localedata/locales/gd_GB: Likewise.
24513 * localedata/locales/gez_ER: Likewise.
24514 * localedata/locales/gez_ET: Likewise.
24515 * localedata/locales/gl_ES: Likewise.
24516 * localedata/locales/gu_IN: Likewise.
24517 * localedata/locales/gv_GB: Likewise.
24518 * localedata/locales/ha_NG: Likewise.
24519 * localedata/locales/hak_TW: Likewise.
24520 * localedata/locales/he_IL: Likewise.
24521 * localedata/locales/hi_IN: Likewise.
24522 * localedata/locales/hif_FJ: Likewise.
24523 * localedata/locales/hne_IN: Likewise.
24524 * localedata/locales/hr_HR: Likewise.
24525 * localedata/locales/hsb_DE: Likewise.
24526 * localedata/locales/ht_HT: Likewise.
24527 * localedata/locales/hu_HU: Likewise.
24528 * localedata/locales/hy_AM: Likewise.
24529 * localedata/locales/i18n: Likewise.
24530 * localedata/locales/ia_FR: Likewise.
24531 * localedata/locales/id_ID: Likewise.
24532 * localedata/locales/ig_NG: Likewise.
24533 * localedata/locales/ik_CA: Likewise.
24534 * localedata/locales/is_IS: Likewise.
24535 * localedata/locales/it_CH: Likewise.
24536 * localedata/locales/it_IT: Likewise.
24537 * localedata/locales/iu_CA: Likewise.
24538 * localedata/locales/ja_JP: Likewise.
24539 * localedata/locales/ka_GE: Likewise.
24540 * localedata/locales/kk_KZ: Likewise.
24541 * localedata/locales/kl_GL: Likewise.
24542 * localedata/locales/kn_IN: Likewise.
24543 * localedata/locales/ko_KR: Likewise.
24544 * localedata/locales/kok_IN: Likewise.
24545 * localedata/locales/ks_IN: Likewise.
24546 * localedata/locales/ks_IN@devanagari: Likewise.
24547 * localedata/locales/ku_TR: Likewise.
24548 * localedata/locales/kw_GB: Likewise.
24549 * localedata/locales/ky_KG: Likewise.
24550 * localedata/locales/lb_LU: Likewise.
24551 * localedata/locales/lg_UG: Likewise.
24552 * localedata/locales/li_BE: Likewise.
24553 * localedata/locales/li_NL: Likewise.
24554 * localedata/locales/lij_IT: Likewise.
24555 * localedata/locales/ln_CD: Likewise.
24556 * localedata/locales/lo_LA: Likewise.
24557 * localedata/locales/lt_LT: Likewise.
24558 * localedata/locales/lv_LV: Likewise.
24559 * localedata/locales/lzh_TW: Likewise.
24560 * localedata/locales/mag_IN: Likewise.
24561 * localedata/locales/mai_IN: Likewise.
24562 * localedata/locales/mg_MG: Likewise.
24563 * localedata/locales/mhr_RU: Likewise.
24564 * localedata/locales/mi_NZ: Likewise.
24565 * localedata/locales/mk_MK: Likewise.
24566 * localedata/locales/ml_IN: Likewise.
24567 * localedata/locales/mn_MN: Likewise.
24568 * localedata/locales/mni_IN: Likewise.
24569 * localedata/locales/mr_IN: Likewise.
24570 * localedata/locales/ms_MY: Likewise.
24571 * localedata/locales/mt_MT: Likewise.
24572 * localedata/locales/my_MM: Likewise.
24573 * localedata/locales/nan_TW: Likewise.
24574 * localedata/locales/nan_TW@latin: Likewise.
24575 * localedata/locales/nb_NO: Likewise.
24576 * localedata/locales/nds_DE: Likewise.
24577 * localedata/locales/nds_NL: Likewise.
24578 * localedata/locales/ne_NP: Likewise.
24579 * localedata/locales/nhn_MX: Likewise.
24580 * localedata/locales/niu_NU: Likewise.
24581 * localedata/locales/niu_NZ: Likewise.
24582 * localedata/locales/nl_AW: Likewise.
24583 * localedata/locales/nl_BE: Likewise.
24584 * localedata/locales/nl_NL: Likewise.
24585 * localedata/locales/nn_NO: Likewise.
24586 * localedata/locales/nr_ZA: Likewise.
24587 * localedata/locales/nso_ZA: Likewise.
24588 * localedata/locales/oc_FR: Likewise.
24589 * localedata/locales/om_ET: Likewise.
24590 * localedata/locales/om_KE: Likewise.
24591 * localedata/locales/or_IN: Likewise.
24592 * localedata/locales/os_RU: Likewise.
24593 * localedata/locales/pa_IN: Likewise.
24594 * localedata/locales/pa_PK: Likewise.
24595 * localedata/locales/pap_AW: Likewise.
24596 * localedata/locales/pap_CW: Likewise.
24597 * localedata/locales/pl_PL: Likewise.
24598 * localedata/locales/ps_AF: Likewise.
24599 * localedata/locales/pt_BR: Likewise.
24600 * localedata/locales/pt_PT: Likewise.
24601 * localedata/locales/quz_PE: Likewise.
24602 * localedata/locales/raj_IN: Likewise.
24603 * localedata/locales/ro_RO: Likewise.
24604 * localedata/locales/ru_RU: Likewise.
24605 * localedata/locales/ru_UA: Likewise.
24606 * localedata/locales/rw_RW: Likewise.
24607 * localedata/locales/sa_IN: Likewise.
24608 * localedata/locales/sat_IN: Likewise.
24609 * localedata/locales/sc_IT: Likewise.
24610 * localedata/locales/sd_IN: Likewise.
24611 * localedata/locales/sd_IN@devanagari: Likewise.
24612 * localedata/locales/se_NO: Likewise.
24613 * localedata/locales/sgs_LT: Likewise.
24614 * localedata/locales/shs_CA: Likewise.
24615 * localedata/locales/si_LK: Likewise.
24616 * localedata/locales/sid_ET: Likewise.
24617 * localedata/locales/sk_SK: Likewise.
24618 * localedata/locales/sl_SI: Likewise.
24619 * localedata/locales/sm_WS: Likewise.
24620 * localedata/locales/so_DJ: Likewise.
24621 * localedata/locales/so_ET: Likewise.
24622 * localedata/locales/so_KE: Likewise.
24623 * localedata/locales/so_SO: Likewise.
24624 * localedata/locales/sq_AL: Likewise.
24625 * localedata/locales/sq_MK: Likewise.
24626 * localedata/locales/sr_ME: Likewise.
24627 * localedata/locales/sr_RS: Likewise.
24628 * localedata/locales/sr_RS@latin: Likewise.
24629 * localedata/locales/ss_ZA: Likewise.
24630 * localedata/locales/st_ZA: Likewise.
24631 * localedata/locales/sv_FI: Likewise.
24632 * localedata/locales/sv_SE: Likewise.
24633 * localedata/locales/sw_KE: Likewise.
24634 * localedata/locales/sw_TZ: Likewise.
24635 * localedata/locales/szl_PL: Likewise.
24636 * localedata/locales/ta_IN: Likewise.
24637 * localedata/locales/ta_LK: Likewise.
24638 * localedata/locales/tcy_IN: Likewise.
24639 * localedata/locales/te_IN: Likewise.
24640 * localedata/locales/tg_TJ: Likewise.
24641 * localedata/locales/th_TH: Likewise.
24642 * localedata/locales/the_NP: Likewise.
24643 * localedata/locales/ti_ER: Likewise.
24644 * localedata/locales/ti_ET: Likewise.
24645 * localedata/locales/tig_ER: Likewise.
24646 * localedata/locales/tk_TM: Likewise.
24647 * localedata/locales/tl_PH: Likewise.
24648 * localedata/locales/tn_ZA: Likewise.
24649 * localedata/locales/to_TO: Likewise.
24650 * localedata/locales/tpi_PG: Likewise.
24651 * localedata/locales/tr_CY: Likewise.
24652 * localedata/locales/tr_TR: Likewise.
24653 * localedata/locales/ts_ZA: Likewise.
24654 * localedata/locales/tt_RU: Likewise.
24655 * localedata/locales/tt_RU@iqtelif: Likewise.
24656 * localedata/locales/ug_CN: Likewise.
24657 * localedata/locales/uk_UA: Likewise.
24658 * localedata/locales/unm_US: Likewise.
24659 * localedata/locales/ur_IN: Likewise.
24660 * localedata/locales/ur_PK: Likewise.
24661 * localedata/locales/uz_UZ: Likewise.
24662 * localedata/locales/uz_UZ@cyrillic: Likewise.
24663 * localedata/locales/ve_ZA: Likewise.
24664 * localedata/locales/vi_VN: Likewise.
24665 * localedata/locales/wa_BE: Likewise.
24666 * localedata/locales/wae_CH: Likewise.
24667 * localedata/locales/wal_ET: Likewise.
24668 * localedata/locales/wo_SN: Likewise.
24669 * localedata/locales/xh_ZA: Likewise.
24670 * localedata/locales/yi_US: Likewise.
24671 * localedata/locales/yo_NG: Likewise.
24672 * localedata/locales/yue_HK: Likewise.
24673 * localedata/locales/yuw_PG: Likewise.
24674 * localedata/locales/zh_CN: Likewise.
24675 * localedata/locales/zh_HK: Likewise.
24676 * localedata/locales/zh_SG: Likewise.
24677 * localedata/locales/zh_TW: Likewise.
24678 * localedata/locales/zu_ZA: Likewise.
24679
cae87e64
FW
246802017-11-13 Florian Weimer <fweimer@redhat.com>
24681
24682 * support/next_to_fault.h, support/next_to_fault.c: New files.
24683 * support/Makefile (libsupport-routines): Add next_to_fault.
24684 * resolv/tst-inet_pton.c (struct next_to_fault)
24685 (next_to_fault_allocate, next_to_fault_free): Remove.
24686 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24687
4a306ef1
L
246882017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24689
24690 * elf/dl-support.c: Include <dl-procruntime.c>.
24691 * include/link.h: Include <link_map.h>.
24692 * sysdeps/generic/dl-procruntime.c: New file.
24693 * sysdeps/generic/link_map.h: Likewise.
24694 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24695 the writable ld.so namespace.
24696
e69897bf
PE
246972017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24698
24699 timezone: pacify GCC -Wstringop-truncation
24700 Problem reported by Martin Sebor in:
24701 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24702 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24703
1ffe1ccb
FW
247042017-11-12 Florian Weimer <fweimer@redhat.com>
24705
eceed671
FW
24706 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24707 tst-xreadlink.
24708 (tests): Add tst-xreadlink.
1ffe1ccb
FW
24709 * support/support.h (xstrndup): Declare.
24710 * support/xunistd.h (xunlink, xreadlink): Declare.
24711 * support/temp_file.h (support_create_temp_directory): Declare.
24712 * support/temp_file.c (support_create_temp_directory): New function.
24713 * support/support_chroot.c (support_chroot_create): Use it.
24714 * support/xreadlink.c: New file.
24715 * support/xstrndup.c: Likewise.
24716 * support/xunlink.c: Likewise.
24717 * support/tst-xreadlink.c: Likewise.
24718
456b40a9
JDA
247192017-11-11 John David Anglin <danglin@gcc.gnu.org>
24720
24721 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24722
c0a25aa9
FW
247232017-11-11 Florian Weimer <fweimer@redhat.com>
24724
24725 [BZ #22409]
24726 [BZ #22412]
24727 * resolv/res_comp.c (printable_string, binary_hnok)
24728 (binary_leading_dash): New functions.
24729 (res_hnok): Reimplement using these functions and ns_name_pton.
24730 (res_ownok): Likewise.
24731 (res_mailok): Reimplement using printable_string, ns_name_pton and
24732 binary_hnok.
24733 (res_dnok): Reimplement using printable_string and ns_name_pton.
24734 * resolv/tst-res_hnok.c (tests): Add additional tests.
24735 (LETTERDIGITS, PRINTABLE): Define.
24736 (do_test): Adjust one_char results.
24737
9e0ad304
FW
247382017-11-11 Florian Weimer <fweimer@redhat.com>
24739
24740 [BZ #22413]
24741 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24742 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24743
e2a9fca8
FW
247442017-11-11 Florian Weimer <fweimer@redhat.com>
24745
24746 * resolv/tst-ns_name_pton.c: New file.
24747 * resolv/Makefile (tests): Add tst-ns_name_pton.
24748 (tst-ns_name_pton): Link against libresolv.
24749
5c1a6923
FW
247502017-11-11 Florian Weimer <fweimer@redhat.com>
24751
24752 * resolv/tst-res_hnok.c: New file.
24753 * resolv/Makefile (tests): Add tst-res_hnok.
24754 (tst-res_hnok): Link against libresolv.
24755
a19c0a1d
FW
247562017-11-11 Florian Weimer <fweimer@redhat.com>
24757
24758 * resolv/tst-resolv-network.c: Use test framework instead explicit
24759 main function.
24760
8cb5295d
L
247612017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24762
24763 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24764 <jmp_buf-macros.h>.
24765 [!_ISOMAC] (STR_HELPER): New.
24766 [!_ISOMAC] (STR): Likewise.
24767 [!_ISOMAC] (TEST_SIZE): Likewise.
24768 [!_ISOMAC] (TEST_ALIGN): Likewise.
24769 [!_ISOMAC] (TEST_OFFSET): Likewise.
24770 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24771 field offsets of jmp_buf as well as sigjmp_buf.
24772 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24773 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24774 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24775 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24776 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24777 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24778 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24779 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24780 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24781 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24782 Likewise.
24783 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24784 Likewise.
24785 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24787 Likewise.
24788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24789 Likewise.
24790 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24791 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24792 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24793 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24794 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24796 Likewise.
24797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24798 Likewise.
24799 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24800 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24801 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24802
58c4a161
JM
248032017-11-07 Joseph Myers <joseph@codesourcery.com>
24804
3683b423
JM
24805 * include/float.h
24806 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24807 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24808 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24809 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24810 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24811 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24812 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24813 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24814 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24815 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24816 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24817 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24818 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24819 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24820 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24821 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24822 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24823 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24824 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24825 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24826 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24827 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24828 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24829 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24830 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24831 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24832 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24833 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24834 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24835 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24836 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24837 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24838 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24839 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24840 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24841 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24842 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24843 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24844 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24845 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24846 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24847 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24848 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24849 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24850 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24851 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24852 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24853 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24854 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24855 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24856 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24857 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24858 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24859 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24860 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24861 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24862 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24863 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24864 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24865 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24866 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24867 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24868 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24869 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24870 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24871 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24872 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24873 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24874 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24875 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24876 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24877 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24878 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24879 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24880 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24881 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24882 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24883 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24884 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24885 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24886 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24887 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24888 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24889 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24890 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24891 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24892 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24893 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24894
58c4a161
JM
24895 * stdlib/tst-strtod.h (F16): New macro.
24896 (F32): Likewise.
24897 (F64): Likewise.
24898 (F32X): Likewise.
24899 (F64X): Likewise.
24900 (F128X): Likewise.
24901 (IF_FLOAT16): Likewise.
24902 (IF_FLOAT32): Likewise.
24903 (IF_FLOAT64): Likewise.
24904 (IF_FLOAT32X): Likewise.
24905 (IF_FLOAT64X): Likewise.
24906 (IF_FLOAT128X): Likewise.
24907 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24908 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24909 (STRTOD_TEST_FOREACH): Likewise.
24910 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24911 (CHOOSE_f64): Likewise.
24912 (CHOOSE_f32x): Likewise.
24913 (CHOOSE_f64x): Likewise.
24914
feda96a1
AS
249152017-11-07 Andreas Schwab <schwab@suse.de>
24916
24917 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24918
1bd0cbb8
MF
249192017-11-07 Mike FABIAN <mfabian@redhat.com>
24920
24921 [BZ #22403]
24922 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24923 to be escaped.
24924 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24925 to be escaped.
24926
363e4519 249272017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
24928
24929 [BZ #22403]
24930 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24931 to be escaped.
24932 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24933 to be escaped.
24934 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24935 to be escaped.
24936
dff91cd4
AZ
249372017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24938
06be6368
AZ
24939 [BZ #22298]
24940 * nptl/allocatestack.c (allocate_stack): Check if
24941 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24942 __PTHREAD_MUTEX_HAVE_PREV is defined.
24943 * nptl/descr.h (pthread): Likewise.
24944 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24945 Likewise.
24946 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24947 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24948 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24949 * sysdeps/nptl/bits/thread-shared-types.h
24950 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24951 defines.
24952 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24953 of __WORDSIZE for internal layout.
24954 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24955 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24956 instead of __WORDSIZE whether to use an union for __spins and __list
24957 fields.
24958 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24959 case.
24960 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24961 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24962 defines.
24963 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24964 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24965 Likewise.
24966 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24967 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24968 Likewise.
24969 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24970 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24971 Likewise.
24972 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24973 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24974 Likewise.
24975 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24976 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24977 Likewise.
24978 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24979 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24980 Likewise.
24981 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24982 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24983 Likewise.
24984 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24985 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24986 Likewise.
24987 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24988 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24989 Likewise.
24990 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24991 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24992 Likewise.
24993 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24994 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24995 Likewise.
24996 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24997 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24998 Likewise.
24999 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25000 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25001 Likewise.
25002 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25003 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25004 Likewise.
25005
72b3c6ee
AZ
25006 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25007 New macros.
25008 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25009 checks for expected input type size.
25010 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25011 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25012 Likewise.
25013 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25014 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25015 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25016 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25017 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25018 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25019 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25020 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25021 superflous runtime assert check.
25022 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25023 Likewise.
25024 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25025 Likewise.
25026 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25027 Likewise.
25028 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25029 Likewise.
25030 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25031 Likewise.
25032 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25033 Likewise.
25034 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25035 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25036 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25037 Likewise.
25038 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25039 Likewise.
25040 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25041 Likewise.
25042 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25043 Likewise.
25044 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25045 Likewise.
25046 * nptl/pthread_attr_setinheritsched.c
25047 (__pthread_attr_setinheritsched): Likewise.
25048 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25049 Likewise.
25050 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25051 Likewise.
25052 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25053 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25054 __old_pthread_attr_setstack): Likewise.
25055 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25056 Likewise.
25057 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25058 Likewise.
25059 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25060 Likewise.
25061 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25062 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25063 Likewise.
25064 * nptl/tst-typesizes.c: Remove file.
25065
dff91cd4
AZ
25066 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25067 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25068 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25069 checks for internal pthread_mutex_t offsets.
25070 * sysdeps/aarch64/nptl/pthread-offsets.h
25071 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25072 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25073 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25074 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25075 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25076 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25077 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25078 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25079 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25080 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25081 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25082 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25083 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25084 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25085 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25086 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25087 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25088 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25089
b7fc95f8
FW
250902017-11-07 Florian Weimer <fweimer@redhat.com>
25091
25092 * bits/mman-linux.h: Move ...
25093 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25094 comment.
25095 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25096 outdated comment.
25097
6b860364
RS
250982017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25099
25100 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25101 Redefine STRNLEN as __strnlen_power8.
25102
802c1f16
AZ
251032017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25104
d83da3a4
AZ
25105 * signal/sighold.c (sighold): Optimize implementation.
25106
6a4235f1
AZ
25107 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25108 __NR_rt_sigqueueinfo.
25109
8b0e795a
AZ
25110 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25111 __sigtimedwait.
25112 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25113 assume __NR_rt_sigtimedwait.
25114 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25115 and add LIBC_CANCEL_HANDLED for cancellation marking.
25116 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25117
a1a638dd
AZ
25118 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25119 (sysdeps_routines): Add memchr_noneon.
25120 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25121 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25122 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25123 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25124 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25125 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25126 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25127
802c1f16
AZ
25128 * sysdeps/arm/arm-ifunc.h: New file.
25129 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25130 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25131 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25132 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25133 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25134 (__memcpy_neon): Avoid create hidden alias.
25135 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25136 (__memcpy_vfp): Likewise.
25137 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25138 (sysdep_routines): Add memcpy_arm.
25139 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25140
abcb584d
L
251412017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25142
25143 [BZ #22362]
25144 * Makerules (make-link-multidir): New.
25145 * config.make.in (multidir): New.
25146 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25147 * configure: Regenerated.
25148 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25149 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25150 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25151 New target.
25152
4e2dff67
JM
251532017-11-06 Joseph Myers <joseph@codesourcery.com>
25154
25155 [BZ #22402]
25156 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25157 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25158
a1c7cd3c
MF
251592017-11-04 Mike FABIAN <mfabian@redhat.com>
25160
25161 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25162 to be escaped.
25163
b9af29c0
FW
251642017-11-04 Florian Weimer <fweimer@redhat.com>
25165
25166 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25167
4ca70e1a
JM
251682017-11-03 Joseph Myers <joseph@codesourcery.com>
25169
25170 * math/math.h [__HAVE_DISTINCT_FLOAT16
25171 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25172 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25173 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25174 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25175 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25176 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25177 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25178 (__MATH_TG_F32): New macro.
25179 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25180 (__MATH_TG_F64X): Likewise.
25181 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25182 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25183
ba0e6668
DL
251842017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25185
25186 * po/de.po: Update translations.
25187 * po/ru.po: Likewise.
25188
bc18a6d3
FW
251892017-11-03 Florian Weimer <fweimer@redhat.com>
25190
25191 * manual/filesys.texi (Hard Links): Document linkat.
25192
97255170
JM
251932017-11-03 Joseph Myers <joseph@codesourcery.com>
25194
86ec4865
JM
25195 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25196 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25197 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25198 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25199 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25200 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25201 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25202 the same as _Float128.
25203 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25204 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25205 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25206
97255170
JM
25207 * stdlib/stdlib.h
25208 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25209 Declare.
25210 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25211 Likewise.
25212 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25213 Likewise.
25214 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25215 (strtof32x): Likewise.
25216 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25217 (strtof64x): Likewise.
25218 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25219 (strtof128x): Likewise.
25220 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25221 (strfromf16): Likewise.
25222 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25223 (strfromf32): Likewise.
25224 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25225 (strfromf64): Likewise.
25226 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25227 (strfromf32x): Likewise.
25228 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25229 (strfromf64x): Likewise.
25230 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25231 (strfromf128x): Likewise.
25232 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25233 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25234 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25235 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25236 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25237 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25238
6d58ce5e
RH
252392017-11-03 Richard Henderson <rth@twiddle.net>
25240
25241 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25242
659ca267
SN
252432017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25244
25245 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25246
94d2f0af
SN
252472017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25248
25249 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25250 DT_TLSDESC_GOT initialization.
25251 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25252 (_dl_tlsdesc_resolve_hold): Likewise.
25253 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25254 (_dl_tlsdesc_resolve_hold): Likewise.
25255 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25256 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25257
28e1ddf3
SN
252582017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25259
25260 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25261
0ca3d1d6
SN
252622017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25263
25264 [BZ #18572]
25265 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25266 non-lazily for R_ARM_TLS_DESC.
25267
2c1d4e5f
SN
252682017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25269
25270 [BZ #17078]
25271 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25272 R_ARM_TLS_DESC case.
25273 (elf_machine_lazy_rel): Remove the prelink check.
25274
91c5a366
SN
252752017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25276
25277 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25278 DT_TLSDESC_GOT initialization.
25279 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25280 (_dl_tlsdesc_resolve_rela): Likewise.
25281 (_dl_tlsdesc_resolve_hold): Likewise.
25282 (_dl_tlsdesc_undefweak): Remove ldar.
25283 (_dl_tlsdesc_dynamic): Likewise.
25284 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25285 (_dl_tlsdesc_resolve_rela): Likewise.
25286 (_dl_tlsdesc_resolve_hold): Likewise.
25287 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25288 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25289 (_dl_tlsdesc_resolve_rela): Likewise.
25290 (_dl_tlsdesc_resolve_hold): Likewise.
25291
b7cf203b
SN
252922017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25293
25294 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25295 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25296
0cc5b022
SN
252972017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25298
25299 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25300 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25301
43ddff2e
JM
253022017-11-02 Joseph Myers <joseph@codesourcery.com>
25303
25304 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25305 Declare.
25306 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25307 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25308 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25309 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25310 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25311 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25312 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25313 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25314 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25315 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25316 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25317
5baac970
MF
253182017-11-02 Mike FABIAN <mfabian@redhat.com>
25319
25320 [BZ #22382]
25321 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25322 * localedata/locales/tpi_PG: Add standard header.
25323
ef11081f
FW
253242017-11-02 Florian Weimer <fweimer@redhat.com>
25325
25326 test-errno-linux: quotactl can fail with EPERM in containers.
25327 * sysdeps/unix/sysv/linux/test-errno-linux.c
25328 (LIST, LIST_FORWARD): New macros.
25329 (check_error_in_list): New function.
25330 (test_wrp_rv): Accept list of permitted error codes.
25331 (test_wrp_rv2): Remove.
25332 (test_wrp): Call test_wrp_rv with list of error codes.
25333 (test_wrp2): Accept list of error codes.
25334 (do_test): Adjust. Allow EPERM for quotactl.
25335
d10b132b
FW
253362017-11-02 Florian Weimer <fweimer@redhat.com>
25337
25338 * stdio-common/bug16.c (do_test): Use array_length.
25339 * stdio-common/errlist.c (_sys_nerr): Likewise.
25340 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25341 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25342 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25343 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25344 (do_test): Use array_length.
25345 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25346 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25347 * stdio-common/tst-printf-round.c (do_test): Likewise.
25348 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25349 (CHECK): Use array_length.
25350 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25351 * stdio-common/tstscanf.c (main): Likewise.
25352 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25353
c94a5688
FW
253542017-11-02 Florian Weimer <fweimer@redhat.com>
25355
25356 Add array_length and array_end macros.
25357 * include/array_length.h: New file.
25358
2fac6a6c
FW
253592017-11-02 Florian Weimer <fweimer@redhat.com>
25360
25361 [BZ #22332]
25362 * posix/tst-glob-tilde.c (do_noescape): New variable.
25363 (one_test): Process it.
25364 (do_test): Set do_noescape. Add unescaping test case.
25365
2f1b212e
JM
253662017-11-01 Joseph Myers <joseph@codesourcery.com>
25367
260fbd0a
JM
25368 * math/complex.h
25369 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25370 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25371 with appropriate macros defined and undefined.
25372 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25373 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25374 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25375 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25376 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25377 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25378 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25379 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25380 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25381 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25382
2f1b212e
JM
25383 * math/complex.h
25384 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25385 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25386 that for long double. Do not condition define and undefine of
25387 _Mdouble_complex_ on [__CFLOAT128].
25388
95b93c6e
L
253892017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25390
25391 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25392 of <sysdeps/generic/sysdep.h>.
25393 (ALIGNARG): Removed.
25394 (ASM_SIZE_DIRECTIVE): Likewise.
25395 (ENTRY): Likewise.
25396 (END): Likewise.
25397 (ENTRY_CHK): Likewise.
25398 (END_CHK): Likewise.
25399 (syscall_error): Likewise.
25400 (mcount): Likewise.
25401 (PSEUDO_END): Likewise.
25402 (L): Likewise.
25403 (atom_text_section): Likewise.
25404 * sysdeps/x86/sysdep.h: New file.
25405 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25406 of <sysdeps/generic/sysdep.h>.
25407 (ALIGNARG): Removed.
25408 (ASM_SIZE_DIRECTIVE): Likewise.
25409 (ENTRY): Likewise.
25410 (END): Likewise.
25411 (ENTRY_CHK): Likewise.
25412 (END_CHK): Likewise.
25413 (syscall_error): Likewise.
25414 (mcount): Likewise.
25415 (PSEUDO_END): Likewise.
25416 (L): Likewise.
25417 (atom_text_section): Likewise.
25418
1bb36539
RL
254192017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25420
25421 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25422 category of LC_CTYPE set to "i18n:2012".
25423 * localedata/locales/i18n_ctype: Regenerate.
25424
067f5d97 254252017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 25426
87bbc4cf
YN
25427 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25428 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25429 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25430 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25431
e8681faa
YN
25432 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25433 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25434 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25435 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25436
540af6e2
JM
254372017-10-31 Joseph Myers <joseph@codesourcery.com>
25438
43e66283
JM
25439 * math/complex.h
25440 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25441 New macro.
25442 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25443 Likewise.
25444 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25445 Likewise.
25446 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25447 (CMPLXF32X): Likewise.
25448 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25449 (CMPLXF64X): Likewise.
25450 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25451 (CMPLXF128X): Likewise.
25452
540af6e2
JM
25453 * math/math.h
25454 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25455 (__MATH_EVAL_FMT2): Define to add 0.0f.
25456
58af72b4
AM
254572017-10-31 Alan Modra <amodra@gmail.com>
25458
25459 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25460 include sysdep.h.
25461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25475 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25476 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25477 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25478 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25479 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25480 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25481 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25482 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25483 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25484 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25485 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25486 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25487 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25488 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25489 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25490 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25491 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25492 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25493 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25494 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25495 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25496 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25497 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25498 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25499 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25500 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25501 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25502 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25503 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25504 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25505 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25506 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25507 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25508 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25509 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25510 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25511 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25512 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25513 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25514 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25515 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25516 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25517 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25518 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25519 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25520 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25521 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25522 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25523 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25524 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25525 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25526 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25527 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25528 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25529 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25530
25531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25532 include sysdep.h and math_ldbl_opt.h.
25533
25534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25535 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25560
112f30b3
AM
255612017-10-31 Alan Modra <amodra@gmail.com>
25562
25563 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25564 string/strncase_l.c, not string/strncase.c.
25565 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25566 (libc_hidden_def): Redefine.
25567
e9e7eced
AM
255682017-10-31 Alan Modra <amodra@gmail.com>
25569
25570 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25571 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25572 (__strcasecmp): Don't define.
25573
f7b465cf
AM
255742017-10-31 Alan Modra <amodra@gmail.com>
25575
25576 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25577 IS_IN (libc).
25578 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25579 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25580 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25581
d46b09f9
AM
255822017-10-31 Alan Modra <amodra@gmail.com>
25583
25584 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25585 USE_AS_STPNCPY.
25586
e9b8e194
AM
255872017-10-31 Alan Modra <amodra@gmail.com>
25588
25589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25590 Redefine only when SHARED.
25591
eda162dd
JM
255922017-10-30 Joseph Myers <joseph@codesourcery.com>
25593
b61afe8c
JM
25594 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25595 Include <bits/math-finite.h> with appropriate macros defined and
25596 undefined.
25597 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25598 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25599 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25600 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25601 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25602
eda162dd
JM
25603 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25604 [!_Mlong_double_] (_Mlong_double_): Likewise.
25605 [!_Mfloat16_] (_Mfloat16_): Likewise.
25606 [!_Mfloat32_] (_Mfloat32_): Likewise.
25607 [!_Mfloat64_] (_Mfloat64_): Likewise.
25608 [!_Mfloat128_] (_Mfloat128_): Likewise.
25609 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25610 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25611 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25612 (_Mdouble_): Define without indirection through those macros.
25613 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25614 [!_Mfloat128_] (_Mfloat128_): Likewise.
25615 [_Mlong_double_] (_Mlong_double_): Likewise.
25616 (_Mdouble_): Define without indirection through those macros.
25617 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25618 not add -D_Mlong_double_=double.
25619 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25620 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25621
4ad5106e
L
256222017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25623
25624 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25625
fe326df7
L
256262017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25627
25628 * sysdeps/x86/libc-start.c: Reformat.
25629
c5cc4514
L
256302017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25631
25632 [BZ #22353]
25633 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25634 (1): Renamed to ...
25635 (L(Src0)): This.
25636 (L(Src1)): New.
25637 (L(Src2)): Likewise.
25638 (L(1)): Renamed to ...
25639 (L(Src3)): This.
25640
ce12269f
JM
256412017-10-30 Joseph Myers <joseph@codesourcery.com>
25642
25643 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25644 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25645 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25646 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25647 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25648 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25649 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25650 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25651 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25652 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25653 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25654 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25655 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25656 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25657 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25658 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25659 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25660 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25661 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25662 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25663 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25664 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25665 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25666 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25667 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25668 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25669 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25670 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25671 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25672 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25673 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25674 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25675 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25676 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25677 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25678 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25679 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25680 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25681 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25682 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25683 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25684 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25685 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25686 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25687 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25688 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25689 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25690 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25691 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25692 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25693 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25694 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25695 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25696 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25697 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25698 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25699 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25700 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25701 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25702 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25703 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25704 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25705 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25706 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25707 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25708 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25709
4484b9e2
FW
257102017-10-30 Florian Weimer <fweimer@redhat.com>
25711
25712 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25713 always defined.
25714 * io/tst-mkdirat.c (do_test): Likewise.
25715 * io/tst-mkfifoat.c (do_test): Likewise.
25716 * io/tst-mknodat.c (do_test): Likewise.
25717 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25718 * locale/programs/locale.c (select_dirs): Likewise.
25719 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25720 * posix/bug-glob2.c (my_readdir): Likewise.
25721 * posix/tst-dir.c (main): Likewise.
25722 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25723 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25724
68fe16dd
FW
257252017-10-30 Florian Weimer <fweimer@redhat.com>
25726
25727 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25728 just __USE_GNU.
25729
dadf23f0
FW
257302017-10-30 Florian Weimer <fweimer@redhat.com>
25731
25732 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25733 Convert to support/test-driver.c.
25734 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25735 New macro parameters.
25736 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25737 * posix/tst-gnuglob.c: New file.
25738 * posix/tst-gnuglob64.c: Likewise.
25739 * posix/Makefile (tests): Add tst-gnuglob64.
25740
363e4519 257412017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
25742
25743 [BZ #19485]
25744 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25745 and use a better translation for March in “mon”.
25746 * localedata/locales/csb_PL: Use more ASCII to improve the
25747 readability of the source.
25748
b110af82
MF
257492017-10-30 Mike FABIAN <mfabian@redhat.com>
25750
25751 [BZ #13953]
25752 * localedata/locales/km_KH: Use ASCII as much
25753 as possible for better readability of the source and
25754 remove useless comments.
25755 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25756 was commented out and apparently wrong anyway because it was
25757 using Lao characters. If Buddhist era should be used
25758 for km_KH, a native speaker should write the correct formaat
25759 for Khmer.
25760 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25761 (According to CLDR, the first weekday for Cambodia is Sunday).
25762 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25763 (These were using Lao characters which must be wrong. If we get
25764 the correct data from a native speaker, we could add it back, until
25765 then it is better not to have name_mr and name_mrs at all than
25766 having it wrong).
25767
f301e533
RL
257682017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25769
25770 * locale/loadlocale.c: Correct size of
25771 _nl_value_type_LC_<category> arrays.
25772
7e9d7073
JM
257732017-10-27 Joseph Myers <joseph@codesourcery.com>
25774
25775 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25776 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25777 with appropriate macros defined and undefined.
25778 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25779 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25780 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25781 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25782 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25783
63d3b468
L
257842017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25785
25786 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25787 "-O2 -march=i586".
25788
a4cc02c7
MF
257892017-10-27 Mike FABIAN <mfabian@redhat.com>
25790
25791 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25792 with lowercase letters to make it agree with CLDR.
25793
1e5971ec
MF
257942017-10-27 Mike FABIAN <mfabian@redhat.com>
25795
25796 [BZ #15260]
25797 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25798 first letters of yesstr and nostr in yesexpr and noexpr,
25799 not for the full words.
25800 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25801 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25802 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25803 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25804 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25805 first letters of yesstr and nostr in yesexpr and noexpr,
25806 until now only English was matched in yesexpr and noexpr.
25807 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25808 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25809 fil but not for tl. As tl and fil are very similar, using fil
25810 is probably better than using English.
25811
363e4519 258122017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
25813
25814 [BZ #21706]
25815 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25816 in yesstr and nostr.
25817
5d220788
JM
258182017-10-26 Joseph Myers <joseph@codesourcery.com>
25819
ecc7da5b
JM
25820 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25821 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25822 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25823 Likewise.
25824 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25825 Likewise.
25826 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25827 Likewise.
25828 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25829 Likewise.
25830 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25831 (SNANF128X): Likewise.
25832
5d220788
JM
25833 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25834 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25835 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25836 (HUGE_VAL_F32): Likewise.
25837 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25838 (HUGE_VAL_F64): Likewise.
25839 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25840 (HUGE_VAL_F32X): Likewise.
25841 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25842 (HUGE_VAL_F64X): Likewise.
25843 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25844 (HUGE_VAL_F128X): Likewise.
25845
363e4519 258462017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
25847
25848 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25849 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25850 for the br_FR locale.
25851
363e4519 258522017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
25853
25854 [BZ #21706]
25855 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25856
337ff3c5
CD
258572017-10-25 Carlos O'Donell <carlos@redhat.com>
25858
02eec681
CD
25859 * locale/programs/record-status.h: Define globals, and function
25860 prototypes. Move function bodies...
25861 * locale/programs/record-status.c: ... to here. New file.
25862 * iconv/Makefile (iconv_prog-modules): Add record-status.
25863 * locale/Makefile (lib-modules): Likewise.
25864 * iconv/iconv_prog.c: Remove verbose.
25865 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25866 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25867 record a warning about ASCII compatibility.
25868 * locale/programs/ld-monetary.c (monetary_finish): If
25869 warn_int_curr_symbol is true then record a warning about the symbol
25870 not being in our ISO 4217 list.
25871 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25872 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25873 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25874 (OPT_NO_WARN): Define.
25875 (OPT_WARN): Define.
25876 (options): Add entry for --no-warnings, and --warnings.
25877 (set_warnings): New function to enable/disable warnings.
25878 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25879 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25880 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25881 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25882 Pass flags to generate_locale.
25883 (generate_locale): Accept new flag argument and pass it to localedef
25884 invocation.
25885 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25886 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25887
56fa555a
CD
25888 * localedata/Makefile (test-input-data): Use full file name.
25889 * localedata/da_DK.in: Rename to...
25890 * localedata/da_DK.ISO-8859-1.in: ...this.
25891 * localedata/de_DE.in: Rename to...
25892 * localedata/de_DE.ISO-8859-1.in: ...this.
25893 * localedata/en_US.in: Rename to...
25894 * localedata/en_US.ISO-8859-1.in: ...this.
25895 * localedata/fr_FR.in: Rename to...
25896 * localedata/fr_FR.UTF-8.in: ... this.
25897 * localedata/hr_HR.in: Rename to...
25898 * localedata/hr_HR.ISO-8859-2.in: ...this.
25899 * localedata/hu_HU.in: Rename to...
25900 * localedata/hu_HU.UTF-8.in: ...this.
25901 * localedata/si_LK.in: Rename to...
25902 * localedata/si_LK.UTF-8.in: ...this.
25903 * localedata/sv_SE.in: Rename to...
25904 * localedata/sv_SE.ISO-8859-1.in: ...this.
25905 * localedata/tr_TR.in: Rename to...
25906 * localedata/tr_TR.UTF-8.in: ...this.
25907 * localedata/uk_UA.in: Rename to...
25908 * localedata/uk_UA.UTF-8.in: ...this.
25909 * localedata/sort-test.sh: Test file is locale name with the
25910 suffix.
25911
337ff3c5
CD
25912 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25913 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25914 file.
25915 * localedata/locales/i18n_ctype: Regenerate.
25916 * localedata/locales/tr_TR: Likewise.
25917 * localedata/locales/translit_circle: Likewise.
25918 * localedata/locales/translit_cjk_compat: Likewise.
25919 * localedata/locales/translit_combining: Likewise.
25920 * localedata/locales/translit_compat: Likewise.
25921 * localedata/locales/translit_font: Likewise.
25922 * localedata/locales/translit_fraction: Likewise.
25923
63da5cd4
RS
259242017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25925
25926 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25927 lxvd2x/stxvd2x with lvx/stvx.
25928 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25929
a122dbfb
L
259302017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25931
25932 * include/alloc_buffer.h: Replace "if if " with "if " in
25933 comments.
25934 * sysdeps/mips/memcpy.S: Likkewise.
25935 * sysdeps/mips/memset.S: Likewise.
25936 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25937 Likewise.
25938 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25939 Likewise.
25940 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25941 Likewise.
25942
9be7530c
MF
259432017-10-25 Mike FABIAN <mfabian@redhat.com>
25944
25945 [BZ #15261]
25946 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25947 yesexpr and noexpr.
25948 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25949 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25950 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25951 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25952 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25953 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25954 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25955
6ccbf6ff
MF
259562017-10-25 Mike FABIAN <mfabian@redhat.com>
25957
25958 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25959 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25960 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25961 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25962 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25963 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25964 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25965 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25966 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25967 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25968 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25969 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25970
58b1a7ea
MF
259712017-10-25 Mike FABIAN <mfabian@redhat.com>
25972
25973 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25974 as possible for better readability of the source.
25975 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25976 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25977 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25978 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25979 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25980 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25981 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25982 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25983 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25984 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25985 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25986 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25987 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25988 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25989 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25990 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25991 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25992 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25993 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25994 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25995 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25996 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25997 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25998 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25999 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26000 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26001 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26002 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26003 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26004 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26005 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26006 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26007 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26008 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26009 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26010 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26011 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26012 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26013 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26014 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26015 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26016 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26017 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26018 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26019 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26020 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26021 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26022 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26023 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26024 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26025 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26026 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26027 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26028 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26029 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26030 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26031 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26032 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26033 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26034 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26035 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26036 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26037 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26038 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26039 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26040 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26041 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26042 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26043 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26044 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26045 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26046 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26047 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26048 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26049 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26050 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26051 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26052 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26053 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26054 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26055 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26056 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26057 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26058 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26059 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26060 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26061 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26062 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26063 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26064 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26065 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26066 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26067 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26068 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26069 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26070 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26071 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26072 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26073 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26074 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26075 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26076 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26077 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26078 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26079 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26080 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26081 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26082 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26083 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26084 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26085 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26086 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26087 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26088 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26089 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26090 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26091 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26092 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26093 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26094 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26095 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26096 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26097 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26098 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26099 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26100 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26101 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26102 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26103 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26104 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26105 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26106 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26107 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26108 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26109 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26110 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26111 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26112 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26113 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26114 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26115 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26116 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26117 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26118 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26119 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26120 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26121 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26122 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26123 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26124 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26125 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26126 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26127 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26128 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26129 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26130 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26131 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26132 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26133 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26134 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26135 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26136 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26137 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26138 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26139 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26140 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26141 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26142 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26143 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26144 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26145 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26146 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26147 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26148 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26149
17e78edb
MF
261502017-10-25 Mike FABIAN <mfabian@redhat.com>
26151
26152 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26153 (Use first letters of yesstr and nostr correctly instead of using
26154 full words).
26155
74e7284f
MF
261562017-10-25 Mike FABIAN <mfabian@redhat.com>
26157
26158 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26159 (Use first letters of yesstr and nostr correctly).
26160
b41a0ff1
MF
261612017-10-25 Mike FABIAN <mfabian@redhat.com>
26162
26163 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26164 also check for the first characters of yesstr and nostr.
26165 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26166 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26167
d971f380
MF
261682017-10-25 Mike FABIAN <mfabian@redhat.com>
26169
26170 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26171 also check for Chinese characters.
26172
effc9e1d
MF
261732017-10-25 Mike FABIAN <mfabian@redhat.com>
26174
26175 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26176 match also for the contents of yesstr and nostr. As the first letter
26177 of yesstr and nostr is equal, checking only for the first letter
26178 is not enough.
26179
10320881
MF
261802017-10-25 Mike FABIAN <mfabian@redhat.com>
26181
26182 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26183 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26184
d8682a15
MF
261852017-10-25 Mike FABIAN <mfabian@redhat.com>
26186
26187 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26188 of main contributor.
26189
1bfb86ae
MF
261902017-10-25 Mike FABIAN <mfabian@redhat.com>
26191
26192 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26193 instead of using English.
26194
da33d60b
MF
261952017-10-25 Mike FABIAN <mfabian@redhat.com>
26196
26197 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26198 by including the first letters of nostr and yesexpr in the regexp.
26199 Also make it more readable by using ASCII where possible.
26200
725bbb3e
MF
262012017-10-25 Mike FABIAN <mfabian@redhat.com>
26202
26203 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26204 the first letter of nostr in the regexp. It agrees with CLDR now.
26205 Also make it more readable by using ASCII where possible.
26206
fe043d8a
MF
262072017-10-24 Mike FABIAN <mfabian@redhat.com>
26208
26209 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26210 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26211 these strings contain a U+17D6 (which somewhat looks like a colon)
26212 instead of a real colon to separate the full words for “yes”
26213 and “no” from the single letter responses.
26214
360a8df3
MF
262152017-10-24 Mike FABIAN <mfabian@redhat.com>
26216
26217 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26218 it agree with CLDR (include the first letter of yesstr).
26219 Also make it more readable by using ASCII where possible.
26220
bab7b6b0
MF
262212017-10-24 Mike FABIAN <mfabian@redhat.com>
26222
26223 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26224 and improve yesexpr and noexpr. The yesstr and nostr apparently
26225 came from CLDR. And CLDR has a bug there: these strings contain
26226 a U+0903 (which looks like a colon) instead of a real colon
26227 to separate the full words for “yes” and “no” from the single
26228 letter responses.
26229
3e79f758
MF
262302017-10-24 Mike FABIAN <mfabian@redhat.com>
26231
26232 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26233 letters of the full yesstr and nostr in yesexpr and noexpr.
26234
4960c879
MF
262352017-10-24 Mike FABIAN <mfabian@redhat.com>
26236
26237 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26238 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26239 * localedata/locales/an_ES: Make source more readable by using ASCII
26240 where possible.
26241
b06a054f
MF
262422017-10-24 Mike FABIAN <mfabian@redhat.com>
26243
26244 [BZ #20952]
26245 * localedata/locales/yuw_PG: New file.
26246 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26247 * locale/iso-639.def: Add Yau (Uruwa).
26248
905a7725
WD
262492017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26250
26251 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26252
3f6bb8a3
WD
262532017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26254
26255 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26256 (__libc_realloc): Likewise.
26257 (_mid_memalign): Likewise.
26258 (__libc_calloc): Likewise.
26259
1d479c8c
MF
262602017-10-23 Mike FABIAN <mfabian@redhat.com>
26261
26262 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26263 by adding the generic +1 and -0 as in all other locales.
26264 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26265 day names and make it more readable by using ASCII where possible.
26266
91c3985c
JM
262672017-10-24 Joseph Myers <joseph@codesourcery.com>
26268
26269 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26270 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26271
aa95a241
AZ
262722017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26273
26274 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26275 WNOHANG in waitpid call.
26276
db9bab09
SP
262772017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26278
a2e0a7f1
SP
26279 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26280 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26281
db9bab09
SP
26282 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26283 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26284 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26285 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26286 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26287 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26288 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26289 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26290 variables.
26291
5062680c
MC
262922017-10-23 Michael Collison <michael.collison@arm.com>
26293
26294 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26295 with __builtin_sqrt.
26296 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26297 with __builtin_sqrtf.
26298 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26299 with __builtin_ceil.
26300 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26301 with __builtin_ceilf.
26302 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26303 with __builtin_floor.
26304 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26305 with __builtin_floorf.
26306 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26307 with __builtin_fma.
26308 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26309 with __builtin_fmaf.
26310 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26311 with __builtin_fmax.
26312 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26313 with __builtin_fmaxf.
26314 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26315 with __builtin_fmin.
26316 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26317 with __builtin_fminf.
26318 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26319 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26320 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26321 with builtin_rint and conversion to int.
26322 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26323 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26324 with builtin_llround.
26325 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26326 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26327 with builtin_rint and conversion to long int.
26328 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26329 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26330 with builtin_lround.
26331 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26332 with builtin_lroundf.
26333 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26334 statements with __builtin_nearbyint.
26335 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26336 statements with __builtin_nearbyintf.
26337 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26338 with __builtin_rint.
26339 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26340 with __builtin_rintf.
26341 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26342 with __builtin_round.
26343 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26344 with __builtin_roundf.
26345 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26346 with __builtin_trunc.
26347 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26348 with __builtin_truncf.
be080b6c
SN
26349 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26350 and s_l[l]round[f].c too.
5062680c 26351
174935af
AM
263522017-10-23 Alan Modra <amodra@gmail.com>
26353
26354 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26355 Adjust stack after restoring regs. Add missing LR cfi_restore.
26356
750a0e49
AM
263572017-10-23 Alan Modra <amodra@gmail.com>
26358
26359 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26360 Move LR save and frame setup/teardown and LR restore to
26361 immediately around memset call. Provide cfi.
26362
5313581c
L
263632017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26364
26365 * sysdeps/i386/fpu/e_powf.S: Removed.
26366 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26367 * sysdeps/i386/fpu/w_powf.c: Likewise.
26368 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26369 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26370 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26371 Add e_powf-sse2.
26372 (CFLAGS-e_powf-sse2.c): New.
26373 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26374 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26375
6089a3ee
L
263762017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26377
26378 * sysdeps/i386/fpu/e_log2f.S: Removed.
26379 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26380 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26381 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26382 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26383 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26384 Add e_log2f-sse2.
26385 (CFLAGS-e_log2f-sse2.c): New.
26386 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26387 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26388
80bb5935
L
263892017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26390
26391 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26392 Add e_powf-fma.
26393 (CFLAGS-e_powf-fma.c): New.
26394 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26395 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26396
5c7adbd8
L
263972017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26398
26399 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26400 Add e_log2f-fma.
26401 (CFLAGS-e_log2f-fma.c): New.
26402 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26403 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26404
0ccc7153
L
264052017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26406
26407 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26408 Add e_logf-fma.
26409 (CFLAGS-e_logf-fma.c): New.
26410 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26411 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26412
fe596486
L
264132017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26414
26415 * sysdeps/i386/fpu/e_logf.S: Removed.
26416 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26417 * sysdeps/i386/fpu/w_logf.c: Likewise.
26418 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26419 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26420 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26421 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26422 Add e_logf-sse2.
26423 (CFLAGS-e_logf-sse2.c): New.
26424 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26425 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26426
7eda65f6
L
264272017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26428
26429 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26430 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26431 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26432 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26433 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26434 Add e_exp2f-sse2.
26435 (CFLAGS-e_exp2f-sse2.c): New.
26436 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26437 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26438
5d15c969
L
264392017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26440
26441 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26442 Add e_exp2f-fma.
26443 (CFLAGS-e_exp2f-fma.c): New.
26444 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26445 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26446
b2f6137e
L
264472017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26448
26449 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26450 * sysdeps/i386/fpu/e_expf.S: Likewise.
26451 * sysdeps/i386/fpu/math_errf.c: Likewise.
26452 * sysdeps/i386/fpu/w_expf.c: Likewise.
26453 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26454 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26455 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26456 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26457 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26458 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26459 Remove e_expf-ia32.
26460 (CFLAGS-e_expf-sse2.c): New.
26461 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26462 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26463
e1f59beb
L
264642017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26465
26466 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26467 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26468 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26469 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26470 e_expf.c.
26471 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26472 New.
26473 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26474 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26475 Renamed to ...
26476 (__redirect_expf): This.
26477 (SYMBOL_NAME): Changed to expf.
26478 (__ieee754_expf): Renamed to ...
26479 (__expf): This.
26480 (__GI___expf): This.
26481 (__ieee754_expf): Add strong_alias.
26482 (__expf_finite): Likewise.
26483 (__expf): New.
26484 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26485
363e4519 264862017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
26487
26488 [BZ #22332]
26489 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26490 unescaping.
26491
e80fc1fc
FW
264922017-10-21 Florian Weimer <fweimer@redhat.com>
26493
26494 * posix/Makefile (tests): Add tst-glob-tilde.
26495 (tests-special): Add tst-glob-tilde-mem.out
26496 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26497 (tst-glob-tilde-mem.out): Add mtrace check.
26498 * posix/tst-glob-tilde.c: New file.
26499
797ba44b
JM
265002017-10-20 Joseph Myers <joseph@codesourcery.com>
26501
26502 * bits/floatn-common.h: New file.
26503 * math/Makefile (headers): Add bits/floatn-common.h.
26504 * bits/floatn.h: Include <bits/floatn-common.h>.
26505 * sysdeps/ia64/bits/floatn.h: Likewise.
26506 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26507 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26508 * sysdeps/powerpc/bits/floatn.h: Likewise.
26509 * sysdeps/x86/bits/floatn.h: Likewise.
26510
fe05e1cb
AZ
265112017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26512
8f6f5362
AZ
26513 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26514 indicates whether compiler emits an warning for alias for
26515 functions with incompatible types.
26516
fe05e1cb
AZ
26517 [BZ #22273]
26518 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26519 the auxiliary process is terminated by a signal before calling _exit
26520 or execve.
26521
b52b0d79
L
265222017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26523
26524 [BZ #21265]
26525 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26526 New.
26527 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26528 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26529 and bit_arch_XSAVEC_Usable if needed.
26530 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26531 and bit_arch_Use_dl_runtime_resolve_opt.
26532 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26533 Removed.
26534 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26535 (bit_arch_Prefer_No_AVX512): Updated.
26536 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26537 (bit_arch_XSAVEC_Usable): New.
26538 (STATE_SAVE_OFFSET): Likewise.
26539 (STATE_SAVE_MASK): Likewise.
26540 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26541 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26542 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26543 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26544 (index_arch_XSAVEC_Usable): New.
26545 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26546 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26547 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26548 is enabled.
26549 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26550 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26551 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26552 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26553 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26554 _dl_runtime_resolve_xsavec.
26555 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26556 Removed.
26557 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26558 instead of VEC_SIZE.
26559 (REGISTER_SAVE_BND0): Removed.
26560 (REGISTER_SAVE_BND1): Likewise.
26561 (REGISTER_SAVE_BND3): Likewise.
26562 (REGISTER_SAVE_RAX): Always defined to 0.
26563 (VMOV): Removed.
26564 (_dl_runtime_resolve_avx): Likewise.
26565 (_dl_runtime_resolve_avx_slow): Likewise.
26566 (_dl_runtime_resolve_avx_opt): Likewise.
26567 (_dl_runtime_resolve_avx512): Likewise.
26568 (_dl_runtime_resolve_avx512_opt): Likewise.
26569 (_dl_runtime_resolve_sse): Likewise.
26570 (_dl_runtime_resolve_sse_vex): Likewise.
26571 (USE_FXSAVE): New.
26572 (_dl_runtime_resolve_fxsave): Likewise.
26573 (USE_XSAVE): Likewise.
26574 (_dl_runtime_resolve_xsave): Likewise.
26575 (USE_XSAVEC): Likewise.
26576 (_dl_runtime_resolve_xsavec): Likewise.
26577 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26578 Removed.
26579 (_dl_runtime_resolve_avx512_opt): Likewise.
26580 (_dl_runtime_resolve_avx): Likewise.
26581 (_dl_runtime_resolve_avx_opt): Likewise.
26582 (_dl_runtime_resolve_sse): Likewise.
26583 (_dl_runtime_resolve_sse_vex): Likewise.
26584 (_dl_runtime_resolve_fxsave): New.
26585 (_dl_runtime_resolve_xsave): Likewise.
26586 (_dl_runtime_resolve_xsavec): Likewise.
26587
363e4519 265882017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
26589
26590 [BZ #22320]
26591 CVE-2017-15670
26592 * posix/glob.c (__glob): Fix one-byte overflow.
26593
6d43de4b
WD
265942017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26595
26596 * malloc/malloc.c (sysdep-cancel.h): Add include.
26597
a15d53e2
WD
265982017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26599
26600 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26601
b9a558e7
WH
266022017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26603
26604 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26605 (tests): Remove $(objpfx)ga_test depdendency.
26606 * resolv/ga_test.c: Remove file.
26607
b6b08b8e
MF
266082017-10-20 Mike FABIAN <mfabian@redhat.com>
26609
26610 [BZ #18812]
26611 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26612 * localedata/locales/kab_DZ: New file.
26613
9ba7e810
L
266142017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26615
26616 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26617 _dl_relocate_static_pie instead of _dl_start to compute load
26618 address in static PIE.
26619
4027a4fd
L
266202017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26621
26622 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26623
2f9314b4
MF
266242017-10-20 Mike FABIAN <mfabian@redhat.com>
26625
26626 [BZ #13605]
26627 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26628 * localedata/locales/shn_MM: New file.
26629
63b4baa4
FW
266302017-10-20 Florian Weimer <fweimer@redhat.com>
26631
26632 [BZ #22321]
26633 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26634 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26635 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26636 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26637 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26638 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26639
95ccb619
L
266402017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26641
26642 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26643
37bb78cb
JM
266442017-10-19 Joseph Myers <joseph@codesourcery.com>
26645
76f2ed92
JM
26646 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26647
37bb78cb
JM
26648 [BZ #22322]
26649 * sysdeps/mips/bits/long-double.h: Move to ....
26650 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26651
d74e6f6c
WD
266522017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26653
26654 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26655
363e4519 266562017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
26657 H.J. Lu <hongjiu.lu@intel.com>
26658
26659 [BZ #22299]
26660 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26661 GLRO(dl_platform) to NULL.
26662 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26663 (modules-names): Add tst-platformmod-1 and
26664 x86_64/tst-platformmod-2.
26665 (CFLAGS-tst-platform-1.c): New.
26666 (CFLAGS-tst-platformmod-1.c): Likewise.
26667 (CFLAGS-tst-platformmod-2.c): Likewise.
26668 (LDFLAGS-tst-platformmod-2.so): Likewise.
26669 ($(objpfx)tst-platform-1): Likewise.
26670 ($(objpfx)tst-platform-1.out): Likewise.
26671 (tst-platform-1-ENV): Likewise.
26672 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26673 * sysdeps/x86_64/tst-platform-1.c: New file.
26674 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26675 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26676
4b0fa403
MF
266772017-10-19 Mike FABIAN <mfabian@redhat.com>
26678
26679 [BZ #13994]
26680 * locale/iso-639.def: Add Karbi.
26681 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26682 * localedata/locales/mjw_IN: New file.
26683
81325b12
JM
266842017-10-18 Joseph Myers <joseph@codesourcery.com>
26685
26686 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26687 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26688 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26689 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26690 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26691 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26692 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26693 <bits/floatn.h>.
26694 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26695 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26696 * manual/math.texi (Mathematics): Document additional architecture
26697 support for _Float128.
26698 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26699 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26700 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26701 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26702 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26703 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26704 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26705 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26706 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26707 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26708 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26709 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26710 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26711 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26712 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26713
a68ba2f3
SN
267142017-10-18 Renlin Li <renlin.li@arm.com>
26715
26716 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26717 _DYNAMIC symbol to calculate load address.
26718
346729f6
PC
267192017-10-18 Paul A. Clarke <pc@us.ibm.com>
26720
26721 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26722 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26723 summary bits.
26724 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26725 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26726
508b1e71
MF
267272017-10-18 Mike FABIAN <mfabian@redhat.com>
26728
26729 [BZ #16777]
26730 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26731 and improve readability by using more ASCII.
26732 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26733 and improve readability by using more ASCII.
26734
2c2245b9
WD
267352017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26736
26737 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26738 not all targets support atomics on bool.
26739
13c92696
JM
267402017-10-17 Joseph Myers <joseph@codesourcery.com>
26741
26742 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26743 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26744 __f128.
26745 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26746 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26747 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26748 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26749 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26750 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26751
71d85045
AZ
267522017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26753
26754 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26755 defines.
26756
3381be5c
WD
267572017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26758
26759 [BZ #22159]
26760 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26761 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26762 (do_check_remalloced_chunk): Fix build bug.
26763 (do_check_malloc_state): Add assert that checks arena->top.
26764 (malloc_consolidate): Remove initialization.
26765 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 26766 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 26767
e956075a
WD
267682017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26769
26770 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26771 (have_fastchunks): Remove.
26772 (clear_fastchunks): Remove.
26773 (set_fastchunks): Remove.
26774 (malloc_state): Add have_fastchunks.
26775 (malloc_init_state): Use have_fastchunks.
26776 (do_check_malloc_state): Remove incorrect invariant checks.
26777 (_int_malloc): Use have_fastchunks.
26778 (_int_free): Likewise.
26779 (malloc_consolidate): Likewise.
26780
e4dd4ace
WD
267812017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26782
26783 * malloc/malloc.c (tcache_put): Inline.
26784 (tcache_get): Inline.
26785
5bf58bc7
AJ
267862017-10-17 Jordi Mallach <jordi@gnu.org>
26787
26788 Aurelien Jarno <aurelien@aurel32.net>
26789 [BZ #2522]
26790 * localedata/locales/ca_ES@valencia: New file.
26791 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26792
386e1c26
RN
267932017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26794
26795 [BZ #22296]
26796 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26797 < 6.x
26798
4e17c78e
AZ
267992017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26800
3d265601
AZ
26801 * scripts/build-many-glibcs.py (Context.add_all_configs):
26802 Add arm-linux-gnueabihf multiarch extra_glibcs.
26803
4e17c78e
AZ
26804 * sysdeps/generic/ifunc-init.h: New file.
26805 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26806
56a752ab
MF
268072017-10-17 Mike FABIAN <mfabian@redhat.com>
26808
26809 [BZ #22019]
26810 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26811 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26812 * stdlib/tst-strfmon_l.c: adapt test case.
26813
c38a4bfd
JM
268142017-10-16 Joseph Myers <joseph@codesourcery.com>
26815
26816 * sysdeps/generic/float128-abi.h: New file.
26817 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26818 non-__prefixed symbols to ....
26819 * math/Versions: ... here. Include <float128-abi.h>.
26820 * stdlib/Versions ... and here. Include <float128-abi.h>
26821
76009b26
FW
268222017-10-16 Florian Weimer <fweimer@redhat.com>
26823
26824 * version.h (VERSION): Switch to ".9000" as the development
26825 version suffix.
26826
7ece6cd5
FW
268272017-10-16 Florian Weimer <fweimer@redhat.com>
26828
26829 [BZ #22050]
26830 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26831 compat_symbol_reference to access non-default version.
26832
d8287b36
FW
268332017-10-16 Florian Weimer <fweimer@redhat.com>
26834
26835 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26836
3480ddc4
CD
268372017-10-16 Carlos O'Donell <carlos@redhat.com>
26838
26839 * include/shlib-compat.h (compat_symbol_reference): Update
26840 comment.
26841
02010e79
JM
268422017-10-16 Joseph Myers <joseph@codesourcery.com>
26843
596f7013
JM
26844 * math/Makefile (test-types): Add
26845 $(type-float128-$(float128-alias-fcts)).
26846 * math/test-float128.h (TYPE_STR): Define conditional on
26847 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26848 (ULP_IDX): Likewise.
26849 (ULP_I_IDX): Likewise.
26850
02010e79
JM
26851 * stdlib/strtold.c: Include <bits/floatn.h>
26852 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26853 and later undefine as macro. Define as weak alias if
26854 [!USE_WIDE_CHAR].
26855 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26856 and later undefine as macro. Define as weak alias if
26857 [USE_WIDE_CHAR].
26858 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26859 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26860 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26861 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26862 Define and later undefine as macro. Define as weak alias if
26863 [USE_WIDE_CHAR].
26864 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26865 <bits/floatn.h>.
26866 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26867 Define and later undefine as macro. Define as weak alias if
26868 [!USE_WIDE_CHAR].
26869 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26870 Define and later undefine as macro. Define as weak alias if
26871 [USE_WIDE_CHAR].
26872
ea91c315
CD
268732017-10-15 Carlos O'Donell <carlos@redhat.com>
26874
26875 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26876 record_verbose messages.
26877
8e57c943
L
268782017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26879
26880 [BZ #22052]
26881 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26882 to silence -O3 -Wall warning with GCC 7.
26883
a4777c46
L
268842017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26885
26886 * Makeconfig (+link-static-before-libc): Use the first of
26887 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26888 * gmon/Makefile (tests): Add tst-gmon-static.
26889 (tests-static): Likewise.
26890 (CFLAGS-tst-gmon-static.c): New.
26891 (CRT-tst-gmon-static): Likewise.
26892 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26893 (tst-gmon-static-ENV): Likewise.
26894 (tests-special): Likewise.
26895 ($(objpfx)tst-gmon-static.out): Likewise.
26896 (clean-tst-gmon-static-data): Likewise.
26897 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26898 * gmon/tst-gmon-static-gprof.sh: New file.
26899 * gmon/tst-gmon-static.c: Likewise.
26900
bc3821bb
CD
269012017-10-13 Carlos O'Donell <carlos@redhat.com>
26902
26903 [BZ #22295]
26904 * locale/programs/linereader.c (get_string): Don't warn on
26905 non-symbolic character.
26906
a3e23a2c
CD
26907 [BZ #22294]
26908 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26909 int_curr_symbol.
26910
f16491eb
CD
26911 [BZ #22292]
26912 * locale/programs/record-status.h: New file
26913 * locale/programs/locale.c: Add comment.
26914 * locale/programs/charmap-dir.c: Don't include error.h.
26915 (charmap_opendir): Use record_error.
26916 * locale/programs/charmap.c: Don't include error.h.
26917 (charmap_read): Use record_error, and record_warning.
26918 (parse_charmap): Likewise.
26919 * locale/programs/ld-address.c: Don't include error.h.
26920 (address_finish): Use record_error, and record_warning.
26921 * locale/programs/ld-collate.c: Don't include error.h.
26922 (collate_finish): Use record_error, and record_error_at_line.
26923 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26924 (ctype_class_new): Likewise.
26925 (ctype_map_new): Likewise.
26926 (set_one_default): Likewise.
26927 (set_class_defaults): Likewise.
26928 (translit_flatten): Likewise.
26929 (allocate_arrays): Use record_error, and record_verbose.
26930 * locale/programs/ld-identification.c: Don't include error.h.
26931 (indentation_finish): Use record_error and record_warning.
26932 * locale/programs/ld-measurement.c: Don't include error.h.
26933 (measurement_finish): Use record_error.
26934 * locale/programs/ld-messages.c
26935 (message_finish): Likewise.
26936 * locale/programs/ld-monetary.c
26937 (monetary_finish): Likewise.
26938 * locale/programs/ld-name.c (name_finish): Use record_error
26939 and record_warning.
26940 * locale/programs/ld-numeric.c
26941 (numeric_finish): Use record_error.
26942 * locale/programs/ld-paper.c: Don't include error.h.
26943 (paper_finish): Use record_error.
26944 * locale/programs/ld-telephone.c: Don't include error.h.
26945 (telephone_finish): Use record_error.
26946 * locale/programs/ld-time.c (time_finish): Likewise.
26947 * locale/programs/linereader.h (lr_error): Make inline func.
26948 * locale/programs/localedef.c: Define recorded_warning_count,
26949 and recorded_error_count.
26950 (main): Use record_error. Use recorded_error_count and
26951 recorded_warning_count to issue correct error returns.
26952 (add_to_readlist): Use record_error.
26953 (find_locale): Likewise.
26954 (load_locale): Likewise.
26955 * locale/programs/localedef.h: Remove be_quiet
26956 and WITH_CUR_LOCALE.
26957 * locale/programs/locarchive.c (compare_from_file): Use
26958 record_error.
26959 * locale/programs/locfile.c (write_locale_data): Use
26960 record_error.
26961 * locale/programs/repertoire.c: Dont include error.h.
26962 (repertoire_complain): Use record_error.
26963 * localedata/tst-fmon.sh: Expect failures from localedef.
26964 * localedata/tst-locale.sh: Likewise.
26965 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26966
8dc8be75
CD
26967 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26968 (REPORTS): Likewise.
26969 (check): Likewise.
26970 (i18n): Rename to...
26971 (i18n_ctype): ...this.
26972 (i18n-report): Rename to...
26973 (i18n_ctype-report): ...this.
26974 * localedata/locales/i18n_ctype: Regenerate.
26975 * localedata/locales/i18n: copy i18n_ctype.
26976
f8718a9e
JM
269772017-10-13 Joseph Myers <joseph@codesourcery.com>
26978
18c08b96
JM
26979 * stdlib/strfroml.c: Include <bits/floatn.h>.
26980 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26981 Define before include of <stdlib.h> and undefine afterwards, then
26982 define as weak alias.
26983
f8718a9e
JM
26984 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26985 Undefine and restore default definition. Use
26986 libm_alias_ldouble_other.
26987
e4f530da
PZ
269882017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26989
26990 [BZ #22153]
26991 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26992 in coredumps.
26993
86445888
JC
269942017-10-13 James Clarke <jrtc27@jrtc27.com>
26995
26996 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26997 Assign sym_map to be map for local symbols, as TLS relocations
26998 use sym_map to determine whether the symbol is defined and to
26999 extract the TLS information.
27000 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27001 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27002
179dcdb7
TMQMF
270032017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27004
e8dbd6a3
TMQMF
27005 [BZ #22189]
27006 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27007 (math_force_eval): Add powerpc version.
27008
179dcdb7
TMQMF
27009 [BZ #22142]
27010 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27011 -DBL_MAX.
27012 (do_test): Likewise.
27013 * stdio-common/tst-printf.sh: Likewise.
27014 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27015 ifdef clause in order to set the carry bit right. Replace r0 by
27016 0 without changing the behavior.
27017
7d25d410
JM
270182017-10-13 Joseph Myers <joseph@codesourcery.com>
27019
006e7664
JM
27020 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27021 <libm-alias-ldouble.h>.
27022 (fabsl): Define using libm_alias_ldouble.
27023 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27024 <libm-alias-ldouble.h>.
27025 (fabsl): Define using libm_alias_ldouble.
27026
1def91b3
JM
27027 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27028 Remove conditional code.
27029
7d25d410
JM
27030 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27031 Rename to __clog10_internal_l.
27032 (__clog10_internal_l): Define aliases using
27033 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27034 with __clog10.
27035
077ee129
RS
270362017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27037
27038 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27039 * benchtests/sincosf-inputs: New file.
27040 * benchtests/cosf-inputs: New file.
27041 * benchtests/sinf-inputs: New file.
27042
5ba41de9
SN
270432017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27044
27045 * posix/tst-spawn.c (do_test): Wait for both children.
27046
d165ca64
L
270472017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27048
27049 [BZ #22284]
27050 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27051 tests-pie): Add tst-gmon-pie.
27052 (CFLAGS-tst-gmon-pie.c): New.
27053 (CRT-tst-gmon-pie): Likewise.
27054 (tst-gmon-pie-ENV): Likewise.
27055 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27056 ($(objpfx)tst-gmon-pie.out): Likewise.
27057 (clean-tst-gmon-pie-data): Likewise.
27058 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27059 * gmon/gmon.c [PIC]: Include <link.h>.
27060 [PIC] (callback): New function.
27061 (write_hist): Add an argument for load address. Subtract load
27062 address from PCs.
27063 (write_call_graph): Likewise.
27064 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27065 it to write_hist and write_call_graph.
7bacdcfc 27066 * gmon/tst-gmon-pie.c: New file.
d165ca64 27067
bc9620d0
JM
270682017-10-11 Joseph Myers <joseph@codesourcery.com>
27069
27070 * math/Makefile (test-types-basic): New variable.
27071 (test-types): Likewise.
27072 (libm-test-support): Use $(test-types) instead of $(types).
27073 (libm-tests-base-normal): Likewise.
27074 (libm-tests-base-finite): Likewise.
27075 (libm-tests-base-inline): Likewise.
27076 (generated): Likewise.
27077 ($(objpfx)libm-test-support-$(t).c): Likewise.
27078 (libm-tests-for-type iterator): Likewise.
27079 (libm-test-support iterator): Likewise.
27080 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27081 (ulp_idx): Use ULP_IDX.
27082 * math/test-ldouble.h: Include <float.h>.
27083 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27084 (ULP_IDX): New macro.
27085 (ULP_I_IDX): Likewise.
27086 * math/test-double.h (ULP_IDX): Likewise.
27087 (ULP_I_IDX): Likewise.
27088 * math/test-float.h (ULP_IDX): Likewise.
27089 (ULP_I_IDX): Likewise.
27090 * math/test-float128.h (ULP_IDX): Likewise.
27091 (ULP_I_IDX): Likewise.
27092
09c76a74
AZ
270932017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27094
27095 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27096 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27097 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27098 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27099 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27100 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27101 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27102 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27103 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27104 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27105 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27106 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27107 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27108 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27109 (SINGLE_THREAD_BY_GLOBAL): Define.
27110 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27111 Likewise.
27112 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27113 Likewise.
27114 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27115 Likewise.
27116 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27117 Likewise.
27118 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27119 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27121 Likewise.
27122
2faa42da
AS
271232017-10-11 Andreas Schwab <schwab@suse.de>
27124
27125 * nis/Makefile (aux): Remove.
27126 * nscd/Makefile (aux): Add nscd_hash.
27127 (nscd-modules): Likewise.
27128 ($(objpfx)nscd): Don't depend on libnsl.
27129 * nscd/nscd_hash.c: New file.
27130 * nscd/nscd_hash.h: Likewise.
27131 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27132 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27133 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27134 instead of <nis/rpcsvc/nis.h>.
27135 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27136
d8425e11
FW
271372017-10-11 Florian Weimer <fweimer@redhat.com>
27138
27139 [BZ #22078]
27140 Avoid large NSS buffers with many addresses, aliases.
27141 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27142 using dynarrays and struct alloc_buffer.
27143 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27144 (tst-nss-files-hosts-multi): Link with -ldl.
27145 * nss/tst-nss-files-hosts-multi.c: New file.
27146
78e806fd
FW
271472017-10-11 Florian Weimer <fweimer@redhat.com>
27148
27149 [BZ #18023]
27150 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27151 scratch_buffer. Eliminate gotos.
27152
541f19ba
JM
271532017-10-11 Joseph Myers <joseph@codesourcery.com>
27154
0ff64d3a
JM
27155 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27156 libm_alias_ldouble_other.
27157 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27158 undefine and redefine.
27159 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27160 (exp10l): Do not define here.
27161 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27162 (weak_alias): Undefine and redefine.
27163 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27164 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27165 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27166 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27167
541f19ba
JM
27168 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27169 [!__fma] (fma): Define using libm_alias_double.
27170 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27171 [!__fmaf] (fmaf): Define using libm_alias_float.
27172 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27173 (fmal): Define using libm_alias_ldouble.
27174
24b6515d
JM
271752017-10-10 Joseph Myers <joseph@codesourcery.com>
27176
27177 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27178 New macro.
27179 (libm_alias_double_other): Likewise.
27180 (libm_alias_double_r): Use libm_alias_double_other_r.
27181 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27182 New macro.
27183 (libm_alias_float_other): Likewise.
27184 (libm_alias_float_r): Use libm_alias_float_other_r.
27185 * sysdeps/generic/libm-alias-float128.h
27186 (libm_alias_float128_other_r): New macro.
27187 (libm_alias_float128_other): Likewise.
27188 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27189 * sysdeps/generic/libm-alias-ldouble.h
27190 (libm_alias_ldouble_other_r): New macro.
27191 (libm_alias_ldouble_other): Likewise.
27192 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27193 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27194 (libm_alias_double_other_r): New macro.
27195 (libm_alias_double_other): Likewise.
27196 (libm_alias_double_r): Use libm_alias_double_other_r.
27197 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27198 (libm_alias_ldouble_other_r): New macro.
27199 (libm_alias_ldouble_other): Likewise.
27200 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27201 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27202 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27203 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27204 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27205 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27206 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27207 * math/w_exp2f.c: Use libm_alias_float_other.
27208 * math/w_expf.c: Likewise.
27209 * math/w_log2f.c: Likewise.
27210 * math/w_logf.c: Likewise.
27211 * math/w_powf.c: Likewise.
27212 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27213 [!__exp2f]: Use libm_alias_float_other.
27214 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27215 [!__expf]: Use libm_alias_float_other.
27216 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27217 [!__log2f]: Use libm_alias_float_other.
27218 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27219 [!__logf]: Use libm_alias_float_other.
27220 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27221 [!__powf]: Use libm_alias_float_other.
27222
8ed70de2
FW
272232017-10-10 Florian Weimer <fweimer@redhat.com>
27224
27225 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27226 function.
27227 (_nss_files_gethostbyname3_r): Call it.
27228
a8dce619
JM
272292017-10-09 Joseph Myers <joseph@codesourcery.com>
27230
27231 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27232 error. Remove default definition of declare_mgen_alias.
27233 [!declare_mgen_alias_r]: Likewise.
27234 * sysdeps/generic/math-type-macros-double.h
27235 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27236 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27237 (declare_mgen_alias_r): Likewise.
27238 * sysdeps/generic/math-type-macros-float128.h
27239 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27240 * sysdeps/generic/math-type-macros-ldouble.h
27241 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27242 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27243 macro.
27244 (declare_mgen_alias_r_s): Likewise.
27245 (declare_mgen_alias_r): Likewise.
27246 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27247 (lgamma_r): Define using libm_alias_double_r.
27248 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27249 (lgammaf_r): Define using libm_alias_float_r.
27250 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27251 (lgammal_r): Define using libm_alias_ldouble_r.
27252 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27253 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27254
bedac136
AZ
272552017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27256
27257 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27258 extern declaration.
27259
c7509db2
JM
272602017-10-09 Joseph Myers <joseph@codesourcery.com>
27261
27262 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27263
d6c064e9
JW
272642017-10-09 Jonathan Wakely <jwakely@redhat.com>
27265
27266 [BZ #21326]
27267 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27268 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27269 * math/Makefile (test-math-cxx11): New test.
27270 * math/test-math-cxx11.cc: New file.
27271
98e07420
CB
272722017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27273
27274 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27275
645ac9aa
CB
27276 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27277 call to allocate the slave pty file descriptor.
27278
fd3b4e7c
JM
272792017-10-06 Joseph Myers <joseph@codesourcery.com>
27280
f85a176f
JM
27281 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27282 [!__fma] (fma): Define using libm_alias_double.
27283 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27284 [!__fma] (fma): Define using libm_alias_double.
27285
fd3b4e7c
JM
27286 * sysdeps/ieee754/float128/float128_private.h: Include
27287 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27288 (libm_alias_ldouble_r): Undefine and redefine.
27289 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27290 <libm-alias-ldouble.h>.
27291 (asinhl): Define using libm_alias_ldouble.
27292 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27293 <libm-alias-ldouble.h>.
27294 (atanl): Define using libm_alias_ldouble.
27295 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27296 <libm-alias-ldouble.h>.
27297 (cbrtl): Define using libm_alias_ldouble.
27298 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27299 <libm-alias-ldouble.h>.
27300 (ceill): Define using libm_alias_ldouble.
27301 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27302 <libm-alias-ldouble.h>.
27303 (copysignl): Define using libm_alias_ldouble.
27304 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27305 <libm-alias-ldouble.h>.
27306 (cosl): Define using libm_alias_ldouble.
27307 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27308 <libm-alias-ldouble.h>.
27309 (erfl): Define using libm_alias_ldouble.
27310 (erfcl): Likewise.
27311 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27312 <libm-alias-ldouble.h>.
27313 (expm1l): Define using libm_alias_ldouble.
27314 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27315 <libm-alias-ldouble.h>.
27316 (fabsl): Define using libm_alias_ldouble.
27317 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27318 <libm-alias-ldouble.h>.
27319 (floorl): Define using libm_alias_ldouble.
27320 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27321 <libm-alias-ldouble.h>.
27322 (fmal): Define using libm_alias_ldouble.
27323 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27324 <libm-alias-ldouble.h>.
27325 (frexpl): Define using libm_alias_ldouble.
27326 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27327 libm_alias_ldouble.
27328 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27329 <libm-alias-ldouble.h>.
27330 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27331 libm_alias_ldouble.
27332 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27333 <libm-alias-ldouble.h>.
27334 (getpayloadl): Define using libm_alias_ldouble.
27335 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27336 <libm-alias-ldouble.h>.
27337 (llrintl): Define using libm_alias_ldouble.
27338 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27339 <libm-alias-ldouble.h>.
27340 (llroundl): Define using libm_alias_ldouble.
27341 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27342 <libm-alias-ldouble.h>.
27343 (logbl): Define using libm_alias_ldouble.
27344 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27345 <libm-alias-ldouble.h>.
27346 (lrintl): Define using libm_alias_ldouble.
27347 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27348 <libm-alias-ldouble.h>.
27349 (lroundl): Define using libm_alias_ldouble.
27350 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27351 <libm-alias-ldouble.h>.
27352 (modfl): Define using libm_alias_ldouble.
27353 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27354 <libm-alias-ldouble.h>.
27355 (nearbyintl): Define using libm_alias_ldouble.
27356 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27357 <libm-alias-ldouble.h>.
27358 (nextafterl): Define using libm_alias_ldouble.
27359 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27360 <libm-alias-ldouble.h>.
27361 (nextupl): Define using libm_alias_ldouble.
27362 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27363 <libm-alias-ldouble.h>.
27364 (remquol): Define using libm_alias_ldouble.
27365 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27366 <libm-alias-ldouble.h>.
27367 (rintl): Define using libm_alias_ldouble.
27368 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27369 <libm-alias-ldouble.h>.
27370 (roundevenl): Define using libm_alias_ldouble.
27371 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27372 <libm-alias-ldouble.h>.
27373 (roundl): Define using libm_alias_ldouble.
27374 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27375 using libm_alias_ldouble.
27376 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27377 <libm-alias-ldouble.h>.
27378 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27379 Define using libm_alias_ldouble.
27380 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27381 <libm-alias-ldouble.h>.
27382 (sincosl): Define using libm_alias_ldouble.
27383 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27384 <libm-alias-ldouble.h>.
27385 (sinl): Define using libm_alias_ldouble.
27386 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27387 <libm-alias-ldouble.h>.
27388 (tanhl): Define using libm_alias_ldouble.
27389 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27390 <libm-alias-ldouble.h>.
27391 (tanl): Define using libm_alias_ldouble.
27392 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27393 <libm-alias-ldouble.h>.
27394 (totalorderl): Define using libm_alias_ldouble.
27395 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27396 <libm-alias-ldouble.h>.
27397 (totalordermagl): Define using libm_alias_ldouble.
27398 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27399 <libm-alias-ldouble.h>.
27400 (truncl): Define using libm_alias_ldouble.
27401 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27402 libm_alias_ldouble.
27403 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27404 libm_alias_ldouble.
27405 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27406 <libm-alias-ldouble.h>.
27407 (weak_alias): Do not undefine and redefine.
27408 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27409 (copysignl): Define with long_double_symbol only if [IS_IN
27410 (libc)].
27411 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27412 <libm-alias-ldouble.h>.
27413 (weak_alias): Do not undefine and redefine.
27414 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27415 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27416 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27417 <libm-alias-ldouble.h>.
27418 (weak_alias): Do not undefine and redefine.
27419 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27420 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27421 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27422 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27423 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27424 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27425 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27426 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27427 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27428 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27429 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27430 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27431 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27432 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27433 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27434 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27435 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27436 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27437 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27438 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27439 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27440 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27441 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27442 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27443 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27444 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27445
1e26d351
CD
274462017-10-06 Carlos O'Donell <carlos@redhat.com>
27447
27448 [BZ #22111]
27449 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27450 (tcache_thread_freeres): Set tcache_shutting_down before
27451 freeing the tcache.
27452 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27453 * malloc/tst-malloc-tcache-leak.c: New file.
27454
d1386762
RS
274552017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27456
27457 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27458 back to powerpc32 file.
27459 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27460 (memrchr): Add __memrchr_power8 to ifunc list.
27461 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27462 extra bytes for unaligned inputs.
27463
6dff1983
JM
274642017-10-06 Joseph Myers <joseph@codesourcery.com>
27465
27466 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27467 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27468 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27469 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27470 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27471
86f9568a
JM
274722017-10-05 Joseph Myers <joseph@codesourcery.com>
27473
0db0b931
JM
27474 * sysdeps/arm/libm-test-ulps: Update.
27475
86f9568a
JM
27476 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27477 <libm-alias-ldouble.h>.
27478 (asinhl): Define using libm_alias_ldouble.
27479 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27480 <libm-alias-ldouble.h>.
27481 (cbrtl): Define using libm_alias_ldouble.
27482 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27483 <libm-alias-ldouble.h>.
27484 (copysignl): Define using libm_alias_ldouble.
27485 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27486 <libm-alias-ldouble.h>.
27487 (cosl): Define using libm_alias_ldouble.
27488 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27489 <libm-alias-ldouble.h>.
27490 (erfl): Define using libm_alias_ldouble.
27491 (erfcl): Likewise.
27492 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27493 <libm-alias-ldouble.h>.
27494 (fmal): Define using libm_alias_ldouble.
27495 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27496 <libm-alias-ldouble.h>.
27497 (frexpl): Define using libm_alias_ldouble.
27498 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27499 libm_alias_ldouble.
27500 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27501 <libm-alias-ldouble.h>.
27502 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27503 libm_alias_ldouble.
27504 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27505 <libm-alias-ldouble.h>.
27506 (getpayloadl): Define using libm_alias_ldouble.
27507 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27508 <libm-alias-ldouble.h>.
27509 (llrintl): Define using libm_alias_ldouble.
27510 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27511 <libm-alias-ldouble.h>.
27512 (llroundl): Define using libm_alias_ldouble.
27513 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27514 <libm-alias-ldouble.h>.
27515 (lrintl): Define using libm_alias_ldouble.
27516 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27517 <libm-alias-ldouble.h>.
27518 (lroundl): Define using libm_alias_ldouble.
27519 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27520 <libm-alias-ldouble.h>.
27521 (modfl): Define using libm_alias_ldouble.
27522 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27523 <libm-alias-ldouble.h>.
27524 (nextupl): Define using libm_alias_ldouble.
27525 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27526 <libm-alias-ldouble.h>.
27527 (remquol): Define using libm_alias_ldouble.
27528 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27529 <libm-alias-ldouble.h>.
27530 (roundevenl): Define using libm_alias_ldouble.
27531 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27532 <libm-alias-ldouble.h>.
27533 (roundl): Define using libm_alias_ldouble.
27534 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27535 using libm_alias_ldouble.
27536 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27537 <libm-alias-ldouble.h>.
27538 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27539 <libm-alias-ldouble.h>.
27540 (setpayloadsigl): Define using libm_alias_ldouble.
27541 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27542 <libm-alias-ldouble.h>.
27543 (sincosl): Define using libm_alias_ldouble.
27544 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27545 <libm-alias-ldouble.h>.
27546 (sinl): Define using libm_alias_ldouble.
27547 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27548 <libm-alias-ldouble.h>.
27549 (tanhl): Define using libm_alias_ldouble.
27550 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27551 <libm-alias-ldouble.h>.
27552 (tanl): Define using libm_alias_ldouble.
27553 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27554 <libm-alias-ldouble.h>.
27555 (totalorderl): Define using libm_alias_ldouble.
27556 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27557 <libm-alias-ldouble.h>.
27558 (totalordermagl): Define using libm_alias_ldouble.
27559 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27560 libm_alias_ldouble.
27561 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27562 libm_alias_ldouble.
27563
9ec87fd2
SP
275642017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27565
dd5bc7f1
SP
27566 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27567 memmove_falkor.
27568 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27569 (__libc_ifunc_impl_list): Likewise.
27570 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27571 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27572
5bfb0404
SP
27573 * benchtests/bench-memmove-walk.c: New file.
27574 * benchtests/Makefile (string-benchset): Add it.
27575
36bb8edf
SP
27576 * benchtests/bench-memset-walk.c: New file.
27577 * benchtests/Makefile (string-benchset): Add it.
27578
9ec87fd2
SP
27579 * benchtests/bench-memcpy-walk.c: New file.
27580 * benchtests/Makefile (string-benchset): Add it.
27581
1e9522c6
FW
275822017-10-05 Florian Weimer <fweimer@redhat.com>
27583
27584 nscd: Eliminate compilation time dependency in the build output.
27585 * nscd/nscd_stat.c (STATDATA_VERSION)
27586 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27587 (STATDATA_VERSION_FULL): New macro definitions.
27588 (compilation): Remove.
27589 (struct statdata): Adjust version member.
27590 (send_stats): Set version from STATDATA_VERSION_FULL.
27591 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27592
644d3857
JM
275932017-10-05 Joseph Myers <joseph@codesourcery.com>
27594
27595 * configure.ac (--enable-add-ons): Remove option.
27596 (machine): Do not mention add-ons in comment.
27597 (LIBC_PRECONFIGURE): Likewise.
27598 (add_ons): Remove variable and sanity checks and logic to locate
27599 add-ons.
27600 (add_ons_automatic): Remove variable.
27601 (configured_add_ons): Likewise.
27602 (add_ons_sfx): Likewise.
27603 (add_ons_pfx): Likewise.
27604 (add_on_subdirs): Likewise.
27605 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27606 consideration of add-ons in Implies handling.
27607 (sysdeps_add_ons): Likewise.
27608 * configure: Regenerated.
27609 * libidn/configure.ac: Remove.
27610 * libidn/configure: Likewise.
27611 * sysdeps/unix/inet/configure.ac: New file.
27612 * sysdeps/unix/inet/configure: New generated file.
27613 * sysdeps/unix/inet/Subdirs: Add libidn.
27614 * Makeconfig (sysdeps-srcdirs): Remove variable.
27615 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27616 ($(common-objpfx)config.status): Do not depend on add-on files.
27617 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27618 comment.
27619 (all-subdirs): Do not include $(add-on-subdirs).
27620 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27621 * config.make.in (add-ons): Remove variable.
27622 (add-on-subdirs): Likewise.
27623 (sysdeps-add-ons): Likewise.
27624 * manual/Makefile (add-chapters): Remove.
27625 ($(objpfx)texis): Do not depend on $(add-chapters).
27626 (nonexamples): Do not handle $(add-chapters).
27627 (examples): Do not handle $(add-ons).
27628 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27629 libc-texinfo.sh.
27630 * manual/install.texi (Installation): Do not mention add-ons.
27631 (--enable-add-ons): Do not document configure option.
27632 * INSTALL: Regenerated.
27633 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27634 * manual/maint.texi (Hierarchy Conventions): Do not mention
27635 add-ons.
27636 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27637 --enable-add-ons.
27638 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27639 add-ons.
27640 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27641 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27642
19f82f35
AS
276432017-10-05 Andreas Schwab <schwab@suse.de>
27644
27645 [BZ #15142]
27646 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27647 (_IO_flush_all_lockp): Always lock list_all_lock.
27648 (_IO_flush_all_linebuffered): Likewise.
27649 (_IO_unbuffer_all): Likewise.
27650
91e7cf98
FW
276512017-10-05 Florian Weimer <fweimer@redhat.com>
27652
27653 [BZ #15436]
27654 Do not flush stdio streams on abort.
27655 * stdlib/abort.c (fflush): Remove macro definition.
27656 (abort): Remove stages related to stdio flushing.
27657
0c251257
FW
276582017-10-05 Florian Weimer <fweimer@redhat.com>
27659
27660 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27661
7ea59e3e
SL
276622017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27663
27664 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27665
84d0e6f0
FW
276662017-10-05 Florian Weimer <fweimer@redhat.com>
27667
27668 * support/support_format_hostent.c (support_format_hostent): Add
27669 more error information for NETDB_INTERNAL.
27670
ee417882
L
276712017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27672
27673 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27674 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27675 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27676 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27677 AC_DEFINE if multi-arch is enabled.
27678 * sysdeps/i386/configure: Regenerated.
27679
a67029ff
L
276802017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27681
27682 * Makeconfig (+link-static-before-libc): Use
27683 $(DEFAULT-LDFLAGS-$(@F)).
27684 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27685 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27686 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27687
5dba84b3
L
276882017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27689
27690 * elf/Makefile (tests): Add tst-main1.
27691 (modules-names): Add tst-main1mod.
27692 ($(objpfx)tst-main1): New.
27693 (CRT-tst-main1): Likewise.
27694 (LDFLAGS-tst-main1): Likewise.
27695 (LDLIBS-tst-main1): Likewise.
27696 (tst-main1mod.so-no-z-defs): Likewise.
27697 * elf/tst-main1.c: New file.
27698 * elf/tst-main1mod.c: Likewise.
27699
758f1bfa
L
277002017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27701
27702 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27703
7e16a5d1
JM
277042017-10-04 Joseph Myers <joseph@codesourcery.com>
27705
27706 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27707 (fma): Define using libm_alias_double.
27708 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27709 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27710 <math_ldbl_opt.h>.
27711 (fmal): Do not define as compat symbol here.
27712 * sysdeps/alpha/fpu/s_fma.c: New file.
27713
db4f87ba
SN
277142017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27715
27716 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27717
72d13ed1
JM
277182017-10-04 Joseph Myers <joseph@codesourcery.com>
27719
32d372d5
JM
27720 [BZ #22229]
27721 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27722 <math_ldbl_opt.h>
27723 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27724 and libc.
27725 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27726 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27727 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27728 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27730 Include <math_ldbl_opt.h>
27731 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27732 and libc.
27733 (compat_symbol): Undefine and redefine.
27734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27735 <math_ldbl_opt.h>
27736 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27737 (compat_symbol): Undefine and redefine.
27738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27739 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27740 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27741 GLIBC_2_1 for libm.
27742 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27743 GLIBC_2.0 copysignl symbol.
27744 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27745 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27746
72d13ed1
JM
27747 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27748
11c4f501
FW
277492017-10-04 Florian Weimer <fweimer@redhat.com>
27750
27751 * scripts/check-local-headers.sh: Ignore nspr4 header file
27752 directory in addition to nspr.
27753
57b4af19
GT
277542017-10-04 Guido Trentalancia <guido@trentalancia.net>
27755
27756 [BZ #17956]
27757 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27758 * configure: Regenerate.
27759 * crypt/Makefile (nss-cpp-flags): New variable.
27760 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27761 (CPPFLAGS-md5-crypt.c): Use it.
27762 * scripts/check-local-headers.sh: Ignore nspr header file
27763 directory.
27764
64d1e08e
AS
277652017-10-04 Andreas Schwab <schwab@suse.de>
27766
27767 * nis/Makefile (services): Remove compat.
27768 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27769 ($(objpfx)libnss_compat.so): Remove rule.
27770 * nis/Versions (libnss_compat): Remove.
27771 * nss/Makefile (services): Add compat.
27772 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27773 * nss/Versions (libnss_compat): Define.
27774 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27775 Don't include <rpc/types.h>. Replace bool_t by bool.
27776 * nss/nss_compat/compat-initgroups.c: Likewise.
27777 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27778 instead of <rpcsrv/ypclnt.h>.
27779 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27780 yp_get_default_domain.
27781 * nss/nss_compat/compat-pwd.c: Likewise.
27782 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27783 yp_get_default_domain.
27784 * nss/nss_compat/nisdomain.c: New file.
27785 * nss/nss_compat/nisdomain.h: Likewise.
27786
86c27ade
SN
277872017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27788
27789 [BZ #22244]
27790 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27791 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27792
8f8f8ef7
SN
277932017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27794
27795 [BZ #22243]
27796 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27797 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27798
95577475
L
277992017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27800
27801 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27802 "movl main@GOTOFF(%ebx), %eax".
27803
02d2d892
L
278042017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27805
27806 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27807 allow undefined _DYNAMIC in PIE libc.a.
27808 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27809 Likewse.
27810
0c609d19
L
278112017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27812
27813 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27814 check _DYNAMIC.
27815
c34a19ed
L
278162017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27817
27818 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27819 check _DYNAMIC.
27820
cdd4155d
L
278212017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27822
27823 * math/test-math-iscanonical.cc (error): Replace bool with int.
27824
4699cb8b
JM
278252017-10-03 Joseph Myers <joseph@codesourcery.com>
27826
d8f619b3
JM
27827 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27828 (modf): Define using libm_alias_double, only if [!__modf].
27829 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27830 <libm-alias-double.h>.
27831 (modf): Define using libm_alias_double, only if [!__modf].
27832 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27833 compat symbol here.
27834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27835 (weak_alias): Do not undefine and redefine.
27836 (strong_alias): Likewise.
27837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27838 (weak_alias): Likewise.
27839 (strong_alias): Likewise.
27840
4699cb8b
JM
27841 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27842 (logb): Define using libm_alias_double, only if [!__logb].
27843 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27844 <libm-alias-double.h>.
27845 (logb): Define using libm_alias_double, only if [!__logb].
27846 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27848 (weak_alias): Do not undefine and redefine.
27849 (strong_alias): Likewise.
27850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27851 (weak_alias): Likewise.
27852 (strong_alias): Likewise.
27853
bcc4e4bb
L
278542017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27855
27856 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27857 Check SHARED instead PIC.
27858
39793865
JM
278592017-10-03 Joseph Myers <joseph@codesourcery.com>
27860
7f1cbdf8
JM
27861 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27862 [!__fmaf] (fmaf): Define using libm_alias_float.
27863
39793865
JM
27864 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27865 (frexp): Define using libm_alias_double.
27866 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27867 <libm-alias-double.h>.
27868 (frexp): Define using libm_alias_double.
27869 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27870 compat symbol here.
27871
aa0235df
GG
278722017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27873
27874 [BZ #22235]
27875 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27876 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27877 (CFLAGS-test-math-iscanonical.cc): New variable.
27878 * math/test-math-iscanonical.cc: New file.
27879 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27880 Provide a C++ implementation based on function overloading,
27881 rather than using __MATH_TG, which uses C-only builtins.
27882 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27883 Likewise.
27884 * sysdeps/powerpc/powerpc64le/Makefile
27885 (CFLAGS-test-math-iscanonical.cc): New variable.
27886
a1132b5e
JM
278872017-10-03 Joseph Myers <joseph@codesourcery.com>
27888
27889 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27890 (ceil): Define using libm_alias_double.
27891 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27892 (floor): Define using libm_alias_double.
27893 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27894 <libm-alias-double.h>.
27895 (llround): Define using libm_alias_double.
27896 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27897 <libm-alias-double.h>.
27898 (lround): Define using libm_alias_double.
27899 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27900 <libm-alias-double.h>.
27901 (nearbyint): Define using libm_alias_double.
27902 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27903 <libm-alias-double.h>.
27904 (remquo): Define using libm_alias_double.
27905 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27906 (rint): Define using libm_alias_double.
27907 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27908 (round): Define using libm_alias_double.
27909 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27910 (trunc): Define using libm_alias_double.
27911 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27912 <libm-alias-double.h>.
27913 (ceil): Define using libm_alias_double.
27914 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27915 <libm-alias-double.h>.
27916 (floor): Define using libm_alias_double.
27917 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27918 <libm-alias-double.h>.
27919 (llround): Define using libm_alias_double.
27920 [_LP64] (lround): Likewise.
27921 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27922 <libm-alias-double.h>.
27923 [!_LP64] (lround): Define using libm_alias_double.
27924 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27925 <libm-alias-double.h>.
27926 (nearbyint): Define using libm_alias_double.
27927 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27928 <libm-alias-double.h>.
27929 (remquo): Define using libm_alias_double.
27930 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27931 <libm-alias-double.h>.
27932 (rint): Define using libm_alias_double.
27933 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27934 <libm-alias-double.h>.
27935 (round): Define using libm_alias_double.
27936 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27937 <libm-alias-double.h>.
27938 (trunc): Define using libm_alias_double.
27939 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27940 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27941 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27942 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27943 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27944 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27945 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27946 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27947 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27948
f275f64e
SN
279492017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27950
27951 * math/w_remainder.c: New file.
27952 * math/w_remainderf.c: New file.
27953 * math/w_remainderl.c: New file.
27954
b8818ab5
L
279552017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27956
27957 * elf/rtld.c (BOOTSTRAP_MAP): New.
27958 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27959 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27960 Likewise.
27961 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27962 Likewise.
27963 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27964 Likewise.
27965
3d1870fa
ST
279662017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27967
27968 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27969 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27970 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27971 rtld_hidden_data_ver): Define to empty.
27972 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27973 __assert_perror_fail): Likewise.
27974 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27975 (__rewinddir): Likewise.
27976 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27977 (__profile_frequency): Likewise.
27978 * include/setjmp.h (__sigsetjmp): Likewise.
27979 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27980 __libc_sigaction): Likewise.
27981 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27982 not set hidden attribute.
27983 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27984 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27985 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27986 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27987 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27988 __fxstatat64): Likewise.
27989 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27990 (__uname): Likewise.
27991 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27992 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27993 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27994 (NO_RTLD_HIDDEN): Set.
27995 * sysdeps/mach/hurd/configure: Refresh.
27996 * config.h.in: Refresh.
27997
527cd19c
JM
279982017-10-02 Joseph Myers <joseph@codesourcery.com>
27999
38722448
JM
28000 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28001 (atan): Define using libm_alias_double.
28002 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28003 (tan): Define using libm_alias_double.
28004 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28005 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28006
527cd19c
JM
28007 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28008 define as weak alias of __atan. Do not define any aliases if
28009 [__atan].
28010 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28011 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28012 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28013 as weak alias of __tan. Do not define any aliases if [__tan].
28014 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28015 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28016 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28017 __atan.
28018 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28019 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28020 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28021 and define as weak alias of __atan.
28022 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28023 __atan.
28024 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28025 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28026 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28027 define as weak alias of __tan.
28028
bdc5c592
SN
280292017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28030
28031 * math/w_lgamma.c: New file.
28032 * math/w_lgammaf.c: New file.
28033 * math/w_lgammal.c: New file.
28034
bd4430c2
SN
280352017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28036
28037 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28038 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28039 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28040 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28041 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28042 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28043 * sysdeps/i386/fpu/w_log2f.c: New file.
28044 * sysdeps/i386/fpu/w_logf.c: New file.
28045 * sysdeps/i386/fpu/w_powf.c: New file.
28046 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28047 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28048 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28049
f7a0b063
SN
280502017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28051 H.J. Lu <hongjiu.lu@intel.com>
28052
28053 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28054 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28055 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28056 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28057 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28058 the new expf code.
28059 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28060 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28061 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28062 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28063 * sysdeps/i386/fpu/w_exp2f.c: New file.
28064 * sysdeps/i386/fpu/w_expf.c: New file.
28065 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28066 * sysdeps/x86_64/fpu/w_expf.c: New file.
28067
72d3d281
SN
280682017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28069
28070 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28071 (log2f): Likewise.
28072 (powf): Likewise.
28073 * math/w_log2f.c: New file.
28074 * math/w_logf.c: New file.
28075 * math/w_powf.c: New file.
28076 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28077 * math/w_logf_compat.c (__logf_compat): Likewise.
28078 * math/w_powf_compat.c (__powf_compat): Likewise.
28079 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28080 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28081 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28082 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28083 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28084 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28085 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28086 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28087 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28088 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28089 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28090 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28091 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28092 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28093 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28095 Likewise.
28096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28097 Likewise.
28098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28099 Likewise.
28100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28101 Likewise.
28102 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28103 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28104 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28105 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28106 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28108 Likewise.
28109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28110 Likewise.
28111 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28112 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28113 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28114
59ba2d2b
RS
281152017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28116
28117 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28118 (sysdep_routines): Add memrchr_power8.
28119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28120 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28121 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28122 New file.
28123 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28124 (memrchr): Add __memrchr_power8 to ifunc list.
28125 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28126
397286ea
L
281272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28128
28129 [BZ #18822]
28130 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28131 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28132 libc_hidden_def.
28133 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28134 (__posix_fallocate64_l64): Likewise.
28135
d0a4512b
L
281362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28137
28138 [BZ #18822]
28139 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28140 (__sched_setaffinity_new): Add libc_hidden_proto and
28141 libc_hidden_def.
28142
c0769f70
L
281432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28144
28145 [BZ #18822]
28146 * include/glob.h (__glob64): Add libc_hidden_proto.
28147 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28148 libc_hidden_def.
28149
0e7d5b6e
L
281502017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28151
28152 [BZ #18822]
28153 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28154 attribute_hidden.
28155
bde06c87
L
281562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28157
28158 [BZ #18822]
28159 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28160
fa426590
L
281612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28162
28163 [BZ #18822]
28164 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28165 libc_hidden_def.
28166
2f8a05d8
L
281672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28168
28169 [BZ #18822]
28170 * csu/version.c (__libc_print_version): Add attribute_hidden.
28171
7bfd08ac
L
281722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28173
28174 [BZ #18822]
28175 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28176
0e1fd06c
L
281772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28178
28179 [BZ #18822]
28180 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28181
36e7ae1e
L
281822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28183
28184 [BZ #18822]
28185 * nscd/nscd_helper.c (__nis_hash): New prototype.
28186
87078544
L
281872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28188
28189 [BZ #18822]
28190 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28191 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28192 libc_hidden_def.
28193 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28194 * termios/tcgetattr.c (__tcgetattr): Likewise.
28195
dd3121df
L
281962017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28197
28198 [BZ #18822]
28199 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28200 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28201 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28202 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28203 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28204
047d1a81
L
282052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28206
28207 [BZ #18822]
28208 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28209
fd331b11
L
282102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28211
28212 [BZ #18822]
28213 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28214 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28215
57f859bd
L
282162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28217
28218 [BZ #18822]
28219 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28220
d1903329
L
282212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28222
28223 [BZ #18822]
28224 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28225 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28226
b4744101
L
282272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28228
28229 [BZ #18822]
28230 * include/ifreq.h: New file.
28231 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28232 (__ifreq): Likewise.
28233 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28234 (__ifreq): Likewise.
28235
43b7dfd1
L
282362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28237
28238 [BZ #18822]
28239 * include/idna.h: New file.
28240 * inet/getnameinfo.c: Include <idna.h> instead of
28241 <libidn/idna.h>.
28242 (__idna_to_unicode_lzlz): Removed.
28243 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28244 <libidn/idna.h>.
28245 (__idna_to_ascii_lz): Removed.
28246 (__idna_to_unicode_lzlz): Likewise.
28247
2c0cd8f8
L
282482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28249
28250 [BZ #18822]
28251 * include/plural-exp.h: New file.
28252 * intl/plural-exp.c: Include <plural-exp.h> instead of
28253 "plural-exp.h".
28254
8369d216
L
282552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28256
28257 [BZ #18822]
28258 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28259 "getsourcefilter.h".
28260 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28261 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28262 "getsourcefilter.h".
28263 (__get_sol): Removed.
28264
a0aef783
L
282652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28266
28267 [BZ #18822]
28268 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28269 to ...
28270 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28271
3ee8209b
L
282722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28273
28274 [BZ #18822]
28275 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28276 attribute_hidden.
28277
6036fc38
L
282782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28279
28280 [BZ #18822]
28281 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28282
fe84fed0
L
282832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28284
28285 [BZ #18822]
28286 * include/search.h (__tdestroy): Add libc_hidden_proto.
28287 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28288
048dd681
L
282892017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28290
28291 [BZ #18822]
28292 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28293
6e342af6
L
282942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28295
28296 [BZ #18822]
28297 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28298 attribute_hidden.
28299
6a088436
L
283002017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28301
28302 [BZ #18822]
28303 * include/signal.h (__kill): Add libc_hidden_proto.
28304 (__sigblock): Likewise.
28305 (__sigprocmask): Likewise.
28306 (__sigaltstack): Likewise.
28307 * signal/kill.c (__kill): Add libc_hidden_def.
28308 * signal/sigblock.c (__sigblock): Likewise.
28309 * signal/sigprocmask.c (__sigprocmask): Likewise.
28310 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28311 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28312 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28313 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28314 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28315 Likewise.
28316 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28317 Likewise.
28318 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28319 (__sigprocmask): Likewise.
28320 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28321 Likewise.
28322 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28323 (__sigprocmask): Likewise.
28324 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28325 Likewise.
28326
78cf1d74
L
283272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28328
28329 [BZ #18822]
28330 * include/string.h (__strsep): Add libc_hidden_proto.
28331 * string/strsep.c (__strsep): Add libc_hidden_def.
28332
85b35894
L
283332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28334
28335 [BZ #18822]
28336 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28337 attribute_hidden.
28338 (__spawni): Likewise.
28339
225f7eec
L
283402017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28341
28342 [BZ #18822]
28343 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28344 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28345 libc_hidden_def.
28346
372fe247
L
283472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28348
28349 [BZ #18822]
28350 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28351
9e5ee8b8
L
283522017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28353
28354 [BZ #18822]
28355 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28356 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28357 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28358 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28359 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28360 Likewise.
28361 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28362 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28363
2ff16592
L
283642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28365
28366 [BZ #18822]
28367 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28368 (__dcigettext): Likewise.
28369
b5648377
L
283702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28371
28372 [BZ #18822]
28373 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28374 libc_hidden_proto.
28375 (__get_nprocs): Likewise.
28376 (__get_phys_pages): Likewise.
28377 (__get_avphys_pages): Likewise.
28378 (__get_child_max): Add attribute_hidden.
28379 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28380 (__get_nprocs): Likewise.
28381 (__get_phys_pages): Likewise.
28382 (__get_avphys_pages): Likewise.
28383 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28384 libc_hidden_def.
28385 (__get_nprocs): Likewise.
28386 (__get_phys_pages): Likewise.
28387 (__get_avphys_pages): Likewise.
28388 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28389 libc_hidden_def.
28390 (__get_nprocs_conf): Likewise.
28391 (__get_phys_pages): Likewise.
28392 (__get_avphys_pages): Likewise.
28393
0389a6aa
L
283942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28395
28396 [BZ #18822]
28397 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28398 attribute_hidden.
28399 (__netlink_close): Likewise.
28400 (__netlink_free_handle): Likewise.
28401 (__netlink_request): Likewise.
28402
d48354d8
L
284032017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28404
28405 [BZ #18822]
28406 * include/rpc/rpc.h (__rpc_thread_variables): Add
28407 attribute_hidden.
28408 (__rpc_thread_svc_cleanup): Likewise.
28409 (__rpc_thread_clnt_cleanup): Likewise.
28410 (__rpc_thread_key_cleanup): Likewise.
28411
d6daff12
L
284122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28413
28414 [BZ #18822]
28415 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28416 (__writev): Likewise.
28417 * misc/readv.c (__readv): Add libc_hidden_def.
28418 * misc/writev.c (__writev): Likewise.
28419 * sysdeps/posix/readv.c (__readv): Likewise.
28420 * sysdeps/posix/writev.c (__writev): Likewise.
28421 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28422 (__readv): Likewise.
28423 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28424 (__writev): Likewise.
28425
b68f8620
L
284262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28427
28428 [BZ #18822]
28429 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28430 (__regcomp): Add libc_hidden_proto.
28431 (__regexec): Likewise.
28432 (__regfree): Likewise.
28433 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28434 (__regfree): Likewise.
28435 * posix/regexec.c (__regexec): Likewise.
28436
59c04e67
L
284372017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28438
28439 [BZ #18822]
28440 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28441 (__getutent): Likewise.
28442 (__getutid): Likewise.
28443 (__getutline): Likewise.
28444 (__pututline): Likewise.
28445 (__getutent_r): Likewise.
28446 (__getutid_r): Likewise.
28447 (__getutline_r): Likewise.
28448 (__utmpname): Add attribute_hidden.
28449 (__setutent): Likewise.
28450 (__endutent): Likewise.
28451 * login/getutent.c (__getutent): Add libc_hidden_def.
28452 * login/getutent_r.c (__getutent_r): Likewise.
28453 (__pututline): Likewise.
28454 * login/getutid.c (__getutid): Likewise.
28455 * login/getutid_r.c (__getutid_r): Likewise.
28456 * login/getutline.c (__getutline): Likewise.
28457 * login/getutline_r.c (__getutline_r): Likewise.
28458 * login/updwtmp.c (__updwtmp): Likewise.
28459
4587a421
L
284602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28461
28462 [BZ #18822]
28463 * include/dirent.h (__opendir): Always add attribute_hidden.
28464 (__fdopendir): Likewise.
28465 (__closedir): Likewise.
28466 (__readdir): Likewise.
28467 (__readdir64): Add libc_hidden_proto.
28468 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28469 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28470 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28471 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28472 New alias.
28473
9635ce69
L
284742017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28475
28476 [BZ #18822]
28477 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28478 * include/netdb.h (__gethostbyaddr_r): Likewise.
28479 (__gethostbyname_r): Likewise.
28480 (__gethostbyname2_r): Likewise.
28481 (__getnetbyaddr_r): Likewise.
28482 (__getnetbyname_r): Likewise.
28483 (__getservbyname_r): Likewise.
28484 (__getservbyport_r): Likewise.
28485 (__getprotobyname_r): Likewise.
28486 (__getprotobynumber_r): Likewise.
28487 (__getnetgrent_r): Likewise.
28488 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28489 (__getrpcbynumber_r): Likewise.
28490 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28491
2e0a6909
L
284922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28493
28494 [BZ #18822]
28495 * include/stdio.h (__fcloseall): Add attribute_hidden.
28496 (__getline): Likewise.
28497 (__path_search): Likewise.
28498 (__gen_tempname): Likewise.
28499 (__libc_message): Likewise.
28500 (__flockfile): Likewise.
28501 (__funlockfile): Likewise.
28502 (__fxprintf): Likewise.
28503 (__fxprintf_nocancel): Likewise.
28504
94fd682c
L
285052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28506
28507 [BZ #18822]
28508 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28509 (__sgetsgent_r): Likewise.
28510
e1b33bba
L
285112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28512
28513 [BZ #18822]
28514 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28515 (__statfs64): Likewise.
28516 (__fstatfs64): Likewise.
28517 * include/sys/statvfs.h (__statvfs64): Likewise.
28518 (__fstatvfs64): Likewise.
28519 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28520 (__statfs_filesize_max): Likewise.
28521 (__statfs_symlinks): Likewise.
28522 (__statfs_chown_restricted): Likewise.
28523
b0f56784
L
285242017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28525
28526 [BZ #18822]
28527 * include/time.h (__tzstring): Add attribute_hidden.
28528 (__tzfile_read): Likewise.
28529 (__tzfile_compute): Likewise.
28530 (__tzfile_default): Likewise.
28531 (__tzset_parse_tz): Likewise.
28532 (__offtime): Likewise.
28533 (__asctime_r): Likewise.
28534 (__tzset): Likewise.
28535 (__tz_convert): Likewise.
28536 (__getdate_r): Likewise.
28537 (__getclktck): Likewise.
28538
a4338d99
L
285392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28540
28541 [BZ #18822]
28542 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28543 (__nscd_unmap): Likewise.
28544 (__nscd_cache_search): Likewise.
28545 (__nscd_get_nl_timestamp): Likewise.
28546 (__nscd_getpwnam_r): Likewise.
28547 (__nscd_getpwuid_r): Likewise.
28548 (__nscd_getgrnam_r): Likewise.
28549 (__nscd_getgrgid_r): Likewise.
28550 (__nscd_gethostbyname_r): Likewise.
28551 (__nscd_gethostbyname2_r): Likewise.
28552 (__nscd_gethostbyaddr_r): Likewise.
28553 (__nscd_getai): Likewise.
28554 (__nscd_getgrouplist): Likewise.
28555 (__nscd_getservbyname_r): Likewise.
28556 (__nscd_getservbyport_r): Likewise.
28557 (__nscd_innetgr): Likewise.
28558 (__nscd_setnetgrent): Likewise.
28559
a2ca1652
L
285602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28561
28562 [BZ #18822]
28563 * include/gmp.h: Declare internal functions only if _ISOMAC is
28564 undefined.
28565 (__mpn_extract_double): Add attribute_hidden.
28566 (__mpn_extract_long_double): Likewise.
28567 (__mpn_extract_float128): Likewise.
28568 (__mpn_construct_float): Likewise.
28569 (__mpn_construct_double): Likewise.
28570 (__mpn_construct_long_double): Likewise.
28571 (__mpn_construct_float128): Likewise.
28572 (mpn_add_1): Likewise.
28573 (mpn_addmul_1): Likewise.
28574 (mpn_add_n): Likewise.
28575 (mpn_cmp): Likewise.
28576 (mpn_divrem): Likewise.
28577 (mpn_lshift): Likewise.
28578 (mpn_mul): Likewise.
28579 (mpn_mul_1): Likewise.
28580 (mpn_rshift): Likewise.
28581 (mpn_sub_1): Likewise.
28582 (mpn_submul_1): Likewise.
28583 (mpn_sub_n): Likewise.
28584
44af8a32
L
285852017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28586
28587 [BZ #18822]
28588 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28589 (__wcscat): Likewise.
28590 (__btowc): Likewise.
28591 (__wcrtomb): Likewise.
28592 (__mbsrtowcs): Likewise.
28593 (__wcsrtombs): Likewise.
28594 (__mbsnrtowcs): Likewise.
28595 (__wcsnrtombs): Likewise.
28596 (__wcsncpy): Likewise.
28597 (__wcpncpy): Likewise.
28598 (__wmemcpy): Likewise.
28599 (__wmempcpy): Likewise.
28600 (__wmemmove): Likewise.
28601 (__wcschrnul): Likewise.
28602 (__vfwscanf): Likewise.
28603 (__vswprintf): Likewise.
28604 (__fwprintf): Likewise.
28605 (__vfwprintf): Likewise.
28606
783cd767
L
286072017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28608
28609 [BZ #18822]
28610 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28611 (__getgrgid_r): Likewise.
28612 (__getgrnam_r): Likewise.
28613 * include/pwd.h (__getpwuid_r): Likewise.
28614 (__getpwnam_r): Likewise.
28615 (__fgetpwent_r): Likewise.
28616 * include/shadow.h (__getspnam_r): Likewise.
28617 (__sgetspent_r): Likewise.
28618 (__fgetspent_r): Likewise.
28619
7ec4b39a
L
286202017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28621
28622 [BZ #18822]
28623 * include/unistd.h (__access): Add attribute_hidden.
28624 (__lseek64): Likewise.
28625 (__libc_pread64): Likewise.
28626 (__pipe2): Likewise.
28627 (__sleep): Likewise.
28628 (__chdir): Likewise.
28629 (__fchdir): Likewise.
28630 (__getcwd): Likewise.
28631 (__rmdir): Likewise.
28632 (__execvpe): Likewise.
28633 (__execve): Likewise.
28634 (__setsid): Likewise.
28635 (__getuid): Likewise.
28636 (__geteuid): Likewise.
28637 (__getgid): Likewise.
28638 (__getegid): Likewise.
28639 (__getgroups): Likewise.
28640 (__group_member): Likewise.
28641 (__ttyname_r): Likewise.
28642 (__isatty): Likewise.
28643 (__readlink): Likewise.
28644 (__unlink): Likewise.
28645 (__gethostname): Likewise.
28646 (__profil): Likewise.
28647 (__getdtablesize): Likewise.
28648 (__brk): Likewise.
28649 (__ftruncate): Likewise.
28650 (__ftruncate64): Likewise.
28651
8345a760
L
286522017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28653
28654 [BZ #18822]
28655 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28656 * argp/argp-fs-xinl.c: Likewise.
28657 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28658 * argp/argp-parse.c: Include <argp.h>.
28659 * argp/argp-xinl.c: Likewise.
28660 * include/argp-fmtstream.h: New file.
28661 * include/argp.h (__argp_error): Add attribute_hidden.
28662 (__argp_failure): Likewise.
28663 (__argp_input): Likewise.
28664 (__argp_state_help): Likewise.
28665
c26dd7c6
L
286662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28667
28668 [BZ #18822]
28669 * include/wchar.h (____wcstof_l_internal): New prototype.
28670 (____wcstod_l_internal): Likewise.
28671 (____wcstold_l_internal): Likewise.
28672 (____wcstol_l_internal): Likewise.
28673 (____wcstoul_l_internal): Likewise.
28674 (____wcstoll_l_internal): Likewise.
28675 (____wcstoull_l_internal): Likewise.
28676 (____wcstof128_l_internal): Likewise.
28677 * sysdeps/ieee754/float128/wcstof128.c
28678 (____wcstof128_l_internal): Removed.
28679 * sysdeps/ieee754/float128/wcstof128_l.c
28680 (____wcstof128_l_internal): Likewise.
28681 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28682 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28683 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28684 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28685 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28686 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28687 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28688 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28689 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28690 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28691
3aff5644
L
286922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28693
28694 [BZ #18822]
28695 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28696 instead of <sys/statvfs.h>.
28697 (__internal_statvfs): Removed.
28698 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28699 instead of <sys/statvfs.h>.
28700 (__internal_statvfs64): Removed.
28701 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28702 "internal_statvfs.h" instead of <sys/statvfs.h>.
28703 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28704 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28705 instead of <sys/statvfs.h>.
28706 (__internal_statvfs): Removed.
28707 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28708 instead of <sys/statvfs.h>.
28709 (__internal_statvfs64): Removed.
28710
8bcdb7e0
L
287112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28712
28713 [BZ #18822]
28714 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28715 (__gconv_close): Likewise.
28716 (__gconv): Likewise.
28717 (__gconv_find_transform): Likewise.
28718 (__gconv_lookup_cache): Likewise.
28719 (__gconv_compare_alias_cache): Likewise.
28720 (__gconv_load_cache): Likewise.
28721 (__gconv_get_path): Likewise.
28722 (__gconv_close_transform): Likewise.
28723 (__gconv_release_cache): Likewise.
28724 (__gconv_find_shlib): Likewise.
28725 (__gconv_release_shlib): Likewise.
28726 (__gconv_get_builtin_trans): Likewise.
28727 (__gconv_compare_alias): Likewise.
28728 * include/dlfcn.h (_dlerror_run): Likewise.
28729 * include/stdio.h (__fortify_fail_abort): Likewise.
28730 * include/time.h (__tz_compute): Likewise.
28731 (__strptime_internal): Likewise.
28732 * intl/gettextP.h (_nl_find_domain): Likewise.
28733 (_nl_load_domain): Likewise.
28734 (_nl_find_msg): Likewise.
28735 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28736 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28737 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28738 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28739 (__gai_find_request): Likewise.
28740 (__gai_remove_request): Likewise.
28741 (__gai_notify): Likewise.
28742 (__gai_notify_only): Likewise.
28743 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28744 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28745 (_dl_non_dynamic_init): Likewise.
28746 (_dl_aux_init): Likewise.
28747 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28748 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28749 Likewise.
28750 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28751 (__wcsmbs_clone_conv): Likewise.
28752 (__wcsmbs_named_conv): Likewise.
28753
8ed3b643
L
287542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28755
28756 [BZ #18822]
28757 * include/stdlib.h (__random): Add attribute_hidden.
28758 (__random_r): Likewise.
28759 (__srandom_r): Likewise.
28760 (__initstate_r): Likewise.
28761 (__setstate_r): Likewise.
28762 (__erand48_r): Likewise.
28763 (__nrand48_r): Likewise.
28764 (__jrand48_r): Likewise.
28765 (__srand48_r): Likewise.
28766 (__seed48_r): Likewise.
28767 (__lcong48_r): Likewise.
28768 (__drand48_iterate): Likewise.
28769 (__setenv): Likewise.
28770 (__unsetenv): Likewise.
28771 (__clearenv): Likewise.
28772 (__ptsname_r): Likewise.
28773 (__posix_openpt): Likewise.
28774 (__add_to_environ): Likewise.
28775 (__realpath): Add libc_hidden_proto.
28776 (__ecvt_r): Likewise.
28777 (__fcvt_r): Likewise.
28778 (__qecvt_r): Likewise.
28779 (__qfcvt_r): Likewise.
28780 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28781 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28782
ef9b6f73
L
287832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28784
28785 [BZ #18822]
28786 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28787 * include/time.h (__mktime_internal): Likewise.
28788 * libio/iolibio.h (__fopen_internal): Likewise.
28789
8da92e72
JDA
287902017-10-01 John David Anglin <danglin@gcc.gnu.org>
28791
28792 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28793 pointer in frame.
28794 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28795 Correct offset used to restore PIC register.
28796
388784cf
JDA
287972017-09-30 John David Anglin <danglin@gcc.gnu.org>
28798
28799 [BZ libc/22165]
28800 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28801 code to load address of __getcontext_ret when generating PIC code.
28802
2000067a
L
288032017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28804
28805 * elf/Makefile (tests-static-internal): Add
28806 tst-tls1-static-non-pie.
28807 (LDFLAGS-tst-tls1-static-non-pie): New.
28808 * elf/tst-tls1-static-non-pie.c: New file.
28809
1e2bffd0
JM
288102017-09-29 Joseph Myers <joseph@codesourcery.com>
28811
28812 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28813 (asinh): Define using libm_alias_double.
28814 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28815 (cbrt): Define using libm_alias_double.
28816 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28817 <libm-alias-double.h>.
28818 (copysign): Define using libm_alias_double.
28819 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28820 (erf): Define using libm_alias_double.
28821 (erfc): Likewise.
28822 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28823 (expm1): Define using libm_alias_double.
28824 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28825 (fabs): Define using libm_alias_double.
28826 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28827 libm_alias_double.
28828 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28829 <libm-alias-double.h>.
28830 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28831 libm_alias_double.
28832 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28833 <libm-alias-double.h>.
28834 (getpayload): Define using libm_alias_double.
28835 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28836 <libm-alias-double.h>.
28837 (llrint): Define using libm_alias_double.
28838 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28839 (lrint): Define using libm_alias_double.
28840 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28841 <libm-alias-double.h>.
28842 (nextup): Define using libm_alias_double.
28843 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28844 <libm-alias-double.h>.
28845 (roundeven): Define using libm_alias_double.
28846 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28847 libm_alias_double.
28848 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28849 <libm-alias-double.h>.
28850 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28851 using libm_alias_double.
28852 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28853 (cos): Define using libm_alias_double.
28854 (sin): Likewise.
28855 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28856 <libm-alias-double.h>.
28857 (sincos): Define using libm_alias_double.
28858 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28859 (tanh): Define using libm_alias_double.
28860 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28861 <libm-alias-double.h>.
28862 (totalorder): Define using libm_alias_double.
28863 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28864 <libm-alias-double.h>.
28865 (totalordermag): Define using libm_alias_double.
28866 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28867 libm_alias_double.
28868 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28869 libm_alias_double.
28870 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28871 <libm-alias-double.h>.
28872 (getpayload): Define using libm_alias_double.
28873 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28874 <libm-alias-double.h>.
28875 (roundeven): Define using libm_alias_double.
28876 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28877 <libm-alias-double.h>.
28878 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28879 <libm-alias-double.h>.
28880 (totalorder): Define using libm_alias_double.
28881 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28882 <libm-alias-double.h>.
28883 (totalordermag): Define using libm_alias_double.
28884 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28885 libc compat symbol here.
28886 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28887 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28888 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28889 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28890 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28891 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28892 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28893 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28894 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28895 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28896
8172aad9
L
288972017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28898
28899 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28900 _dl_relocate_static_pie instead of _dl_start to compute load
28901 address in static PIE. Return 0 if _DYNAMIC is undefined for
28902 static executable.
28903
54464e74
L
289042017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28905
28906 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28907 _DYNAMIC is undefined for static executable.
28908
f6c5e5bc
L
289092017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28910
28911 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28912
2f92505d
JM
289132017-09-29 Joseph Myers <joseph@codesourcery.com>
28914
28915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28916
bd8d53bb
WD
289172017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28918
28919 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28920 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28921 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28922 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28923 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28924 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28925 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28926 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28927 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28928 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28929 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28930 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28931 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28932 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28933 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28934 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28935 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28936
fffb1507
WD
289372017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28938
28939 * math/bits/cmathcalls.h (cimag): Remove inline.
28940 (creal): Remove inline.
28941 (conj): Remove inline.
28942
4ea49f4c
SN
289432017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28944
28945 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28946 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28947 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28948 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28949 (issignalingf_inline): Likewise.
28950 (POWF_LOG2_TABLE_BITS): Likewise.
28951 (POWF_LOG2_POLY_ORDER): Likewise.
28952 (POWF_SCALE_BITS): Likewise.
28953 (POWF_SCALE): Likewise.
28954 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28955 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28956 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28957
875c76c7
SN
289582017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28959
28960 * math/Makefile (type-float-routines): Add e_log2f_data.
28961 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28962 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28963 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28964 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28965 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28966 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28967 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28968
90c42e40
SN
289692017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28970
28971 * math/Makefile (type-float-routines): Add e_logf_data.
28972 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28973 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28974 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28975 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28976 * sysdeps/i386/fpu/e_logf_data.c: New file.
28977 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28978 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28979
4088d8dd
L
289802017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28981
28982 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28983 undefined _DYNAMIC in PIE libc.a.
28984 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28985 Likewse.
28986
4d3693ec
WD
289872017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28988
28989 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28990 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28991 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28992 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28993 (__signbit): Remove.
28994 (__signbitl): Remove.
28995 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28996 (__signbit): Remove.
28997 (__signbitl): Remove.
28998 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28999 (__signbit): Remove.
29000 (__signbitl): Remove.
29001 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29002 (__signbit): Remove.
29003 (__signbitl): Remove.
29004 * sysdeps/tile/bits/mathinline.h: Delete file.
29005 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29006 (__signbit): Remove.
29007 (__signbitl): Remove.
29008
1e6d0723
WD
290092017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29010
29011 * math/math.h: Improve handling of C99 isgreater macros.
29012 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29013 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29014 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29015 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29016 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29017
b2f03cf3
SN
290182017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29019
29020 * sysdeps/aarch64/libm-test-ulps: Update.
29021
f124cb38
JM
290222017-09-28 Joseph Myers <joseph@codesourcery.com>
29023
29024 [BZ #22225]
29025 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29026 math_opt_barrier on argument when doing arithmetic on it.
29027 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29028 Likewise. Use math_force_eval not math_opt_barrier after
29029 arithmetic.
29030 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29031 math_opt_barrier on argument when doing arithmetic on it.
29032 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29033 Likewise.
29034
7edd0691
L
290352017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29036
29037 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29038 libc_hidden_def.
29039 (__freeifaddrs): Likewise.
29040
2c7bbfaf
ST
290412017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29042
29043 * include/dirent.h (__dirfd): New declaration.
29044 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29045 alias.
29046 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29047 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29048 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
29049 * include/unistd.h (__revoke): New declaration.
29050 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29051 alias.
29052 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29053 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29054 revoke.
64a4af28
ST
29055 * include/dirent.h (__seekdir): New declaration.
29056 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29057 redefine as weak alias.
29058 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29059 of seekdir.
4009ddc6
ST
29060 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29061 and use libc_hidden_def on them.
29062 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29063 them.
29064 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29065 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29066 instead of getifaddrs and freeifaddrs.
2c7bbfaf 29067
825adeee
L
290682017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29069
29070 [BZ #18822]
29071 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29072 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29073 (__dso_handle): Remove declaration.
29074 * dlfcn/tstatexit.c (__dso_handle): Removed.
29075 (main): Don't check __dso_handle.
29076 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29077 (main): Don't check __dso_handle.
29078 * include/dso_handle.h: New file.
29079 * malloc/mtrace.c: Include <dso_handle.h>.
29080 (mtrace): Pass __dso_handle directly.
29081 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29082 (__dso_handle): Remove declaration.
29083 (__pthread_atfork): Pass __dso_handle directly.
29084 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29085 (__dso_handle): Removed.
29086 * posix/wordexp-test.c: Include <dso_handle.h>.
29087 (__dso_handle): Remove declaration.
29088 (__app_register_atfork): Pass __dso_handle directly.
29089 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29090 (__dso_handle): Remove declaration.
29091 (at_quick_exit): Pass __dso_handle directly.
29092 * stdlib/atexit.c: Include <dso_handle.h>.
29093 (__dso_handle): Remove declaration.
29094 (atexit): Pass __dso_handle directly.
29095 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29096 (__dso_handle): Removed.
29097
bfb0deb3
JM
290982017-09-26 Joseph Myers <joseph@codesourcery.com>
29099
29100 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29101 using VDSO.
29102
cebcb9f8
AM
291032017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29104
29105 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29106 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29107 values to correct default value for given type.
29108
592d5c75
L
291092017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29110
29111 [BZ #22101]
29112 * elf/Makefile (tests): Add tst-debug1.
29113 ($(objpfx)tst-debug1): New.
29114 ($(objpfx)tst-debug1.out): Likewise.
29115 ($(objpfx)tst-debug1mod1.so): Likewise.
29116 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29117 with p_filesz == 0.
29118 * elf/tst-debug1.c: New file.
29119
2d9193f2
JM
291202017-09-26 Joseph Myers <joseph@codesourcery.com>
29121
29122 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29123 Define using __ifunc.
29124
4c5a7a02
TMQMF
291252017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29126
29127 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29128 exp2f() values.
29129
12ef66c4
JM
291302017-09-26 Joseph Myers <joseph@codesourcery.com>
29131
29132 [BZ #22156]
29133 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29134
44dade71
FW
291352017-09-26 Florian Weimer <fweimer@redhat.com>
29136
29137 * resolv/Makefile (tests-internal): Fix typo in comment.
29138
eaca16f1
FW
291392017-09-26 Florian Weimer <fweimer@redhat.com>
29140
29141 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29142
ccf970c7
AZ
291432017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29144
5f9f31ad
AZ
29145 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29146 Use an union instead of a max_align_t array for __space,
29147 so that __space is the same size on all platforms.
29148 * malloc/scratch_buffer_grow_preserve.c
29149 (__libc_scratch_buffer_grow_preserve): Likewise.
29150
ccf970c7
AZ
29151 [BZ #22183]
29152 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29153 version to 2.
29154 * posix/Makefile (routines): Add glob-lstat-compat and
29155 glob64-lstat-compat.
29156 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29157 * posix/glob-lstat-compat.c: New file.
29158 * posix/glob64-lstat-compat.c: Likewise.
29159 * posix/tst-glob_lstat_compat.c: Likewise.
29160 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29161 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29162 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29163 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29164 Likewise.
29165 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29166 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29167 * posix/glob.c (glob_lstat): New function.
29168 (glob): Rename to __glob and add versioned symbol to 2.27.
29169 (glob_in_dir): Use glob_lstat.
29170 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29171 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29172 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29173 2.27.
29174 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29175 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29176 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29177 gl_lstat on glob call.
29178 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29179 and glob64 symbols.
29180 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29181 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29182 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29183 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29184 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29185 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29186 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29187 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29188 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29189 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29190 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29191 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29193 Likewise.
29194 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29196 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29197 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29198 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29199 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29200 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29203 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29204 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29205 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29206
b4396163
L
292072017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29208
29209 * configure.ac (AS): Require binutils 2.25 or later.
29210 * configure: Regenerated.
29211
8f834987
PP
292122017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29213
29214 [BZ #22207]
29215 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29216 VM size.
29217
3de93d19
DD
292182017-09-25 DJ Delorie <dj@redhat.com>
29219
29220 [BZ #22161]
29221 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29222 resetting timeout.
29223
9947638d
SL
292242017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29225
29226 * sysdeps/ieee754/dbl-64/sincos32.h
29227 [SINCCOS32_H]: Remove define.
29228 [SINCOS32_H]: Define.
29229
f5f0f526
SN
292302017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29231
29232 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29233 (exp2f): Likewise.
29234 * math/w_exp2f.c: New file.
29235 * math/w_expf.c: New file.
29236 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29237 * math/w_expf_compat.c (__expf_compat): Likewise.
29238 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29239 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29240 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29241 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29242 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29243 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29244 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29245 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29246 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29247 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29248 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29249 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29250 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29251 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29253 Likewise.
29254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29255 Likewise.
29256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29257 Likewise.
29258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29259 Likewise.
29260 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29261 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29262 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29263 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29264 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29265 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29266 Likewise.
29267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29268 Likewise.
29269 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29270 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29271 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29272
72aa6233
SN
292732017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29274
29275 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29276 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29277 (roundtoint, converttoint): Likewise.
29278 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29279 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29280 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29281 * sysdeps/ieee754/flt-32/math_config.h: New file.
29282 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29283 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29284 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29285 * sysdeps/i386/fpu/math_errf.c: New file.
29286 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29287 * sysdeps/ia64/fpu/math_errf.c: New file.
29288 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29289 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29290
5e6f3253
ST
292912017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29292
29293 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29294 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29295 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29296 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29297 to make sure that these symbols are defined.
b38a42a0
ST
29298 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29299 of <limits.h>
29300 (__need_NULL): Do not define.
29301 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29302 alignment.
29303 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29304 CMGROUP_MAX, cmsgcred): Do not define.
29305 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29306 NULL.
29307 * bits/socket.h: Likewise.
fcafcd16
ST
29308 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29309 __gettimeofday instead of gettimeofday.
29310 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29311 instead of settimeofday.
5e6f3253 29312
2f49ce7d
JM
293132017-09-22 Joseph Myers <joseph@codesourcery.com>
29314
29315 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29316 (asinhf): Define using libm_alias_float.
29317 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29318 (atanf): Define using libm_alias_float.
29319 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29320 (cbrtf): Define using libm_alias_float.
29321 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29322 (ceilf): Define using libm_alias_float.
29323 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29324 <libm-alias-float.h>.
29325 (copysignf): Define using libm_alias_float.
29326 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29327 (cosf): Define using libm_alias_float.
29328 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29329 (erff): Define using libm_alias_float.
29330 (erfcf): Likewise.
29331 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29332 (expm1f): Define using libm_alias_float.
29333 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29334 (fabsf): Define using libm_alias_float.
29335 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29336 (floorf): Define using libm_alias_float.
29337 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29338 (frexpf): Define using libm_alias_float.
29339 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29340 libm_alias_float.
29341 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29342 <libm-alias-float.h>.
29343 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29344 libm_alias_float.
29345 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29346 <libm-alias-float.h>.
29347 (getpayloadf): Define using libm_alias_float.
29348 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29349 <libm-alias-float.h>.
29350 (llrintf): Define using libm_alias_float.
29351 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29352 <libm-alias-float.h>.
29353 (llroundf): Define using libm_alias_float.
29354 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29355 (logbf): Define using libm_alias_float.
29356 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29357 (lrintf): Define using libm_alias_float.
29358 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29359 (lroundf): Define using libm_alias_float.
29360 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29361 (modff): Define using libm_alias_float.
29362 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29363 <libm-alias-float.h>.
29364 (nearbyintf): Define using libm_alias_float.
29365 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29366 <libm-alias-float.h>.
29367 (nextafterf): Define using libm_alias_float.
29368 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29369 <libm-alias-float.h>.
29370 (nextupf): Define using libm_alias_float.
29371 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29372 <libm-alias-float.h>.
29373 (remquof): Define using libm_alias_float.
29374 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29375 (rintf): Define using libm_alias_float.
29376 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29377 <libm-alias-float.h>.
29378 (roundevenf): Define using libm_alias_float.
29379 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29380 (roundf): Define using libm_alias_float.
29381 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29382 using libm_alias_float.
29383 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29384 <libm-alias-float.h>.
29385 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29386 Define using libm_alias_float.
29387 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29388 <libm-alias-float.h>.
29389 (sincosf): Define using libm_alias_float.
29390 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29391 (sinf): Define using libm_alias_float.
29392 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29393 (tanf): Define using libm_alias_float.
29394 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29395 (tanhf): Define using libm_alias_float.
29396 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29397 <libm-alias-float.h>.
29398 (totalorderf): Define using libm_alias_float.
29399 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29400 <libm-alias-float.h>.
29401 (totalordermagf): Define using libm_alias_float.
29402 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29403 (truncf): Define using libm_alias_float.
29404 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29405 libm_alias_float.
29406 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29407 libm_alias_float.
29408
c5c4a626
GG
294092017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29410
29411 [BZ #22146]
29412 math/math.h: Let fpclassify use the builtin in C++ mode, even
29413 when optimazing for size.
29414
23947846
JM
294152017-09-22 Joseph Myers <joseph@codesourcery.com>
29416
29417 * csu/Makefile (generated): Do not add version-info.h.
29418 (before-compile): Likewise.
29419 (all-Banner-files): Remove variable.
29420 ($(objpfx)version-info.h): Remove rule.
29421 * csu/version.c (banner): Do not include "version-info.h".
29422 * libidn/Banner: Remove.
29423 * manual/contrib.texi (Simon Josefsson): New entry.
29424
9ac3c682
GG
294252017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29426
29427 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29428 Remove conditionals on LDBL_MANT_DIG.
29429 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29430 (__ieee754_lgammal_r): Likewise.
29431
d2f0ed09
GG
294322017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29433
29434 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29435 _Float128 and L().
29436 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29437 _Float128 and L(). Replace _Float128 with long double and L(x)
29438 with xL, throughout the file.
29439 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29440 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29441 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29442 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29443
c5c2e667
GG
294442017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29445
29446 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29447 sysdeps/ieee754/ldbl-128ibm.
29448 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29449 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29450 of including it. Keep _Float128 and L() intact. These will be
29451 reviewed by a separate patch.
29452 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29453 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29454 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29455 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29456
e010deb2
GG
294572017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29458
29459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29460 (__finitef128): Define to __redirect___finitef128.
29461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29462 (__isinff128): Define to __redirect___isinff128.
29463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29464 (__isnanf128): Define to __redirect___isnanf128.
29465
ffa44804
GG
294662017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29467
29468 * sysdeps/powerpc/powerpc64le/Makefile
29469 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29470 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29471
e5e4d7cc
PP
294722017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29473 Carlos O'Donell <carlos@redhat.com>
29474
29475 [BZ #22180]
29476 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29477 * stdlib/test-dlclose-exit-race.c: New file.
29478 * stdlib/test-dlclose-exit-race-helper.c: New file.
29479 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29480
c10c5267
JM
294812017-09-21 Joseph Myers <joseph@codesourcery.com>
29482
29483 * crypt/Banner: Remove file.
29484 * nptl/Banner: Likewise.
29485 * resolv/Banner: Likewise.
29486 * soft-fp/Banner: Likewise.
29487 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29488 ($(objpfx)version.d): Remove dependency on banner.h.
29489 ($(objpfx)version.os): Likewise.
29490 * nptl/version.c (banner): Do not include banner.h.
29491 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29492 Jelinek and BIND code.
29493
1cc9e59a
PP
294942017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29495 Carlos O'Donell <carlos@redhat.com>
29496
29497 * support/xdlfcn.h: New file.
29498 * support/xdlfcn.c: New file.
29499 * support/Makefile (libsupport-routines): Add xdlfcn.
29500 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29501
ae8372d7
JM
295022017-09-20 Joseph Myers <joseph@codesourcery.com>
29503
29504 [BZ #20142]
29505 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29506 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29507 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29508 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29509 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29510 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29511 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29512 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29513
26e70aec 295142017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
29515 Ricky Zhou <rickyz@google.com>
29516 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
29517
29518 [BZ #14333]
29519 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29520 Remove atomics.
29521 (__new_exitfn): Fail registration when we finished at_exit processing.
29522 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29523 * stdlib/on_exit.c (__on_exit): Likewise.
29524 * stdlib/exit.c (__exit_funcs_done): New variable.
29525 (__run_exit_handlers): Use __exit_funcs_lock.
29526 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29527 declarations.
29528 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29529 (test-cxa_atexit-race, test-on_exit-race): New tests.
29530 * stdlib/test-atexit-race-common.c: New file.
29531 * stdlib/test-atexit-race.c: New file.
29532 * stdlib/test-at_quick_exit-race.c: New file.
29533 * stdlib/test-cxa_atexit-race.c: New file.
29534 * stdlib/test-on_exit-race.c: New file.
29535
0525ce48
SN
295362017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29537
29538 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29539 * benchtests/exp2f-inputs: Copy of expf-inputs.
29540 * benchtests/log2f-inputs: Copy of logf-inputs.
29541
d82468d1
JM
295422017-09-19 Joseph Myers <joseph@codesourcery.com>
29543
29544 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29545 Explicitly take address of first element of array arguments in
29546 call to INLINE_SYSCALL.
29547
43ffc53a
AS
295482017-09-19 Andreas Schwab <schwab@suse.de>
29549
29550 [BZ #22134]
29551 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29552 execveat first.
29553 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29554 unimplemented.
29555 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29556 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29557 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29558 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29559 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29560 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29561 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29562 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29563 * posix/Makefile (tests): Add tst-fexecve.
29564 * posix/tst-fexecve.c: New file.
29565
a5dcc87e
WD
295662017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29567
29568 * benchtests/Makefile: Add logf benchmark.
29569 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29570
7024d544
WD
295712017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29572
29573 * benchtests/Makefile: Add expf benchmark.
29574 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29575
ca3a382e
WD
295762017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29577
29578 * csu/Makefile: Add -funwind-tables to libc-start.c.
29579 * debug/Makefile: Add -funwind-tables to backtrace.c.
29580 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29581 * sysdeps/arm/Makefile: Likewise.
29582 * sysdeps/i386/Makefile: Likewise.
29583 * sysdeps/m68k/Makefile: Likewise.
29584 * sysdeps/mips/Makefile: Likewise.
29585 * sysdeps/nios2/Makefile: Likewise.
29586 * sysdeps/sh/Makefile: Likewise.
29587 * sysdeps/sparc/Makefile: Likewise.
29588
eb375def
JM
295892017-09-19 Joseph Myers <joseph@codesourcery.com>
29590
29591 * benchtests/Makefile (bench-math): Add trunc and truncf.
29592 (CFLAGS-bench-trunc.c): New variable.
29593 (CFLAGS-bench-truncf.c): Likewise.
29594 * benchtests/trunc-inputs: New file.
29595 * benchtests/truncf-inputs: Likewise.
29596
bd17ba29
RS
295972017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29598
29599 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29600
92892fdb
JM
296012017-09-18 Joseph Myers <joseph@codesourcery.com>
29602
6d9b0b5a
JM
29603 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29604 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29605 redefine.
29606 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29607 (exp10l): Define as weak alias.
29608 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29609 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29610 and redefine.
29611 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29612 (remainderl): Define as weak alias.
29613
92892fdb
JM
29614 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29615 (fmal): Define using libm_alias_ldouble.
29616 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29617 (acoshl): Define using libm_alias_ldouble.
29618 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29619 (acosl): Define using libm_alias_ldouble.
29620 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29621 (asinl): Define using libm_alias_ldouble.
29622 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29623 (atan2l): Define using libm_alias_ldouble.
29624 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29625 (atanhl): Define using libm_alias_ldouble.
29626 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29627 (coshl): Define using libm_alias_ldouble.
29628 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29629 (exp10l): Define using libm_alias_ldouble.
29630 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29631 (exp2l): Define using libm_alias_ldouble.
29632 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29633 (expl): Define using libm_alias_ldouble.
29634 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29635 (fmodl): Define using libm_alias_ldouble.
29636 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29637 (hypotl): Define using libm_alias_ldouble.
29638 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29639 (j0l): Define using libm_alias_ldouble.
29640 (y0l): Likewise.
29641 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29642 (j1l): Define using libm_alias_ldouble.
29643 (y1l): Likewise.
29644 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29645 (jnl): Define using libm_alias_ldouble.
29646 (ynl): Likewise.
29647 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29648 (log10l): Define using libm_alias_ldouble.
29649 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29650 (log2l): Define using libm_alias_ldouble.
29651 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29652 (logl): Define using libm_alias_ldouble.
29653 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29654 (powl): Define using libm_alias_ldouble.
29655 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29656 (remainderl): Define using libm_alias_ldouble.
29657 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29658 (sinhl): Define using libm_alias_ldouble.
29659 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29660 (sqrtl): Define using libm_alias_ldouble.
29661 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29662 (tgammal): Define using libm_alias_ldouble.
29663 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29664 (exp10l): Do not use long_double_symbol here.
29665 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29666 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29667 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29668 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29669 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29670 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29671 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29672 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29673 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29674 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29675 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29676 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29677 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29678 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29679 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29680 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29681 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29682 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29683 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29684 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29685 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29686 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29687
6cd380dd
WB
296882017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29689
29690 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29691 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29692
1c6d89e9
ST
296932017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29694
29695 * io/read.c (read): Add libc_hidden_weak.
29696 * sysdeps/mach/hurd/read.c (read): Likewise.
29697 * io/write.c (write): Likewise.
29698 * sysdeps/mach/hurd/write.c (write): Likewise.
29699 * io/pread64.c (__pread64): Likewise.
29700 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29701 * posix/pread64.c (__pread64): Add libc_hidden_def.
29702
06b1de23
SP
297032017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29704
140647ea
SP
29705 * benchtests/scripts/compare_strings.py: New option -g.
29706 (draw_graph): Print a message that a graph is being generated.
29707 (process_results): Generate graph only if -g is passed.
29708 (main): Process option -g.
29709
5a6547b7
SP
29710 * benchtests/scripts/compare_strings.py (process_results):
29711 Better spacing for output.
29712
06b1de23
SP
29713 * benchtests/scripts/compare_strings.py: Use argparse.
29714 * benchtests/README: Document existence of compare_strings.py.
29715
c67a2328
JM
297162017-09-15 Joseph Myers <joseph@codesourcery.com>
29717
9ac44708
JM
29718 * math/s_fma.c: Include <libm-alias-double.h>.
29719 (fma): Define using libm_alias_double.
29720 * math/s_nextafter.c: Include <libm-alias-double.h>.
29721 (nextafter): Define using libm_alias_double.
29722 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29723 (acos): Define using libm_alias_double.
29724 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29725 (aocsh): Define using libm_alias_double.
29726 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29727 (asin): Define using libm_alias_double.
29728 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29729 (atan2): Define using libm_alias_double.
29730 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29731 (atanh): Define using libm_alias_double.
29732 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29733 (cosh): Define using libm_alias_double.
29734 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29735 (exp10): Define using libm_alias_double.
29736 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29737 (exp2): Define using libm_alias_double.
29738 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29739 (exp): Define using libm_alias_double.
29740 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29741 (fmod): Define using libm_alias_double.
29742 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29743 (hypot): Define using libm_alias_double.
29744 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29745 (j0): Define using libm_alias_double.
29746 (y0): Likewise.
29747 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29748 (j1): Define using libm_alias_double.
29749 (y1): Likewise.
29750 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29751 (jn): Define using libm_alias_double.
29752 (yn): Likewise.
29753 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29754 (log10): Define using libm_alias_double.
29755 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29756 (log2): Define using libm_alias_double.
29757 * math/w_log_compat.c: Include <libm-alias-double.h>.
29758 (log): Define using libm_alias_double.
29759 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29760 (pow): Define using libm_alias_double.
29761 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29762 (remainder): Define using libm_alias_double.
29763 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29764 (sinh): Define using libm_alias_double.
29765 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29766 (sqrt): Define using libm_alias_double.
29767 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29768 (tgamma): Define using libm_alias_double.
29769 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29770 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29771 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29772 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29773 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29774 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29775 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29776 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29777 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29778 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29779 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29780 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29781 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29782 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29783 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29784 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29785 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29786 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29787 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29788 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29789 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29790 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29791 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29792 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29793 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29794
c67a2328
JM
29795 * math/e_acoshl.c: Remove.
29796 * math/e_acosl.c: Likewise.
29797 * math/e_asinl.c: Likewise.
29798 * math/e_atan2l.c: Likewise.
29799 * math/e_atanhl.c: Likewise.
29800 * math/e_coshl.c: Likewise.
29801 * math/e_expl.c: Likewise.
29802 * math/e_fmodl.c: Likewise.
29803 * math/e_gammal_r.c: Likewise.
29804 * math/e_hypotl.c: Likewise.
29805 * math/e_j0l.c: Likewise.
29806 * math/e_j1l.c: Likewise.
29807 * math/e_jnl.c: Likewise.
29808 * math/e_lgammal_r.c: Likewise.
29809 * math/e_log10l.c: Likewise.
29810 * math/e_log2l.c: Likewise.
29811 * math/e_logl.c: Likewise.
29812 * math/e_powl.c: Likewise.
29813 * math/e_rem_pio2l.c: Likewise.
29814 * math/e_sinhl.c: Likewise.
29815 * math/e_sqrtf128.c: Likewise.
29816 * math/e_sqrtl.c: Likewise.
29817 * math/k_cosl.c: Likewise.
29818 * math/k_sinl.c: Likewise.
29819 * math/k_tanl.c: Likewise.
29820 * math/s_asinhl.c: Likewise.
29821 * math/s_atanl.c: Likewise.
29822 * math/s_cbrtl.c: Likewise.
29823 * math/s_erfl.c: Likewise.
29824 * math/s_expm1l.c: Likewise.
29825 * math/s_log1pl.c: Likewise.
29826 * math/s_tanhl.c: Likewise.
29827
61c45f25
TMQMF
298282017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29829
29830 [BZ #21745]
29831 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29832 [$(subdir) = math] (sysdep_calls): New variable. Has the
29833 previous contents of sysdep_routines, but re-sorted..
29834 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29835 sysdep_calls.
29836 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29837 defined in sysdep_calls and replace by the respective m_* names.
29838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29839 (compat_symbol): Undefine to avoid duplicated compat symbols in
29840 libc.
29841
5bcdb315
JM
298422017-09-15 Joseph Myers <joseph@codesourcery.com>
29843
29844 * math/s_fmaf.c: Include <libm-alias-float.h>.
29845 (fmaf): Define using libm_alias_float.
29846 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29847 (acosf): Define using libm_alias_float.
29848 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29849 (acoshf): Define using libm_alias_float.
29850 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29851 (asinf): Define using libm_alias_float.
29852 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29853 (atan2f): Define using libm_alias_float.
29854 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29855 (atanhf): Define using libm_alias_float.
29856 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29857 (coshf): Define using libm_alias_float.
29858 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29859 (exp10f): Define using libm_alias_float.
29860 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29861 (fmodf): Define using libm_alias_float.
29862 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29863 (hypotf): Define using libm_alias_float.
29864 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29865 (j0f): Define using libm_alias_float.
29866 (y0f): Likewise.
29867 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29868 (j1f): Define using libm_alias_float.
29869 (y1f): Likewise.
29870 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29871 (jnf): Define using libm_alias_float.
29872 (ynf): Likewise.
29873 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29874 (log10f): Define using libm_alias_float.
29875 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29876 (log2f): Define using libm_alias_float.
29877 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29878 (logf): Define using libm_alias_float.
29879 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29880 (powf): Define using libm_alias_float.
29881 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29882 (remainderf): Define using libm_alias_float.
29883 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29884 (sinhf): Define using libm_alias_float.
29885 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29886 (sqrtf): Define using libm_alias_float.
29887 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29888 (tgammaf): Define using libm_alias_float.
29889
01f28812
JM
298902017-09-14 Joseph Myers <joseph@codesourcery.com>
29891
29892 * include/math.h (roundeven): Change hidden_proto call to
29893 __roundeven.
29894 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29895 alias.
29896 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29897 (y0): Rename to __y0 and define as weak alias.
29898 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29899 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29900 alias.
29901 (y0f): Rename to __y0f and define as weak alias.
29902 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29903 alias.
29904 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29905 (y1): Rename to __y1 and define as weak alias.
29906 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29907 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29908 alias.
29909 (y1f): Rename to __y1f and define as weak alias.
29910 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29911 alias.
29912 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29913 (yn): Rename to __yn and define as weak alias.
29914 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29915 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29916 alias.
29917 (ynf): Rename to __ynf and define as weak alias.
29918 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29919 (fromfp): Define as weak alias.
29920 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29921 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29922 (fromfpx): Define as weak alias.
29923 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29924 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29925 __getpayload and define as weak alias.
29926 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29927 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29928 __roundeven and define as weak alias.
29929 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29930 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29931 __setpayload.
29932 (setpayload): Define as weak alias.
29933 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29934 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29935 __setpayloadsig.
29936 (setpayloadsig): Define as weak alias.
29937 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29938 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29939 __totalorder and define as weak alias.
29940 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29941 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29942 to __totalordermag and define as weak alias.
29943 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29944 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29945 (ufromfp): Define as weak alias.
29946 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29947 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29948 __ufromfpx.
29949 (ufromfpx): Define as weak alias.
29950 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29951 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29952 Rename to __getpayload and define as weak alias.
29953 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29954 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29955 Rename to __roundeven and define as weak alias.
29956 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29957 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29958 Rename to __totalorder and define as weak alias.
29959 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29960 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29961 (totalordermag): Rename to __totalordermag and define as weak
29962 alias.
29963 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29964 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29965 macro.
29966 (__roundevenl): Likewise.
29967 (__totalorderl): Likewise.
29968 (__totalordermagl): Likewise
29969 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29970 __fromfpf128.
29971 (fromfpf128): Define as weak alias.
29972 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29973 __fromfpxf128.
29974 (fromfpxf128): Define as weak alias.
29975 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29976 __setpayloadf128.
29977 (setpayloadf128): Define as weak alias.
29978 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29979 __setpayloadsigf128.
29980 (setpayloadsigf128): Define as weak alias.
29981 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29982 __ufromfpf128.
29983 (ufromfpf128): Define as weak alias.
29984 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29985 __ufromfpxf128.
29986 (ufromfpxf128): Define as weak alias.
29987 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29988 (fromfpf): Define as weak alias.
29989 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29990 __fromfpxf.
29991 (fromfpxf): Define as weak alias.
29992 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29993 __getpayloadf and define as weak alias.
29994 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29995 __roundevenf and define as weak alias.
29996 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29997 __setpayloadf.
29998 (setpayloadf): Define as weak alias.
29999 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30000 __setpayloadsigf.
30001 (setpayloadsigf): Define as weak alias.
30002 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30003 __totalorderf and define as weak alias.
30004 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30005 Rename to __totalordermagf and define as weak alias.
30006 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30007 __ufromfpf.
30008 (ufromfpf): Define as weak alias.
30009 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30010 __ufromfpxf.
30011 (ufromfpxf): Define as weak alias.
30012 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30013 __fromfpl.
30014 (fromfpl): Define as weak alias.
30015 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30016 __fromfpxl.
30017 (fromfpxl): Define as weak alias.
30018 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30019 to __getpayloadl and define as weak alias.
30020 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30021 __roundevenl and define as weak alias.
30022 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30023 __setpayloadl.
30024 (setpayloadl): Define as weak alias.
30025 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30026 __setpayloadsigl.
30027 (setpayloadsigl): Define as weak alias.
30028 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30029 to __totalorderl and define as weak alias.
30030 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30031 Rename to __totalordermagl and define as weak alias.
30032 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30033 __ufromfpl.
30034 (ufromfpl): Define as weak alias.
30035 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30036 __ufromfpxl.
30037 (ufromfpxl): Define as weak alias.
30038 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30039 __fromfpl.
30040 (fromfpl): Define as weak alias.
30041 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30042 __fromfpxl.
30043 (fromfpxl): Define as weak alias.
30044 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30045 Rename to __getpayloadl and define as weak alias.
30046 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30047 to __roundevenl and define as weak alias. Call __roundeven
30048 instead of roundeven.
30049 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30050 __setpayloadl.
30051 (setpayloadl): Define as weak alias.
30052 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30053 __setpayloadsigl.
30054 (setpayloadsigl): Define as weak alias.
30055 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30056 Rename to __totalorderl and define as weak alias.
30057 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30058 Rename to __totalordermagl and define as weak alias.
30059 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30060 __ufromfpl.
30061 (ufromfpl): Define as weak alias.
30062 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30063 __ufromfpxl.
30064 (ufromfpxl): Define as weak alias.
30065 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30066 __fromfpl.
30067 (fromfpl): Define as weak alias.
30068 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30069 __fromfpxl.
30070 (fromfpxl): Define as weak alias.
30071 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30072 __getpayloadl and define as weak alias.
30073 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30074 __roundevenl and define as weak alias.
30075 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30076 __setpayloadl.
30077 (setpayloadl): Define as weak alias.
30078 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30079 __setpayloadsigl.
30080 (setpayloadsigl): Define as weak alias.
30081 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30082 __totalorderl and define as weak alias.
30083 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30084 Rename to __totalordermagl and define as weak alias.
30085 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30086 __ufromfpl.
30087 (ufromfpl): Define as weak alias.
30088 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30089 __ufromfpxl.
30090 (ufromfpxl): Define as weak alias.
30091
29c933fb
SP
300922017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30093
503c92c3
SP
30094 * benchtests/bench-string.h (realloc_bufs): New function.
30095 (test_init): Call it.
30096 * benchtests/bench-memset-large.c (do_test): Likewise.
30097 * benchtests/bench-memset.c (do_test): Likewise.
30098
29c933fb
SP
30099 * benchtests/bench-memset-large.c: Print output in JSON
30100 format.
30101 * benchtests/bench-memset.c: Likewise.
30102
799c8d69
MF
301032017-09-14 Mike FABIAN <mfabian@redhat.com>
30104
30105 [BZ #21084]
30106 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30107 * iconvdata/Makefile: Add IBM858.
30108 * iconvdata/gconv-modules: Likewise.
30109 * iconvdata/tst-tables.sh: Likewise.
30110 * iconvdata/ibm858.c: New file.
30111 * localedata/charmaps/IBM858: Likewise.
30112
c207f7ce 301132017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
30114
30115 [BZ #22023]
30116 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30117 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30118
f28a0926
AK
301192017-09-14 Mike FABIAN <mfabian@redhat.com>
30120
30121 [BZ #22112]
30122 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30123 and add tel_int_fmt.
30124
02093e62
JM
301252017-09-14 Joseph Myers <joseph@codesourcery.com>
30126
30127 * sysdeps/generic/libm-alias-float128.h: New file.
30128 * sysdeps/generic/math-type-macros-float128.h: Include
30129 <libm-alias-float128.h>.
30130 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30131
1aae75ef
JM
301322017-09-13 Joseph Myers <joseph@codesourcery.com>
30133
30134 * sysdeps/generic/libm-alias-ldouble.h: New file.
30135 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30136 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30137 * sysdeps/generic/math-type-macros-ldouble.h: Include
30138 <libm-alias-ldouble.h>.
30139 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30140 libm_alias_ldouble.
30141
bcea7ad6
SN
301422017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30143
30144 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30145 * math/w_exp_compat.c: ... here.
30146 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30147 * math/w_expf_compat.c: ... here.
30148 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30149 * math/w_expl_compat.c: ... here.
30150 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30151 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30152 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30153 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30154
0fc56478
JM
301552017-09-13 Joseph Myers <joseph@codesourcery.com>
30156
30157 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30158 redefine.
30159 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30160 macro.
30161 (ldexpl): Only define as compat symbol for libc, not libm.
30162 (scalbnl): Define as compat symbol for libc here.
30163 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30164 define for [IS_IN (libc)].
30165 (__ldexpl_2): Remove alias.
30166 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30167 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30168 name in long_double_symbol call.
30169 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30170 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30171 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30172 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30173 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30174 Remove macro.
30175 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30176 Define as compat symbol.
30177
3ca622e4
AZ
301782017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30179
30180 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30181 * sysdeps/unix/sysv/linux/alpha/Makefile
30182 [$(subdir) = csu] (sysdep_routines): Remove rule.
30183
620ff9ee
JM
301842017-09-13 Joseph Myers <joseph@codesourcery.com>
30185
30186 * sysdeps/generic/libm-alias-double.h: New file.
30187 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30188 * sysdeps/generic/math-type-macros-double.h: Include
30189 <libm-alias-double.h>.
30190 [declare_mgen_alias] (declare_mgen_alias): Define to use
30191 libm_alias_double.
30192 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30193 (M_LIBM_NEED_COMPAT): Remove macro.
30194 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30195 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30196 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30197 code.
30198 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30199 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30200 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30201 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30202 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30203 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30204 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30205 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30206 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30207 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30208 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30209 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30210 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30211 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30212 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30213 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30214 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30215 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30216 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30217 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30218 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30219 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30220 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30221 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30222 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30223 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30224 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30225 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30226 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30227 macro.
30228 (declare_mgen_alias): New macro.
30229 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30230 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30232 (M_LIBM_NEED_COMPAT): Remove macro.
30233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30234 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30235 <first-versions.h>.
30236 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30237 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30238
a891caff
JM
302392017-09-12 Joseph Myers <joseph@codesourcery.com>
30240
30241 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30242 (declare_mgen_alias_2): Remove.
30243 * sysdeps/generic/math-type-macros-double.h
30244 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30245 Likewise.
30246 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30247 alias.
30248 (ldexp): Define with declare_mgen_alias.
30249 (scalbn): Likewise.
30250
a1a78204
SE
302512017-09-12 Steve Ellcey <sellcey@cavium.com>
30252
30253 * grp/initgroups.c: Include config.h.
30254 (DEFAULT_CONFIG): New macro.
30255 (internal_getgrouplist): Use DEFAULT_CONFIG.
30256 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30257 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30258 (DEFAULT_DEFCONFIG): New macro.
30259 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30260 * nss/grp-lookup.c: Include config.h
30261 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30262 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30263 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30264 * manual/nss.texi: Update default values section.
30265
ef8adeb0
L
302662017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30267
30268 [BZ #21967]
30269 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30270 New.
30271 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30272 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30273 Handle MathVec_Prefer_No_AVX512.
30274 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30275 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30276 is set.
30277
a166531f
ST
302782017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30279
30280 * posix/sched_primax.c (__sched_get_priority_max): Add
30281 libc_hidden_def.
30282 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30283 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30284 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30285 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30286 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30287 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30288 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30289 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30290 Add aliases.
30291
4b7d1efb
JM
302922017-09-11 Joseph Myers <joseph@codesourcery.com>
30293
30294 * sysdeps/generic/libm-alias-float.h: New file.
30295 * sysdeps/generic/math-type-macros-float.h: Include
30296 <libm-alias-float.h>.
30297 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30298
45ff3463
L
302992017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30300
30301 [BZ #22093]
30302 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30303 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30304 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30305 (HWCAP_IMPORTANT): Likewise.
30306 (HWCAP_X86_64): New enum.
30307 (HWCAP_X86_AVX512_1): Updated.
30308 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30309 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30310 (modules-names): Add x86_64/tst-x86_64mod-1.
30311 (LDFLAGS-tst-x86_64mod-1.so): New.
30312 ($(objpfx)tst-x86_64-1): Likewise.
30313 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30314 (tst-x86_64-1-clean): Likewise.
30315 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30316 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30317
891abfd3
SP
303182017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30319
30320 * po/sv.po: Update translations.
30321 * po/fr.po: Likewise.
30322
00c3da43
ST
303232017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30324
30325 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30326 seconds.
3bdfd9fb
ST
30327 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30328 seconds.
65b22ebc 30329 * elf/rtld-Rules: Fix $(error) use.
00c3da43 30330
96480903
MF
303312017-09-09 Mike FABIAN <mfabian@redhat.com>
30332
30333 [BZ #14925]
30334 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30335 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30336 * localedata/locales/bn_BD: “Bengali” was still used in some
30337 comments. Change it to “Bangla”.
30338
4c03a696
MT
303392017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30340
30341 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30342
9c9ec581
SE
303432017-09-08 Steve Ellcey <sellcey@cavium.com>
30344
30345 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30346 thunderx2t99p1 to list of cpu names.
30347 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30348 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30349
f00bce74
SE
303502017-09-08 Steve Ellcey <sellcey@cavium.com>
30351
30352 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30353 Use strcmp instead of tunable_is_name.
30354
27342d17
JM
303552017-09-08 Joseph Myers <joseph@codesourcery.com>
30356
af1b7c8c
JM
30357 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30358 (F_GET_RW_HINT): New macro.
30359 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30360 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30361 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30362 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30363 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30364 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30365 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30366 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30367 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30368
27342d17
JM
30369 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30370 (F_ADD_SEALS): New macro.
30371 [__USE_GNU] (F_GET_SEALS): Likewise.
30372 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30373 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30374 [__USE_GNU] (F_SEAL_GROW): Likewise.
30375 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30376
c66c9082
AZ
303772017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30378
07b4f49d
AZ
30379 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30380 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30381 * posix/glob_internal.h (__glob_pattern_type):
30382 * posix/glob.c (glob):
30383 * posix/glob_pattern_p.c (__glob_pattern_p):
30384 Use them.
30385
116f1c64
AZ
30386 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30387 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30388 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30389 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30390 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30392 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30393 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30394 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30395 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30396 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30397 * sysdeps/wordsize-64/glob.c: Likewise.
30398 * sysdeps/wordsize-64/glob64.c: Likewise.
30399 * sysdeps/wordsize-64/globfree.c: Likewise.
30400 * sysdeps/wordsize-64/globfree64.c: Likewise.
30401 * sysdeps/unix/sysv/linux/glob.c: New file.
30402 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30403 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30404 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30405 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30406 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30407 adds !GLOB_NO_OLD_VERSION as an extra condition.
30408 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30409 using relative path instead of absolute one.
30410 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30411 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30412 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30413 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30414 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30415 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30416
ffca8901
AZ
30417 [BZ #1062]
30418 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30419 (glob): Use the same scratch buffer for both getlogin_r and
30420 getpwnam_r. Don’t require preallocation of the login name. This
30421 simplifies storage allocation, and corrects the handling of
30422 long login names.
30423
5a79f975
AZ
30424 [BZ #1062]
30425 * posix/glob.c (glob): Port recent patches to platforms
30426 lacking getpwnam_r.
30427 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30428 returns an error number rather than setting errno.
30429
e00f2425
AZ
30430 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30431 instead of GCC extension.
30432 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30433 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30434 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30435
5554304f
AZ
30436 [BZ #866]
30437 [BZ #1062]
30438 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30439 * posix/bug-glob1.c: Remove file.
30440 * posix/tst-glob_symlinks.c: New file.
30441 * posix/glob.c (__lstat64): New macro.
30442 (is_dir): New function.
30443 (glob, glob_in_dir): Match symlinks even if they are dangling.
30444 (link_stat, link_exists_p): Remove. All uses removed.
30445
686f2ea1
AZ
30446 [BZ #1062]
30447 [BZ #19971]
30448 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30449 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30450 All uses removed.
30451
c66c9082 30452 [BZ #1062]
914c9994 30453 CVE-2017-15671
c66c9082
AZ
30454 * posix/Makefile (routines): Add globfree, globfree64, and
30455 glob_pattern_p.
30456 * posix/flexmember.h: New file.
30457 * posix/glob_internal.h: Likewise.
30458 * posix/glob_pattern_p.c: Likewise.
30459 * posix/globfree.c: Likewise.
30460 * posix/globfree64.c: Likewise.
30461 * sysdeps/gnu/globfree64.c: Likewise.
30462 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30463 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30464 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30465 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30466 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30467 * sysdeps/wordsize-64/globfree.c: Likewise.
30468 * sysdeps/wordsize-64/globfree64.c: Likewise.
30469 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30470 [NDEBUG): Remove comments.
30471 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30472 (dirent_type): New type. Use uint_fast8_t not
30473 uint8_t, as C99 does not require uint8_t.
30474 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30475 (struct readdir_result): Use dirent_type. Do not define skip_entry
30476 unless it is needed; this saves a byte on platforms lacking d_ino.
30477 (readdir_result_type, readdir_result_skip_entry):
30478 New functions, replacing ...
30479 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 30480 these functions, which were removed. This makes the callers
c66c9082
AZ
30481 easier to read. All callers changed.
30482 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30483 (size_add_wrapv, glob_use_alloca): New static functions.
30484 (glob, glob_in_dir): Check for size_t overflow in several places,
30485 and fix some size_t checks that were not quite right.
30486 Remove old code using SHELL since Bash no longer
30487 uses this.
30488 (glob, prefix_array): Separate MS code better.
30489 (glob_in_dir): Remove old Amiga and VMS code.
30490 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30491 separate files.
30492 (glob_in_dir): Do not rely on undefined behavior in accessing
30493 struct members beyond their bounds. Use a flexible array member
30494 instead
30495 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30496 0/1. Caller changed.
30497 (glob): Fix memory leaks.
30498 * posix/glob64 (globfree64): Move to separate file.
30499 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30500 (globfree64): Remove hidden alias.
30501 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30502 oldglob.
30503 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30504 separate file.
30505 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30506 define.
30507 Move compat code to separate file.
30508 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30509 separate file.
30510
78bfa877
L
305112017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30512
30513 * resolv/tst-resolv-qtypes.c (domain): Changed to
30514 "const char domain[] =".
30515
05f0011f
JM
305162017-09-07 Joseph Myers <joseph@codesourcery.com>
30517
85bec0f2
JM
30518 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30519 version to 3.1.6.
30520
5c23ee6e
JM
30521 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30522 (TCP_MD5SIG_EXT): Likewise.
30523 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30524 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30525 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30526
05f0011f
JM
30527 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30528
7c9c5be9
MF
305292017-09-07 Mike FABIAN <mfabian@redhat.com>
30530
30531 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30532
c207f7ce 305332017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
30534
30535 [BZ #22100]
30536 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30537
507fe027
ST
305382017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30539
30540 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30541 before assuming that the file is empty. Avoid testing buffer content
30542 when nread == 0.
30543
65687ac7
AZ
305442017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30545
7bbbb4b9 30546 [BZ #18858]
65687ac7
AZ
30547 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30548 Remove define.
30549 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30550 Likewise.
30551 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30552 Likewise.
30553 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30554 Likewise.
30555 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30556 Likewise.
30557 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30558 Likewise.
30559 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30560 Likewise.
30561
ab5ac271
FW
305622017-09-06 Florian Weimer <fweimer@redhat.com>
30563
30564 * malloc/dynarray_emplace_enlarge.c
30565 (__libc_dynarray_emplace_enlarge): Add missing else.
30566
a8304730
FW
305672017-09-06 Florian Weimer <fweimer@redhat.com>
30568
30569 [BZ #22096]
30570 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30571 case of failure to obtain the global conf object.
30572
5670c4ab
FW
305732017-09-06 Florian Weimer <fweimer@redhat.com>
30574
30575 [BZ #22095]
30576 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30577 dynarray allocation failure.
30578
c77eb969
FW
305792017-09-06 Florian Weimer <fweimer@redhat.com>
30580
30581 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30582 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30583 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30584 New functions.
30585 (response): Call them. Add 'p', '6' flag processing.
30586 (test_reverse): New function.
30587 (test_get2_any): Call it.
30588 (test_no_inet6): Add 'p' test.
30589 (test_inet6): Likewise.
30590
5e9c4d17
FW
305912017-09-06 Florian Weimer <fweimer@redhat.com>
30592
30593 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30594 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30595 the QNAME.
30596 (test_gai): Adjust query names. Add additional tests.
30597 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30598 test_get2. Adjust query names. Add additional tests.
30599 (test_no_inet6): New function, extracted from threadfunc.
30600 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30601 Add additional tests.
30602
2ae5be04
MF
306032017-09-06 Mike FABIAN <mfabian@redhat.com>
30604
30605 [BZ #22070]
30606 * localedata/unicode-gen/utf8_gen.py: Set the width for
30607 characters with Prepended_Concatenation_Mark property to 1
30608 * localedata/charmaps/UTF-8: Updated using the improved script.
30609
af83ed5c
MF
306102017-09-06 Mike FABIAN <mfabian@redhat.com>
30611
30612 [BZ #21750]
30613 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30614 use the range notation for all ranges of neighbouring characters
30615 with the same width.
30616
4f3647e4
JM
306172017-09-05 Joseph Myers <joseph@codesourcery.com>
30618
30619 * sysdeps/generic/math-type-macros-double.h: Include
30620 <math-svid-compat.h>.
30621 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30622 * sysdeps/generic/math-type-macros-float.h: Include
30623 <math-svid-compat.h>.
30624 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30625 * sysdeps/generic/math-type-macros-ldouble.h: Include
30626 <math-svid-compat.h>.
30627 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30628 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30629 condition.
30630 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30631 * math/w_acosf_compat.c: Likewise.
30632 * math/w_acosh_compat.c: Likewise.
30633 * math/w_acoshf_compat.c: Likewise.
30634 * math/w_acoshl_compat.c: Likewise.
30635 * math/w_acosl_compat.c: Likewise.
30636 * math/w_asin_compat.c: Likewise.
30637 * math/w_asinf_compat.c: Likewise.
30638 * math/w_asinl_compat.c: Likewise.
30639 * math/w_atan2_compat.c: Likewise.
30640 * math/w_atan2f_compat.c: Likewise.
30641 * math/w_atan2l_compat.c: Likewise.
30642 * math/w_atanh_compat.c: Likewise.
30643 * math/w_atanhf_compat.c: Likewise.
30644 * math/w_atanhl_compat.c: Likewise.
30645 * math/w_cosh_compat.c: Likewise.
30646 * math/w_coshf_compat.c: Likewise.
30647 * math/w_coshl_compat.c: Likewise.
30648 * math/w_exp10_compat.c: Likewise.
30649 * math/w_exp10f_compat.c: Likewise.
30650 * math/w_exp10l_compat.c: Likewise.
30651 * math/w_exp2_compat.c: Likewise.
30652 * math/w_exp2f_compat.c: Likewise.
30653 * math/w_exp2l_compat.c: Likewise.
30654 * math/w_fmod_compat.c: Likewise.
30655 * math/w_fmodf_compat.c: Likewise.
30656 * math/w_fmodl_compat.c: Likewise.
30657 * math/w_hypot_compat.c: Likewise.
30658 * math/w_hypotf_compat.c: Likewise.
30659 * math/w_hypotl_compat.c: Likewise.
30660 * math/w_j0_compat.c: Likewise.
30661 * math/w_j0f_compat.c: Likewise.
30662 * math/w_j0l_compat.c: Likewise.
30663 * math/w_j1_compat.c: Likewise.
30664 * math/w_j1f_compat.c: Likewise.
30665 * math/w_j1l_compat.c: Likewise.
30666 * math/w_jn_compat.c: Likewise.
30667 * math/w_jnf_compat.c: Likewise.
30668 * math/w_jnl_compat.c: Likewise.
30669 * math/w_lgamma_r_compat.c: Likewise.
30670 * math/w_lgammaf_r_compat.c: Likewise.
30671 * math/w_lgammal_r_compat.c: Likewise.
30672 * math/w_log10_compat.c: Likewise.
30673 * math/w_log10f_compat.c: Likewise.
30674 * math/w_log10l_compat.c: Likewise.
30675 * math/w_log2_compat.c: Likewise.
30676 * math/w_log2f_compat.c: Likewise.
30677 * math/w_log2l_compat.c: Likewise.
30678 * math/w_log_compat.c: Likewise.
30679 * math/w_logf_compat.c: Likewise.
30680 * math/w_logl_compat.c: Likewise.
30681 * math/w_pow_compat.c: Likewise.
30682 * math/w_powf_compat.c: Likewise.
30683 * math/w_powl_compat.c: Likewise.
30684 * math/w_remainder_compat.c: Likewise.
30685 * math/w_remainderf_compat.c: Likewise.
30686 * math/w_remainderl_compat.c: Likewise.
30687 * math/w_sinh_compat.c: Likewise.
30688 * math/w_sinhf_compat.c: Likewise.
30689 * math/w_sinhl_compat.c: Likewise.
30690 * math/w_sqrt_compat.c: Likewise.
30691 * math/w_sqrtf_compat.c: Likewise.
30692 * math/w_sqrtl_compat.c: Likewise.
30693 * math/w_tgamma_compat.c: Likewise.
30694 * math/w_tgammaf_compat.c: Likewise.
30695 * math/w_tgammal_compat.c: Likewise.
30696 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30697 [LIBM_SVID_COMPAT].
30698 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30699 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30700 [LIBM_SVID_COMPAT].
30701 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30702 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30703 [LIBM_SVID_COMPAT].
30704 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30705 * sysdeps/i386/fpu/w_sqrt.c: New file.
30706 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30707 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30708 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30709 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30710 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30711 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30712 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30713 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30714 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30715 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30716 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30717 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30718 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30719 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30720 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30721 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30722 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30723 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30724 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30725 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30726 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30727 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30728 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30729 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30730 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30731 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30732 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30733 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30734 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30735 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30736 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30737 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30738 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30739 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30740 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30741 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30742 * sysdeps/ia64/fpu/w_log.c: Likewise.
30743 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30744 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30745 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30746 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30747 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30748 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30749 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30750 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30751 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30752 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30753 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30754 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30755 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30756 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30757 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30758 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30759 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30760 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30761 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30762 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30763 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30764 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30765 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30766 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30767 [LIBM_SVID_COMPAT].
30768 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30769 * sysdeps/ieee754/k_standard.c: Likewise.
30770 * sysdeps/ieee754/k_standardf.c: Likewise.
30771 * sysdeps/ieee754/k_standardl.c: Likewise.
30772 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30773 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30774 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30775 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30776 long_double_symbol call on [LIBM_SVID_COMPAT].
30777 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30778 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30779 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30780 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30781 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30782 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30783 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30784 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30785 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30786 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30787 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30788 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30789 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30790 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30791 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30792 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30793 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30794 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30795 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30796 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30797 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30798 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30799
05b38d64
SE
308002017-09-05 Steve Ellcey <sellcey@cavium.com>
30801
30802 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30803 * malloc/tst-mallocstate.c: Convert from test-skeleton
30804 to test-driver. Ifdef code using TEST_COMPAT macro.
30805 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30806 * math/test-matherr.c: Likewise.
30807
99d67918
JM
308082017-09-05 Joseph Myers <joseph@codesourcery.com>
30809
30810 [BZ #22086]
30811 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30812 comparing word with byte-swapped constant.
30813
c207f7ce 308142017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
30815
30816 [BZ #20498]
30817 * locale/iso-639.def: add Miskito.
30818 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30819 * localedata/locales/miq_NI: New file.
30820
0a587a8a
L
308212017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30822
30823 [BZ #18822]
30824 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30825 (__mkdir): Likewise.
30826 * io/chmod.c (__chmod): Add libc_hidden_def.
30827 * io/mkdir.c (__mkdir): Likewise.
30828 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30829 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30830 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30831 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30832
f3a129b8
JM
308332017-09-04 Joseph Myers <joseph@codesourcery.com>
30834
1650e192
JM
30835 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30836 version to 4.13.
30837
f3a129b8
JM
30838 [BZ #22082]
30839 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30840 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30841
b38042f5
FW
308422017-09-04 Florian Weimer <fweimer@redhat.com>
30843
30844 * math/math.h: Issue warning if log is defined.
30845
059b6404
JM
308462017-09-04 Joseph Myers <joseph@codesourcery.com>
30847
30848 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30849 kernel version to 4.13.
30850
b794e16b
ST
308512017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30852
30853 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
30854 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30855 parameter.
01969395
ST
30856 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30857 just <bits/types.h>.
dd2b31de 30858 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 30859 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 30860 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 30861 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
30862 * misc/preadv2.c: Include <errno.h>.
30863 * misc/preadv64v2.c: Include <errno.h>.
30864 * misc/pwritev2.c: Include <errno.h>.
30865 * misc/pwritev64v2.c: Include <errno.h>.
30866 * sysdeps/posix/preadv2.c: Include <errno.h>.
30867 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30868 Fix <unistd.h> inclusion.
30869 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30870 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
30871 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30872 __strtoul_internal): New functions.
127e7773
ST
30873 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30874 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
30875 * sysdeps/mach/hurd/i386/Makefile
30876 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30877 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30878 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
30879 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30880 __feraiseexcept_renamed to feraiseexcept instead of
30881 __GI_feraiseexcept.
56bf5497 30882 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 30883 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
30884 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30885 RWF_NOWAIT): Define to 0 if undefined already.
30886 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30887 boils down to 0.
6547ec0a
ST
30888 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30889 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 30890
5a80d39d
JM
308912017-09-01 Joseph Myers <joseph@codesourcery.com>
30892
30893 * manual/math.texi (pow10): Do not document.
30894 (pow10f): Likewise.
30895 (pow10l): Likewise.
30896 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30897 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30898 * math/libm-test-exp10.inc (pow10_test): Remove.
30899 (do_test): Do not call pow10.
30900 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30901 [NO_LONG_DOUBLE] (pow10l): Likewise.
30902 * math/w_exp10f_compat.c (pow10f): Likewise.
30903 * math/w_exp10l_compat.c (pow10l): Likewise.
30904 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30905 (pow10): Make into compat symbol.
30906 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30907 (pow10f): Make into compat symbol.
30908 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30909 (pow10l): Make into compat symbol.
30910 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30911 pow10.
30912 (CFLAGS-nldbl-pow10.c): Remove variable..
30913 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30914 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30915 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30916 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30917 Undefine and redefine.
30918 (pow10l): Make into compat symbol.
30919 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30920 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30921 * sysdeps/arm/libm-test-ulps: Likewise.
30922 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30923 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30924 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30925 * sysdeps/microblaze/libm-test-ulps: Likewise.
30926 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30927 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30928 * sysdeps/nios2/libm-test-ulps: Likewise.
30929 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30930 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30931 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30932 * sysdeps/sh/libm-test-ulps: Likewise.
30933 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30934 * sysdeps/tile/libm-test-ulps: Likewise.
30935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30936
3824fc38
PP
309372017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30938
30939 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30940
b3008279
L
309412017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30942
30943 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30944 "../ChangeLog.old/ChangeLog.8".
30945 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30946 "../ChangeLog.old/ChangeLog.14".
30947
136fa185
L
309482017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30949
30950 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30951 Threads Library.
30952
c18d50a2
JM
309532017-09-01 Joseph Myers <joseph@codesourcery.com>
30954
30955 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30956
bedbd859
L
309572017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30958
30959 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30960 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30961
50c66c7a
PP
309622017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30963
30964 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30965 32 atexit handlers.
30966
a617bd11
ZW
309672017-09-01 Zack Weinberg <zackw@panix.com>
30968
30969 * math/math.h (HUGE_VAL): Improve commentary.
30970
e0d2eb5a
AZ
309712017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30972 Andreas Schwab <schwab@suse.de>
30973
30974 [BZ #21530]
30975 * include/stdio.h (__gen_tempfd): New function.
30976 * stdio-common/Makefile (routines): Add gentempfd.
30977 * stdio-common/gentempfd.c: New file.
30978 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30979 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30980 unnamed file first.
30981
f4a6be25
FW
309822017-09-01 Florian Weimer <fweimer@redhat.com>
30983
30984 [BZ #21915]
30985 [BZ #21922]
30986 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30987 result to determine success or failure, not the errno value.
30988 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30989 (tst-nss-files-hosts-erange): Link with -ldl.
30990 * nss/tst-nss-files-hosts-erange.c: New file.
30991 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30992 (do_test): Add NO_DATA tests.
30993 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30994 (do_test): Call it.
30995
5f8340f5
FW
309962017-09-01 Florian Weimer <fweimer@redhat.com>
30997
30998 [BZ #21922]
30999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31000 coming from gethostbyname2_r.
31001
65329bd2
FW
310022017-09-01 Florian Weimer <fweimer@redhat.com>
31003
31004 * support/namespace.h (struct support_chroot_configuration): Add
31005 hosts, host_conf.
31006 (struct support_chroot): Add path_hosts, path_host_conf.
31007 * support/support_chroot.c (write_file): New function.
31008 (support_chroot_create): Call it to process /etc/resolv.conf,
31009 /etc/hosts, /etc/host.conf.
31010 (support_chroot_free): Update.
31011
a2881ef0
FW
310122017-09-01 Florian Weimer <fweimer@redhat.com>
31013
31014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31015 status indicates it is set.
31016
ad816a5e
FW
310172017-09-01 Florian Weimer <fweimer@redhat.com>
31018
63b52889 31019 [BZ #20532]
ad816a5e
FW
31020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31021 function lookup failures more reliable.
31022
53250a21
FW
310232017-09-01 Florian Weimer <fweimer@redhat.com>
31024
31025 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31026 (getcanonname): Likewise.
31027 (gaih_inet): Likewise.
31028
924b121c
FW
310292017-09-01 Florian Weimer <fweimer@redhat.com>
31030
31031 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31032 (getcanonname): Likewise.
31033 (gaih_inet): Likewise.
31034
d9ff799a 310352017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 31036 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
31037
31038 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31039 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31040 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31041 (IREG_SIZE, OREG_SIZE): New macros.
31042 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31043 (IREG_SIZE, OREG_SIZE): New macros.
31044 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31045 (IREG_SIZE): New macro.
31046 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31047 (IREG_SIZE): New macro.
31048 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31049 New includes.
31050 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31051 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31052 (__CONCATX): Handle exceptions correctly on large values that may
31053 set FE_INVALID.
31054 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31055 Initialize if not already set.
b39d961c 31056 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 31057
102dde84
AZ
310582017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31059
31060 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31061 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31062 Likewise.
31063 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31064 Likewise.
31065 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31066 Likewise.
31067 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31068 Likewise.
31069 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31070 Likewise.
31071 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31072 Likewise.
31073 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31074 Likewise.
31075 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31076 (NO_CANCELLATION): Likewise.
31077 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31078 Likewise.
31079 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31080 Likewise.
31081 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31082 Likewise.
31083 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31084 (NO_CANCELLATION): Likewise.
31085 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31086 (NO_CANCELLATION): Likewise.
31087 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31088 Likewise
31089 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31090 Likewise.
31091 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31092 Likewise.
31093 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31094 Likewise.
31095 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31096 hidden prototype.
31097 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31098 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31099
9eee633b
SE
311002017-08-31 Steve Ellcey <sellcey@cavium.com>
31101
31102 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31103 in resolver call.
31104
65284eb7
FW
311052017-08-31 Florian Weimer <fweimer@redhat.com>
31106
31107 * include/libc-symbols.h (internal_function): Remove.
31108
41ad5ca6
FW
311092017-08-31 Florian Weimer <fweimer@redhat.com>
31110
31111 * stdlib/fmtmsg.c (internal_addseverity): Remove
31112 internal_function.
31113
2fa6d086
FW
311142017-08-31 Florian Weimer <fweimer@redhat.com>
31115
31116 * stdio-common/printf_fp.c (group_number): Remove
31117 internal_function.
31118 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31119
b41bd5bc
FW
311202017-08-31 Florian Weimer <fweimer@redhat.com>
31121
31122 * posix/fnmatch.c (internal_function): Remove definition.
31123 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31124 * posix/regcomp.c (peek_token, init_word_char)
31125 (duplicate_node_closure, fetch_token, peek_token)
31126 (peek_token_bracket, build_range_exp, build_collating_symbol):
31127 Likewise.
31128 * posix/regex_internal.c (re_string_construct_common)
31129 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31130 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31131 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31132 (re_string_translate_buffer, re_string_reconstruct)
31133 (re_string_peek_byte_case, re_string_fetch_byte_case)
31134 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31135 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31136 (re_node_set_add_intersect, re_node_set_init_union)
31137 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31138 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31139 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31140 (re_acquire_state_context): Likewise.
31141 * posix/regex_internal.h (internal_function): Remove definition.
31142 (re_string_realloc_buffers, build_wcs_buffer)
31143 (build_wcs_upper_buffer, build_upper_buffer)
31144 (re_string_translate_buffer, re_string_context_at)
31145 (re_string_char_size_at, re_string_wchar_at)
31146 (re_string_elem_size_at): Likewise.
31147 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31148 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31149 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31150 (re_search_internal, re_search_2_stub, re_search_stub)
31151 (re_copy_regs, prune_impossible_nodes, check_matching)
31152 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31153 (free_fail_stack_return, sift_states_iter_mb)
31154 (sift_states_backward, build_sifted_states)
31155 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31156 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31157 (check_subexp_limits, sift_states_bkref, merge_state_array)
31158 (find_recover_state, transit_state, merge_state_with_log)
31159 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31160 (transit_state_mb, transit_state_bkref, get_subexp)
31161 (get_subexp_sub, find_subexp_node, check_arrival)
31162 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31163 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31164 (check_node_accept_bytes, find_collation_sequence_value)
31165 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31166 (acquire_init_state_context, check_halt_node_context)
31167 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31168 (sub_epsilon_src_nodes): Likewise.
31169 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31170 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31171 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31172 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31173 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31174 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31175 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31176 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31177 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31178 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31179 (PREADV): Likewise.
31180 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31181 (PREADV): Likewise.
31182 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31183 (PWRITEV): Likewise.
31184 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31185 (PWRITEV): Likewise.
31186 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31187 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31188
83b09837
FW
311892017-08-31 Florian Weimer <fweimer@redhat.com>
31190
31191 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31192 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31193 Remove internal_function.
31194 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31195 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31196 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31197 (__deallocate_stack, __libc_pthread_init)
31198 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31199 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31200 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31201 Likewise.
31202 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31203 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31204 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31205 Likewise.
31206 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31207 (__pthread_mutex_unlock_usercnt): Likewise.
31208
116ac301
FW
312092017-08-31 Florian Weimer <fweimer@redhat.com>
31210
31211 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31212 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31213 (fts_safe_changedir): Remove internal_function.
31214 * io/ftw.c (internal_function): Remove definition.
31215 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31216
9da93bd7
FW
312172017-08-31 Florian Weimer <fweimer@redhat.com>
31218
31219 * inet/deadline.c (__deadline_current_time)
31220 (__deadline_from_timeval, __deadline_to_ms): Remove
31221 internal_function.
31222 * inet/getnameinfo.c (nrl_domainname): Likewise.
31223 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31224 * inet/inet6_option.c (add_pad): Likewise.
31225 * inet/net-internal.h (__deadline_current_time)
31226 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31227 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31228 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31229 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31230
a60eca2e
JM
312312017-08-31 Joseph Myers <joseph@codesourcery.com>
31232
c0c49d60
JM
31233 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31234 include <bits/nan.h>.
31235 * math/Makefile (headers): Remove bits/nan.h.
31236 * bits/nan.h: Remove.
31237 * sysdeps/ieee754/bits/nan.h: Likewise.
31238 * sysdeps/mips/bits/nan.h: Likewise.
31239
5ef1b213
JM
31240 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31241 not include <bits/inf.h>.
31242 * math/Makefile (headers): Remove bits/inf.h.
31243 * bits/inf.h: Remove.
31244 * sysdeps/ieee754/bits/inf.h: Likewise.
31245
a60eca2e
JM
31246 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31247 bits/huge_vall.h or bits/huge_val_flt128.h.
31248 (HUGE_VAL): Define directly here.
31249 [__USE_ISOC99] (HUGE_VALF): Likewise.
31250 [__USE_ISOC99] (HUGE_VALL): Likewise.
31251 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31252 (HUGE_VAL_F128): Likewise.
31253 * math/Makefile (headers): Remove bits/huge_val.h,
31254 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31255 * bits/huge_val.h: Remove.
31256 * bits/huge_val_flt128.h: Likewise.
31257 * bits/huge_valf.h: Likewise.
31258 * bits/huge_vall.h: Likewise.
31259 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31260 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31261 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31262 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31263 * sysdeps/sh/bits/huge_val.h: Likewise.
31264 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31265 * sysdeps/x86/bits/huge_vall.h: Likewise.
31266
17e00cc6
FW
312672017-08-31 Florian Weimer <fweimer@redhat.com>
31268
31269 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31270 internal_function.
31271 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31272 Likewise.
31273 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31274 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31275 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31276 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31277 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31278 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31279 * elf/dl-libc.c (dlerror_run): Likewise.
31280 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31281 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31282 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31283 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31284 Likewise.
31285 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31286 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31287 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31288 * elf/dl-profile.c (_dl_start_profile): Likewise.
31289 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31290 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31291 Likewise.
31292 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31293 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31294 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31295 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31296 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31297 (_dl_allocate_tls_storage): Likewise.
31298 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31299 (_dl_check_all_versions): Likewise.
31300 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31301 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31302 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31303 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31304 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31305 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31306 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31307 internal_function from __dl_start.
31308 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31309 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31310 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31311 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31312 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31313 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31314 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31315 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31316 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31317 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31318 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31319 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31320 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31321 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31322 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31323 Likewise.
31324 (struct rtld_global_ro): Remove internal_function from the
31325 _dl_lookup_symbol_x member.
31326 (_dl_symbol_value): Remove. No longer defined anywhere.
31327 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31328 internal_function.
31329 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31330 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31331 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31332 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31333 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31334 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31335 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31336 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31337 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31338 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31339 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31340 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31341
8d2f9410
FW
313422017-08-31 Florian Weimer <fweimer@redhat.com>
31343
31344 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31345 Remove internal_function.
31346 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31347 Likewise.
31348 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31349 Likewise.
31350
86e4919f
FW
313512017-08-31 Florian Weimer <fweimer@redhat.com>
31352
31353 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31354 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31355 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31356
59bd52b0
FW
313572017-08-31 Florian Weimer <fweimer@redhat.com>
31358
31359 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31360 (__gai_enqueue_request): Remove internal_function.
31361 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31362 (__gai_remove_request, __gai_notify, __gai_notify_only)
31363 (__gai_sigqueue): Likewise.
31364 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31365 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31366 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31367 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31368 Likewise.
31369
fc3d9497
FW
313702017-08-31 Florian Weimer <fweimer@redhat.com>
31371
31372 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31373 * include/dirent.h (__opendirat, __getdents, __getdents64)
31374 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31375 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31376 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31377 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31378 Likewise.
31379 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31380
18c54fac
FW
313812017-08-31 Florian Weimer <fweimer@redhat.com>
31382
31383 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31384 internal_function.
31385 (GETCWD_RETURN_TYPE): Likewise.
31386
7e01f080
FW
313872017-08-31 Florian Weimer <fweimer@redhat.com>
31388
31389 * include/time.h (__tz_compute, __strptime_internal): Remove
31390 internal_function.
31391 * time/strptime_l.c (__strptime_internal): Likewise.
31392 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31393
d7ccc6c9
FW
313942017-08-31 Florian Weimer <fweimer@redhat.com>
31395
31396 * iconv/gconv.c (__gconv): Remove internal_function.
31397 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31398 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31399 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31400 (__gconv_release_cache): Likewise.
31401 * iconv/gconv_close.c (__gconv_close): Likewise.
31402 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31403 (read_conf_file, __gconv_get_path): Likewise.
31404 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31405 (__gconv_release_step, gen_steps, increment_counter)
31406 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31407 (__gconv_close_transform, free_modules_db): Likewise.
31408 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31409 Likewise.
31410 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31411 (__gconv_find_transform, __gconv_lookup_cache)
31412 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31413 (__gconv_close_transform, __gconv_release_cache)
31414 (__gconv_loaded_object, __gconv_release_shlib)
31415 (__gconv_compare_alias): Likewise.
31416 * iconv/gconv_open.c (__gconv_open): Likewise.
31417 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31418 * iconv/iconvconfig.c (add_module): Likewise.
31419 * intl/dcigettext.c (plural_lookup, guess_category_value)
31420 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31421 * intl/eval-plural.h (plural_eval): Likewise.
31422 * intl/finddomain.c (_nl_find_domain): Likewise.
31423 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31424 (_nl_load_domain, _nl_find_msg): Likewise.
31425 (internal_function): Remove definition.
31426 * intl/loadinfo.h (internal_function): Likewise.
31427 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31428 internal_function.
31429 * intl/localealias.c (internal_function): Remove definition.
31430 (read_alias_file): Remove internal_function.
31431 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31432 * intl/plural-exp.h (internal_function): Remove definition.
31433 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31434 internal_function.
31435 * intl/plural.c: Regenerate.
31436 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31437 * locale/coll-lookup.c (__collidx_table_lookup)
31438 (__collseq_table_lookup): Likewise.
31439 * locale/coll-lookup.h (__collidx_table_lookup)
31440 (__collseq_table_lookup): Likewise.
31441 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31442 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31443 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31444 (_nl_unload_locale): Likewise.
31445 * locale/localeinfo.h (struct __locale_data): Remove
31446 internal_function from cleanup member.
31447 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31448 (_nl_remove_locale, _nl_load_locale_from_archive)
31449 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31450 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31451 (_nl_cleanup_time): Remove internal_function.
31452 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31453 (_nl_parse_alt_digit): Likewise.
31454 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31455 (_nl_select_era_entry): Likewise.
31456 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31457 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31458 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
31459 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31460 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 31461
dab0eece
FW
314622017-08-31 Florian Weimer <fweimer@redhat.com>
31463
31464 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31465 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31466 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31467 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31468 Likewise.
31469 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31470 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31471 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31472 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31473 Likewise.
31474 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31475
ab5bf7cf
FW
314762017-08-31 Florian Weimer <fweimer@redhat.com>
31477
31478 * misc/getttyent.c (skip, value): Remove internal_function.
31479 * misc/syslog.c (openlog_internal): Likewise.
31480 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31481
75b3047e
FW
314822017-08-31 Florian Weimer <fweimer@redhat.com>
31483
31484 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31485 (__nss_rewrite_field): Remove internal_function.
31486 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31487 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31488 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31489 * nss/nsswitch.c (nss_parse_file, nss_getline)
31490 (nss_parse_service_list, nss_new_service): Likewise.
31491 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31492 * nss/valid_field.c (__nss_valid_field): Likewise.
31493 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31494
0c71122c
FW
314952017-08-31 Florian Weimer <fweimer@redhat.com>
31496
31497 * malloc/arena.c (__malloc_fork_lock_parent)
31498 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31499 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31500 internal_function from defintions.
31501 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31502 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31503 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31504 internal_function from declarations.
31505 * malloc/malloc.c (internal_function): Do not define.
31506 (mem2mem_check): Remove internal_function from declaration.
31507 (munmap_chunk, mremap_chunk): Remove internal_function.
31508 * malloc/mtrace.c (tr_where): Likewise.
31509
ca4ec803
FW
315102017-08-31 Florian Weimer <fweimer@redhat.com>
31511
31512 * include/rpc/pmap_clnt.h (__get_socket): Remove
31513 internal_function.
31514 * sunrpc/auth_des.c (synchronize): Likewise.
31515 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31516 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31517 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31518 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31519 (key_call): Likewise.
31520 * sunrpc/pm_getport.c (__get_socket): Likewise.
31521 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31522 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31523 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31524 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31525 (invalidate): Likewise.
31526 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31527 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31528 (set_input_fragment, get_input_bytes): Likewise.
31529
24cffce7
FW
315302017-08-31 Florian Weimer <fweimer@redhat.com>
31531
31532 * malloc/malloc.c (_int_free): Remove locked variable and related
31533 asserts.
31534
ecd0747d
L
315352017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31536
31537 [BZ #22051]
31538 * Makerules (build-module-helper-objlist): Filter out
31539 $(elf-objpfx)sofini.os.
31540 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31541 needed.
31542
5f0704b6
FW
315432017-08-31 Florian Weimer <fweimer@redhat.com>
31544
31545 * libio/fcloseall.c: Assume weak_alias is defined.
31546 * libio/feof.c: Likewise.
31547 * libio/fileno.c: Likewise.
31548 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31549 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31550 definitions.
31551 (_IO_file_open): Call __open directly.
31552 (_IO_new_file_sync): Assume ESPIPE is defined.
31553 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31554 (_IO_new_file_write): Call __write directly.
31555 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31556 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31557 * libio/genops.c: Assume _LIBC is defined.
31558 (save_for_backup): Remove internal_function.
31559 * libio/getc.c: Assume weak_alias is defined.
31560 * libio/getwc.c: Likewise.
31561 * libio/iofclose.c: Assume _LIBC is defined.
31562 * libio/iofdopen.c: Likewise.
31563 (_IO_fcntl): Remove macro definition.
31564 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31565 Call __fcntl directly.
31566 * libio/iofflush.c: Assume weak_alias is defined.
31567 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31568 defined.
31569 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31570 * libio/iofgets.c: Likewise.
31571 * libio/iofopen.c: Assume _LIBC is defined.
31572 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31573 * libio/iofputs.c: Assume weak_alias is defined.
31574 * libio/iofread.c: Likewise.
31575 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31576 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31577 * libio/ioftell.c: Assume weak_alias is defined.
31578 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31579 * libio/iofwide.c: Assume _LIBC is defined.
31580 (_IO_fwide): Drop SHARED conditional because it is implied by
31581 SHLIB_COMPAT.
31582 * libio/iofwrite.c: Assume weak_alias is defined.
31583 * libio/iogetdelim.c: Likewise.
31584 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31585 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31586 (_IO_getwline): Call __wmemcpy directly.
31587 * libio/iopopen.c: Assume _LIBC is defined.
31588 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31589 (_IO_close): Remove macro definitions.
31590 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31591 _exit directly.
31592 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31593 directly.
31594 * libio/ioputs.c: Assume weak_alias is defined.
31595 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31596 * libio/iosetbuffer.c: Assume weak_alias is defined.
31597 * libio/iosetvbuf.c: Likewise.
31598 * libio/ioungetc.c: Likewise.
31599 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31600 libc_hidden_def, libc_hidden_weak, NULL are defined.
31601 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31602 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31603 defined.
31604 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31605 definitions.
31606 (_IO_old_file_init_internal): Drop SHARED conditional because it
31607 is implied by SHLIB_COMPAT.
31608 (_IO_old_file_fopen): Call __open directly.
31609 (_IO_old_file_sync): Assume ESPIPE is defined.
31610 (_IO_old_file_write): Call __write directly.
31611 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31612 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31613 Call __fcntl directly.
31614 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31615 (_IO_old_fgetpos): Assume EIO is defined.
31616 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31617 (_IO_old_fgetpos64): Assume EIO is defined.
31618 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31619 (_IO_old_fsetpos): Assume EIO is defined.
31620 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31621 (_IO_old_fsetpos64): Assume EIO is defined.
31622 * libio/oldiopopen.c: Assume _LIBC is defined.
31623 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31624 (_IO_close): Remove macro definitions.
31625 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31626 directly.
31627 (_IO_old_proc_close): Call __close, __waitpid directly.
31628 * libio/put.c: Assume weak_alias is defined.
31629 * libio/stdfiles.c: Assume _LIBC is defined.
31630 * libio/stdio.c: Likewise.
31631 * libio/wfileops.c: Likewise.
31632 (_IO_wfile_sync): Assume ESPIPE is defined.
31633 * libio/wgenops.c: Assume _LIBC is defined.
31634 (save_for_wbackup): Remove internal_function.
31635
5129873a
FW
316362017-08-31 Florian Weimer <fweimer@redhat.com>
31637
31638 * malloc/malloc.c (top_check): Change return type to void. Remove
31639 internal_function.
31640 * malloc/hooks.c (top_check): Likewise.
31641 (malloc_check, realloc_check, memalign_check): Adjust.
31642
4fa9b3bf
JM
316432017-08-30 Joseph Myers <joseph@codesourcery.com>
31644
31645 [BZ #21457]
31646 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31647 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31648 sigcontext and namespace requirements.
31649 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31650 * sysdeps/m68k/sys/ucontext.h: Likewise.
31651 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31652 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31653 <bits/sigcontext.h>.
31654 (__ctx): Define earlier.
31655 (mcontext_t): Define structure contents rather than using struct
31656 sigcontext.
31657 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31658 __glibc_reserved1 instead of __reserved.
31659 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31660 <bits/sigcontext.h>.
31661 (__ctx): Define earlier.
31662 (mcontext_t): Define structure contents rather than using struct
31663 sigcontext.
31664 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31665 mcontext_t instead of struct sigcontext.
31666 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31667 <bits/sigcontext.h>.
31668 (__ctx): Define earlier.
31669 (mcontext_t): Define structure contents rather than using struct
31670 sigcontext.
31671 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
31672 <bits/sigcontext.h>.
31673 (__ctx): Define earlier.
31674 (mcontext_t): Define structure contents rather than using struct
31675 sigcontext.
31676 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31677 mcontext_t instead of struct sigcontext.
31678 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31679 mcontext_t instead of struct sigcontext.
31680 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31681 <bits/sigcontext.h>.
31682 (__ctx): New macro.
31683 (struct __ia64_fpreg_mcontext): New type.
31684 (mcontext_t): Define structure contents rather than using struct
31685 sigcontext.
31686 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31687 (uc_sigmask): Define using __ctx.
31688 (uc_stack): Likewise.
31689 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31690 <bits/sigcontext.h>.
31691 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31692 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31693 <bits/sigcontext.h>.
31694 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31695 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31696 <bits/sigcontext.h>.
31697 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31698 <bits/sigcontext.h>.
31699 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31700 <bits/sigcontext.h>.
31701 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31702 <bits/sigcontext.h>.
31703 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31704 <bits/sigcontext.h>.
31705 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31706 <bits/sigcontext.h>.
31707 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31708 <bits/sigcontext.h>.
31709 (__ctx): Define earlier.
31710 (mcontext_t): Define structure contents rather than using struct
31711 sigcontext.
31712 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31713 <bits/sigcontext.h>. Include <bits/types.h>.
31714 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31715 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31716 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31717 (test-xfail-UNIX98/signal.h/conform): Likewise.
31718 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31719 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31720 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31721 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31722 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31723 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31724 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31725 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31726 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31727
5898f454
FW
317282017-08-30 Florian Weimer <fweimer@redhat.com>
31729
31730 * malloc/dynarray_emplace_enlarge.c
31731 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31732 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31733 * malloc/tst-dynarray.c (test_long_overflow): New function.
31734 (do_test): Call it.
31735
a9da0bb2
FW
317362017-08-30 Florian Weimer <fweimer@redhat.com>
31737
31738 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31739 (set_arena_corrupt): Remove definitions.
31740 (mtrim): Do not check for corrupt arena.
31741 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31742 Likewise.
31743
ac3ed168
FW
317442017-08-30 Florian Weimer <fweimer@redhat.com>
31745
31746 [BZ #21754]
31747 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31748 check_action.
31749 (ptmalloc_init): Do not set or use check_action.
31750 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31751 call to malloc_printerr. Remove return statement.
31752 (free_check): Likewise. Remove arena unlock.
31753 (top_check): Update comment. Adjust call to malloc_printerr.
31754 Remove heap repair code.
31755 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31756 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31757 (sysmalloc): Adjust call to malloc_printerr.
31758 (munmap_chunk, __libc_realloc): Likewise. Remove return
31759 statement.
31760 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31761 Remove errout label and corresponding gotos.
31762 (_int_free): Likewise. Remove arena unlock.
31763 (do_set_mallopt_check): Do not set check_action.
31764 (malloc_printerr): Adjust parameter list. Do not mark arena as
31765 corrupt.
31766 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31767 comment.
31768 * manual/probes.texi (Memory Allocation Probes): Remove
31769 memory_mallopt_check_action.
31770
44bcba80
SE
317712017-08-30 Steve Ellcey <sellcey@cavium.com>
31772
31773 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31774 Use pointer to uint64_t instead of long int for sp.
31775
ec2c1fce
FW
317762017-08-30 Florian Weimer <fweimer@redhat.com>
31777
31778 [BZ #21754]
31779 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31780 without printing a backtrace. Do not leak any information in the
31781 error message.
31782 * manual/memory.texi (Heap Consistency Checking): Update.
31783 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31784
9ce673b6
FW
317852017-08-30 Florian Weimer <fweimer@redhat.com>
31786
31787 Do not scale NPTL tests with available number of CPUs.
31788 * nptl/tst-cond16.c (count): Set to constant value of 8.
31789 * nptl/tst-cond18.c (count): Likewise.
31790
2f1aef19
JM
317912017-08-29 Joseph Myers <joseph@codesourcery.com>
31792
31793 [BZ #22035]
31794 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31795 Define to take a second argument that is a macro that
31796 concatentates a suffix, not the suffix itself.
31797 (__CONCAT_d): New macro.
31798 (__CONCAT_f): Likewise.
31799 (__CONCAT_l): Likewise.
31800
8325b477
PP
318012017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31802
31803 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31804 by child.
31805
319cbbf6
AZ
318062017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31807 Aurelien Jarno <aurelien@aurel32.net>
31808 Maciej W. Rozycki <macro@imgtec.com>
31809
31810 [BZ #21956]
31811 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31812 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31813 `mips16-syscall6' and `mips16-syscall7'.
31814 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31815 (CFLAGS-mips16-syscall7.c): Remove.
31816 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31817 Remove `__mips16_syscall5', `__mips16_syscall6' and
31818 `__mips16_syscall7'.
31819 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31820 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31821 `__mips_syscall_return'.
31822 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31823 (__mips16_syscall1): Likewise.
31824 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31825 (__mips16_syscall2): Likewise.
31826 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31827 (__mips16_syscall3): Likewise.
31828 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31829 (__mips16_syscall4): Likewise.
31830 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31831 Remove.
31832 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31833 Remove.
31834 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31835 Remove.
31836 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31837 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31838 `__mips16_syscall5'. Remove prototype.
31839 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31840 `__mips16_syscall6'. Remove prototype.
31841 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31842 `__mips16_syscall7'. Remove prototype.
31843 (__nomips16, __mips16_syscall_return): Move to...
31844 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31845 (__nomips16, __mips_syscall_return): ... here.
31846 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31847 `__mips16_syscall_return' to `__mips_syscall_return'.
31848 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31849 `internal_syscall##nr'.
31850 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31851 `internal_syscall##nr'.
31852 (FORCE_FRAME_POINTER): Remove.
31853 (__mips_syscall5): New prototype.
31854 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31855 (__mips_syscall6): New prototype.
31856 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31857 (__mips_syscall7): New prototype.
31858 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31859 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31860 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31861 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31862 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31863 (sysdep_routines): Add libc-do-syscall.
31864 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31865 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31866
01b87c65
AZ
318672017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31868
31869 [BZ #21672]
31870 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31871 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31872 (advise_stack_range): New function.
31873 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31874 stack non required to advise_stack_range at allocatestack.c
31875
16f138a4
SN
318762017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31877
31878 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31879
251bccfa
FW
318802017-08-29 Florian Weimer <fweimer@redhat.com>
31881
31882 [BZ #22026]
31883 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31884 __end_fct. Mangle __end_fct after setting it to NULL.
31885 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31886 (modules-names, modules-names-tests): Add
31887 tst-gconv-init-failure-mod.
31888 (gconv-modules): New target.
31889 (tst-gconv-init-failure-mod.so): Link against libsupport.
31890 (tst-gconv-init-failure): Depend on gconv-modules,
31891 tst-gconv-init-failure-mod.so.
31892 * iconv/tst-gconv-init-failure-mod.c: New file.
31893 * iconv/tst-gconv-init-failure.c: Likewise.
31894 * iconv/test-gconv-modules: Likewise.
31895
e7c18b9d
FW
318962017-08-29 Florian Weimer <fweimer@redhat.com>
31897
31898 [BZ #22025]
31899 * iconv/gconv_db.c (free_derivation): Remove redundant
31900 parentheses.
31901 (gen_steps): Unconditionally mangle __btowc_fct after
31902 initialization.
31903 (increment_counter): Likewise. Do not call init_fct for internal
31904 modules.
31905
7daada03
JM
319062017-08-29 Joseph Myers <joseph@codesourcery.com>
31907
31908 [BZ #22028]
31909 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31910 (_MSUF_): Remove macro.
31911 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31912 Likewise.
31913 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31914 (__REDIRFROM_X): New macro.
31915 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31916 Likewise.
31917 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31918 (__REDIRTO_X): Likewise.
31919 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31920 arguments.
31921 (__MATH_REDIRCALL_2): Likewise.
31922 (__MATH_REDIRCALL_INTERNAL): Likewise.
31923 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31924 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31925 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31926 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31927 * math/test-finite-macros.c: New file.
31928 * math/Makefile (tests): Add test-finite-macros.
31929 (CFLAGS-test-finite-macros.c): New variable.
31930
1cf1232c
PF
319312017-08-29 Patsy Franklin <pfrankli@redhat.com>
31932 Jeff Law <law@redhat.com>
31933
31934 [BZ #22025]
31935 Mangle NULL pointers in iconv/gconv.
31936 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31937 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31938 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31939 is non-NULL before demangling the end_fct. Check for NULL
31940 end_fct after demangling.
31941 (__gconv_release_step): Demangle the end_fct before checking
31942 it for NULL. Remove assert on __shlibc_handle != NULL.
31943 (gen_steps): Don't check btowc_fct for NULL before mangling.
31944 Demangle init_fct before checking for NULL.
31945 (increment_counter): Likewise.
31946 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31947 end_fct for NULL before mangling.
31948 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31949 for NULL.
31950
c207f7ce 319512017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
31952
31953 [BZ #21971]
31954 * locale/iso-639.def: add Morisyen.
31955
42496114
GG
319562017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31957
31958 [BZ #21930]
31959 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31960 (iszero): New C++ implementation that does not use
31961 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31962 signaling nans are enabled, since __builtin_types_compatible_p
31963 is a C-only feature.
31964 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31965 defined, include ieee754_float128.h for access to the union and
31966 member ieee854_float128.ieee.
31967 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31968 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31969 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31970 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31971 options of test-math-zero on powerpc64le.
31972
5e2bc4ff
L
319732017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31974
31975 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31976 Change double to float.
31977
a48c0fb4
JM
319782017-08-28 Joseph Myers <joseph@codesourcery.com>
31979
31980 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31981 unconditional.
31982 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31983 conditional code; define contents only for [LIBM_SVID_COMPAT].
31984
ee17d4e9
FW
319852017-08-28 Florian Weimer <fweimer@redhat.com>
31986
31987 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31988 (abi-lp64_be-options): Remove.
31989 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31990 (abi-hard-options): Likewise.
31991 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31992 (abi-o32_hard-options, abi-o32_soft_2008-options)
31993 (abi-o32_hard_2008-options, abi-n32_soft-options)
31994 (abi-n32_hard-options, abi-n32_soft_2008-options)
31995 (abi-n32_hard_2008-options, abi-n64_soft-options)
31996 (abi-n64_hard-options, abi-n64_soft_2008-options)
31997 (abi-n64_hard_2008-options): Likewise.
31998 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31999 (abi-64-v1-options, abi-64-v2-options): Likewise.
32000 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32001 (abi-64-options): Likewise.
32002 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32003 (abi-64-options): Likewise.
32004 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32005 (abi-64-options): Likewise.
32006 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32007 (abi-64-options, abi-x32-options): Likewise.
32008
2dba5ce7
FW
320092017-08-28 Florian Weimer <fweimer@redhat.com>
32010
32011 Store supported list of SYS_* system calls in the source tree.
32012 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32013 (bits/syscall.h): Generate from list file.
32014 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32015 [$(subdir) = misc] (tests): Add tst-syscall-list.
32016 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32017 [$(subdir) = misc] (tst-syscall-list-macros.list)
32018 [$(subdir) = misc] (tst-syscall-list-nr.list)
32019 (tst-syscall-list-sys.list): Helper targets for new
32020 tst-syscall-list test.
32021 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32022 tst-syscall-list.sh.
32023 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32024 target. Do not include bits/syscall.d.
32025 [$(subdir) = misc] (generated): Do not update.
32026 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32027 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32028 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32029 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32030
5f3b183d
PP
320312017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32032
32033 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32034 (tst-cxa_atexit, tst-on_exit): Likewise.
32035 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32036 tst-cxa_atexit, and tst-on_exit.
32037 * stdlib/tst-atexit-common.c: New file.
32038 * stdlib/tst-atexit.c: New file.
32039 * stdlib/tst-at_quick_exit.c: New file.
32040 * stdlib/tst-cxa_atexit.c: New file.
32041 * stdlib/tst-on_exit.c: New file.
32042
2ef8d469
ST
320432017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32044
32045 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
32046 * mach/stack_chk_fail_local.c: New file.
32047 * hurd/stack_chk_fail_local.c: New file.
32048 * mach/Machrules ($(interface-library)-routines): Add
32049 stack_chk_fail_local.
99ee4d26
ST
32050 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32051 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32052 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32053 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32054 * hurd/Makefile (CFLAGS-hurdstartup.o,
32055 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 32056
7ab70c98
L
320572017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32058
32059 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32060 (index_cpu_*, index_arch_*): Removed.
32061
39e7a5a6
SN
320622017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32063
32064 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32065 Use uint64_t instead of unsigned long.
32066
bba5c930
JM
320672017-08-25 Joseph Myers <joseph@codesourcery.com>
32068
a6ccdb08
JM
32069 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32070 [__HAVE_DISTINCT_FLOAT128].
32071
23761119
JM
32072 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32073 of <bits/math-finite.h>.
32074 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32075 inclusion of <bits/math-finite.h>.
32076 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32077 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32078 __NO_LONG_DOUBLE_MATH].
32079 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32080 (__MATH_REDIRCALL_2): Likewise.
32081 (__MATH_REDIRCALL_INTERNAL): Likewise.
32082 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32083 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32084 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32085
bba5c930
JM
32086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32087 Remove file.
32088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32089 Likewise.
32090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32091 Likewise.
32092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32093 Likewise.
32094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32095 Likewise.
32096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32097 Likewise.
32098 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32099 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32100 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32101 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32103 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32104 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32105 w_sqrtf_compat-ppc32.
32106
3d7b66f6
GG
321072017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32108
32109 * math/math.h [defined __cplusplus] (issignaling): In the long
32110 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32111 is not defined. Call __issignaling, otherwise.
32112
ebd6f007
AZ
321132017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32114
32115 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32116 syscall definitions and replace __builtin_expect with __glibc_likely.
32117 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32118 syscall.
6b5c8607 32119 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
32120 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32121 definition.
32122 (PSEUDO_END): Likewise.
32123 [IS_IN (libpthread)] (CENABLE): Likewise.
32124 [IS_IN (libpthread)] (CDISABLE): Likewise.
32125 [IS_IN (libc)] (CENABLE): Likewise.
32126 [IS_IN (libc)] (CENABLE): Likewise.
32127 [IS_IN (librt)] (CDISABLE): Likewise.
32128 [IS_IN (librt)] (CDISABLE): Likewise.
32129 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32130 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32131 definition.
32132 (PSEUDO_END): Likewise.
32133 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32134 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32135 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32136 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32137 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32138 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32139 (CENABLE): Likewise.
32140 (CDISABLE): Likewise.
32141 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32142 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32143 defintion.
32144 (PSEUDO_END): Likewise.
32145 [IS_IN (libpthread)] (CENABLE): Likewise.
32146 [IS_IN (libpthread)] (CDISABLE): Likewise.
32147 [IS_IN (libc)] (CENABLE): Likewise.
32148 [IS_IN (libc)] (CENABLE): Likewise.
32149 [IS_IN (librt)] (CDISABLE): Likewise.
32150 [IS_IN (librt)] (CDISABLE): Likewise.
32151 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32152 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32153 definition.
32154 (PSEUDO_END): Likewise.
32155 [IS_IN (libpthread)] (CENABLE): Likewise.
32156 [IS_IN (libpthread)] (CDISABLE): Likewise.
32157 [IS_IN (libc)] (CENABLE): Likewise.
32158 [IS_IN (libc)] (CENABLE): Likewise.
32159 [IS_IN (librt)] (CDISABLE): Likewise.
32160 [IS_IN (librt)] (CDISABLE): Likewise.
32161 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32162 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32163 definition.
32164 (PSEUDO_END): Likewise.
32165 [IS_IN (libpthread)] (CENABLE): Likewise.
32166 [IS_IN (libpthread)] (CDISABLE): Likewise.
32167 [IS_IN (libc)] (CENABLE): Likewise.
32168 [IS_IN (libc)] (CENABLE): Likewise.
32169 [IS_IN (librt)] (CDISABLE): Likewise.
32170 [IS_IN (librt)] (CDISABLE): Likewise.
32171 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32172 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32173 definition.
32174 (PSEUDO_END): Likewise.
32175 [IS_IN (libpthread)] (CENABLE): Likewise.
32176 [IS_IN (libpthread)] (CDISABLE): Likewise.
32177 [IS_IN (libc)] (CENABLE): Likewise.
32178 [IS_IN (libc)] (CENABLE): Likewise.
32179 [IS_IN (librt)] (CDISABLE): Likewise.
32180 [IS_IN (librt)] (CDISABLE): Likewise.
32181 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32182 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32183 definition.
32184 (PSEUDO_END): Likewise.
32185 [IS_IN (libpthread)] (CENABLE): Likewise.
32186 [IS_IN (libpthread)] (CDISABLE): Likewise.
32187 [IS_IN (libc)] (CENABLE): Likewise.
32188 [IS_IN (libc)] (CENABLE): Likewise.
32189 [IS_IN (librt)] (CDISABLE): Likewise.
32190 [IS_IN (librt)] (CDISABLE): Likewise.
32191 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32192 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32193 definition.
32194 (PSEUDO_END): Likewise.
32195 [IS_IN (libpthread)] (CENABLE): Likewise.
32196 [IS_IN (libpthread)] (CDISABLE): Likewise.
32197 [IS_IN (libc)] (CENABLE): Likewise.
32198 [IS_IN (libc)] (CENABLE): Likewise.
32199 [IS_IN (librt)] (CDISABLE): Likewise.
32200 [IS_IN (librt)] (CDISABLE): Likewise.
32201 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32202 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32203 Remove definition.
32204 (PSEUDO_END): Likewise.
32205 [IS_IN (libpthread)] (CENABLE): Likewise.
32206 [IS_IN (libpthread)] (CDISABLE): Likewise.
32207 [IS_IN (libc)] (CENABLE): Likewise.
32208 [IS_IN (libc)] (CENABLE): Likewise.
32209 [IS_IN (librt)] (CDISABLE): Likewise.
32210 [IS_IN (librt)] (CDISABLE): Likewise.
32211 (SINGLE_THREAD_P): Likewise.
32212 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32213 definition.
32214 (PSEUDO_END): Likewise.
32215 [IS_IN (libpthread)] (CENABLE): Likewise.
32216 [IS_IN (libpthread)] (CDISABLE): Likewise.
32217 [IS_IN (libc)] (CENABLE): Likewise.
32218 [IS_IN (libc)] (CENABLE): Likewise.
32219 [IS_IN (librt)] (CDISABLE): Likewise.
32220 [IS_IN (librt)] (CDISABLE): Likewise.
32221 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32222 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32223 definition.
32224 (PSEUDO_END): Likewise.
32225 [IS_IN (libpthread)] (CENABLE): Likewise.
32226 [IS_IN (libpthread)] (CDISABLE): Likewise.
32227 [IS_IN (libc)] (CENABLE): Likewise.
32228 [IS_IN (libc)] (CENABLE): Likewise.
32229 [IS_IN (librt)] (CDISABLE): Likewise.
32230 [IS_IN (librt)] (CDISABLE): Likewise.
32231 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32232 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32233 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32234 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32235 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32236 definition.
32237 (PSEUDO_END): Likewise.
32238 [IS_IN (libpthread)] (CENABLE): Likewise.
32239 [IS_IN (libpthread)] (CDISABLE): Likewise.
32240 [IS_IN (libc)] (CENABLE): Likewise.
32241 [IS_IN (libc)] (CENABLE): Likewise.
32242 [IS_IN (librt)] (CDISABLE): Likewise.
32243 [IS_IN (librt)] (CDISABLE): Likewise.
32244 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32245 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32246 definition.
32247 (PSEUDO_END): Likewise.
32248 [IS_IN (libpthread)] (CENABLE): Likewise.
32249 [IS_IN (libpthread)] (CDISABLE): Likewise.
32250 [IS_IN (libc)] (CENABLE): Likewise.
32251 [IS_IN (libc)] (CENABLE): Likewise.
32252 [IS_IN (librt)] (CDISABLE): Likewise.
32253 [IS_IN (librt)] (CDISABLE): Likewise.
32254 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32255 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32256 definition.
32257 (PSEUDO_END): Likewise.
32258 [IS_IN (libpthread)] (CENABLE): Likewise.
32259 [IS_IN (libpthread)] (CDISABLE): Likewise.
32260 [IS_IN (libc)] (CENABLE): Likewise.
32261 [IS_IN (libc)] (CENABLE): Likewise.
32262 [IS_IN (librt)] (CDISABLE): Likewise.
32263 [IS_IN (librt)] (CDISABLE): Likewise.
32264 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32265 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32266 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32267 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32268 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32269 definition.
32270 (PSEUDO_END): Likewise.
32271 [IS_IN (libpthread)] (CENABLE): Likewise.
32272 [IS_IN (libpthread)] (CDISABLE): Likewise.
32273 [IS_IN (libc)] (CENABLE): Likewise.
32274 [IS_IN (libc)] (CENABLE): Likewise.
32275 [IS_IN (librt)] (CDISABLE): Likewise.
32276 [IS_IN (librt)] (CDISABLE): Likewise.
32277 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32278 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32279 definition.
32280 (PSEUDO_END): Likewise.
32281 [IS_IN (libpthread)] (CENABLE): Likewise.
32282 [IS_IN (libpthread)] (CDISABLE): Likewise.
32283 [IS_IN (libc)] (CENABLE): Likewise.
32284 [IS_IN (libc)] (CENABLE): Likewise.
32285 [IS_IN (librt)] (CDISABLE): Likewise.
32286 [IS_IN (librt)] (CDISABLE): Likewise.
32287 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32288
8aa48656
SN
322892017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32290
32291 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32292
fcaaca41
L
322932017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32294
32295 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32296
376b40a2
L
322972017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32298
32299 [BZ #21982]
32300 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32301 middle and outer with size_t instead of int. Repleace %d and
32302 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32303 "MAX (outer, nchars - 64)" to support unsigned outer and
32304 nchars. Also exit loop when outer == 0.
32305
2b0b9a1c
AZ
323062017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32307
32308 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32309 * include/signal.h (__sigsuspend_nocancel): Likewise.
32310 * include/time.h (__nanosleep_nocancel): Likewise.
32311 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32312 * login/utmp_file.c: Include non cancellable syscall header.
32313 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32314 prototype.
32315
b9eaca8f
L
323162017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32317
32318 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32319 .byte sequences with AVX512F instructions.
32320 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32321 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32322 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32323 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32324 Likewise.
32325 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32326 Likewise.
32327
5a706f64
SE
323282017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32329 Steve Ellcey <sellcey@cavium.com>
32330
32331 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32332 Use PTR_REG macro in cmp instruction.
32333
b513da7e
GG
323342017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32335
32336 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32337 Change the return type of the ifunc resolver to match the return
32338 type of the target function.
32339
78ca091c
AZ
323402017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32341
b70b6026
AZ
32342 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32343 (preadv64): Likewise.
32344 (pwrite64(: Likewise.
32345 (pwritev64): Likewise.
32346
78ca091c
AZ
32347 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32348 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32349 (LOAD_ARGS_0): Likewise.
32350 (LOAD_ARGS_1): Likewise.
32351 (LOAD_ARGS_2): Likewise.
32352 (LOAD_ARGS_3): Likewise.
32353 (LOAD_ARGS_4): Likewise.
32354 (LOAD_ARGS_5): Likewise.
32355 (LOAD_ARGS_6): Likewise.
32356 (LOAD_REGS_0): Likewise.
32357 (LOAD_REGS_1): Likewise.
32358 (LOAD_REGS_2): Likewise.
32359 (LOAD_REGS_3): Likewise.
32360 (LOAD_REGS_4): Likewise.
32361 (LOAD_REGS_5): Likewise.
32362 (LOAD_REGS_6): Likewise.
32363 (ASM_ARGS_0): Likewise.
32364 (ASM_ARGS_1): Likewise.
32365 (ASM_ARGS_2): Likewise.
32366 (ASM_ARGS_3): Likewise.
32367 (ASM_ARGS_4): Likewise.
32368 (ASM_ARGS_5): Likewise.
32369 (ASM_ARGS_6): Likewise.
32370 (LOAD_ARGS_TYPES_1): Likewise.
32371 (LOAD_ARGS_TYPES_2): Likewise.
32372 (LOAD_ARGS_TYPES_3): Likewise.
32373 (LOAD_ARGS_TYPES_4): Likewise.
32374 (LOAD_ARGS_TYPES_5): Likewise.
32375 (LOAD_ARGS_TYPES_6): Likewise.
32376 (LOAD_REGS_TYPES_1): Likewise.
32377 (LOAD_REGS_TYPES_2): Likewise.
32378 (LOAD_REGS_TYPES_3): Likewise.
32379 (LOAD_REGS_TYPES_4): Likewise.
32380 (LOAD_REGS_TYPES_5): Likewise.
32381 (LOAD_REGS_TYPES_6): Likewise.
32382 (TYPEFY): New define.
32383 (ARGIFY): Likewise.
32384 (internal_syscall0): Likewise.
32385 (internal_syscall1): Likewise.
32386 (internal_syscall2): Likewise.
32387 (internal_syscall3): Likewise.
32388 (internal_syscall4): Likewise.
32389 (internal_syscall5): Likewise.
32390 (internal_syscall6): Likewise.
32391 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32392 (INTERNAL_SYSCALL_NCS): Remove define.
32393 (internal_syscall1): Add define.
32394
453a493d
GG
323952017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32396
32397 * math/w_remainder_compat.c: Remove duplicate inclusion of
32398 math-svid-compat.h.
32399 * math/w_remainderf_compat.c: Likewise.
32400 * math/w_remainderl_compat.c: Likewise.
32401
f2f048a5
GG
324022017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32403
32404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32405
d9bef9c0
JM
324062017-08-22 Joseph Myers <joseph@codesourcery.com>
32407
32408 [BZ #21684]
32409 * math/tgmath.h (__floating_type): Simplify definitions.
32410 (__real_integer_type): New macro.
32411 (__complex_integer_type): Likewise.
32412 (__expr_is_real): Likewise.
32413 (__tgmath_real_type_sub): Update comment to describe handling of
32414 complex types.
32415 (__tgmath_complex_type_sub): New macro.
32416 (__tgmath_complex_type): Likewise.
32417 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32418 (__TGMATH_CF128): Use __expr_is_real.
32419 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32420 __expr_is_real.
32421 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32422 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32423 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32424 integer types.
32425
08d6eb46
AZ
324262017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32427
988f991b
AZ
32428 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32429 macro.
32430 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32431 alias.
32432 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32433 Likewise.
32434
6f33fd04
AZ
32435 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32436 nanosleep_not_cancel with __nanosleep_nocancel.
32437 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32438 (__nanosleep_nocancel): New macro.
32439 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32440 function.
32441 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32442 macro.
32443 (__nanosleep_nocancel): New prototype.
32444
08d6eb46
AZ
32445 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32446 pause_not_cancel with __pause_nocancel.
32447 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32448 (__pause_nocancel): New macro.
32449 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32450 macro.
32451 (__pause_nocancel): New prototype.
32452 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32453
ee4e992e
MS
324542017-08-22 Martin Sebor <msebor@redhat.com>
32455
32456 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32457 to return a pointer to the same type as the target function.
32458
20962acb
L
324592017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32460
32461 [BZ #18822]
32462 [BZ #21986]
32463 * include/printf.h (__printf_fphex): Add attribute_hidden.
32464 (__guess_grouping): New prototype.
32465 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32466 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32467 libc_hidden_proto and libc_hidden_def.
32468 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32469 (__vstrfmon_l): Remove the third argument passed to
32470 __guess_grouping.
32471
a16e8bc0
GG
324722017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32473
32474 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32475 definition for issignaling that does not rely on __MATH_TG,
32476 since __MATH_TG uses __builtin_types_compatible_p, which is only
32477 available in C mode.
32478 (CFLAGS-test-math-issignaling.cc): New variable.
32479 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32480 * math/test-math-issignaling.cc: New test for C++ implementation
32481 of type-generic issignaling.
32482 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32483 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32484 options of test-math-issignaling on powerpc64le.
32485
8d2ec553
L
324862017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32487
32488 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32489 building libc.a.
32490 (hidden_proto): Likewise.
32491 (hidden_tls_proto): Likewise.
32492 (__hidden_proto): Likewise.
32493
a4d57b79
FW
324942017-08-22 Florian Weimer <fweimer@redhat.com>
32495
32496 math: Statically link tests of internal functionality.
32497 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32498 atest-exp2.
32499 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32500 (gmp-objs): Remove assignment.
32501 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32502
75dfe623
JM
325032017-08-22 Joseph Myers <joseph@codesourcery.com>
32504
80f91666
JM
32505 [BZ #21987]
32506 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32507 and copy to ...
32508 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32509 ... here.
32510 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32511 ... and here.
32512
75dfe623
JM
32513 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32514 variable definitions above inclusion of ../Rules.
32515
ea99fcd0
JM
325162017-08-21 Joseph Myers <joseph@codesourcery.com>
32517
32518 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32519 case calling __builtin_unreachable.
32520
19926de9
AZ
325212017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32522
a8410a5f
AZ
32523 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32524 __waitpid_nocancel.
32525 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32526 (__waitpid_nocancel): New macro.
32527 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32528 macro.
32529 (__waitpid_nocancel): Replace macro with a function.
32530 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32531 function.
32532
7369800c
AZ
32533 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32534 __fcntl_nocancel.
32535 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32536 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32537
19926de9
AZ
32538 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32539 __writev_nocancel_nostatus.
32540 (write_call_graph): Likewise.
32541 (write_bb_counts): Likewise.
32542 * resolv/herror.c (herror): Likewise.
32543 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32544 macro.
32545 (__writev_nocancel_nostatus): New macro.
32546 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32547 Remove macro.
32548 (__writev_nocancel_nostatus): New function.
32549
813378e9
JM
325502017-08-21 Joseph Myers <joseph@codesourcery.com>
32551
df1deda6
JM
32552 Revert:
32553 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32554
32555 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32556 building libc.a.
32557 (hidden_proto): Likewise.
32558 (hidden_tls_proto): Likewise.
32559 (__hidden_proto): Likewise.
32560
831bbd55
JM
32561 [BZ #21973]
32562 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32563 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32565 Likewise.
32566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32567 Likewise.
32568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32569 Likewise.
32570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32571 Likewise.
32572 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32573 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32574 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32575 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32576 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32577 GLIBC_2.0 sqrtl symbol.
32578
813378e9
JM
32579 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32580 [__USE_MISC] (_LIB_VERSION): Likewise.
32581 [__USE_MISC] (struct exception): Likewise.
32582 [__USE_MISC] (matherr): Likewise.
32583 [__USE_MISC] (DOMAIN): Likewise.
32584 [__USE_MISC] (SING): Likewise.
32585 [__USE_MISC] (OVERFLOW): Likewise.
32586 [__USE_MISC] (UNDERFLOW): Likewise.
32587 [__USE_MISC] (TLOSS): Likewise.
32588 [__USE_MISC] (PLOSS): Likewise.
32589 [__USE_MISC] (HUGE): Likewise.
32590 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32591 * math/math-svid-compat.h: New file.
32592 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32593 and matherrl.
32594 * include/math.h [!_ISOMAC] (__matherr): Remove.
32595 * manual/arith.texi (FP Exceptions): Do not document matherr.
32596 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32597 (tests-internal): New variable.
32598 (install-lib): Do not add libieee.a.
32599 (non-lib.a): Likewise.
32600 (extra-objs): Do not add libieee.a and ieee-math.o.
32601 (CPPFLAGS-s_lib_version.c): Remove variable.
32602 ($(objpfx)libieee.a): Remove rule.
32603 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32604 * math/ieee-math.c: Remove.
32605 * math/libm-test-support.c (matherr): Remove.
32606 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32607 and license notices. Include <math-svid-compat.h> and
32608 <shlib-compat.h>.
32609 (matherr): Undefine as macro. Use compat_symbol_reference.
32610 (_LIB_VERSION): Likewise.
32611 * math/test-matherr-2.c: New file.
32612 * math/test-matherr-3.c: Likewise.
32613 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32614 declaration.
32615 (__kernel_standard_f): Likewise.
32616 (__kernel_standard_l): Likewise.
32617 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32618 <math_private.h>. Include <math-svid-compat.h>.
32619 (_LIB_VERSION): Undefine as macro.
32620 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32621 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32622 [LIBM_SVID_COMPAT], use compat_symbol.
32623 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32624 <math_private.h>. Include <math-svid-compat.h>.
32625 (matherr): Undefine as macro.
32626 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32627 compat_symbol.
32628 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32629 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32630 compat_symbol_reference.
32631 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32632 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32633 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32634 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32635 (MATHERR_D): Remove declaration.
32636 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32637 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32638 [LIBM_BUILD] (pmatherrf): Likewise.
32639 [LIBM_BUILD] (pmatherr): Likewise.
32640 [LIBM_BUILD] (pmatherrl): Likewise.
32641 (DOMAIN): Likewise.
32642 (SING): Likewise.
32643 (OVERFLOW): Likewise.
32644 (UNDERFLOW): Likewise.
32645 (TLOSS): Likewise.
32646 (PLOSS): Likewise.
32647 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32648 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32649 compat_symbol.
32650 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32651 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32652 compat_symbol.
32653 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32654 * math/w_acos_compat.c: Likewise.
32655 * math/w_acosf_compat.c: Likewise.
32656 * math/w_acosh_compat.c: Likewise.
32657 * math/w_acoshf_compat.c: Likewise.
32658 * math/w_acoshl_compat.c: Likewise.
32659 * math/w_acosl_compat.c: Likewise.
32660 * math/w_asin_compat.c: Likewise.
32661 * math/w_asinf_compat.c: Likewise.
32662 * math/w_asinl_compat.c: Likewise.
32663 * math/w_atan2_compat.c: Likewise.
32664 * math/w_atan2f_compat.c: Likewise.
32665 * math/w_atan2l_compat.c: Likewise.
32666 * math/w_atanh_compat.c: Likewise.
32667 * math/w_atanhf_compat.c: Likewise.
32668 * math/w_atanhl_compat.c: Likewise.
32669 * math/w_cosh_compat.c: Likewise.
32670 * math/w_coshf_compat.c: Likewise.
32671 * math/w_coshl_compat.c: Likewise.
32672 * math/w_exp10_compat.c: Likewise.
32673 * math/w_exp10f_compat.c: Likewise.
32674 * math/w_exp10l_compat.c: Likewise.
32675 * math/w_exp2_compat.c: Likewise.
32676 * math/w_exp2f_compat.c: Likewise.
32677 * math/w_exp2l_compat.c: Likewise.
32678 * math/w_fmod_compat.c: Likewise.
32679 * math/w_fmodf_compat.c: Likewise.
32680 * math/w_fmodl_compat.c: Likewise.
32681 * math/w_hypot_compat.c: Likewise.
32682 * math/w_hypotf_compat.c: Likewise.
32683 * math/w_hypotl_compat.c: Likewise.
32684 * math/w_j0_compat.c: Likewise.
32685 * math/w_j0f_compat.c: Likewise.
32686 * math/w_j0l_compat.c: Likewise.
32687 * math/w_j1_compat.c: Likewise.
32688 * math/w_j1f_compat.c: Likewise.
32689 * math/w_j1l_compat.c: Likewise.
32690 * math/w_jn_compat.c: Likewise.
32691 * math/w_jnf_compat.c: Likewise.
32692 * math/w_jnl_compat.c: Likewise.
32693 * math/w_lgamma_main.c: Likewise.
32694 * math/w_lgamma_r_compat.c: Likewise.
32695 * math/w_lgammaf_main.c: Likewise.
32696 * math/w_lgammaf_r_compat.c: Likewise.
32697 * math/w_lgammal_main.c: Likewise.
32698 * math/w_lgammal_r_compat.c: Likewise.
32699 * math/w_log10_compat.c: Likewise.
32700 * math/w_log10f_compat.c: Likewise.
32701 * math/w_log10l_compat.c: Likewise.
32702 * math/w_log2_compat.c: Likewise.
32703 * math/w_log2f_compat.c: Likewise.
32704 * math/w_log2l_compat.c: Likewise.
32705 * math/w_log_compat.c: Likewise.
32706 * math/w_logf_compat.c: Likewise.
32707 * math/w_logl_compat.c: Likewise.
32708 * math/w_pow_compat.c: Likewise.
32709 * math/w_powf_compat.c: Likewise.
32710 * math/w_powl_compat.c: Likewise.
32711 * math/w_remainder_compat.c: Likewise.
32712 * math/w_remainderf_compat.c: Likewise.
32713 * math/w_remainderl_compat.c: Likewise.
32714 * math/w_scalb_compat.c: Likewise.
32715 * math/w_scalbf_compat.c: Likewise.
32716 * math/w_scalbl_compat.c: Likewise.
32717 * math/w_sinh_compat.c: Likewise.
32718 * math/w_sinhf_compat.c: Likewise.
32719 * math/w_sinhl_compat.c: Likewise.
32720 * math/w_sqrt_compat.c: Likewise.
32721 * math/w_sqrtf_compat.c: Likewise.
32722 * math/w_sqrtl_compat.c: Likewise.
32723 * math/w_tgamma_compat.c: Likewise.
32724 * math/w_tgammaf_compat.c: Likewise.
32725 * math/w_tgammal_compat.c: Likewise.
32726 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32727 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32728 * sysdeps/ieee754/k_standard.c: Likewise.
32729 * sysdeps/ieee754/k_standardf.c: Likewise.
32730 * sysdeps/ieee754/k_standardl.c: Likewise.
32731 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32732 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32733 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32734 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32735 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32736 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32737 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32738 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32739 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32741 Likewise.
32742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32743 Likewise.
32744 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32745 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32746 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32747 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32748
4504783c
FW
327492017-08-21 Florian Weimer <fweimer@redhat.com>
32750
32751 [BZ #21864]
32752 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32753 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32754 Move before inclusion of ../Rules.
32755
b5889d25
FW
327562017-08-21 Florian Weimer <fweimer@redhat.com>
32757
32758 [BZ #21972]
32759 * assert/assert.h (assert): Use static_cast (bool) for C++.
32760 Use the ternary operator in the warning branch for GNU C.
32761 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32762 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32763 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32764 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32765 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32766
41e673c1
L
327672017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32768
32769 [BZ #18822]
32770 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32771 (__syscall_clock_gettime): Add attribute_hidden.
32772 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32773 (__start_context): Likewise.
32774
568ff429
L
327752017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32776
32777 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32778 building libc.a.
32779 (hidden_proto): Likewise.
32780 (hidden_tls_proto): Likewise.
32781 (__hidden_proto): Likewise.
32782
7c41b4a1
L
327832017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32784
32785 * include/libc-symbols.h (attribute_hidden): Enable hidden
32786 visibility in libc.a compiled with PIE.
32787
483d7068
L
327882017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32789
32790 [BZ #18822]
32791 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32792 Add attribute_hidden.
32793
327942017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32795
32796 [BZ #21864]
32797 * Makerules (all-nonlib): Add $(others-extras).
32798 * catgets/Makefile (others-extras): New.
32799 * elf/Makefile (others-extras): Likewise.
32800 * nss/Makefile (others-extras): Likewise.
32801
54e4b8f2
L
328022017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32803
32804 [BZ #18822]
32805 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32806 * elf/dl-open.c: Include <libc-internal.h>.
32807 (__libc_multiple_libcs): Removed.
32808 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32809 <hp-timing.h>.
32810 * include/libc-internal.h (__libc_multiple_libcs): New.
32811 * misc/sbrk.c: Include <libc-internal.h>.
32812 (__libc_multiple_libcs): Removed.
32813
1dbbb1ec
L
328142017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32815
32816 [BZ #18822]
32817 * grp/initgroups.c (__nss_group_database): Removed.
32818 (__nss_initgroups_database): Likewise.
32819 * nscd/gai.c (__nss_hosts_database): Likewise.
32820 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32821 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32822 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32823 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32824 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32825 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32826 attribute_hidden.
32827 * nss/nsswitch.c (__nss_database_custom): Define only if
32828 USE_NSCD is defined.
32829 (__nss_configure_lookup): Use __nss_database_custom only if
32830 USE_NSCD is defined.
32831 * nss/nsswitch.h (__nss_database_custom): Declare only if
32832 USE_NSCD is defined. Add attribute_hidden.
32833 (__nss_setent): Add attribute_hidden.
32834 (__nss_endent): Likewise.
32835 (__nss_getent_r): Likewise.
32836 (__nss_getent): Likewise.
32837 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32838
2585d7b8
L
328392017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32840
32841 [BZ #18822]
32842 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32843 libc_hidden_proto and libc_hidden_def.
32844
c8dfa99c
L
328452017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32846
32847 [BZ #18822]
32848 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32849 Add libc_hidden_proto.
32850 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32851 Add libc_hidden_def.
32852
7ed87317
L
328532017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32854
32855 [BZ #21974]
32856 * gmon/Makefile (routines): Remove bb_init_func and
32857 bb_exit_func.
32858 (elide-routines.os): Removed.
9476b904
L
32859 * gmon/bb_exit_func.c: Likewise.
32860 * gmon/bb_init_func.c: Likewise.
7ed87317
L
32861 * include/sys/gmon.h (__bb): Likewise.
32862 (__bb_init_func): Likewise.
32863 (__bb_exit_func): Likewise.
91695eb1 32864 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 32865
94e6ba15
L
328662017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32867
32868 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32869 * include/setjmp.h (____longjmp_chk): Here. Add
32870 attribute_hidden.
32871
7550717e
L
328722017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32873
32874 [BZ #18822]
32875 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32876 attribute_hidden.
32877 (__strspn_sse2): Likewise.
32878
0bb2fabc
AZ
328792017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32880
c181840c
AZ
32881 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32882 (close_not_cancel_no_status): Likewise.
32883 (__close_nocancel): New macro.
32884 (__close_nocancel_nostatus): Likewise.
32885 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32886 macro.
32887 (close_not_cancel): Likewise.
32888 (close_not_cancel_no_status): Likewise.
32889 (__close_nocancel): New prototype.
32890 (__close_nocancel_nostatus): New function.
32891 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32892 * catgets/open_catalog.c (__open_catalog): Replace
32893 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32894 * gmon/gmon.c (write_gmon): Likewise.
32895 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32896 * intl/loadmsgcat.c (close): Likewise.
32897 * io/ftw.c (open_dir_stream): Likewise.
32898 (ftw_startup): Likewise.
32899 * libio/fileops.c (_IO_file_open): Likewise.
32900 (_IO_file_close_mmap): Likewise.
32901 (_IO_file_close): Likewise.
32902 * libio/iopopen.c (_IO_dup2): Likewise.
32903 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32904 * locale/loadlocale.c (_nl_load_locale): Likewise.
32905 * login/utmp_file.c (pututline_file): Likewise.
32906 (endutent_file): Likewise.
32907 * misc/daemon.c (daemon): Likewise.
32908 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32909 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32910 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32911 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32912 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32913 * nscd/nscd_helper.c (open_socket): Likewise.
32914 (__nscd_open_socket): Likewise.
32915 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32916 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32917 (__nscd_innetgr): Likewise.
32918 * nss/nss_db/db-open.c (internal_setent): Likewise.
32919 * resolv/res-close.c (__res_iclose): Likewise.
32920 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32921 * sysdeps/posix/closedir.c (__closedir): Likewise.
32922 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32923 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32924 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32925 (opendir_tail): Likewise.
32926 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32927 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32928 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32929 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32930 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32931 (gethostid): Likewise.
32932 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32933 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32934 Likewise.
32935 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32936 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32937 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32938 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32939 Likewise.
32940 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32941 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32942 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32943 Likewise.
32944 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32945 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32946 Likewise.
32947 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32948 Likewise.
32949 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32950 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32951 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32952 __close_nocancel.
32953
0bb2fabc
AZ
32954 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32955 (openat_not_cancel_3): Likewise.
32956 (openat64_not_cancel_3): Likewise).
32957 (openat_not_cancel_3): Likewise).
32958 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32959 macro.
32960 (openat_not_cancel_3): Likewise.
32961 (openat64_not_cancel): Likewise.
32962 (openat64_not_cancel_3): Likewise.
32963 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32964 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32965 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32966 __open{64}_nocancel.
32967 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32968 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32969 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32970
65a086db
L
329712017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32972
32973 [BZ #18822]
32974 * include/argz.h (__argz_create_sep): New function prototype.
32975 (__argz_append): Likewise.
32976 (__argz_add): Likewise.
32977 (__argz_add_sep): Likewise.
32978 (__argz_delete): Likewise.
32979 (__argz_insert): Likewise.
32980 (__argz_replace): Likewise.
32981 * string/argz.h (__argz_create_sep): Removed.
32982 (__argz_append): Likewise.
32983 (__argz_add): Likewise.
32984 (__argz_add_sep): Likewise.
32985 (__argz_delete): Likewise.
32986 (__argz_insert): Likewise.
32987 (__argz_replace): Likewise.
32988
62753d2c
L
329892017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32990
32991 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32992 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32993 (GNU_PROPERTY_STACK_SIZE): Likewie.
32994 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32995 (GNU_PROPERTY_LOPROC): Likewise.
32996 (GNU_PROPERTY_HIPROC): Likewise.
32997 (GNU_PROPERTY_LOUSER): Likewise.
32998 (GNU_PROPERTY_HIUSER): Likewise.
32999 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33000 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33001 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33002 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33003 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33004 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33005 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33006 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33007 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33008 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33009 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33010 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33011 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33012 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33013 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33014 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33015 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33016 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33017 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33018 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33019 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33020 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33021 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33022
6913ad65
GG
330232017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33024
33025 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33026 in C++ mode.
33027
47a67213
GG
330282017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33029
33030 [BZ #21930]
33031 * math/math.h (isinf): Check if in C or C++ mode before using
33032 __builtin_types_compatible_p, since this is a C mode feature.
33033
a748eb31
AZ
330342017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33035
c647fb88
AZ
33036 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33037 (__write_nocancel): New macro.
33038 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33039 Rewrite as a function prototype.
33040 (write_not_cancel): Remove macro.
33041 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33042 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33043 (write_gmon): Likewise.
33044 * libio/fileops.c (_IO_new_file_write): Likewise.
33045 * login/utmp_file.c (pututline_file): Likewise.
33046 (updwtmp_file): Likewise.
33047 * stdio-common/psiginfo.c (psiginfo): Likewise.
33048 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33049 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33050 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33051 Likewise.
33052 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33053 Likewise.
33054
a748eb31
AZ
33055 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33056 (__read_nocancel): New macro.
33057 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33058 __read_nocancel.
33059 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33060 macro.
33061 (__read_nocancel): New prototype.
33062 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33063 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33064 with __read_nocancel.
33065 * intl/loadmsgcat.c (read): Likewise.
33066 * libio/fileops.c (_IO_file_read): Likewise.
33067 * locale/loadlocale.c (_nl_load_locale): Likewise.
33068 * login/utmp_file.c (getutent_r_file): Likewise.
33069 (internal_getut_r): Likewise.
33070 (getutline_r_file): Likewise.
33071 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33072 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33073 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33074 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33075 Likewise.
33076 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33077 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33078 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33079 Likewise.
33080 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33081 Likewise.
33082 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33083 Likewise.
33084 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33085 Likewise.
33086 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33087
098b9dd4
L
330882017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33089
33090 [BZ #21966]
33091 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33092 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33093 usable.
33094
a3fe6a20
DD
330952017-08-17 DJ Delorie <dj@redhat.com>
33096
33097 * bug17079.c: Update to new test harness.
33098 * test-digits-dots.c: Likewise.
33099 * test-netdb.c: Likewise.
33100 * tst-field.c: Likewise.
33101 * tst-nss-getpwent.c: Likewise.
33102 * tst-nss-static.c: Likewise.
33103 * tst-nss-test1.c: Likewise.
33104 * tst-nss-test2.c: Likewise.
33105 * tst-nss-test3.c: Likewise.
33106 * tst-nss-test4.c: Likewise.
33107 * tst-nss-test5.c: Likewise.
33108
c2284574
AZ
331092017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33110
33111 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33112 (open_not_cancel_2): Likewise.
33113 (open_nocancel): New macro.
33114 (open64_nocancel): Likewise.
33115 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33116 (open_not_cancel_2): Likewise.
33117 (__open_nocancel): New prototype.
33118 (__open64_nocancel): Likewise.
33119 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33120 __open_nocancel.
33121 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33122 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33123 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33124 with __open_nocancel.
33125 * csu/check_fds.c (check_one_fd): Likewise.
33126 * gmon/gmon.c (write_gmon): Likewise.
33127 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33128 * intl/loadmsgcat.c (open): Likewise.
33129 * libio/fileops.c (_IO_file_open): Likewise.
33130 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33131 * locale/loadlocale.c (_nl_load_locale): Likewise.
33132 * login/utmp_file.c (setutent_file): Likewise.
33133 * misc/daemon.c (daemon): Likewise.
33134 * nss/nss_db/db-open.c (internal_setent): Likewise.
33135 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33136 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33137 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33138 (__opendir): Likewise.
33139 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33140 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33141 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33142 (gethostid): Likewise.
33143 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33144 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33145 Likewise.
33146 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33147 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33148 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33149 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33150 Likewise.
33151 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33152 Likewise.
33153 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33154 Likewise.
33155 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33156 Likewise.
33157 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33158 Likewise.
33159 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33160 Likewise.
33161 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33162 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33163
d4505b89
WD
331642017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33165
33166 * benchtests/bench-skeleton.c (main): Add support for
33167 latency benchmarking.
33168 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33169
34d6a3cb
L
331702017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33171
33172 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33173 the startup object.
33174
038d1caf
FW
331752017-08-17 Florian Weimer <fweimer@redhat.com>
33176
33177 * include/sys/socket.h (__opensock): Remove internal_function.
33178 * socket/opensock.c (__opensock): Likewise.
33179 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33180
67f0aff0
JM
331812017-08-16 Joseph Myers <joseph@codesourcery.com>
33182
33183 [BZ #21944]
33184 * signal/bits/types/__sigval_t.h: New file.
33185 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33186 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33187 and define sigval_t using __sigval_t.
33188 * include/bits/types/__sigval_t.h: New file.
33189 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33190 instead of <bits/types/__sigval_t.h>.
33191 (struct sigevent): Use __sigval_t instead of sigval_t.
33192 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33193 instead of <bits/types/__sigval_t.h>.
33194 (siginfo_t): Use __sigval_t instead of sigval_t.
33195 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33196 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33197 (struct sigevent): Use __sigval_t instead of sigval_t.
33198 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33199 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33200 (siginfo_t): Use __sigval_t instead of sigval_t.
33201 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33202
87e7bf4d
L
332032017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33204
33205 * NEWS: Remove "[Add new features here]" for 2.27.
33206
5047057f
JM
332072017-08-16 Joseph Myers <joseph@codesourcery.com>
33208
33209 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33210 libc.so.
33211
20c7b195
L
332122017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33213
33214 * NEWS: Mention x86-64 FMA optimization.
33215
24a2e658
L
332162017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33217
33218 [BZ #21912]
33219 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33220 Add e_expf-fma.
33221 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33222 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33223 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33224
eedca977
AS
332252017-08-16 Andreas Schwab <schwab@suse.de>
33226
403143e1
FW
33227 [BZ #16750]
33228 CVE-2009-5064
eedca977
AS
33229 * elf/ldd.bash.in: Never run file directly.
33230
f59f7adb
L
332312017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33232
33233 [BZ #21955]
33234 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33235 (L(SP_INF_0)): Likewise.
33236
6b11a6ad
FW
332372017-08-15 Florian Weimer <fweimer@redhat.com>
33238
33239 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33240 run-built-tests.
33241
bbf5c438
FW
332422017-08-15 Florian Weimer <fweimer@redhat.com>
33243
33244 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33245 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33246 BROKEN_THREAD_SIGNALS code.
33247 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33248 request_list): Remove caller_pid member used for
33249 BROKEN_THREAD_SIGNALS.
33250 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33251 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33252 Remove BROKEN_THREAD_SIGNALS support.
33253 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33254 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33255
6014c65d
FW
332562017-08-15 Florian Weimer <fweimer@redhat.com>
33257
33258 * gmon/Makefile (tests): Add tst-gmon.
33259 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33260 Set.
33261 (tests-special): Add tst-gmon-prof.out.
33262 (tst-gmon.out): Depend on clean-tst-gmon-data.
33263 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33264 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33265 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33266 startup object.
33267 * aclocal.m4 (GPROF): Set and substitute.
33268 * config.amke.in (GPROF): Set.
33269 * configure: Regenerate.
33270
ee72219a
GR
332712017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33272
33273 * elf/elf.h A (NT_PPC_TAR): New macro.
33274 (NT_PPC_PPR): Likewise.
33275 (NT_PPC_DSCR): Likewise.
33276 (NT_PPC_EBB): Likewise.
33277 (NT_PPC_PMU): Likewise.
33278 (NT_PPC_TM_CGPR): Likewise.
33279 (NT_PPC_TM_CFPR): Likewise.
33280 (NT_PPC_TM_CVMX): Likewise.
33281 (NT_PPC_TM_CVSX): Likewise.
33282 (NT_PPC_TM_SPR): Likewise.
33283 (NT_PPC_TM_CTAR): Likewise.
33284 (NT_PPC_TM_CPPR): Likewise.
33285 (NT_PPC_TM_CDSCR): Likewise.
33286
4ebf934e
FW
332872017-08-15 Florian Weimer <fweimer@redhat.com>
33288
33289 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33290 regparm (2) instead of internal_function.
33291 (_MCOUNT_DECL): Adjust.
33292
e9f57484
SL
332932017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33294
33295 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33296 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33297
88ff4d55
JM
332982017-08-14 Joseph Myers <joseph@codesourcery.com>
33299
33300 * conform/data/sys/wait.h-data (si_value): Do not expect for
33301 XPG42.
33302
c88ffc23
FW
333032017-08-14 Florian Weimer <fweimer@redhat.com>
33304
33305 [BZ #21962]
33306 NSS: Create stubs for accidentally exported lookup functions.
33307 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33308 Remove declaration.
33309 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33310 (ether_hostton): Call __nss_ethers_lookup2 instead.
33311 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33312 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33313 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33314 (setup): Call __nss_netgroup_lookup2 instead.
33315 * nss/Makefile (routines): Add compat-lookup.
33316 * nss/Versions (GLIBC_2.27): Add symbol version.
33317 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33318 (DB_COMPAT_FCT): Remove.
33319 * nss/compat-lookup.c: New file.
33320 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33321 from databases.def.
33322 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33323 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33324 (netname2user): Call __nss_publickey_lookup2 instead.
33325 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33326 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33327 instead.
33328
35a29136 333292017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
33330 Sergei Trofimovich <slyfox@inbox.ru>
33331
33332 [BZ #21908]
33333 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33334 Rename to MMAP2_PAGE_UNIT.
33335 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33336 __OFF_T_MATCHES_OFF64_T is not defined.
33337 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33338 uint64_t.
33339 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33340 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33341
fbdc1e3e
FW
333422017-08-14 Florian Weimer <fweimer@redhat.com>
33343
33344 i386: Do not set internal_function.
33345 * config.h.in (USE_REGPARMS, internal_function): Remove.
33346 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33347 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33348
b3f85fd2
FW
333492017-08-14 Florian Weimer <fweimer@redhat.com>
33350
33351 * elf/dl-init.c (_dl_init): Remove internal_function.
33352 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33353 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33354
630bf491
FW
333552017-08-14 Florian Weimer <fweimer@redhat.com>
33356
33357 * elf/rtld.c (_dl_start): Remove internal_function.
33358 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33359 _dl_start.
33360
9fa7449b
FW
333612017-08-14 Florian Weimer <fweimer@redhat.com>
33362
33363 * elf/dl-fini.c (_dl_fini): Remove internal_function
33364 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33365
73322d5f
L
333662017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33367
d863cd71 33368 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
33369 (bit_cpu_SHSTK): Likewise.
33370 (index_cpu_IBT): Likewise.
33371 (index_cpu_SHSTK): Likewise.
33372 (reg_IBT): Likewise.
33373 (reg_SHSTK): Likewise.
33374 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33375 Handle index_cpu_IBT and index_cpu_SHSTK.
33376
dbc303ef
MF
333772017-08-14 Mike FABIAN <mfabian@redhat.com>
33378
33379 [BZ #19982]
33380 * po/fr.po: Fix spelling mistake.
33381
3012cfb0
FW
333822017-08-13 Florian Weimer <fweimer@redhat.com>
33383
33384 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33385 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33386 (_dl_catch_error, _dl_receive_error): Likewise.
33387 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33388 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33389 (_dl_deallocate_tls): Likewise.
33390 * include/dlfcn.h (_dl_addr): Likewise.
33391 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33392 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33393 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33394 Likewise.
33395
52bcdf26
FW
333962017-08-13 Florian Weimer <fweimer@redhat.com>
33397
33398 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33399 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33400 internal_function.
33401 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33402
e1d2ae8d
FW
334032017-08-13 Florian Weimer <fweimer@redhat.com>
33404
33405 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33406 internal_function.
33407 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33408 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33409 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33410 internal_function from _dl_make_stack_executable_hook member.
33411 (_dl_make_stack_executable): Remove internal_function.
33412 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33413 Likewise.
33414 * sysdeps/unix/sysv/linux/dl-execstack.c
33415 (_dl_make_stack_executable): Likewise.
33416
c4ce0382
FW
334172017-08-13 Florian Weimer <fweimer@redhat.com>
33418
33419 * sysdeps/unix/sysv/linux/netlinkaccess.h
33420 (__netlink_assert_response): Remove internal_function.
33421 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33422 (__netlink_assert_response): Likewise.
33423
c4d767f7
FW
334242017-08-13 Florian Weimer <fweimer@redhat.com>
33425
33426 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33427 internal_function.
33428 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33429
b2297409
FW
334302017-08-13 Florian Weimer <fweimer@redhat.com>
33431
33432 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33433 internal_function.
33434 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33435 * inet/netgroup.h (__internal_setnetgrent)
33436 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33437 * inet/getnetgrent_r.c (__internal_setnetgrent)
33438 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33439 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33440 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33441 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33442 * nss/nsswitch.h (db_lookup_function): Likewise.
33443
1b0bfc69
FW
334442017-08-13 Florian Weimer <fweimer@redhat.com>
33445
33446 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33447 Remove internal_function.
33448 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33449 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33450 message argument on the stack.
33451 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33452 Likeweise.
33453
a6bd8722
MF
334542017-08-12 Mike FABIAN <mfabian@redhat.com>
33455
33456 Adapt test case data to the changes in the thousands
33457 separators.
33458
33459 [BZ #20756]
33460 * localedata/tst-langinfo.sh: Adapt test case data.
33461 * stdlib/tst-strfmon_l.c: Likewise.
33462 * stdlib/tst-strtod4.c: Likewise.
33463 * stdlib/tst-strtod5i.c: Likewise.
33464
8b2c63e4
FW
334652017-08-11 Florian Weimer <fweimer@redhat.com>
33466
33467 [BZ #21242]
33468 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33469 Suppress pedantic warning resulting from statement expression.
33470 (__ASSERT_FUNCTION): Add missing __extension__.
33471
61c98291
SP
334722017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33473
86c6519e
SP
33474 * benchtests/bench-memmove-large.c: Print output in JSON
33475 format.
33476 * benchtests/bench-memmove.c: Likewise.
33477
61c98291
SP
33478 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33479 * benchtests/bench-memchr.c (do_one_test): Likewise.
33480 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33481 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33482 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33483 * benchtests/bench-memmove.c (do_one_test): Likewise.
33484 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33485 * benchtests/bench-memset.c (do_one_test): Likewise.
33486 * benchtests/bench-string.h (test_init): Remove memsets.
33487
925733a9
RJ
334882017-08-10 Rical Jasan <ricaljasan@pacific.net>
33489
33490 * manual/lang.texi
33491 (Computing the Width of an Integer Data Type): Rename section to
33492 "Width of an Integer Type". Remove inaccurate statement regarding
33493 lack of C language facilities for determining width of integer
33494 types, and reorder content to improve flow and context of
33495 discussion.
33496
4fcdfbfc
RJ
334972017-08-10 Rical Jasan <ricaljasan@pacific.net>
33498
33499 * lang.texi (va_copy): Change standard from ISO to C99.
33500 (__va_copy): Add standard and header annotation.
33501 Update description for clarity of origins and current use.
33502
4d98ace9
GG
335032017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33504
33505 [BZ #21941]
33506 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33507 xssqrtqp requires operands to be in Vector Registers
33508 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33509 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33510 (__ieee754_sqrtf128): Likewise.
33511
92236903
WD
335122017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33513
33514 * sysdeps/aarch64/memcmp.S (memcmp):
33515 Rewrite of optimized memcmp.
33516
2449ae7b
FW
335172017-08-10 Florian Weimer <fweimer@redhat.com>
33518
33519 Introduce ld.so exceptions.
33520 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33521 (_dl_exception_create, _dl_exception_create_format)
33522 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33523 (_dl_catch_exception): Declare.
33524 (_dl_catch_error): Update comment.
33525 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33526 errstring, malloced members with exception member.
33527 (_dl_out_of_memory): Remove.
33528 (fatal_error): New function, extracted from _dl_signal_error.
33529 (_dl_signal_exception, _dl_signal_cexception): New functions.
33530 (_dl_signal_error): Call _dl_exception_create to allocate an
33531 exception object.
33532 (_dl_catch_exception): New function, based on _dl_catch_error.
33533 (_dl_catch_error): Implement using _dl_catch_exception.
33534 * elf/dl-exception.c: New file.
33535 * elf/Makefile (dl-routines): Add dl-exception.
33536 (elide-routines.os): Likewise.
33537 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33538 _dl_exception_create_format, _dl_exception_free.
33539 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33540 _dl_signal_exception.
33541 * elf/dl-lookup.c (make_string): Remove.
33542 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33543 _dl_signal_cexception, _dl_exception_free.
33544 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33545 _dl_signal_exception.
33546 * elf/dl-sym.c (do_sym): Likewise.
33547 * elf/dl-version.c (make_string): Remove.
33548 (match_symbol): Use _dl_exception_create_format,
33549 _dl_signal_cexception, _dl_exception_free.
33550 (_dl_check_map_versions): Likewise.
33551 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33552 _dl_catch_exception.
33553 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33554 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33555 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33556 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33557 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33558 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33559 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33560 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33561 Likewise.
33562 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33564 (ld.so): Likewise.
33565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33566 (ld.so): Likewise.
33567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33568 Likewise.
33569 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33570 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33571 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33572 Likewise.
33573 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33574 Likewise.
33575 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33576
f87cc2bf
FW
335772017-08-10 Florian Weimer <fweimer@redhat.com>
33578
33579 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33580 attribute_hidden, internal_function.
33581 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33582 internal_function.
33583
eac43cbb
FW
335842017-08-10 Florian Weimer <fweimer@redhat.com>
33585
33586 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33587 function which calls __builtin_unreachable.
33588
bd80111e
MF
335892017-08-10 Mike FABIAN <mfabian@redhat.com>
33590
33591 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33592 Indian monetary formatting
33593 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33594 test cases.
33595
60e2846e
DL
335962017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33597
68dc02d1
DL
33598 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33599 Fix typo in comment.
33600
60e2846e
DL
33601 [BZ #21928]
33602 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33603 PTRACE_SEIZE_DEVEL): Remove.
33604 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33605 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33606 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33607 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33608 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33609
3d452dab
JM
336102017-08-09 Joseph Myers <joseph@codesourcery.com>
33611
24d9f53a
JM
33612 * posix/bits/types.h (__qaddr_t): Remove.
33613
3d452dab
JM
33614 [BZ #21457]
33615 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33616 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33617 __glibc_reserved1.
33618 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33619 (ucontext_t): Use __ctx with uc_flags.
33620 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33621 (__ctxt): Likewise.
33622 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33623 __glibc_reserved1.
33624 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33625 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33626 __glibc_reserved1.
33627 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33628 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33629 __glibc_reserved1.
33630 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33631 macro.
33632 (ucontext_t): Use __ctx with uc_flags.
33633 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33634 (ucontext_t): Use __ctx with uc_flags.
33635 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33636 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33637 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33638 (ucontext_t): Use __ctx with uc_flags.
33639 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33640 undefine further down.
33641 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33642 __glibc_reserved1.
33643 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33644 undefine further down.
33645 (ucontext_t): Use __ctx with uc_flags.
33646 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33647 undefine further down.
33648 (ucontext_t): Use __ctx with uc_flags.
33649 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33650 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33651 Rename uc_pad to __glibc_reserved1.
33652 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33653 undefine further down.
33654 (ucontext_t): Use __ctx with uc_flags.
33655 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33656 further down.
33657 (ucontext_t): Use __ctx with uc_flags.
33658 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33659 __ctx with uc_flags.
33660 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33661 (ucontext_t): Use __ctx with uc_flags.
33662 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33663 __ctx with uc_flags.
33664
30161498
FW
336652017-08-09 Florian Weimer <fweimer@redhat.com>
33666
33667 [BZ #21932]
33668 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33669 before early return.
33670
5797b410
AS
336712017-08-09 Andreas Schwab <schwab@suse.de>
33672
139237a4 33673 [BZ #21041]
5797b410
AS
33674 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33675 renamed alias.
33676
139237a4 33677 [BZ #21041]
40c06a3d
AS
33678 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33679 tst-compat-forwarder.
33680 (modules-names): Add tst-compat-forwarder-mod.
33681 ($(objpfx)tst-compat-forwarder): Depend on
33682 $(objpfx)tst-compat-forwarder-mod.so.
33683 * nptl/tst-compat-forwarder.c: New file.
33684 * nptl/tst-compat-forwarder-mod.c: New file.
33685
36ada5f6
SP
336862017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33687
0e02b510
SP
33688 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33689 comments.
33690
36ada5f6
SP
33691 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33692 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33693 memcpy_falkor.
33694 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33695 Bump.
33696 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33697 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33698 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33699 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33700 Add falkor.
33701 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33702 New macro.
33703
9995c839
AZ
337042017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33705
33706 [BZ #759]
33707 * manual/setjmp.texi (getcontex): Document uc_stack value
33708 compatibility differences.
33709
f17a4233
JM
337102017-08-08 Joseph Myers <joseph@codesourcery.com>
33711
33712 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33713 (old_malloc_hook): Likewise.
33714 (old_memalign_hook): Likewise.
33715 (old_realloc_hook): Likewise.
33716 (struct hdr): Likewise.
33717 (flood): Likewise.
33718 (freehook): Likewise.
33719 (mallochook): Likewise.
33720 (memalignhook): Likewise.
33721 (reallochook): Likewise.
33722 (mprobe): Likewise.
33723 * malloc/mtrace.c (mallwatch): Likewise.
33724 (tr_old_free_hook): Likewise.
33725 (tr_old_malloc_hook): Likewise.
33726 (tr_old_realloc_hook): Likewise.
33727 (tr_old_memalign_hook): Likewise.
33728 (tr_where): Likewise.
33729 (lock_and_info): Likewise.
33730 (tr_freehook): Likewise.
33731 (tr_mallochook): Likewise.
33732 (tr_reallochook): Likewise.
33733 (tr_memalignhook): Likewise.
33734 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33735 * misc/mmap.c (__mmap): Likewise.
33736 * misc/mmap64.c (__mmap64): Likewise.
33737 * misc/mprotect.c (__mprotect): Likewise.
33738 * misc/msync.c (msync): Likewise.
33739 * misc/munmap.c (__munmap): Likewise.
33740 * posix/posix_madvise.c (posix_madvise): Likewise.
33741 * socket/send.c (__send): Likewise.
33742 * socket/sendto.c (__sendto): Likewise.
33743 * socket/setsockopt.c (__setsockopt): Likewise.
33744 * string/memcmp.c (__ptr_t): Remove macro.
33745 (MEMCMP): Use void * instead of ptr_t.
33746 * string/memrchr.c (__ptr_t): Remove macro.
33747 (__memrchr): Use void * instead of ptr_t.
33748 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33749 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33750 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33751 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33752 * sysdeps/mach/msync.c (msync): Likewise.
33753 * sysdeps/mach/munmap.c (__munmap): Likewise.
33754 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33755 Likewise.
33756 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33757 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33758 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33759 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33760 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33761 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33762 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33763 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33764 Likewise.
33765 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33766 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33767 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33768 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33769 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33770 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33771 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33772 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33773 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33774 Likewise.
33775 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33776 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33777 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33778 (MEMCMP): Use void * instead of ptr_t.
33779 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33780 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33781
0df595b2
FW
337822017-08-08 Florian Weimer <fweimer@redhat.com>
33783
33784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33785 return statement.
33786
086df229
L
337872017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33788
33789 [BZ #21913]
33790 * csu/libc-tls.c: Include <startup.h> first.
33791 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33792 * elf/dl-tunables.c: Include <startup.h> first.
33793 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33794 * sysdeps/generic/startup.h: New file.
33795 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33796 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33797 (I386_USE_SYSENTER): New. Defined to 0.
33798
fc5ad702
AS
337992017-08-08 Andreas Schwab <schwab@suse.de>
33800
33801 [BZ #21041]
33802 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33803 * nptl/pt-system.c (system): Likewise.
33804
852d6312
AZ
338052017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33806
33807 [BZ #21780]
33808 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33809 EOPNOTSUPP.
33810 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33811 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33812 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33813 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33814 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33815 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33816 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33817
8b164787
JM
338182017-08-07 Joseph Myers <joseph@codesourcery.com>
33819
cd65836b
JM
33820 [BZ #21899]
33821 * bits/sigaction.h (struct sigaction): Define sa_handler and
33822 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33823 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33824 [__USE_XOPEN_EXTENDED].
33825 (SA_RESTART): Likewise.
33826 (SA_NODEFER): Likewise.
33827 (SA_RESETHAND): Likewise.
33828 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33829 (struct sigaction): Define sa_handler and sa_sigaction using union
33830 also for [__USE_XOPEN_EXTENDED].
33831 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33832 [__USE_XOPEN_EXTENDED].
33833 (SA_RESTART): Likewise.
33834 (SA_NODEFER): Likewise.
33835 (SA_RESETHAND): Likewise.
33836 * sysdeps/unix/sysv/linux/bits/sigaction.h
33837 (struct sigaction): Define sa_handler and sa_sigaction using union
33838 also for [__USE_XOPEN_EXTENDED].
33839 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33840 [__USE_XOPEN_EXTENDED].
33841 (SA_RESTART): Likewise.
33842 (SA_NODEFER): Likewise.
33843 (SA_RESETHAND): Likewise.
33844 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33845 (struct sigaction): Define sa_handler and sa_sigaction using union
33846 also for [__USE_XOPEN_EXTENDED].
33847 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33848 [__USE_XOPEN_EXTENDED].
33849 (SA_RESTART): Likewise.
33850 (SA_NODEFER): Likewise.
33851 (SA_RESETHAND): Likewise.
33852 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33853 (struct sigaction): Define sa_handler and sa_sigaction using union
33854 also for [__USE_XOPEN_EXTENDED].
33855 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33856 [__USE_XOPEN_EXTENDED].
33857 (SA_RESTART): Likewise.
33858 (SA_NODEFER): Likewise.
33859 (SA_RESETHAND): Likewise.
33860 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33861 (struct sigaction): Define sa_handler and sa_sigaction using union
33862 also for [__USE_XOPEN_EXTENDED].
33863 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33864 [__USE_XOPEN_EXTENDED].
33865 (SA_RESTART): Likewise.
33866 (SA_NODEFER): Likewise.
33867 (SA_RESETHAND): Likewise.
33868 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33869 (struct sigaction): Define sa_handler and sa_sigaction using union
33870 also for [__USE_XOPEN_EXTENDED].
33871 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33872 [__USE_XOPEN_EXTENDED].
33873 (SA_RESTART): Likewise.
33874 (SA_NODEFER): Likewise.
33875 (SA_RESETHAND): Likewise.
33876 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33877 (struct sigaction): Define sa_handler and sa_sigaction using union
33878 also for [__USE_XOPEN_EXTENDED].
33879 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33880 [__USE_XOPEN_EXTENDED].
33881 (SA_RESTART): Likewise.
33882 (SA_NODEFER): Likewise. Define directly rather than as alias.
33883 (SA_RESETHAND): Likewise.
33884 (SA_INTERRUPT): Define only for [__USE_MISC].
33885 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33886 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33887 [__USE_MISC].
33888 (SA_STACK): Define only for [__USE_MISC].
33889 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33890 (struct sigaction): Define sa_handler and sa_sigaction using union
33891 also for [__USE_XOPEN_EXTENDED].
33892 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33893 [__USE_XOPEN_EXTENDED].
33894 (SA_RESTART): Likewise.
33895 (SA_NODEFER): Likewise.
33896 (SA_RESETHAND): Likewise.
33897 (SA_NOPTRACE): Define only for [__USE_MISC].
33898
d9fee042
JM
33899 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33900 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33901 (struct catalog_info): Likewise.
33902 * inet/htontest.c (lo): Likewise.
33903 (foo): Likewise.
33904 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33905 * inet/inet_net.c (inet_network): Likewise.
33906 * inet/inet_netof.c (inet_netof): Likewise.
33907 * inet/rcmd.c (__ivaliduser): Likewise.
33908 (iruserok): Likewise.
33909 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33910 * locale/programs/locale-spec.c (locale_special): Likewise.
33911 * nis/nis_findserv.c (struct findserv_req): Likewise.
33912 (__nis_findfastest_with_timeout): Likewise.
33913 * nss/test-netdb.c (test_network): Likewise.
33914 * resolv/inet_neta.c (inet_neta): Likewise.
33915 * resolv/ns_date.c (ns_datetosecs): Likewise.
33916 (SECS_PER_DAY): Likewise.
33917 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33918 Likewise.
33919 * resolv/res_comp.c (__putlong): Likewise.
33920 (__putshort): Likewise.
33921 (_getlong): Likewise.
33922 (_getshort): Likewise.
33923 * resolv/res_debug.c (p_time): Likewise.
33924 (precsize_ntoa): Likewise.
33925 (precsize_aton): Likewise.
33926 (latlon2ul): Likewise.
33927 (loc_aton): Likewise.
33928 (loc_ntoa): Likewise.
33929 * resolv/res_hconf.c (struct netaddr): Likewise.
33930 (_res_hconf_reorder_addrs): Likewise.
33931 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33932 (clnttcp_control): Likewise.
33933 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33934 (clntudp_control): Likewise.
33935 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33936 (clntunix_control): Likewise.
33937 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33938 * sunrpc/rpc/auth.h (union des_block): Likewise.
33939 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33940 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33941 (xdrrec_create): Likewise.
33942 (xdrrec_endofrecord): Likewise.
33943 (flush_out): Likewise.
33944 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33945 (xdrstdio_putlong): Likewise.
33946 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33947 Likewise.
33948
8b164787
JM
33949 * misc/sys/cdefs.h (__long_double_t): Remove.
33950 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33951 instead of __long_double_t,
33952 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33953
7ee38e60
SP
339542017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33955
dd3e86ad
SP
33956 * benchtests/scripts/compare_strings.py: Avoid display error when
33957 running on a text terminal.
33958
b115e819
SP
33959 * benchtests/scripts/compare_strings.py (main): Add an
33960 optional -base option.
33961 (process_results): New argument base_func.
33962
7ee38e60
SP
33963 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33964 hardcoding memcpy.
33965 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33966 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33967
d5afb385
AS
339682017-08-07 Andreas Schwab <schwab@suse.de>
33969
33970 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33971 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33972 * intl/Makefile ($(objpfx)tst-gettext.out)
33973 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33974 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33975 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33976 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33977 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33978 * posix/Makefile ($(objpfx)globtest.out)
33979 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33980 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33981 ($(objpfx)tst-printf.out): Likewise.
33982 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33983 ($(objpfx)tst-setcontext3.out): Likewise.
33984
57a72fa3
L
339852017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33986
33987 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33988 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33989 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33990 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33991 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33992 and mptan-fma.
33993 (CFLAGS-doasin-fma.c): New.
33994 (CFLAGS-dosincos-fma.c): Likewise.
33995 (CFLAGS-e_asin-fma.c): Likewise.
33996 (CFLAGS-e_atan2-fma.c): Likewise.
33997 (CFLAGS-e_exp-fma.c): Likewise.
33998 (CFLAGS-e_log-fma.c): Likewise.
33999 (CFLAGS-e_pow-fma.c): Likewise.
34000 (CFLAGS-halfulp-fma.c): Likewise.
34001 (CFLAGS-mpa-fma.c): Likewise.
34002 (CFLAGS-mpatan-fma.c): Likewise.
34003 (CFLAGS-mpatan2-fma.c): Likewise.
34004 (CFLAGS-mpexp-fma.c): Likewise.
34005 (CFLAGS-mplog-fma.c): Likewise.
34006 (CFLAGS-mpsqrt-fma.c): Likewise.
34007 (CFLAGS-mptan-fma.c): Likewise.
34008 (CFLAGS-s_atan-fma.c): Likewise.
34009 (CFLAGS-sincos32-fma.c): Likewise.
34010 (CFLAGS-slowexp-fma.c): Likewise.
34011 (CFLAGS-slowpow-fma.c): Likewise.
34012 (CFLAGS-s_sin-fma.c): Likewise.
34013 (CFLAGS-s_tan-fma.c): Likewise.
34014 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34015 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34016 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34017 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34018 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34019 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34020 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34021 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34022 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34023 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34024 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34025 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34026 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34027 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34028 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34029 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34030 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34031 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34032 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34033 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34034 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34035 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34036 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34037 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34038 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34039 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34040 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34041 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34042 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34043 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34044 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34045
219dd320
JM
340462017-08-04 Joseph Myers <joseph@codesourcery.com>
34047
34048 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34049 (min_of_type_f): New macro.
34050 (min_of_type_): Likewise.
34051 (min_of_type_l): Likewise.
34052 (min_of_type_f128): Likewise.
34053 (min_of_type): Define using __MATH_TG and taking an expression
34054 argument.
34055 (math_check_force_underflow): Pass expression instead of type to
34056 min_of_type.
34057 (math_check_force_underflow_nonneg): Likewise.
34058
64d4dea6
L
340592017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34060
34061 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34062 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34063 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34064
973da22a
L
340652017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34066
34067 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34068 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34069 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34070 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34071 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34072 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34073 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34074 memmove_chk-nonshared and memset_chk-nonshared
34075 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34076 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34077 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34078 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34079 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34080 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34081 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34082 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34083 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34084 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34085 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34086 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34087 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34088 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34089 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34090 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34091 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34092 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34093 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34094 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34095 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34096 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34097 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34098 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34099 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34100 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34101 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34102 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34103 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34104 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34105 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34106 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34107 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34108 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34109 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34110 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34111 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34112 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34113 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34114 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34115 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34116 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34117 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34118 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34119 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34120 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34121 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34122 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34123 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34124 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34125 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34126 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34127 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34128 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34129 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34130 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34131 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34132 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34133 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34134 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34135 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34136 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34137 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34138 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34139 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34140 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34141 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34142 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34143 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34144 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34145 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34146 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34147 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34148 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34149 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34150 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34151 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34152 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34153 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34154 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34155 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34156 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34157 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34158 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34159 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34160 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34161 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34162 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34163 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34164 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34165 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34166 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34167 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34168 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34169 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34170 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34171 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34172 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34173 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34174 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34175 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34176 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34177 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34178 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34179 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34180 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34181 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34182 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34183
8537e0f6
L
341842017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34185
34186 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34187 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34188 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34189 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34190 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34191 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34192 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34193 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34194 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34195 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34196 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34197 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34198 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34199 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34200 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34201 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34202 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34203 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34204 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34205 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34206 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34207 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34208 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34209 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34210 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34211 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34212 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34213 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34214 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34215 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34216 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34217 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34218 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34219 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34220 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34221 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34222 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34223 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34224 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34225 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34226 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34227 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34228 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34229 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34230 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34231 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34232 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34233 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34234 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34235 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34236 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34237 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34238 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34239 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34240 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34241 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34242 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34243 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34244 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34245 ...
34246 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34247 Don't include <sysdep.h> nor <init-arch.h>.
34248 (_ZGVbN2v_cos): Removed.
34249 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34250 ...
34251 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34252 Don't include <sysdep.h> nor <init-arch.h>.
34253 (_ZGVdN4v_cos): Removed.
34254 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34255 ...
34256 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34257 Don't include <sysdep.h> nor <init-arch.h>.
34258 (_ZGVeN8v_cos): Removed.
34259 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34260 ...
34261 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34262 Don't include <sysdep.h> nor <init-arch.h>.
34263 (_ZGVbN2v_exp): Removed.
34264 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34265 ...
34266 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34267 Don't include <sysdep.h> nor <init-arch.h>.
34268 (_ZGVdN4v_exp): Removed.
34269 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34270 ...
34271 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34272 Don't include <sysdep.h> nor <init-arch.h>.
34273 (_ZGVeN8v_exp): Removed.
34274 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34275 ...
34276 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34277 Don't include <sysdep.h> nor <init-arch.h>.
34278 (_ZGVbN2v_log): Removed.
34279 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34280 ...
34281 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34282 Don't include <sysdep.h> nor <init-arch.h>.
34283 (_ZGVdN4v_log): Removed.
34284 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34285 ...
34286 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34287 Don't include <sysdep.h> nor <init-arch.h>.
34288 (_ZGVeN8v_log): Removed.
34289 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34290 ...
34291 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34292 Don't include <sysdep.h> nor <init-arch.h>.
34293 (_ZGVbN2vv_pow): Removed.
34294 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34295 ...
34296 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34297 Don't include <sysdep.h> nor <init-arch.h>.
34298 (_ZGVdN4vv_pow): Removed.
34299 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34300 ...
34301 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34302 Don't include <sysdep.h> nor <init-arch.h>.
34303 (_ZGVeN8vv_pow): Removed.
34304 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34305 ...
34306 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34307 Don't include <sysdep.h> nor <init-arch.h>.
34308 (_ZGVbN2v_sin): Removed.
34309 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34310 ...
34311 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34312 Don't include <sysdep.h> nor <init-arch.h>.
34313 (_ZGVbN4v_sin): Removed.
34314 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34315 ...
34316 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34317 Don't include <sysdep.h> nor <init-arch.h>.
34318 (_ZGVbN8v_sin): Removed.
34319 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34320 ...
34321 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34322 Don't include <sysdep.h> nor <init-arch.h>.
34323 (_ZGVbN2vvv_sincos): Removed.
34324 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34325 ...
34326 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34327 Don't include <sysdep.h> nor <init-arch.h>.
34328 (_ZGVdN4vvv_sincos): Removed.
34329 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34330 ...
34331 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34332 Don't include <sysdep.h> nor <init-arch.h>.
34333 (_ZGVeN8vvv_sincos): Removed.
34334 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34335 ...
34336 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34337 Don't include <sysdep.h> nor <init-arch.h>.
34338 (_ZGVeN16v_cosf): Removed.
34339 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34340 ...
34341 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34342 Don't include <sysdep.h> nor <init-arch.h>.
34343 (_ZGVbN4v_cosf): Removed.
34344 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34345 ...
34346 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34347 Don't include <sysdep.h> nor <init-arch.h>.
34348 (_ZGVdN8v_cosf): Removed.
34349 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34350 ...
34351 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34352 Don't include <sysdep.h> nor <init-arch.h>.
34353 (_ZGVeN16v_expf): Removed.
34354 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34355 ...
34356 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34357 Don't include <sysdep.h> nor <init-arch.h>.
34358 (_ZGVbN4v_expf): Removed.
34359 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34360 ...
34361 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34362 Don't include <sysdep.h> nor <init-arch.h>.
34363 (_ZGVdN8v_expf): Removed.
34364 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34365 ...
34366 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34367 Don't include <sysdep.h> nor <init-arch.h>.
34368 (_ZGVeN16v_logf): Removed.
34369 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34370 ...
34371 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34372 Don't include <sysdep.h> nor <init-arch.h>.
34373 (_ZGVbN4v_logf): Removed.
34374 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34375 ...
34376 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34377 Don't include <sysdep.h> nor <init-arch.h>.
34378 (_ZGVdN8v_logf): Removed.
34379 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34380 ...
34381 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34382 Don't include <sysdep.h> nor <init-arch.h>.
34383 (_ZGVeN16vv_powf): Removed.
34384 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34385 ...
34386 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34387 Don't include <sysdep.h> nor <init-arch.h>.
34388 (_ZGVbN4vv_powf): Removed.
34389 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34390 ...
34391 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34392 Don't include <sysdep.h> nor <init-arch.h>.
34393 (_ZGVdN8vv_powf): Removed.
34394 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34395 ...
34396 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34397 Don't include <sysdep.h> nor <init-arch.h>.
34398 (_ZGVeN16vvv_sincosf): Removed.
34399 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34400 ...
34401 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34402 Don't include <sysdep.h> nor <init-arch.h>.
34403 (_ZGVbN4vvv_sincosf): Removed.
34404 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34405 ...
34406 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34407 Don't include <sysdep.h> nor <init-arch.h>.
34408 (_ZGVdN8vvv_sincosf): Removed.
34409 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34410 ...
34411 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34412 Don't include <sysdep.h> nor <init-arch.h>.
34413 (_ZGVeN16v_sinf): Removed.
34414 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34415 ...
34416 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34417 Don't include <sysdep.h> nor <init-arch.h>.
34418 (_ZGVbN4v_sinf): Removed.
34419 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34420 ...
34421 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34422 Don't include <sysdep.h> nor <init-arch.h>.
34423 (_ZGVdN8v_sinf): Removed.
34424
10a87ca4
L
344252017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34426
34427 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34428 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34429 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34430 s_rint-sse4_1 and s_rintf-sse4_1.
34431 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34432 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34433 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34434 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34435 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34436 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34437 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34438 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34439 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34440 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34441 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34442 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34443 (__ceil): Removed.
34444 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34445 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34446 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34447 (__ceilf): Removed.
34448 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34449 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34450 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34451 (__floor): Removed.
34452 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34453 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34454 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34455 (__floorf): Removed.
34456 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34457 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34458 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34459 (__nearbyint): Removed.
34460 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34461 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34462 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34463 (__nearbyintf): Removed.
34464 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34465 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34466 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34467 (__rint): Removed.
34468 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34469 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34470 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34471 (__rintf): Removed.
34472
1e8e527d
L
344732017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34474
34475 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34476 SHARED. Avoid dynamic relocation against main in static PIE.
34477
e13daad7
L
344782017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34479
34480 [BZ #21815]
34481 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34482 (LDFLAGS-tst-prelink): Likewise.
34483
627c69c8
L
344842017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34485
34486 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34487 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34488 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34489 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34490 (INTERNAL_SYSCALL_NCS): Likewise.
34491 (LOADARGS_1): Likewise.
34492 (LOADARGS_5): Likewise.
34493 (RESTOREARGS_1): Likewise.
34494 (RESTOREARGS_5): Likewise.
34495
fc11ff8d
L
344962017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34497
34498 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34499 (MEMPCPY_SYMBOL): Likewise.
34500 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34501 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34502 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34503 in libc.a.
34504 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34505 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34506 Likewise.
34507 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34508 (__hidden_ver1): Don't use in libc.a.
34509 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34510 (__mempcpy): Don't create a weak alias in libc.a.
34511 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34512 libc.a.
34513 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34514 (__hidden_ver1): Don't use in libc.a.
34515
19f1a11e
L
345162017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34517
34518 * config.make.in (have-insert): New.
34519 * configure.ac (libc_cv_insert): New. Set to yes if linker
34520 supports INSERT in linker script.
34521 (AC_SUBST(libc_cv_insert): New.
34522 * configure: Regenerated.
34523 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34524 if $(have-insert) == yes.
34525
3093fd5e
L
345262017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34527
34528 * elf/Makefile (tests): Add vismain only if
34529 $(have-protected-data) == yes.
34530 (tests-pie): Likewise.
34531
d2cf37c0
L
345322017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34533
34534 [BZ #21871]
34535 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34536 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34537
c8a0e6ec
L
345382017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34539
34540 [BZ #21790]
34541 * sysdeps/i386/i586/memset.S
34542 (__memset_zero_constant_len_parameter): Removed.
34543 * sysdeps/i386/i686/memset.S
34544 (__memset_zero_constant_len_parameter): Likewise.
34545 * sysdeps/i386/i686/multiarch/memset_chk.S
34546 (__memset_zero_constant_len_parameter): Likewise.
34547 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34548 Likewise.
34549
2b34e271
AJ
345502017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34551
34552 * stdlib/getentropy.c (getentropy): Change return type to int.
34553
144bdab0
AJ
345542017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34555
34556 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34557
24ab7723
JM
345582017-08-03 Joseph Myers <joseph@codesourcery.com>
34559
34560 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34561 u_intN_t.
34562 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34563 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34564 Likewise.
34565 (ieee_float_shape_type): Likewise.
34566 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34567 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34568 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34569 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34570 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34571 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34572 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34573 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34574 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34575 Likewise.
34576 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34577 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34578 (__ieee754_yn): Likewise.
34579 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34580 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34581 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34582 Likewise.
34583 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34584 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34585 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34586 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34587 (__erfc): Likewise.
34588 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34589 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34590 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34591 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34592 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34593 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34594 Likewise.
34595 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34596 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34597 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34598 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34599 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34600 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34601 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34602 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34603 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34604 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34605 (__issignaling): Likewise.
34606 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34607 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34608 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34609 Likewise.
34610 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34611 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34612 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34613 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34614 Likewise.
34615 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34616 Likewise.
34617 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34618 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34619 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34620 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34621 (__erfcf): Likewise.
34622 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34623 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34624 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34625 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34626 Likewise.
34627 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34628 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34629 Likewise.
34630 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34631 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34632 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34633 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34634 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34635 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34636 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34637 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34638 Likewise.
34639 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34640 Likewise.
34641 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34642 Likewise.
34643 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34644 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34645 Likewise.
34646 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34647 Likewise.
34648 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34649 (__ieee754_ynl): Likewise.
34650 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34651 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34652 Likewise.
34653 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34654 Likewise.
34655 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34656 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34657 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34658 Likewise.
34659 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34660 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34661 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34662 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34663 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34664 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34665 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34666 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34667 Likewise.
34668 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34669 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34670 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34671 Likewise.
34672 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34673 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34674 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34675 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34676 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34677 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34678 Likewise.
34679 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34680 Likewise.
34681 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34682 Likewise.
34683 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34684 Likewise.
34685 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34686 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34687 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34688 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34689 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34690 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34691 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34692 Likewise.
34693 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34694 Likewise.
34695 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34696 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34697 Likewise.
34698 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34699 (__ieee754_remainderl): Likewise.
34700 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34701 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34702 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34703 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34704 Likewise.
34705 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34706 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34707 Likewise.
34708 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34709 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34710 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34711 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34712 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34713 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34714 Likewise.
34715 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34716 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34717 (__ieee754_y0l): Likewise.
34718 (pzero): Likewise.
34719 (qzero): Likewise.
34720 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34721 (__ieee754_y1l): Likewise.
34722 (pone): Likewise.
34723 (qone): Likewise.
34724 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34725 (__ieee754_ynl): Likewise.
34726 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34727 (__ieee754_lgammal_r): Likewise.
34728 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34729 Likewise.
34730 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34731 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34732 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34733 (__erfcl): Likewise.
34734 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34735 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34736 Likewise.
34737 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34738 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34739 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34740 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34741 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34742 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34743 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34744 Likewise.
34745 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34746 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34747 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34748 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34749 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34750 Likewise.
34751 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34752 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34753 Likewise.
34754 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34755 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34756 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34757 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34758 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34759
964263bb
FW
347602017-08-03 Florian Weimer <fweimer@redhat.com>
34761
34762 [BZ #21885]
34763 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34764 on memory allocation failure.
34765
e98c925f
AM
347662017-08-03 Alan Modra <amodra@gmail.com>
34767
34768 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34769 tst-tlsopt-powerpc.c with function name change and no test harness.
34770 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34771 Call tls_get_addr_opt_test.
34772 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34773 (modules-names): Add mod-tlsopt-powerpc.
34774 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34775 (tst-tlsopt-powerpc): Depend on .so.
34776 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34777 define. Expand use in TLS_GD and TLS_LD.
34778
8ee1abdb
ST
347792017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34780
34781 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34782 function.
3da5756e 34783 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 34784
42df8d59
JM
347852017-08-02 Joseph Myers <joseph@codesourcery.com>
34786
34787 [BZ #21686]
34788 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34789 comparing size with that of double.
34790 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34791 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34792 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34793 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34794 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34795 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34796 unsigned __int128 types.
34797
b7f95f49
SE
347982017-08-02 Steve Ellcey <sellcey@cavium.com>
34799
34800 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34801 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34802 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34803 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34804 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34805
5b736bc9
L
348062017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34807
34808 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34809
dfc93c41
L
348102017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34811
34812 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34813 of SHARED.
34814 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34815 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34816 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34817 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34818 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34819 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34820 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34821
2fee621d
JM
348222017-08-02 Joseph Myers <joseph@codesourcery.com>
34823
34824 [BZ #21685]
34825 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34826 bit-field expressions passed to sizeof or typeof.
34827 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34828 (__TGMATH_F128): Likewise.
34829 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34830 (__TGMATH_CF128): Likewise.
34831 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34832 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34833 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34834 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34835 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34836 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34837 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34838 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34839 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34840 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34841 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34842 (__TGMATH_UNARY_IMAG): Likewise.
34843 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34844 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34845 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34846 type.
34847 (define_vars_for_type): Handle bit_field type specially.
34848 (Tests.__init__): Declare structure with bit-field element.
34849
b358255f
L
348502017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34851
34852 [BZ #21791]
34853 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34854 (MEMCPY_CHK): Define only if SHARED is defined.
34855 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34856 Likewise.
34857 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34858 Likewise.
edf66db1
SP
34859
34860See ChangeLog.18 for earlier changes.