]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add NT_ARM_PACA_KEYS and NT_ARM_PACG_KEYS from Linux 5.1 to elf.h.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
13886008
JM
12019-05-20 Joseph Myers <joseph@codesourcery.com>
2
3 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
4 (NT_ARM_PACG_KEYS): Likewise.
5
1f50f2ad
WD
62019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
7
8 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
9 (tcache_put): Remove redundant assert.
10 (tcache_get): Remove redundant asserts.
11 (__libc_malloc): Check tcache count is not zero.
12 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
13
fef7c63c
FW
142019-05-17 Florian Weimer <fweimer@redhat.com>
15
16 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
17
5f161b23
JM
182019-05-16 Joseph Myers <joseph@codesourcery.com>
19
20 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
22 0x050100].
23 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
24 Likewise.
25 * sysdeps/unix/sysv/linux/sh/kernel-features.h
26 (__ASSUME_STATX): Likewise.
27
ec255a97
FW
282019-05-16 Florian Weimer <fweimer@redhat.com>
29
30 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
31 flags argument.
32 (LINE_PARSER): Do not map IPv4 addresses.
33 (internal_nis_gethostent_r): Remove flags argument. Adjust call
34 to parse_line.
35 (_nss_nis_gethostent_r): Always pass AF_INET to
36 internal_nis_gethostent_r.
37 (internal_gethostbyname2_r): Remove flags argument. Adjust call
38 to parse_line.
39 (_nss_nis_gethostbyname2_r): Adjust call to
40 internal_nis_gethostent_r.
41 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
42 call to internal_nis_gethostent_r.
43 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
44 from parse_line.
45 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
46 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
47 Remove flags argument. Do not map IPv4 addresses.
48 (internal_nisplus_gethostent_r): Adjust call to
49 _nss_nisplus_parse_hostent.
50 (internal_gethostbyname2_r): Remove flags argument. Adjust call
51 to _nss_nisplus_parse_hostent.
52 (_nss_nisplus_gethostbyname2_r): Adjust call to
53 internal_gethostbyname2_r.
54 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
55 Adjust call to internal_gethostbyname2_r.
56 (_nss_nisplus_gethostbyaddr_r): Adjust call to
57 _nss_nisplus_parse_hostent.
58 (_nss_nisplus_gethostbyname4_r): Adjust call to
59 internal_gethostbyname2_r.
60
9c02d078
FW
612019-05-16 Florian Weimer <fweimer@redhat.com>
62
63 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
64 Remove flags.
65 (LINE_PARSER): Remove address mapping.
66 (EXTRA_ARGS_VALUE): Remove flags argument.
67 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
68 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
69 gethostbyname3_multi.
70 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
71 _nss_files_gethostbyname3_r.
72 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
73
85b0e1e8
FW
742019-05-16 Florian Weimer <fweimer@redhat.com>
75
76 * support/support_test_compare_blob.c (report_blob): Report
77 incorrect NULL blobs.
78
11b451c8
MW
792019-05-15 Mark Wielaard <mark@klomp.org>
80
81 [BZ# 24476]
82 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
83 __libc_once_get (once) and static_buf == NULL.
84 (__dlerror): Check we have a valid key, set result to static_buf
85 otherwise.
86
32ff3975
AS
872019-05-15 Andreas Schwab <schwab@suse.de>
88
89 [BZ #20568]
90 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
91 __codecvt_do_length.
92 * libio/Makefile (tests): Add tst-wfile-sync.
93 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
94 * libio/tst-wfile-sync.c: New file.
95 * libio/tst-wfile-sync.input: New file.
96
a9368c34
FW
972019-05-15 Florian Weimer <fweimer@redhat.com>
98
99 nss: Turn __nss_database_lookup into a compatibility symbol.
100 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
101 __nss_database_lookup.
102 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
103 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
104 __nss_database_lookup.
105 (__nss_next): Move to …
106 * nss/compat-lookup.c (nss_next): … here. Change it to fail
107 unconditionally.
108 (__nss_database_lookup): New function.
109 * nss/Versions (GLIBC_2.0): Update comment.
110 (GLIBC_PRIVATE): Export __nss_database_lookup2.
111 * grp/initgroups.c (internal_getgrouplist): Call
112 __nss_database_lookup2 instead of __nss_database_lookup.
113 * nscd/aicache.c (addhstaiX): Likewise.
114 * nscd/initgrcache.c (addinitgroupsX): Likewise.
115 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
116 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
117 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
118 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
119 Likewise.
120 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
121 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
123
d50f0918 1242019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 125
d50f0918
AH
126 * support/support.h (support_install_rootsbindir): New variable.
127 * support/support_paths.c: Likewise.
128 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
129
7ac6fad9
FW
1302019-05-15 Florian Weimer <fweimer@redhat.com>
131
132 * iconv/gconv.h (__gconv_transliterate): Move declaration …
133 * iconv/gconv_int.h (__gconv_transliterate): … here.
134 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
135 * iconv/skeleton.c: Likewise.
136
04b261bd
FW
1372019-05-14 Florian Weimer <fweimer@redhat.com>
138
139 Linux: Add the tgkill function.
140 * bits/signal_ext.h: New file.
141 * manual/signal.texi (Signaling Another Process): Document tgkill.
142 * signal/Makefile (headers): Add bits/signal_ext.h.
143 * signal/signal.h: Include <bits/signal_ext.h>.
144 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
145 (tst-tgkill): Link with libpthread.
146 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
147 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
148 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
149 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
150 tgkill.
151 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
152 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
153 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
154 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
155 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
156 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
157 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
158 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
159 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
160 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
161 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
162 Likewise.
163 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
164 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
165 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
167 Likewise.
168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
169 Likewise.
170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
171 Likewise.
172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
173 Likewise.
174 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
175 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
176 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
177 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
178 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
179 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
180 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
181 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
182
6807f47b
CD
1832019-05-14 Carlos O'Donell <carlos@redhat.com>
184
185 * manual/search.texi (Tree Search Function): Adjust twalk_r
186 documentation.
187
fdb8a0be
AZ
1882019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
189
da2b83ef
AZ
190 [BZ #24544]
191 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
192 pre-defined value.
193
c7ac9caa
AZ
194 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
195 * support/support.h (support_bindir_prefix): New variable.
196 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
197
91f043ae
AZ
198 * config.make.in (bindir): New variable.
199
c50e1c26
AZ
200 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
201 (lll_trylock): Call __lll_trylock.
202 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
203 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
204 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
205 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
206 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
207 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
208 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
209 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
210 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
211 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
212 lowlevellock-futex.h.
213
959aff9f
AZ
214 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
215 initialization for LLL_LOCK_INITIALIZER different than 0.
216 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
217 Assume LLL_LOCK_INITIALIZER being 0.
218 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
219 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
220 Likewise.
221 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
222 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
223
d7e4c642
AZ
224 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
225 Optimize futex call and add systemtap probe.
226
fdb8a0be
AZ
227 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
228 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
229 __libc_disable_asynccancel, __librt_enable_asynccancel,
230 __libc_disable_asynccancel, __librt_enable_asynccancel,
231 __librt_disable_asynccancel): Move to ...
232 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
233 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
234 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
235 * sysdeps/generic/single-thread.h: New file.
236 * sysdeps/unix/sysdep.h: Include single-thread.h.
237 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
238 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
239
f6efec90
MF
2402019-05-08 Mike FABIAN <mfabian@redhat.com>
241
242 [BZ #24535]
243 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
244 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
245 Unicode 12.1.0.
246 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
247 * localedata/unicode-gen/PropList.txt: Likewise.
248 * localedata/unicode-gen/UnicodeData.txt: Likewise.
249 * localedata/charmaps/UTF-8: Regenerate.
250 * localedata/locales/i18n_ctype: Likewise.
251 * localedata/locales/tr_TR: Likewise.
252 * localedata/locales/translit_circle: Likewise.
253 * localedata/locales/translit_cjk_compat: Likewise.
254 * localedata/locales/translit_combining: Likewise.
255 * localedata/locales/translit_compat: Likewise.
256 * localedata/locales/translit_font: Likewise.
257 * localedata/locales/translit_fraction: Likewise.
258
5ad533e8
WD
2592019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
260
261 [BZ #24531]
262 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
263 (do_set_tcache_count): Only update if count is small enough.
264 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
265
4aee85f9
FW
2662019-05-10 Florian Weimer <fweimer@redhat.com>
267
268 * nptl/sem_close.c (struct walk_closure): Define.
269 (walker): Adjust for __twalk_r.
270 (sem_close): Call __twalk_r.
271
eb669ff5
AZ
2722019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
273
274 * support/timespec.c (test_timespec_before_impl,
275 test_timespec_equal_or_after_impl): print timespec member as intmax_t
276 insted of long int.
277
51983996
MC
2782019-05-09 Mike Crowe <mac@mcrowe.com>
279
44ac6ee9
MC
280 * nptl/tst-abstime.c: Use libsupport.
281
495514ee
MC
282 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
283 small bug where only tv.tv_usec was checked which could cause an
284 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
285 than a second.
286
287 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
288 libsupport.
289
40d0816f
MC
290 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
291 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
292
d8e0b901
MC
293 * nptl/tst-cond11.c: Use libsupport.
294
51983996
MC
295 * support/timespec.h: New file. Provide timespec helper functions
296 along with macros in the style of those in check.h.
297 * support/timespec.c: New file. Implement check functions declared
298 in support/timespec.h.
299 * support/timespec-add.c: New file from gnulib containing
300 timespec_add implementation that handles overflow.
301 * support/timespec-sub.c: New file from gnulib containing
302 timespec_sub implementation that handles overflow.
303 * support/README: Mention timespec.h.
304
18aa51ee
SN
3052019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
306
307 [BZ #24537]
308 * nptl/Makefile: Move tst-eintr1 to xtests.
309
252296c6
AZ
3102019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
311
ae45cf84
AZ
312 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
313 TRUNC handling.
314 (round_mode): Add definition for TRUNC.
315 * sysdeps/powerpc/fpu/s_trunc.c: New file.
316 * sysdeps/powerpc/fpu/s_truncf.c: New file.
317 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
318 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
319 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
320 Likewise.
321 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
322 Likewise.
323 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
324 Likewise.
325 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
326 Likewise.
327 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
328 file.
329 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
330 Likewise.
331 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
332 Likewise.
333 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
334 Likewise.
335 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
336 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
337 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
338 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
339 s_truncf-power5+, and s_truncf-ppc64.
340 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
341 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
342 file.
343 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
345 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
346 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
347 file.
348 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
349 Likewise.
350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
351 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
352 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
353 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
354 s_truncf-power5+, and s_truncf-ppc64.
355 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
356 file.
357 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
358 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
359 Likewise.
360 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
361 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
362 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
363 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
364 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
365
a1cb1888
AZ
366 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
367 ROUND handling.
368 (round_mode): Add definition for ROUND.
369 (round_to_integer_float): Likewise.
370 * sysdeps/powerpc/fpu/s_round.c: New file.
371 * sysdeps/powerpc/fpu/s_roundf.c: New file.
372 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
373 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
374 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
375 Likewise.
376 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
377 Likewise.
378 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
379 Likewise.
380 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
381 Likewise.
382 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
383 file.
384 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
385 Likewise.
386 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
387 Likewise.
388 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
389 Likewise.
390 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
391 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
392 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
393 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
394 s_roundf-power5+, and s_roundf-ppc64.
395 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
396 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
397 file.
398 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
400 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
401 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
402 file.
403 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
404 Likewise.
405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
406 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
408 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
409 s_roundf-power5+, and s_roundf-ppc64.
410 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
411 file.
412 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
413 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
414 Likewise.
415 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
416 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
417 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
418 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
419 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
420
252296c6
AZ
421 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
422 Add FLOOR option.
423 (round_mode): Add definition for FLOOR.
424 * sysdeps/powerpc/fpu/s_floor.c: New file.
425 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
426 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
427 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
429 Remove file.
430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
431 Likewise
432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
433 Likewise.
434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
435 Likewise.
436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
437 New file.
438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
439 Likewise.
440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
441 Likewise.
442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
443 Likewise.
444 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
445 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
446 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
447 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
448 s_floorf-power5+, and s_floorf-ppc64.
449 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
450 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
451 file.
452 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
454 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
455 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
456 file.
457 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
458 Likewise.
459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
460 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
461 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
462 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
463 s_floorf-power5+, and s_floorf-ppc64.
464 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
465 file.
466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
467 file.
468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
469 Likewise.
470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
471 Likewise.
472 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
473 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
474 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
475 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
476
33647a72
MC
4772019-05-08 Mike Crowe <mac@mcrowe.com>
478
479 * support/xclock_gettime.c (xclock_gettime): New file. Provide
480 clock_gettime wrapper for use in tests that fails the test rather
481 than returning failure.
482
483 * support/xtime.h: New file to declare xclock_gettime.
484
485 * support/Makefile: Add xclock_gettime.c.
486
487 * support/README: Mention xtime.h.
488
b2f601ba
FW
4892019-05-08 Florian Weimer <fweimer@redhat.com>
490
491 malloc/tst-mallocfork2: Use process-shared barriers.
492 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
493 (signal_count, sigusr1_sender_pid): Remove.
494 (iterations): Define constant.
495 (shared): New variable.
496 (sigusr1_received): Update comment.
497 (sigusr1_handler): Do not send SIGSTOP to the sender process.
498 (signal_sender): Optional use barriers to avoid sending signals
499 during irrelevant times.
500 (do_it): Initialize variable shared. Use xfork for error
501 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
502 the iteration count, independent of signal delivery. Check for
503 deadlocks in fork. Introduce barriers for reducing signal
504 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
505 replaced by the barriers. Count signals during fork/free/malloc
506 and report them.
507 * malloc/Makefile (tst-mallocfork): Link with libpthread.
508
c4a392cf
JM
5092019-05-07 Joseph Myers <joseph@codesourcery.com>
510
7621676f
JM
511 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
512 version to 5.1.
513 (clock_adjtime64) New syscall.
514 (clock_getres_time64) Likewise.
515 (clock_gettime64) Likewise.
516 (clock_nanosleep_time64) Likewise.
517 (clock_settime64) Likewise.
518 (futex_time64) Likewise.
519 (io_pgetevents_time64) Likewise.
520 (io_uring_enter) Likewise.
521 (io_uring_register) Likewise.
522 (io_uring_setup) Likewise.
523 (mq_timedreceive_time64) Likewise.
524 (mq_timedsend_time64) Likewise.
525 (pidfd_send_signal) Likewise.
526 (ppoll_time64) Likewise.
527 (pselect6_time64) Likewise.
528 (recvmmsg_time64) Likewise.
529 (rt_sigtimedwait_time64) Likewise.
530 (sched_rr_get_interval_time64) Likewise.
531 (semtimedop_time64) Likewise.
532 (timer_gettime64) Likewise.
533 (timer_settime64) Likewise.
534 (timerfd_gettime64) Likewise.
535 (timerfd_settime64) Likewise.
536 (utimensat_time64) Likewise.
537
c4a392cf
JM
538 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
539 version to 9 branch.
540
32e902a9
AY
5412019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
542
543 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
544 __memmove_thunderx2 to the list of implementations
545 * sysdeps/aarch64/multiarch/memmove.c: Likewise
546 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
547 (__memmove_thunderx2): Rewritten using SIMD ld/st
548 (__memcpy_thunderx2): Fixed handling overlapping cases.
549 Used ldp/stp instead of ldr/str if possible. Made loops
550 tails branchless.
551
ac3da35d
FW
5522019-05-03 Florian Weimer <fweimer@redhat.com>
553
554 * misc/tst-tsearch.c (walk_tree): Add more error checking.
555
b2af6fb2
AZ
5562019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
557
7dfde28a 558 [BZ #24506]
b2af6fb2
AZ
559 * elf/tst-pldd.c (in_str_list): New function.
560 (do_test): Add default names for ld and libc as one option.
561
7b807a35
FW
5622019-05-02 Florian Weimer <fweimer@redhat.com>
563
564 misc: Add twalk_r function.
565 * include/search.h (__twalk_r): Declare.
566 * manual/examples/twalk.c: New file.
567 * manual/search.texi (Tree Search Function): Document twalk_r.
568 * misc/Versions (2.30): Export twalk_r.
569 (GLIBC_PRIVATE): Export __twalk_r.
570 * misc/search.h [__USE_GNU] (twalk_r): Declare.
571 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
572 (twalk_r): Add weak alias.
573 * misc/tst-tsearch.c (struct walk_trace_element): Define.
574 (walk_trace): New variable.
575 (struct twalk_with_twalk_r_closure): Define.
576 (twalk_with_twalk_r_action): New function.
577 (twalk_with_twalk_r): Likewise.
578 (walk_action): Call walk_trace_add.
579 (walk_tree_with): Rename from walk_tree. Add walk argument.
580 (walk_tree): New function.
581 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
582 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
583 Likewise.
584 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
585 Likewise.
586 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
587 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
588 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
589 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
590 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
591 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
592 Likewise.
593 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
594 Likewise.
595 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
596 Likewise.
597 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
598 (GLIBC_2.30): Likewise.
599 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
600 (GLIBC_2.30): Likewise.
601 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
602 (GLIBC_2.30): Likewise.
603 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
604 (GLIBC_2.30): Likewise.
605 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
606 Likewise.
607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
608 (GLIBC_2.30): Likewise.
609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
610 (GLIBC_2.30): Likewise.
611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
612 (GLIBC_2.30): Likewise.
613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
614 (GLIBC_2.30): Likewise.
615 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
616 Likewise.
617 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
618 Likewise.
619 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
620 Likewise.
621 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
622 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
623 Likewise.
624 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
625 Likewise.
626 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
627 Likewise.
628 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
629 Likewise.
630
20aa5819
PE
6312019-04-30 Paul Eggert <eggert@cs.ucla.edu>
632
633 Make mktime etc. compatible with __time64_t
634 Keep these functions compatible with Gnulib while adding
635 __time64_t support. The basic idea is to move private API
636 declarations from include/time.h to time/mktime-internal.h, since
637 the former file cannot easily be shared with Gnulib whereas the
638 latter can.
639 Also, do some other minor cleanup while in the neighborhood.
640 * include/time.h: Include stdbool.h, time/mktime-internal.h.
641 (__mktime_internal): Move this prototype to time/mktime-internal.h,
642 since Gnulib needs it.
643 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
644 Move these macros to time/mktime-internal.h, since Gnulib needs them.
645 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
646 (in_time_t_range): New static function.
647 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
648 so that glibc users are not tempted to use __time64_t.
649 * time/mktime-internal.h: Rewrite so that it does both glibc
650 and Gnulib work. Include time.h if not _LIBC.
651 (mktime_offset_t) [!_LIBC]: Define for gnulib.
652 (__time64_t): New type or macro, moved here from
653 posix/bits/types.h.
654 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
655 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
656 from include/time.h.
657 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
658 New macros, taken from GNulib.
659 (__mktime_internal): New prototype, moved here from include/time.h.
660 * time/mktime.c (mktime_min, mktime_max, convert_time)
661 (ranged_convert, __mktime_internal, __mktime64):
662 * time/timegm.c (__timegm64):
663 Use __time64_t, not time_t.
664 * time/mktime.c: Stop worrying about whether time_t is floating-point.
665 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
666 Rename from mktime.
667 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
668 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
669 for libc_hidden_def.
670 Include errno.h.
671 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
672 Rename from timegm.
673 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
674
87c266d7
MR
6752019-04-30 Maciej W. Rozycki <macro@wdc.com>
676
677 [BZ #19444]
678 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
679 from `-Wmaybe-uninitialized'.
680 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
681
c4c0848b
AZ
6822019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
683
6cac323c
AZ
684 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
685 function.
686 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
687 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
688 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
689 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
690 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
692 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
694 Remove file.
695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
696 Likewise.
697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
698 Likewise.
699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
700 Likewise.
701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
702 New file.
703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
704 Likewise.
705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
706 Likewise.
707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
708 Likewise.
709 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
710 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
711 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
712 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
713 Likewise.
714 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
715 Likewise.
716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
717 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
718 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
719 file.
720 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
721 Likewise.
722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
723 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
724 * here.
725 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
726 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
727 s_ceilf-power5+, and s_ceilf-ppc64.
728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
729 file.
730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
733 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
734 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
735 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
736 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
737
c4c0848b
AZ
738 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
739 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
740 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
741
f492fc99
YD
7422019-04-29 Yann Droneaud <ydroneaud@opteya.com>
743
744 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
745 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
746 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
747 (sem_getvalue): Likewise.
748
c57afec0
FW
7492019-04-26 Florian Weimer <fweimer@redhat.com>
750
751 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
752 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
753
a8ff215e
FW
7542019-04-26 Florian Weimer <fweimer@redhat.com>
755
756 Makeconfig: Move -Wl,-rpath-link options before library references.
757 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
758 (link-libc): Remove $(link-libc-rpath-link).
759
7602019-04-25 Florian Weimer <fweimer@redhat.com>
761
762 * Makeconfig (+link-pie-before-libc): Remove $(CC).
763 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
764 (+link-static-before-libc): Remove $(CC).
765 (+link-static, +link-static-tests): Add $(CC).
766 (+link-before-libc): Remove $(CC).
767 (+link, +link-pie, +link-pie-printers): Add $(CC).
768
e30fb31c
FW
7692019-04-26 Florian Weimer <fweimer@redhat.com>
770
771 * Makeconfig (+link-pie-before-libc): Remove $(CC).
772 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
773 (+link-static-before-libc): Remove $(CC).
774 (+link-static, +link-static-tests): Add $(CC).
775 (+link-before-libc): Remove $(CC).
776 (+link, +link-pie, +link-pie-printers): Add $(CC).
777
deacca00
DA
7782019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
779
780 [BZ#24484]
781 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
782
b5ffdc48
FW
7832019-04-25 Florian Weimer <fweimer@redhat.com>
784
785 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
786 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
787 (bench-link-targets): New variable.
788 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
789
94a4e9e4
FW
7902019-04-25 Florian Weimer <fweimer@redhat.com>
791
792 Also enable BIND_NOW for programs if --enable-bind-now.
793 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
794 (+link-pie): Use $(link-extra-flags).
795 (+link-static): Likewise.
796 [! $(build-pie-default)] (+link): Likewise.
797 * manual/install.texi (Configuring and compiling): Update
798 --enable-bind-now description.
799 * INSTALL: Regenerated.
800
fe92a91f
WD
8012019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
802
803 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
804 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
805
f9b645b4
MF
8062019-04-24 Mike Frysinger <vapier@gentoo.org>
807
808 [BZ #18465]
809 * malloc/Makefile (others): Add memusagestat.
810 ($(objpfx)memusagestat): Delete rule.
811 (LDLIBS-memusagestat): New variable.
812
439bf534
FW
8132019-04-24 Florian Weimer <fweimer@redhat.com>
814
815 * locale/Makefile (tests-special): Guard setting by
816 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
817 to run while cross-compiling.
818
1a4c2735
AZ
8192019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
820
821 [BZ #18035]
822 * elf/Makefile (tests-container): Add tst-pldd.
823 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
824 (E(find_maps)): Avoid use alloca, use default read file operations
825 instead of explicit LFS names, and fix infinite loop.
826 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
827 (get_process_info): Use _Static_assert instead of assert, use default
828 directory operations instead of explicit LFS names, and free some
829 leadek pointers.
830 * elf/tst-pldd.c: New file.
831
2d398aa2
L
8322019-04-23 H.J. Lu <hongjiu.lu@intel.com>
833
834 * malloc/arena.c (do_set_mallopt_check): Removed.
835
e485b2b6
FW
8362019-04-23 Florian Weimer <fweimer@redhat.com>
837
838 locale: Add LOCPATH diagnostics to the locale program.
839 * locale/programs/locale.c (setlocale_failed): New variable.
840 (try_setlocale): New function.
841 (quote_string): Likewise.
842 (setlocale_diagnostics): Likewise.
843 (main): Call try_setlocale instead of setlocale. Call
844 setlocale_diagnostics.
845 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
846 (tst-locale-locpath.out): New target.
847 * locale/tst-locale-locpath.sh: New file.
848
25f7a3c9
AZ
8492019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
850
851 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
852 to 2.30 notes.
853
9bf8e29c
AZ
8542019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
855
856 [BZ #23741]
857 * malloc/hooks.c (malloc_check, realloc_check): Use
858 __builtin_add_overflow on overflow check and adapt to
859 checked_request2size change.
860 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
861 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
862 allocation size to PTRDIFF_MAX.
863 (REQUEST_OUT_OF_RANGE): Remove macro.
864 (checked_request2size): Change to inline function and limit maximum
865 requested size to PTRDIFF_MAX.
866 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
867 maximum allocation size to PTRDIFF_MAX.
868 (_mid_memalign): Use _int_memalign call for overflow check.
869 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
870 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
871 limit maximum requested size to PTRDIFF_MAX.
872 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
873 valloc, pvalloc): Add __attribute_alloc_size__.
874 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
875 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
876 larger than PTRDIFF_MAX.
877 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
878 around tests of malloc with negative sizes.
879 * malloc/tst-posix_memalign.c (do_test): Likewise.
880 * malloc/tst-pvalloc.c (do_test): Likewise.
881 * malloc/tst-valloc.c (do_test): Likewise.
882 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
883 with resulting size allocation larger than PTRDIFF_MAX with
884 reallocarray_nowarn.
885 (reallocarray_nowarn): New function.
886 * NEWS: Mention the malloc function semantic change.
887
0e169691
AZ
8882019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
889
52faba65
AZ
890 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
891 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
892
3a16dd78
AZ
893 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
894 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
895 * sysdeps/powerpc/fpu/s_fma.c: New file.
896 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
897
1dac8bd6
AZ
898 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
899 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
900
a3ae315a
AZ
901 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
902 the magic flag store.
903 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
904 Likewise.
905 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
906 Likewise.
907 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
908 Remove rt_sigreturn call.
909
ffe8a9a8
AZ
910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
911 Remove rt_sigreturn call.
912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
913 Likewise.
914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
916
0e169691
AZ
917 * support/Makefile (libsupport-routines): Add support_subprocess,
918 xposix_spawn, xposix_spawn_file_actions_addclose, and
919 xposix_spawn_file_actions_adddup2.
920 (tst-support_capture_subprocess-ARGS): New rule.
921 * support/capture_subprocess.h (support_capture_subprogram): New
922 prototype.
923 * support/support_capture_subprocess.c (support_capture_subprocess):
924 Refactor to use support_subprocess and support_capture_poll.
925 (support_capture_subprogram): New function.
926 * support/tst-support_capture_subprocess.c (write_mode_to_str,
927 str_to_write_mode, test_common, parse_int, handle_restart,
928 do_subprocess, do_subprogram, do_multiple_tests): New functions.
929 (do_test): Add support_capture_subprogram tests.
930 * support/subprocess.h: New file.
931 * support/support_subprocess.c: Likewise.
932 * support/xposix_spawn.c: Likewise.
933 * support/xposix_spawn_file_actions_addclose.c: Likewise.
934 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
935 * support/xspawn.h: Likewise.
936
bae8cf0e
MG
9372019-04-17 Mike Gerow <gerow@google.com>
938
939 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
940 groups limit.
941
e3f454ba
FW
9422019-04-11 Florian Weimer <fweimer@redhat.com>
943
944 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
945 domain with empty string.
946 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
947
32d85c11
FW
9482019-04-11 Florian Weimer <fweimer@redhat.com>
949
950 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
951 comment.
952 (alloc_buffer_next): Change return type to non-const. Update
953 comment.
954
221710af
FW
9552019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
956
957 * manual/time.texi (Formatting Calendar Time): Add missing percent
958 sign to conversion specifier.
959
e621246e
CD
9602019-04-09 Carlos O'Donell <carlos@redhat.com>
961 Kwok Cheung Yeung <kcy@codesourcery.com>
962
963 [BZ #16573]
964 * malloc/mtrace.c: Define prototypes for all hooks.
965 (set_default_hooks): New function.
966 (set_trace_hooks): Likewise.
967 (save_default_hooks): Likewise.
968 (tr_freehook): Use new s*_hooks functions.
969 (tr_mallochook): Likewise.
970 (tr_reallochook): Likewise.
971 (tr_memalignhook): Likewise.
972 (mtrace): Likewise.
973 (muntrace): Likewise.
974
648279f4
WD
9752019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
976
977 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
978 (generic_stpcpy): New function.
979 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
980 (generic_stpncpy): New function.
981 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
982 (generic_strcat): New function.
983 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
984 (generic_strcpy): New function.
985 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
986 (STUPID_STRNCAT): Remove function.
987 (generic_strncat): New function.
988 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
989 (STUPID_STRNCPY): Remove function.
990 (generic_strncpy): New function.
991 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
992 (generic_strnlen): New function.
993 (memchr_strnlen): New function.
994 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
995 (memchr_strlen): Likewise.
996
93eebae5
WD
9972019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
998
999 * benchtests/bench-strstr.c (input): Add realistic input text.
1000 (stupid_strstr): Remove function.
1001 (basic_strstr): Add function.
1002 (twoway_strstr): Add function.
1003 (do_one_test): Add result checking.
1004 (do_test): Use new input text. Remove accidental early matches.
1005 (test_main): Improve range of tests, reduce unaligned cases.
1006
a173d09f
WD
10072019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1008
1009 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1010 (basic_memmem): Add function.
1011 (twoway_memmem): Add function.
1012
6103c0a8
WD
10132019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1014
1015 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1016 * benchtests/bench-malloc-thread.c: Likewise.
1017 * benchtests/bench-skeleton.c: Likewise.
1018 * benchtests/bench-strtod.c: Likewise.
1019 * benchtests/bench-timing.h: Likewise.
1020
33322186
FW
10212019-04-08 Florian Weimer <fweimer@redhat.com>
1022
1023 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1024 definitions.
1025 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1026 RES_INSECURE2 security checks.
1027 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1028 RES_INSECURE2 handling.
1029
3f8b44be
FW
10302019-04-08 Florian Weimer <fweimer@redhat.com>
1031
1032 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1033 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1034 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1035 GETHOSTBYNAME.
1036 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1037 (tests-internal): Update justification for tst-resolv-res_init,
1038 tst-resolv-res_init-thread.
1039 (tst-res_use_inet6): Remove target.
1040 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1041 * resolv/res_debug.c (p_option): Remove "inet6" support.
1042 * resolv/res_init.c (res_setoptions): Likewise.
1043 * resolv/res_use_inet6.h: Remove file.
1044 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1045 definition.
1046 (res_use_inet6): Always return false.
1047 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1048 * resolv/resolv_context.h: Adjust file comment.
1049 (struct resolv_context): Update comment on __next field.
1050 (__resolv_context_put): Update comment.
1051 * resolv/tst-res_use_inet6.c: Remove file.
1052 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1053 "inet6" support.
1054 (test_cases): Adjust test case.
1055 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1056 (thread_byname2_af_inet6): Use old byname_inet6 code.
1057 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1058 (gai): Remove do_inet6 argument.
1059 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1060 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1061 (thread_gai_unspec_inet6): Remove functions.
1062 (do_test): Adjust thread_funcs.
1063 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1064 RES_USE_INET6 flag.
1065 (gaih_inet): Do not disable RES_USE_INET6 flag.
1066
6b5c8607 10672019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
1068
1069 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1070 and remove redundant code.
1071
e3fd0b0e
AZ
10722019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1073
f82ed45d
AZ
1074 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1075 New rule.
1076 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1077 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1078 Likewise.
1079 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1080 Likewise.
1081 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1082 Likewise.
1083 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1084 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1085 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1086 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1087 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1088 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1089 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1090 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1091 wcsrchr-power7.
1092 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1093 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1094 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1095 Remove wcsrchr optimizations.
1096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1097
662c2cc4
AZ
1098 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1099 the loop unroll.
1100
421e3005
AZ
1101 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1102 New rule.
1103 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1104 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1105 Likewise.
1106 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1107 Likewise.
1108 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1109 Likewise.
1110 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1111 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1112 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1113 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1114 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1115 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1116 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1117 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1118 wcschr-power7.
1119 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1120 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1121 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1122 Remove wcschr optimizations.
1123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1124
7ba0100c
AZ
1125 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1126 the loop unroll.
1127
447a1306
AZ
1128 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1129 New rule.
1130 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1131 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1132 Likewise.
1133 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1134 Likewise.
1135 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1136 Likewise.
1137 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1138 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1139 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1140 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1141 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1142 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1144 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1145 wcscpy-power7.
1146 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1148 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1149 Remove wcscpy optimizations.
1150 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1151
e3fd0b0e
AZ
1152 * include/loop_unroll.h: New file.
1153 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1154 besides generic implementation.
1155
8260f236
DD
11562019-04-03 DJ Delorie <dj@redhat.com>
1157
1158 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1159 snprintf truncating output.
1160
0bd545ee
DD
11612019-04-02 DJ Delorie <dj@redhat.com>
1162
1163 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1164 warning.
1165
466afec3
TS
11662019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1167
1168 [BZ #22964]
1169 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1170 era.
1171 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1172 (mkreftable): Add rules for the new Japanese era and the new dates.
1173
2f1d6155
TS
11742019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1175 Rafal Luzynski <digitalfreak@lingonborough.com>
1176
1177 * time/tst-strftime2.c (date_t): Explicitly define the type.
1178 (dates): Use natural month and year numbers to express a date.
1179 (is_before): New function to compare dates.
1180 (mkreftable): Minor improvements to simplify maintenance.
1181 (do_test): Reflect the changes in dates array.
1182
84aea169
TS
1183 [BZ #24293]
1184 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1185 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1186 * time/tst-strftime2.c (locales): Likewise.
1187 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1188 2010-04-01, and 2011-04-01.
1189 (mkreftable): Add rules for the new locales and the new dates.
1190
62449176
CD
11912019-04-01 Carlos O'Donell <carlos@redhat.com>
1192
1193 * localedata/locales/ja_JP: Add comments to era entries.
1194
e0e4c321
DD
11952019-04-01 DJ Delorie <dj@redhat.com>
1196
1197 [BZ #24394]
1198 * time/strptime_l.c (%Ey): Fix fencepost error.
1199 * time/tst-strftime3.c: New.
1200 * time/Makefile (tests): Add tst-strftime3.
1201
6b5c8607 12022019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
1203
1204 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1205 conditional branch to DIVBYZERO. Fix unwind info.
1206 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1207 excb after conditional branch to $powerof2. Add missing unop
1208 instructions and .align directives and reorder instructions to
1209 match __divqu.
1210
d5ecee82
RH
12112019-04-01 Richard Henderson <rth@twiddle.net>
1212
1213 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1214 Do not redefine.
1215 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1216 Do not redefine.
1217
656dd306
MR
12182019-03-30 Maciej W. Rozycki <macro@wdc.com>
1219
1220 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1221 $libc_cv_riscv_float_abi in `test' invocation.
1222 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1223
10cce669
PC
12242019-03-29 Paul A. Clarke <pc@us.ibm.com>
1225
1226 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1227 asm with builtin.
1228 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1229 Likewise.
1230 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1231 (_GET_SI_FPSCR): Likewise.
1232 (_SET_SI_FPSCR): Likewise.
1233
5e67e4bf 12342019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
1235
1236 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1237 clang 2.8.
1238 (signbit): Use builtin for clang 3.3.
1239 (isinf): Use builtin for clang 3.7.
1240
01963891
AZ
12412019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1242
1243 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1244
67112f7a
AH
12452019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1246
1247 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1248 quote in printf.
1249
7a773abf
MC
12502019-03-25 Mike Crowe <mac@mcrowe.com>
1251
82849fde
MC
1252 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1253 pthread_rwlock_timedrdlock with calls to
1254 pthread_rwlock_timedwrlock to ensure that the latter is tested
1255 too. Use new function name in diagnostic messages too.
1256
7a773abf
MC
1257 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1258 (do_test) Use libsupport test macros rather than hand-coded
1259 conditionals and error messages. Ensure that sem_init returns zero
1260 rather than not -1. Use <support/test-driver.c> rather than
1261 test-skeleton.c.
1262
1263 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1264 test macros rather than hand-coded conditionals and error messages.
1265 Use <support/test-driver.c> rather than test-skeleton.c.
1266
9ac2de69
JM
12672019-03-25 Joseph Myers <joseph@codesourcery.com>
1268
d7563e62
JM
1269 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1270
9ac2de69
JM
1271 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1272 (NT_MIPS_MSA): Likewise.
1273
38cc11da
AZ
12742019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1275
7621e38b
WD
1276 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1277 * benchtests/README: Update description.
1278 * benchtests/bench-timing.h: Default to hp-timing.
1279 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1280 HP_TIMING_PRINT): Remove.
1281 (HP_TIMING_NOW): Add generic implementation.
1282 (hp_timing_t): Change to uint64_t.
1283
1e372ded
AZ
1284 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1285 HP_TIMING_INLINE.
1286 * nptl/descr.h: Likewise.
1287 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1288 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1289 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1290 Abstract hp-timing usage with RTLD_* macros.
1291 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1292 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1293 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1294 HP_TIMING_NONAVAIL): Likewise.
1295 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1296 Likewise.
1297 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1298 HP_SMALL_TIMING_AVAIL): Likewise.
1299 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1300 HP_SMALL_TIMING_AVAIL): Likewise.
1301 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1302 HP_SMALL_TIMING_AVAIL): Likewise.
1303 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1304 HP_SMALL_TIMING_AVAIL): Likewise.
1305 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1306 Likewise.
1307 * sysdeps/generic/hp-timing-common.h: Update comment with
1308 HP_TIMING_AVAIL removal.
1309
359653aa
AZ
1310 * include/random-bits.h: New file.
1311 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1312 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1313 random_bits.
1314 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1315 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1316 Likewise.
1317
6e8ba7fd
AZ
1318 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1319 * rt/Makefile (clock-routines): Remove get_clockfreq.
1320 * rt/get_clockfreq.c: Remove file.
1321 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1322 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1323 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1324 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1325 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1326
77b6f553
AZ
1327 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1328 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1329 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1330 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1331 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1332
38cc11da
AZ
1333 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1334 pthread_clock_settime.
1335 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1336 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1337 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1338 * elf/rtld.c (_dl_start_final): Likewise.
1339 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1340 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1341 Remove.
1342 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1343 (_dl_cpuclock_offset): Remove.
1344 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1345 cpuclock_offset_ununsed.
1346 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1347 cpuclock_offset set.
1348 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1349 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1350 * nptl/pthread_clock_gettime.c: Remove file.
1351 * nptl/pthread_clock_settime.c: Likewise.
1352 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1353 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1354 and CLOCK_PROCESS_CPUTIME_ID support.
1355 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1356 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1357 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1358 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1359 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1360 Likewise.
1361 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1362
421749d6
SL
13632019-03-22 Stefan Liebler <stli@linux.ibm.com>
1364
1365 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1366 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1367 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1368 New defines.
1369 * sysdeps/s390/memmem-arch13.S: New file.
1370 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1371 if it is only used as fallback.
1372 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1373 * sysdeps/s390/multiarch/ifunc-impl-list.c
1374 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1375
6f47401b
SL
13762019-03-22 Stefan Liebler <stli@linux.ibm.com>
1377
1378 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1379 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1380 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1381 New defines.
1382 * sysdeps/s390/multiarch/ifunc-impl-list.c
1383 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1384 * sysdeps/s390/strstr-arch13.S: New file.
1385 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1386 if it is only used as fallback.
1387 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1388
96fbb9a3
SL
13892019-03-22 Stefan Liebler <stli@linux.ibm.com>
1390
1391 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1392 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1393 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1394 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1395 ifunc selector.
1396 * sysdeps/s390/multiarch/ifunc-impl-list.c
1397 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1398 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1399 S390_IS_ARCH13_MIE3): New defines.
1400
a899a551
SL
14012019-03-22 Stefan Liebler <stli@linux.ibm.com>
1402
1403 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1404 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1405 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1406 * sysdeps/s390/configure: Regenerated.
1407
1a7df49c
SL
14082019-03-22 Stefan Liebler <stli@linux.ibm.com>
1409
1410 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1411 Add vxe2, vxp, dflt, sort flags.
1412 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1413 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1414 capabilities.
1415 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1416 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1417 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1418 HWCAP_S390_DFLT): Define.
1419
5e67e4bf 14202019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
1421
1422 [BZ #24372]
1423 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1424 of compiler warning.
1425 * locale/programs/ld-collate.c (collate_output): Likewise.
1426
ac64195c
DD
14272019-03-21 DJ Delorie <dj@redhat.com>
1428
1429 [BZ #24372]
1430 * iconv/iconvconfig.c (write_output): Replace floating point math
1431 with integer math to avoid imprecise results.
1432 * locale/programs/ld-collate.c (collate_output): Likewise.
1433
61f5e947
SL
14342019-03-21 Stefan Liebler <stli@linux.ibm.com>
1435
1436 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1437 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1438
57ada43c 14392019-03-20 mansayk <6688000@gmail.com>
1440
1441 [BZ #24296]
1442 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1443 (abday): Likewise, but remove the trailing dots.
1444
a2e57f89
JM
14452019-03-19 Joseph Myers <joseph@codesourcery.com>
1446
1447 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1448 macro.
1449 (HWCAP_PACA): Likewise.
1450 (HWCAP_PACG): Likewise.
1451 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1452 Increase to 32.
1453 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1454
e87d8ada
ST
14552019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1456
1457 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1458 should be handled.
1459
477e739b
JM
14602019-03-15 Joseph Myers <joseph@codesourcery.com>
1461
1462 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1463 version to 5.0.
1464 (old_getpagesize): New syscall.
1465
238d60a1
FY
14662019-03-15 Felix Yan <felixonmars@archlinux.org>
1467
1468 [BZ #24293]
1469 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1470 * localedata/locales/cmn_TW (era): Likewise.
1471 * localedata/locales/hak_TW (era): Likewise.
1472 * localedata/locales/lzh_TW (era): Likewise.
1473 * localedata/locales/nan_TW (era): Likewise.
1474
5dde9ef7
DD
14752019-03-14 Adam Maris <amaris@redhat.com>
1476
1477 * malloc/malloc.c (_int_malloc): Check for large bin list
1478 corruption when inserting unsorted chunk.
1479
a0a0dc83
FW
14802019-03-14 Florian Weimer <fweimer@redhat.com>
1481
1482 Remove obsolete, never-implemented XSI STREAMS declarations.
1483 * manual/terminal.texi (Allocation): Remove portability note and
1484 adjust example.
1485 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1486 _SC_STREAMS.
1487 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1488 * sysdeps/unix/inet/Subdirs (streams): Remove.
1489 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1490 (conformtest-headers-UNIX98): Likewise.
1491 (conformtest-headers-XOPEN2K): Likewise.
1492 (conformtest-headers-POSIX2008): Likewise.
1493 * posix/compat-streams.c: New file.
1494 * posix/Makefile (routines): Add it.
1495 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1496 getpmsg, isastream, putmsg, putpmsg.
1497 (GLIBC_2.30): New section.
1498 * bits/stropts.h: Remove file.
1499 * bits/xtitypes.h: Likewise.
1500 * conform/data/stropts.h-data: Likewise.
1501 * include/stropts.h: Likewise.
1502 * include/sys/stropts.h: Likewise.
1503 * include/xtitypes.h: Likewise.
1504 * streams/Makefile: Likewise.
1505 * streams/fattach.c: Likewise.
1506 * streams/fdetach.c: Likewise.
1507 * streams/getmsg.c: Likewise.
1508 * streams/getpmsg.c: Likewise.
1509 * streams/isastream.c: Likewise.
1510 * streams/putmsg.c: Likewise.
1511 * streams/putpmsg.c: Likewise.
1512 * streams/stropts.h: Likewise.
1513 * streams/sys/stropts.h: Likewise.
1514 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1515 * sysdeps/s390/bits/xtitypes.h: Likewise.
1516 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1517 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1518 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1519 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1520 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1521 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1522 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1523 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1524 * sysdeps/x86/bits/xtitypes.h: Likewise.
1525
081bdf94
FW
15262019-03-14 Florian Weimer <fweimer@redhat.com>
1527
1528 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1529 libnss_files.
1530 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1531 but not with libnss_files.
1532 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1533
97f8225d
ZW
15342019-03-14 Zack Weinberg <zackw@panix.com>
1535
1536 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1537 Specify encoding="utf-8" when opening headers to check.
1538
0c1041ee
JM
15392019-03-13 Joseph Myers <joseph@codesourcery.com>
1540
1541 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1542 version to 5.0.
1543 (Context.checkout_tar): Handle variable major version for Linux
1544 kernel.
1545
043440e7
FW
15462019-03-13 Florian Weimer <fweimer@redhat.com>
1547
1548 [BZ #24047]
1549 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1550
29218b26
ZW
15512019-03-13 Zack Weinberg <zackw@panix.com>
1552
1553 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1554 Move to stdlib.
1555 * include/inttypes.h: Adjust to match.
1556 * include/stdint.h: New wrapper.
1557
711a322a
ZW
15582019-03-13 Zack Weinberg <zackw@panix.com>
1559
1560 * scripts/check-obsolete-constructs.py: New test script.
1561 * scripts/check-installed-headers.sh: Remove tests for
1562 obsolete typedefs, superseded by check-obsolete-constructs.py.
1563 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1564 as a special test. Update commentary.
1565 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1566 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1567 Update commentary.
1568 * posix/sys/types.h (__u_intN_t): Remove.
1569 (u_int8_t): Typedef using __uint8_t.
1570 (u_int16_t): Typedef using __uint16_t.
1571 (u_int32_t): Typedef using __uint32_t.
1572 (u_int64_t): Typedef using __uint64_t.
1573
7c651308
SL
15742019-03-13 Stefan Liebler <stli@linux.ibm.com>
1575
1576 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1577 call _dl_procinfo.
1578 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1579 Ignore types other than AT_HWCAP.
1580 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1581 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1582 Likewise.
1583 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1584 in the case of falling back to generic output mechanism.
1585 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1586 Likewise.
1587
38b52865
FW
15882019-03-12 Florian Weimer <fweimer@redhat.com>
1589
1590 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1591
08504de7
FW
15922019-03-12 Florian Weimer <fweimer@redhat.com>
1593
1594 [BZ #24047]
1595 resolv: Enable full ICMP errors for UDP DNS sockets
1596 * resolv/res_enable_icmp.c: New file.
1597 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1598 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1599 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1600 socket.
1601
5fbcd763
MH
16022019-03-11 Mao Han <han_mao@c-sky.com>
1603
1604 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1605 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1606
c4e5f34b
MH
16072019-03-11 Mao Han <han_mao@c-sky.com>
1608
1609 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1610 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1611 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1612
827e30f3
MH
16132019-03-11 Mao Han <han_mao@c-sky.com>
1614
1615 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1616 directly.
1617 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1618 definition.
1619
6229c9bf
MH
16202019-03-11 Mao Han <han_mao@c-sky.com>
1621
1622 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1623 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1624 in mcontext_t
1625
86bdd49d
MF
16262019-03-08 Mike FABIAN <mfabian@redhat.com>
1627
1628 [BZ #24307]
1629 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1630 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1631 Unicode 12.0.0.
1632 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1633 * localedata/unicode-gen/PropList.txt: Likewise.
1634 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1635 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1636 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1637 * localedata/charmaps/UTF-8: Regenerate.
1638 * localedata/locales/i18n_ctype: Likewise.
1639 * localedata/locales/tr_TR: Likewise.
1640 * localedata/locales/translit_circle: Likewise.
1641 * localedata/locales/translit_cjk_compat: Likewise.
1642 * localedata/locales/translit_combining: Likewise.
1643 * localedata/locales/translit_compat: Likewise.
1644 * localedata/locales/translit_font: Likewise.
1645 * localedata/locales/translit_fraction: Likewise.
1646
c5f65462
JM
16472019-03-07 Joseph Myers <joseph@codesourcery.com>
1648
1649 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1650 than after operators.
1651 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1652 (setitimer_locked): Likewise.
1653 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1654 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1655 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1656 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1657 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1658 (PPC_CPU_SUPPORTED): Likewise.
1659 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1660 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1661 (stat_overflow): Likewise.
1662 (statfs_overflow): Likewise.
1663 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1664 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1665 (eq_ttyname_r): Likewise.
1666 (run_chroot_tests): Likewise.
1667
27a2f2f3
FW
16682019-03-07 Florian Weimer <fweimer@redhat.com>
1669
1670 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1671 header check.
1672
ae514971 16732019-03-07 Martin Liska <mliska@suse.cz>
1674
1675 * math/Makefile: Change location where math-vector-fortran.h is
1676 installed.
1677 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1678 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1679 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1680 * scripts/check-installed-headers.sh: Skip Fortran header files.
1681 * scripts/check-wrapper-headers.py: Likewise.
1682
0ddb7ea8
AZ
16832019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1684
1685 * nptl/nptl-init.c (__have_futex_clock_realtime,
1686 __have_futex_clock_realtime): Remove definition.
1687 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1688 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1689 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1690 __ASSUME_FUTEX_CLOCK_REALTIME support.
1691 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1692 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1693 * sysdeps/unix/sysv/linux/kernel-features.h
1694 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1695 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1696 Adjust comment.
1697
590675c0
GG
16982019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1699
1700 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1701 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1702 __GI___wcscpy and wcscpy.
1703
de71ee7b
FW
17042019-03-04 Florian Weimer <fweimer@redhat.com>
1705
1706 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1707 declaration.
1708 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1709 defined.
1710
ce6ddae0
SL
17112019-03-04 Stefan Liebler <stli@linux.ibm.com>
1712
1713 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1714 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1715
31efface
TS
17162019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1717
1718 [BZ #24162]
1719 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1720 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1721
f0eaf862
GG
17222019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1723
1724 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1725 tests.
1726 (do_test): Likewise.
1727 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1728 (do_test_call_varg): Likewise.
1729 (do_test_call_rarg): Likewise.
1730 * sysdeps/ieee754/ldbl-opt/Makefile
1731 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1732 tst-nldbl-error.
1733 ($(objpfx)tst-nldbl-warn.c): New rule.
1734 ($(objpfx)tst-nldbl-error.c): Likewise.
1735 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1736 New variables.
1737
d11086a9
GG
17382019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1739
1740 [BZ #23984]
1741 * include/bits/error-ldbl.h: New file.
1742 * include/error.h: Include stdarg.h. Declare internal functions
1743 __error_internal and __error_at_line_internal.
1744 * misc/Makefile (headers): Add bits/error-ldbl.h.
1745 * misc/bits/error-ldbl.h: New file.
1746 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1747 avoid the inclusion of bits/error.h.
1748 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1749 and __nldbl_error_at_line.
1750 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1751 (__nldbl_error, __ndlbl_error_at_line): New functions.
1752 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1753 Redirect error and error_at_line.
1754 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1756 Likewise.
1757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1758 Likewise.
1759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1760 Likewise.
1761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1762 Likewise.
1763 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1764 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1765 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1766
90188e7d
GG
17672019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1768
1769 [BZ #23984]
1770 * include/bits/err-ldbl.h: New file.
1771 * include/err.h: Add prototypes for the internal functions:
1772 __vwarnx_internal and __vwarn_internal.
1773 * misc/Makefile (headers): Add bits/err-ldbl.h.
1774 * misc/bits/err-ldbl.h: New file.
1775 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1776 defined, i.e.: when -mlong-double-64 is in use.
1777 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1778 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1779 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1780 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1781 (VA_CALL): New macro.
1782 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1783 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1784 functions.
1785 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1786 declare prototypes for the new functions.
1787 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1789 Likewise.
1790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1791 Likewise.
1792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1793 Likewise.
1794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1795 Likewise.
1796 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1797 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1798 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1799
ea2d89d0
GG
18002019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1801
1802 * sysdeps/ieee754/ldbl-opt/Makefile
1803 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1804 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1805 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1806
6e1f6440
GG
18072019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1808
1809 [BZ #23983]
1810 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1811 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1812 * argp/bits/argp-ldbl.h: New file.
1813 * include/argp.h: Include stdarg.h. Add prototypes for internal
1814 functions: __argp_error_internal and __argp_failure_internal.
1815 * include/bits/argp-ldbl.h: New file.
1816 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1817 __nldbl_argp_error and __nldbl_argp_failure.
1818 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1819 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1820 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1821 Redirect argp_error and argp_failure calls.
1822 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1824 Likewise.
1825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1826 Likewise.
1827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1828 Likewise.
1829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1830 Likewise.
1831 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1832 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1833 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1834
c259196b
FW
18352019-03-01 Florian Weimer <fweimer@redhat.com>
1836
1837 [BZ #20419]
1838 * elf/tst-big-note-lib.S: Create a syntactically valid note.
1839 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
1840 code, to avoid creating an ABI tag note.
1841 (modules-names-nobuild): Add tst-big-note-lib.
1842
928b305d
SL
18432019-03-01 Stefan Liebler <stli@linux.ibm.com>
1844
1845 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
1846 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
1847
36f30c10
FW
18482019-03-01 Florian Weimer <fweimer@redhat.com>
1849
1850 [BZ #20271]
1851 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1852 (__netlink_assert_response): Add additional missing newlines.
1853
462e83a4
JM
18542019-02-28 Joseph Myers <joseph@codesourcery.com>
1855
1856 * sysdeps/powerpc/powerpc32/dl-machine.c
1857 (__elf_machine_fixup_plt): Use space before '('.
1858 (__process_machine_rela): Likewise.
1859 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
1860 Likewise.
1861 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
1862 Likewise.
1863 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
1864 Likewise.
1865 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
1866 (pattern): Likewise.
1867 (delta): Likewise.
1868 (check_result): Likewise.
1869 (check_excepts): Likewise.
1870 (check_op): Likewise.
1871 (fail_xr): Likewise.
1872 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
1873 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
1874 (SCNHSZ): Likewise.
1875 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
1876 Likewise.
1877 (ARGS): Likewise.
1878 (__makecontext): Likewise.
1879 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
1880 Likewise.
1881
cc3e573c
FW
18822019-02-28 Florian Weimer <fweimer@redhat.com>
1883
1884 [BZ #23937]
1885 elf: Add test with a local IFUNC resolver.
1886 * elf/ifuncmain9.c: New file.
1887 * elf/ifuncmain9pic.c: Likewise.
1888 * elf/ifuncmain9picstatic.c: Likewise.
1889 * elf/ifuncmain9pie.c: Likewise.
1890 * elf/ifuncmain9static.c: Likewise.
1891 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
1892 ifuncmain9static, ifuncmain9picstatic.
1893 * elf/Makefile [multi-arch && build-shared] (tests-internal):
1894 Add ifuncmain9, ifuncmain9pic.
1895 * elf/Makefile [multi-arch && build-shared && have-fpie]
1896 (ifunc-pie-tests): Add ifuncmain9pie.
1897 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
1898 (CFLAGS-ifuncmain9picstatic.c): Likewise.
1899 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
1900
92ad88fe
L
19012019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1902
1903 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
1904 * configure: Regenerated.
1905 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
1906
6bd4d02e
AZ
19072019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1908
1909 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
1910 symbol as __wcspcy instead of wcscpy.
1911
1b218417
ST
19122019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1913
1914 * include/stdio.h (__renameat2): New hidden prototype.
1915 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
1916 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
1917 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
1918 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
1919
c4f50205
JM
19202019-02-27 Joseph Myers <joseph@codesourcery.com>
1921
f627dd4d
JM
1922 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
1923 if statement.
1924
c4f50205
JM
1925 * benchtests/bench-strcpy.c (do_test): Use space before '('.
1926 * benchtests/bench-string.h (cmdline_process_function): Likewise.
1927 * benchtests/bench-strlen.c (do_test): Likewise.
1928 (test_main): Likewise.
1929 * catgets/gencat.c (read_old): Likewise.
1930 * elf/cache.c (load_aux_cache): Likewise.
1931 * iconvdata/bug-iconv8.c (do_test): Likewise.
1932 * math/test-tgmath-ret.c (do_test): Likewise.
1933 * nis/nis_call.c (rec_dirsearch): Likewise.
1934 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1935 * nptl/tst-audit-threads.c (do_test): Likewise.
1936 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
1937 * nss/nss_test1.c (init): Likewise.
1938 * nss/test-netdb.c (test_hosts): Likewise.
1939 * posix/execvpe.c (maybe_script_execute): Likewise.
1940 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1941 * stdio-common/tst-printf.c (do_test): Likewise.
1942 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1943 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1944 * stdlib/qsort.c (STACK_SIZE): Likewise.
1945 * stdlib/test-canon.c (do_test): Likewise.
1946 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1947 * string/memcmp.c (OPSIZ): Likewise.
1948 * string/test-strcpy.c (do_test): Likewise.
1949 (do_random_tests): Likewise.
1950 * string/test-strlen.c (do_test): Likewise.
1951 (test_main): Likewise.
1952 * string/test-strrchr.c (do_test): Likewise.
1953 (do_random_tests): Likewise.
1954 * string/tester.c (test_memrchr): Likewise.
1955 (test_memchr): Likewise.
1956 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1957 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1958 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1959 (read_encoded_value_with_base): Likewise.
1960 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1961 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1962 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1963 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1964 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1965 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1966 Likewise.
1967 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1968 Likewise.
1969 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1970 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1971 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1972 Likewise.
1973 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1974 Likewise.
1975 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1976 Likewise.
1977 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1978 Likewise.
1979 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1980 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1981 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1982 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1983 * time/test_time.c (main): Likewise.
1984
7b3fb620
AZ
19852019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1986
457208b1
AZ
1987 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1988
30a7e208
AZ
1989 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1990 wmemcpy.
1991
ddf21ec7
AZ
1992 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1993 wmemcpy.
1994
4d801563
AZ
1995 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1996
81a14439
AZ
1997 * include/wchar.h (__wcscpy): New prototype.
1998 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1999 (__wcscpy): Route internal symbol to generic implementation.
2000 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2001 Add internal __wcscpy alias.
2002 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2003 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2004 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2005 * wcsmbs/wcscpy.c (wcscpy): Add
2006 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2007 use generic implementation.
2008 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2009
39ef0744
AZ
2010 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2011 wmemset.
2012
7b3fb620
AZ
2013 * sysdeps/m68k/wcpcpy.c: Remove file.
2014 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2015
e0cb7b61
JM
20162019-02-26 Joseph Myers <joseph@codesourcery.com>
2017
aa0e4663
JM
2018 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2019 than after operators.
2020 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2021 * sysdeps/mach/hurd/getcwd.c
2022 (__hurd_canonicalize_directory_name_internal): Likewise.
2023 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2024 (pthread_mutex_consistent): Likewise.
2025 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2026 Likewise.
2027 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2028 (__pthread_mutex_transfer_np): Likewise.
2029 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2030 (__pthread_mutex_unlock): Likewise.
2031 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2032 (mtx_owned_p): Likewise.
2033 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2034 (pthread_mutexattr_getrobust): Likewise.
2035 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2036 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2037 Likewise.
2038 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2039 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2040 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2041 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2042 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2043 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2044 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2045 Likewise.
2046 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2047 Likewise.
2048 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2049 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2050 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2051 (____longjmp_chk): Likewise.
2052 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2053 Likewise.
2054 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2055 (INTERNAL_SYSCALL): Likewise.
2056 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2057 (INTERNAL_SYSCALL): Likewise.
2058 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2059 (__get_clockfreq_via_cpuinfo): Likewise.
2060
e0cb7b61
JM
2061 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2062 comments.
2063 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2064 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2065 (WORD_COPY_BWD): Likewise.
2066 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2067 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2068 Likewise.
2069 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2070 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2071 comment.
2072 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2073
a04549c1
JM
20742019-02-25 Joseph Myers <joseph@codesourcery.com>
2075
2076 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2077 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2078 rather than after operators.
2079 * elf/cache.c (print_cache): Likewise.
2080 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2081 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2082 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2083 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2084 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2085 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2086 (reauth_proc): Likewise.
2087 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2088 (__file_name_split_at): Likewise.
2089 (__directory_name_split_at): Likewise.
2090 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2091 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2092 * iconv/gconv_dl.c (do_print): Likewise.
2093 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2094 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2095 * locale/setlocale.c (new_composite_name): Likewise.
2096 * malloc/memusagestat.c (main): Likewise.
2097 * misc/fstab.c (fstab_convert): Likewise.
2098 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2099 Likewise.
2100 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2101 (getgrent_next_file): Likewise.
2102 (internal_getgrnam_r): Likewise.
2103 (internal_getgrgid_r): Likewise.
2104 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2105 Likewise.
2106 (internal_getgrent_r): Likewise.
2107 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2108 (getpwent_next_nss): Likewise.
2109 (getpwent_next_file): Likewise.
2110 (internal_getpwnam_r): Likewise.
2111 (internal_getpwuid_r): Likewise.
2112 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2113 Likewise.
2114 (getspent_next_nss): Likewise.
2115 (internal_getspnam_r): Likewise.
2116 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2117 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2118 * string/strchr.c (STRCHR): Likewise.
2119 * string/strchrnul.c (STRCHRNUL): Likewise.
2120 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2121 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2122 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2123 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2124 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2125 Likewise.
2126 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2127 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2128 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2129 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2130 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2131 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2132 (open_file): Likewise.
2133 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2134 (pthread_mutexattr_setprotocol): Likewise.
2135 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2136 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2137 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2138 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2139 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2140 Likewise.
2141 (elf_machine_rela): Likewise.
2142 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2143 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2144 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2145 * sysdeps/posix/rename.c (rename): Likewise.
2146 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2147 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2148 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2149 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2150 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2151 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2152 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2153 Likewise.
2154 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2155 Likewise.
2156 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2157 * time/tzfile.c (__tzfile_compute): Likewise.
2158
34a5a146
JM
21592019-02-22 Joseph Myers <joseph@codesourcery.com>
2160
2161 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2162 rather than after operators.
2163 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2164 * crypt/md5.c (md5_finish_ctx): Likewise.
2165 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2166 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2167 * elf/cache.c (load_aux_cache): Likewise.
2168 * elf/dl-load.c (open_verify): Likewise.
2169 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2170 * elf/readelflib.c (process_elf_file): Likewise.
2171 * elf/rtld.c (dl_main): Likewise.
2172 * elf/sprof.c (generate_call_graph): Likewise.
2173 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2174 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2175 * hurd/dtable.c (reauth_dtable): Likewise.
2176 * hurd/getdport.c (__getdport): Likewise.
2177 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2178 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2179 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2180 Likewise.
2181 * hurd/hurdioctl.c (fioctl): Likewise.
2182 * hurd/hurdselect.c (_hurd_select): Likewise.
2183 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2184 (STOPSIGS): Likewise.
2185 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2186 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2187 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2188 * hurd/msgportdemux.c (msgport_server): Likewise.
2189 * hurd/setauth.c (_hurd_setauth): Likewise.
2190 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2191 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2192 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2193 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2194 * login/tst-utmp.c (do_check): Likewise.
2195 (simulate_login): Likewise.
2196 * mach/lowlevellock.h (lll_lock): Likewise.
2197 (lll_trylock): Likewise.
2198 * math/test-fenv.c (ALL_EXC): Likewise.
2199 * math/test-fenvinline.c (ALL_EXC): Likewise.
2200 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2201 * nis/nis_call.c (__do_niscall3): Likewise.
2202 * nis/nis_callback.c (cb_prog_1): Likewise.
2203 * nis/nis_defaults.c (searchaccess): Likewise.
2204 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2205 * nis/nis_ismember.c (internal_ismember): Likewise.
2206 * nis/nis_local_names.c (nis_local_principal): Likewise.
2207 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2208 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2209 Likewise.
2210 * nis/ypclnt.c (yp_match): Likewise.
2211 (yp_first): Likewise.
2212 (yp_next): Likewise.
2213 (yp_master): Likewise.
2214 (yp_order): Likewise.
2215 * nscd/hstcache.c (cache_addhst): Likewise.
2216 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2217 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2218 (internal_getpwuid_r): Likewise.
2219 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2220 * posix/glob.h (__GLOB_FLAGS): Likewise.
2221 * posix/regcomp.c (peek_token): Likewise.
2222 (peek_token_bracket): Likewise.
2223 (parse_expression): Likewise.
2224 * posix/regexec.c (sift_states_iter_mb): Likewise.
2225 (check_node_accept_bytes): Likewise.
2226 * posix/tst-spawn3.c (do_test): Likewise.
2227 * posix/wordexp-test.c (testit): Likewise.
2228 * posix/wordexp.c (parse_tilde): Likewise.
2229 (exec_comm): Likewise.
2230 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2231 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2232 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2233 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2234 * stdio-common/tst-fileno.c (do_test): Likewise.
2235 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2236 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2237 * stdlib/strtod_l.c (round_and_return): Likewise.
2238 (____STRTOF_INTERNAL): Likewise.
2239 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2240 * string/strcspn.c (STRCSPN): Likewise.
2241 * string/test-memmem.c (simple_memmem): Likewise.
2242 * termios/tcsetattr.c (tcsetattr): Likewise.
2243 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2244 * time/asctime.c (asctime_internal): Likewise.
2245 * time/strptime_l.c (__strptime_internal): Likewise.
2246 * time/sys/time.h (timercmp): Likewise.
2247 * time/tzfile.c (__tzfile_compute): Likewise.
2248
b0b50fe0
PF
22492019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2250
b39d961c
TS
2251 [BZ #21915]
2252 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 2253
f43b8dd5
GG
22542019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2255
2256 * argp/argp-help.c (__argp_error_internal): New function,
2257 renamed from __argp_error, but that takes a 'mode_flags'
2258 parameter to control the format of long double parameters.
2259 (__argp_error): Converted into a call __argp_error_internal.
2260 (__argp_failure_internal): New function, renamed from
2261 __argp_failure, but that takes a 'mode_flags' parameter.
2262 (__argp_failure): Converted into a call __argp_failure_internal.
2263 * misc/err.c (__vwarnx_internal): New function, renamed from
2264 vwarnx, but that takes a 'mode_flags' parameter.
2265 (vwarnx): Converted into a call to __vwarnx_internal.
2266 (__vwarn_internal): New function, renamed from vwarn, but that
2267 takes a 'mode_flags' parameter.
2268 (vwarn): Converted into a call to __vwarn_internal.
2269 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2270 call to __vfxprintf with 'mode_flags'.
2271 (__error_internal): New function, renamed from error, but that
2272 takes a 'mode_flags' parameter.
2273 (error): Converted into a call to __error_internal.
2274 (__error_at_line_internal): New function, renamed from
2275 error_at_line, but that takes a 'mode_flags' parameter.
2276 (error_at_line): Converted into a call to
2277 __error_at_line_internal.
2278 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2279 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2280 Likewise.
2281
dc0afac3 22822019-02-20 Martin Liska <mliska@suse.cz>
2283
2284 * math/Makefile: Install math-vector-fortran.h.
2285 * bits/math-vector-fortran.h: New file.
2286 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2287
4a2dd41c
GG
22882019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2289
2290 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2291 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2292
04de9302
WS
22932019-02-19 Wolfram Sang <wsa@the-dreams.de>
2294
2295 * nptl/pthread_mutex_trylock.c: Fix comment.
2296
b026ce1e
CD
22972019-02-19 Carlos O'Donell <carlos@redhat.com>
2298
2299 * nptl/pthread_tryjoin.c: Fix comment.
2300
8c9289b6
JM
23012019-02-18 Joseph Myers <joseph@codesourcery.com>
2302
2303 [BZ #24231]
2304 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2305 after R_SPARC_H34 case.
2306
308e022f
FW
23072019-02-18 Florian Weimer <fweimer@redhat.com>
2308
2309 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2310 (getanswer): Do not call Dprintf.
2311 (res_gethostbyname2_context): Likewise.
2312 (res_gethostbyaddr_context): Likewise.
2313
a5406364
FW
23142019-02-18 Florian Weimer <fweimer@redhat.com>
2315
2316 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2317 declaration.
2318 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2319 Remove definitions.
2320 * libio/stdfiles.c: Update comment.
2321 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2322 set _IO_stdin, _IO_stdout, _IO_stderr.
2323 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2324 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2325 inline function.
2326 (_IO_deallocate_file): New inline function.
2327 * libio/iolibio.h (_IO_vprintf): Remove definition.
2328 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2329 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2330 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2331 _IO_legacy_file.
2332 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2333 __builtin_expect. Use _IO_legacy_file.
2334
6c29942c
SL
23352019-02-18 Stefan Liebler <stli@linux.ibm.com>
2336
2337 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2338 Initialize ctid with a known value and remove update of ctid
2339 after clone.
2340 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2341 as assumed current value of ctid_ptr.
2342
225d9445 23432019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
2344
2345 Check that non-sysdeps headers have wrapper headers.
2346 * scripts/check-wrapper-headers.py: New file.
2347 * Makefile (tests-special): Add check-wrapper-headers.out.
2348 (check-wrapper-headers.out): New target.
2349 * Rules (tests-special): Add check-wrapper-headers.out.
2350 (check-wrapper-headers.out): New target.
2351
225d9445 23522019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
2353
2354 Add missing header wrappers under include/.
2355 * include/ar.h: New file.
2356 * include/bits/mqueue2.h: Likewise.
2357 * include/bits/stdio.h: Likewise.
2358 * include/bits/stdio2.h: Likewise.
2359 * include/fstab.h: Likewise.
2360 * include/fts.h: Likewise.
2361 * include/lastlog.h: Likewise.
2362 * include/netinet/icmp6.h: Likewise.
2363 * include/netinet/igmp.h: Likewise.
2364 * include/netinet/ip6.h: Likewise.
2365 * include/re_comp.h: Likewise.
2366 * include/regexp.h: Likewise.
2367 * include/rpcsvc/bootparam.h: Likewise.
2368 * include/rpcsvc/yp_prot.h: Likewise.
2369 * include/sys/random.h: Likewise.
2370 * include/sys/stropts.h: Likewise.
2371 * include/sys/ttychars.h: Likewise.
2372 * include/sys/vfs.h: Likewise.
2373 * include/wait.h: Likewise.
2374
225d9445 23752019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
2376
2377 * nptl_db/proc_service.h: Move to ...
2378 * sysdeps/nptl/proc_service.h: ... here.
2379 * nptl_db/thread_db.h: Move to ...
2380 * sysdeps/nptl/thread_db.h: ... here.
2381 * nptl/descr.h: Include <thread_db.h>.
2382
e442e40d
AZ
23832019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2384
2385 * io/Makefile (tests): Add tst-lockf.
2386 * io/lockf.c (lockf): Use __fcntl and only define for
2387 !__OFF_T_MATCHES_OFF64_T.
2388 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2389 __OFF_T_MATCHES_OFF64_T case.
2390 * io/tst-lockf.c: New file.
2391 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2392 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2393 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2394 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2395 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2397 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2398 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2399 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2400
bc10e22c
FW
24012019-02-15 Florian Weimer <fweimer@redhat.com>
2402
2403 [BZ #24211]
2404 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2405 pd->result after the thread descriptor has been freed.
2406
365f05c7
JM
24072019-02-15 Joseph Myers <joseph@codesourcery.com>
2408
8a11f970
JM
2409 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2410 from function return type.
2411
365f05c7
JM
2412 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2413
6b5c8607 24142019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
2415
2416 * scripts/test_printers_common.py: Set TERM to a known harmless
2417 value.
2418
712182c8
JM
24192019-02-14 Joseph Myers <joseph@codesourcery.com>
2420
2421 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2422 (xdr_u_int): Likewise.
2423 (xdr_enum): Likewise.
2424 (xdr_bytes): Reword fall-through comment.
2425 (xdr_string): Likewise.
2426
eb76e5b4
AZ
24272019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2428
2429 [BZ #2421]
2430 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2431 (tests): Add tst-join8 tst-join9.
2432 * nptl/lll_timedwait_tid.c: Remove file.
2433 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2434 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2435 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2436 * nptl/pthread_join_common.c (timedwait_tid): New function.
2437 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2438 is set.
2439 * nptl/tst-join5.c (thread_join): New function.
2440 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2441 check.
2442 * nptl/tst-join8.c: New file.
2443 * nptl/tst-join9.c: Likewise.
2444 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2445 lll_futex_timed_wait_cancel): Add generic macros.
2446 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2447 Remove definitions.
2448 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2449 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2450 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2451 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2452 Remove function.
2453 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2454 Likewise.
2455 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2456 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2457 (lll_futex_timed_wait_cancel): New macro.
2458
3904fd85
WD
24592019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2460
2461 * benchtests/Makefile: Add malloc-simple benchmark.
2462 * benchtests/bench-malloc-simple.c: New benchmark.
2463
24ca04fe
SP
24642019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2465
2466 * benchtests/bench-memmove.c (do_one_test): Remove unused
2467 ORIG_SRC.
2468 (do_test): Adjust.
2469 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2470 ORIG_SRC.
2471 (do_test): Adjust.
2472
85bd1ddb
JW
24732019-01-13 Jim Wilson <jimw@sifive.com>
2474
2475 [BZ #24040]
2476 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2477 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2478 (func): New.
2479 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2480 call func directly.
2481 * nptl/Makefile (tests): Add tst-unwind-thread.
2482 (CFLAGS-tst-unwind-thread.c): Define.
2483 * nptl/tst-unwind-thread.c: New file.
2484 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2485 as undefined.
2486
86140c62
JM
24872019-02-13 Joseph Myers <joseph@codesourcery.com>
2488
10756268
JM
2489 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2490 comment wording.
2491 * nis/nis_call.c (__do_niscall3): Likewise.
2492
05383720
JM
2493 * catgets/gencat.c (normalize_line): Use braces around empty
2494 'else' body.
2495 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2496 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2497 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2498 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2499 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2500 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2501 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2502 definition.
2503
86140c62
JM
2504 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2505 execlp returns.
2506
16f87cfd
WD
25072019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2508
2509 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2510 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2511 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2512 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2513 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2514 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2515 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2516 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2517 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2518 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2519 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2520 * benchtests/bench-bcopy.c: Delete file.
2521 * benchtests/bench-bzero.c: Likewise.
2522 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2523 (simple_memccpy): Remove.
2524 (generic_memccpy): Add function.
2525 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2526 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2527 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2528 (generic_mempcpy): Add new function.
2529 * benchtests/bench-memset.c (simple_bzero): Remove.
2530 (builtin_bzero): Remove.
2531 (builtin_memset): Remove.
2532 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2533 (generic_rawmemchr): Add new function.
2534
0c6d82e9
FW
25352019-02-12 Florian Weimer <fweimer@redhat.com>
2536
2537 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2538
b3fbfe81
AZ
25392019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2540
2541 [BZ #24122]
2542 * elf/Makefile (tests): Add tst-audit13.
2543 (modules-names): Add tst-audit13mod1.
2544 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2545 rule.
2546 * elf/tst-audit13.c: New file.
2547 * elf/tst-audit13mod1.c: Likewise.
2548
3b856d09
FW
25492019-02-12 Florian Weimer <fweimer@redhat.com>
2550
2551 [BZ #24122]
2552 * elf/rtld.c (unload_audit_module): New function.
2553 (report_audit_module_load_error): Likewise.
2554 (load_audit_module): Likewise. Extracted from dl_main. Call
2555 _dl_close if the laversion symbol cannot be found. Use early
2556 returns for error handling. Add malloc error check. Check for a
2557 zero return value from la_version. Remove spurious comment about
2558 static TLS initialization. Remove useless casts.
2559 (notify_audit_modules_of_loaded_object): New function. Extracted
2560 from dl_main.
2561 (load_audit_module): Likewise.
2562 (dl_main): Call load_audit_modules.
2563
32db86d5
JM
25642019-02-12 Joseph Myers <joseph@codesourcery.com>
2565
2566 * elf/dl-exception.c (_dl_exception_create_format): Add
2567 fall-through comments.
2568 * elf/ldconfig.c (parse_conf_include): Likewise.
2569 * elf/rtld.c (print_statistics): Likewise.
2570 * locale/programs/charmap.c (parse_charmap): Likewise.
2571 * misc/mntent_r.c (__getmntent_r): Likewise.
2572 * posix/wordexp.c (parse_arith): Likewise.
2573 (parse_backtick): Likewise.
2574 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2575 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2576 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2577
a51bc4fe
PC
25782019-02-11 Paul A. Clarke <pc@us.ibm.com>
2579
2580 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2581 Use float instead of double.
2582
fb25b135
TS
25832019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2584
2585 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2586
32ea7299
JM
25872019-02-08 Joseph Myers <joseph@codesourcery.com>
2588
2589 * sysdeps/powerpc/bits/mathinline.h: Remove.
2590
eef4d4f8
FW
25912019-02-08 Florian Weimer <fweimer@redhat.com>
2592
2593 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2594 * math/bits/math-finite.h: Move to ...
2595 * bits/math-finite.h: ... here.
2596
fdfbd47d
FW
25972019-02-08 Florian Weimer <fweimer@redhat.com>
2598
2599 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2600 * bits/unistd_ext.h: here.
2601
11eb21c4
PF
26022019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2603
2604 [BZ #21915]
2605 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2606 * nss/tst-nss-files-hosts-long.c: New file.
2607 * nss/tst-nss-files-hosts-long.root: New directory.
2608 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2609 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2610
e47d82c9
FW
26112019-02-08 Florian Weimer <fweimer@redhat.com>
2612
2613 * include/bits/unistd_ext.h: Remove file.
2614 * posix/bits/unistd_ext.h: Move to ...
2615 * sysdeps/generic/bits/unistd_ext.h: ... here.
2616
8f89ab21
FW
26172019-02-08 Florian Weimer <fweimer@redhat.com>
2618
2619 * include/bits/unistd_ext.h: New file.
2620
144a794e
TS
26212019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2622
2623 * time/tst-strftime2.c: Use array_length macros instead of magic
2624 numbers.
2625
669ff911
FW
26262019-02-08 Florian Weimer <fweimer@redhat.com>
2627
2628 [BZ #24161]
2629 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2630 argument.
2631 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2632 locking if the new do_locking argument is true.
2633 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2634 __run_fork_handlers.
2635
d0bd87d4 26362019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
2637
2638 [BZ #6399]
2639 Linux: Add gettid system call wrapper.
2640 * posix/Makefile (headers): Add bits/unistd_ext.h.
2641 * posix/bits/unistd_ext.h: New file.
2642 * posix/unistd.h: Include it.
2643 * manual/process.texi (Process Identification): Document gettid.
2644 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2645 tst-gettid, tst-gettid-kill.
2646 (tst-gettid): Link with $(shared-thread-library).
2647 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2648 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2649 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2650 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2651 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2652 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2653 Add gettid.
2654 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2655 Likewise.
2656 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2657 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2658 Likewise.
2659 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2660 Likewise.
2661 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2662 Likewise.
2663 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2664 Likewise.
2665 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2666 Likewise.
2667 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2668 Likewise.
2669 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2670 Likewise.
2671 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2672 (GLIBC_2.30): Likewise.
2673 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2674 (GLIBC_2.30): Likewise.
2675 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2676 (GLIBC_2.30): Likewise.
2677 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2678 (GLIBC_2.30): Likewise.
2679 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2680 Likewise.
2681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2682 (GLIBC_2.30): Likewise.
2683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2684 (GLIBC_2.30): Likewise.
2685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2686 (GLIBC_2.30): Likewise.
2687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2688 (GLIBC_2.30): Likewise.
2689 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2690 Likewise.
2691 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2692 Likewise.
2693 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2694 Likewise.
2695 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2696 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2697 Likewise.
2698 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2699 Likewise.
2700 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2701 Likewise.
2702 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2703 Likewise.
2704 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2705
225d9445 27062019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
2707
2708 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2709 compatibility symbols.
2710
823624bd
SL
27112019-02-07 Stefan Liebler <stli@linux.ibm.com>
2712
2713 [BZ #24180]
2714 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2715 Add compiler barriers and comments.
2716
8311c83f
FW
27172019-02-07 Florian Weimer <fweimer@redhat.com>
2718
2719 * include/array_length.h (array_length): Do not use a statement
2720 expression and _Static_assert, so that array_length can be used at
2721 file scope and as a constant expression.
2722
94b63e66
FW
27232019-02-07 Florian Weimer <fweimer@redhat.com>
2724
2725 * support/xdlfcn.h (xdlmopen): Declare.
2726 * support/xdlmopen.c: New file.
2727 * support/Makefile (libsupport-routines): Add xdlmopen.
2728
c2d8f0b7
JM
27292019-02-06 Joseph Myers <joseph@codesourcery.com>
2730
2731 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2732 before return type, without separate inline.
2733 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2734 * elf/dl-tunables.h (tunable_is_name): Likewise.
2735 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2736 (do_set_top_pad): Likewise.
2737 (do_set_mmap_threshold): Likewise.
2738 (do_set_mmaps_max): Likewise.
2739 (do_set_mallopt_check): Likewise.
2740 (do_set_perturb_byte): Likewise.
2741 (do_set_arena_test): Likewise.
2742 (do_set_arena_max): Likewise.
2743 (do_set_tcache_max): Likewise.
2744 (do_set_tcache_count): Likewise.
2745 (do_set_tcache_unsorted_limit): Likewise.
2746 * nis/nis_subr.c (count_dots): Likewise.
2747 * nptl/allocatestack.c (advise_stack_range): Likewise.
2748 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2749 (do_sin): Likewise.
2750 (reduce_sincos): Likewise.
2751 (do_sincos): Likewise.
2752 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2753 (do_set_elision_enable): Likewise.
2754 (TUNABLE_CALLBACK_FNDECL): Likewise.
2755
3b935595
FW
27562019-02-06 Florian Weimer <fweimer@redhat.com>
2757
2758 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2759 (xdlsym): Use dlerror to detect a NULL symbol.
2760
b4333340
FW
27612019-02-06 Florian Weimer <fweimer@redhat.com>
2762
2763 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2764 <stap-probe.h>.
2765 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2766
b6d8a999
SL
27672019-02-06 Stefan Liebler <stli@linux.ibm.com>
2768
2769 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2770
94eeeec0
SL
27712019-02-06 Stefan Liebler <stli@linux.ibm.com>
2772
2773 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2774 __wmemcmp and weak alias to wmemcmp.
2775
bc79db3f
SL
27762019-02-06 Stefan Liebler <stli@linux.ibm.com>
2777
2778 [BZ #23403]
2779 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2780 TLS_TCB_AT_TP tls variant.
2781 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2782 Add alignment checks.
2783 * support/Makefile (libsupport-routines): Add xposix_memalign and
2784 xpthread_setstack.
2785 * support/support.h: Add xposix_memalign.
2786 * support/xthread.h: Add xpthread_attr_setstack.
2787 * support/xposix_memalign.c: New File.
2788 * support/xpthread_attr_setstack.c: Likewise.
2789
f1ac7455
FW
27902019-02-05 Florian Weimer <fweimer@redhat.com>
2791
2792 [BZ #24164]
2793 arm: Use "nr" constraint for Systemtap probes, to avoid the
2794 compiler using memory operands for constants, due to the "o"
2795 alternative in the default "nor" constraint.
2796 * include/stap-probe.h [USE_STAP_PROBE]: Include
2797 <stap-probe-machine.h>
2798 * sysdeps/generic/stap-probe-machine.h: New file.
2799 * sysdeps/arm/stap-probe-machine.h: Likewise.
2800
7a0dcfc6
JM
28012019-02-04 Joseph Myers <joseph@codesourcery.com>
2802
77dc0d86
JM
2803 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2804 with 0, not tcache->entries[tc_idx].
2805
7a0dcfc6
JM
2806 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2807 once.
2808
65f7767a
AS
28092019-02-04 Andreas Schwab <schwab@suse.de>
2810
2811 [BZ #16976]
2812 [BZ #17396]
2813 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2814 looking up collating elements match against (wide) character
2815 sequence instead of name. Correct alignment adjustment.
2816 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2817 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2818 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2819 (LOCALES): Add cs_CZ.ISO-8859-2.
2820 * posix/tst-fnmatch4.c: New file.
2821 * posix/tst-fnmatch5.c: New file.
2822 * include/wchar.h (__wmemcmp): Declare.
2823 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
2824 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2825 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2826 * sysdeps/s390/wmemcmp.c: Likewise.
2827
3f635fb4
L
28282019-02-04 H.J. Lu <hongjiu.lu@intel.com>
2829
2830 [BZ #24155]
2831 CVE-2019-7309
2832 * NEWS: Updated for CVE-2019-7309.
2833 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
2834 upper 32 bits of RDX register for x32. Use unsigned Jcc
2835 instructions, instead of signed.
2836 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
2837 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
2838
2ab5741b
FW
28392019-02-04 Florian Weimer <fweimer@redhat.com>
2840
2841 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
2842 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
2843 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
2844 Likewise.
2845 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
2846 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
2847 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
2848 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
2849 Likewise.
2850 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
2851 Likewise.
2852 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
2853 Likewise.
2854 (posix_spawn_file_actions_addopen): Likewise.
2855 (posix_spawn_file_actions_addclose): Likewise.
2856 (posix_spawn_file_actions_adddup2): Likewise.
2857 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
2858 qualifiers.
2859 (posix_spawn_file_actions_addfchdir_np): Likewise.
2860
8692ebdb
DN
28612019-02-04 David Newall <glibc@davidnewall.com>
2862
2863 elf: Implement --preload option for the dynamic linker.
2864 * elf/rtld.c (preloadarg): New variable.
2865 (handle_preload_list): Pass through “where” argument to
2866 do_preload.
2867 (dl_main): Handle "--preload" and add second call to
2868 handle_preload_list.
2869 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
2870 (tst-rtld-preload-OBJS): Set variable.
2871 (tst-rtld-preload.out): New target.
2872 * elf/tst-rtld-preload.sh: New file.
2873
5e10136b
MM
28742019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
2875
2876 * Makefile (testrun.sh): Exit in case of incorrect argument.
2877
221baae0
FW
28782019-02-04 Florian Weimer <fweimer@redhat.com>
2879
2880 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
2881 alignment gaps.
2882
b8c72381
FW
28832019-02-03 Florian Weimer <fweimer@redhat.com>
2884
2885 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
2886 implicit overflow checks.
2887
11f382ee
AJ
28882019-02-03 Aurelien Jarno <aurelien@aurel32.net>
2889
2890 * stdlib/isomac.c: Include <unistd.h>.
2891
77c7d55e
FW
28922019-02-03 Florian Weimer <fweimer@redhat.com>
2893
2894 * include/time.h (__tzfile_default): Use int, not long int, for
2895 the GMT offsets.
2896 * time/tzfile.c (struct ttinfo): Change type of the offset member
2897 to int.
2898 (__tzfile_read): Remove useless cast.
2899 (__tzfile_default): Adjust prototype.
2900 * time/tzset.c (tz_rule): Change type of the offset member to int.
2901 (parse_offset): Change the type of the sign variable to int.
2902
ee9941f9
FW
29032019-02-03 Florian Weimer <fweimer@redhat.com>
2904
2905 [BZ #24153]
2906 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
2907 * libio/getchar.c (getchar): Likewise.
2908 * libio/getchar_u.c (getchar_unlocked): Likewise.
2909 * libio/getwchar.c (getwchar): Likewise.
2910 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2911 * libio/iogets.c (_IO_gets): Likewise.
2912 * libio/vscanf.c (_IO_vscanf): Likewise.
2913 * libio/vwscanf.c (__vwscanf): Likewise.
2914 * libio/tst-bz24153.c: New file.
2915 * libio/Makefile (tests): Add it.
2916
c70824b9
FW
29172019-02-02 Florian Weimer <fweimer@redhat.com>
2918
2919 [BZ #14829]
2920 * manual/resource.texi (Basic Scheduling Functions): Add
2921 portability note. Change process to task throughout the section.
2922 Remove incorrect comment about sched_yield as it affects
2923 tasks/threads, not entire processes.
2924 * sysdeps/unix/sysv/linux/bits/posix_opt.h
2925 (_POSIX_PRIORITY_SCHEDULING): Update comment.
2926
4dcbbc3b
JM
29272019-02-01 Joseph Myers <joseph@codesourcery.com>
2928
2929 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
2930 * configure: Regenerated.
2931 * manual/install.texi (Tools for Compilation): Update minimum GCC
2932 version.
2933 * INSTALL: Regenerated.
2934
6175507c
FW
29352019-02-01 Florian Weimer <fweimer@redhat.com>
2936
2937 * support/support_test_compare_string.c
2938 (support_test_compare_string): Use "string" in error message.
2939 * support/tst-test_compare_string.c (do_test): Adjust.
2940
baef1943
FW
29412019-02-01 Florian Weimer <fweimer@redhat.com>
2942
2943 * support/support_format_address_family.c
2944 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2945
395599f0
FW
29462019-02-01 Florian Weimer <fweimer@redhat.com>
2947
2948 * manual/socket.texi (Internet Address Formats): Clarify the byte
2949 order of struct sockaddr_in, struct sockaddr_in6. Document
2950 sin6_flowinfo and sin6_scope_id.
2951
b06f4c00
WD
29522019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2953
2954 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2955 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2956 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2957 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2958 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2959 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2960
83d1cc42
FX
29612019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2962
2963 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2964 [!MEMCHR](MEMCHR): Set to __memchr.
2965 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2966 Add memchr_generic and memchr_nosimd.
2967 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2968 (__libc_ifunc_impl_list): Add memchr ifuncs.
2969 * sysdeps/aarch64/multiarch/memchr.c: New file.
2970 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2971 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2972
c7d3890f
FX
29732019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2974
2975 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2976 Add memset_emag.
2977 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2978 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2979 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2980 Add IS_EMAG check for ifunc dispatch.
2981 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2982 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2983
07c3d1ec
FX
29842019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2985
2986 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2987 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2988 Add emag.
2989 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2990 New macro.
2991
114f792e
SL
29922019-02-01 Stefan Liebler <stli@linux.ibm.com>
2993
2994 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2995
d5627550
VG
29962019-01-31 Vineet Gupta <vgupta@synopsys.com>
2997
2998 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2999 syscall-template file.
3000
5fc9ed4c
CD
30012019-01-31 Carlos O'Donell <carlos@redhat.com>
3002 Torvald Riegel <triegel@redhat.com>
3003 Rik Prohaska <prohaska7@gmail.com>
3004
3005 [BZ# 23844]
3006 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3007 tst-rwlock-trywrlock-stall.
3008 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3009 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3010 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3011 Set __wrphase_fute to 1 only if we started the write phase.
3012 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3013 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3014 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3015 * support/xpthread_rwlock_destroy.c: New file.
3016 * support/xthread.h: Declare xpthread_rwlock_destroy.
3017
932329a5
JM
30182019-02-01 Joseph Myers <joseph@codesourcery.com>
3019
3020 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3021 version to 4.0.2.
3022
5f10701f
PP
30232019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3024
3025 [BZ #24051]
3026 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3027 * libio/fileops.c (_IO_new_file_underflow): Likewise
3028 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3029 * libio/putchar.c (putchar): Likewise.
3030 * libio/putchar_u.c (putchar_unlocked): Likewise.
3031 * libio/putwchar.c (putchar): Likewise.
3032 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3033 * libio/tst-bz24051.c: New test.
3034 * libio/Makefile (tests): Add tst-bz24051
3035
583dd860
PE
30362019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3037
b626c5aa 3038 CVE-2019-9169
583dd860
PE
3039 regex: fix read overrun [BZ #24114]
3040 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3041 https://debbugs.gnu.org/34140
3042 * posix/regexec.c (proceed_next_node):
3043 Do not read past end of input buffer.
3044
2bac7daa
FW
30452019-01-31 Florian Weimer <fweimer@redhat.com>
3046
3047 [BZ #24059]
3048 * nss/nss_files/files-alias.c (get_next_alias): Handle
3049 continuation line without newline at the end.
3050 * nss/tst-nss-files-alias-truncated.c: New file.
3051 * nss/Makefile [$(build-shared)] (tests): Add
3052 tst-nss-files-alias-truncated.
3053 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3054 * support/namespace.h (struct support_chroot_configuration): Add
3055 aliases member.
3056 (struct support_chroot): Add path_aliases member.
3057 * support/support_chroot.c (support_chroot_create): Handle
3058 aliases.
3059 (support_chroot_free): Free path_aliases.
3060
330c9d0d
SP
30612019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3062
de44ab67
SP
3063 * version.h (RELEASE): Set to "development".
3064 (VERSION): Set to "2.29.9000".
3065 * NEWS: Add section for 2.30.
3066
56c86f5d
SP
3067 * version.h (RELEASE): Set to "stable".
3068 (VERSION): Set to "2.29".
3069 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3070
330c9d0d
SP
3071 * NEWS: Add the list of bugs fixed in 2.29.
3072 * manual/contrib.texi: Update contributors list with some more
3073 names.
3074 * manual/install.texi: Update latest versions of packages
3075 tested.
3076 * INSTALL: Regenerated.
3077
e1e47c91
SP
30782019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3079
3080 * po/be.po: Update translations.
3081 * po/bg.po: Likewise.
3082 * po/ca.po: Likewise.
3083 * po/cs.po: Likewise.
3084 * po/da.po: Likewise.
3085 * po/de.po: Likewise.
3086 * po/el.po: Likewise.
3087 * po/eo.po: Likewise.
3088 * po/es.po: Likewise.
3089 * po/fi.po: Likewise.
3090 * po/fr.po: Likewise.
3091 * po/gl.po: Likewise.
3092 * po/hr.po: Likewise.
3093 * po/hu.po: Likewise.
3094 * po/ia.po: Likewise.
3095 * po/id.po: Likewise.
3096 * po/it.po: Likewise.
3097 * po/ja.po: Likewise.
3098 * po/ko.po: Likewise.
3099 * po/lt.po: Likewise.
3100 * po/nb.po: Likewise.
3101 * po/nl.po: Likewise.
3102 * po/pl.po: Likewise.
3103 * po/pt_BR.po: Likewise.
3104 * po/ru.po: Likewise.
3105 * po/rw.po: Likewise.
3106 * po/sk.po: Likewise.
3107 * po/sl.po: Likewise.
3108 * po/sv.po: Likewise.
3109 * po/tr.po: Likewise.
3110 * po/uk.po: Likewise.
3111 * po/vi.po: Likewise.
3112 * po/zh_CN.po: Likewise.
3113 * po/zh_TW.po: Likewise.
3114
8d016826
UB
31152019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3116
3117 [BZ #24130]
3118 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3119 of $f3 register on $y_is_neg path.
3120
a0bb5abd
ST
31212019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3122
b96e22d0 3123 [BZ #24110]
a0bb5abd
ST
3124 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3125 sigaltstack.ss_flags.
3126
b22eed37
TS
31272019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3128
3129 [BZ #23758]
3130 * manual/time.texi (strftime): Document "%Ey".
3131 * time/strftime_l.c (__strftime_internal): Set the default width
3132 padding with zero of "%Ey" to 2.
3133
32f600a2
TS
3134 [BZ #24096]
3135 * manual/time.texi (strftime): Document "%EC" and "%EY".
3136 * time/Makefile (tests): Add tst-strftime2.
3137 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3138 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3139 override padding for "%Ey".
3140 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3141 "%Ey" in the subformat as if decorated with that flag.
3142 * time/tst-strftime2.c: New file.
3143
8e889c5d
AZ
31442019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3145
3367acdb
AZ
3146 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3147 are not defined.
3148
8e889c5d
AZ
3149 [BZ #24122]
3150 * elf/Makefile (tests): Add tst-audit13.
3151 (modules-names): Add tst-audit13mod1.
3152 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3153 rule.
3154 * elf/rtld.c (dl_main): Handle invalid audit module version.
3155 * elf/tst-audit13.c: New file.
3156 * elf/tst-audit13mod1.c: Likewise.
3157
a95dc01c
ST
31582019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3159
3160 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3161 returned by __hurd_at_flags.
ee4d7902
ST
3162 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3163 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3164 directly instead of __hurd_file_name_lookup.
a95dc01c 3165
712f1167
JM
31662019-01-21 Joseph Myers <joseph@codesourcery.com>
3167
3168 * scripts/build-many-glibcs.py (Context.checkout): Default
3169 binutils version to 2.32 branch.
3170
108bc404
FW
31712019-01-21 Florian Weimer <fweimer@redhat.com>
3172
3173 [BZ #20018]
3174 CVE-2016-10739
3175 resolv: Reject trailing characters in host names
3176 * include/arpa/inet.h (__inet_aton_exact): Declare.
3177 (inet_aton): Remove hidden prototype. No longer used internally.
3178 * nscd/gai.c (__inet_aton): Do not define.
3179 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3180 * nss/digits_dots.c (__inet_aton): Likewise.
3181 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3182 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3183 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3184 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3185 (tst-resolv-trailing): Likewise.
3186 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3187 libc.
3188 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3189 Make static. Add endp parameter.
3190 (__inet_aton_exact): New function.
3191 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3192 (__inet_addr): Call inet_aton_end.
3193 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3194 not just IPv6. Call __inet_aton_exact.
3195 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3196 (tests): Make const. Add additional test cases with trailing
3197 characters.
3198 (do_test): Use array_length.
3199 * resolv/tst-inet_aton_exact.c: New file.
3200 * resolv/tst-resolv-trailing.c: Likewise.
3201 * resolv/tst-resolv-nondecimal.c: Likewise.
3202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3203
5165de69
L
32042019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3205
3206 [BZ# 24097]
3207 CVE-2019-6488
3208 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3209 Clear the upper 32 bits of RSI register.
3210 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3211 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3212 and tst-size_t-wcsnlen.
3213 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3214 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3215
c7c54f65
L
32162019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3217
3218 [BZ# 24097]
3219 CVE-2019-6488
3220 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3221 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3222 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3223 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3224 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3225
ee915088
L
32262019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3227
3228 [BZ# 24097]
3229 CVE-2019-6488
3230 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3231 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3232 * sysdeps/x86_64/strcmp.S: Likewise.
3233 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3234 tst-size_t-strncmp and tst-size_t-wcsncmp.
3235 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3236 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3237 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3238
82d0b4a4
L
32392019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3240
3241 [BZ# 24097]
3242 CVE-2019-6488
3243 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3244 RDX_LP for length. Clear the upper 32 bits of RDX register.
3245 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3246 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3247 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3248 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3249
ecd8b842
L
32502019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3251
3252 [BZ# 24097]
3253 CVE-2019-6488
3254 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3255 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3256 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3257 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3258
231c5676
L
32592019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3260
3261 [BZ# 24097]
3262 CVE-2019-6488
3263 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3264 length. Clear the upper 32 bits of RDX register.
3265 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3266 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3267 Likewise.
3268 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3269 Likewise.
3270 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3271 tst-size_t-wmemchr.
3272 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3273
b304fc20
L
32742019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3275
3276 [BZ# 24097]
3277 CVE-2019-6488
3278 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3279 length. Clear the upper 32 bits of RDX register.
3280 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3281 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3282 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3283 tst-size_t-wmemcmp.
3284 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3285 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3286
97700a34
L
32872019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3288
3289 [BZ# 24097]
3290 CVE-2019-6488
3291 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3292 upper 32 bits of RDX register.
3293 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3294 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3295 tst-size_t-wmemchr.
3296 * sysdeps/x86_64/x32/test-size_t.h: New file.
3297 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3298 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3299
6ca53a24
FW
33002019-01-18 Florian Weimer <fweimer@redhat.com>
3301
3302 [BZ #24112]
3303 resolv: Do not send queries for non-host-names in nss_dns.
3304 * resolv/nss_dns/dns-host.c (check_name): New function.
3305 (_nss_dns_gethostbyname2_r): Use it.
3306 (_nss_dns_gethostbyname_r): Likewise.
3307 (_nss_dns_gethostbyname4_r): Likewise.
3308
5e30b8ef
FW
33092019-01-21 Florian Weimer <fweimer@redhat.com>
3310
3311 * resolv/inet_addr.c: Reformat to GNU style.
3312 (__inet_addr, __inet_aton): Update comment.
3313
71effcea
FW
33142019-01-18 Florian Weimer <fweimer@redhat.com>
3315
3316 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3317 ("malloc: Use current (C11-style) atomics for fastbin access").
3318 This commit introduces a substantial performance regression on
3319 POWER and Aarch64.
3320 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3321 (REMOVE_FB): Define.
3322 (_int_malloc): Use it and reindent.
3323 (_int_free): Use CAS loop with
3324 catomic_compare_and_exchange_val_rel.
3325 (malloc_consolidate): Use atomic_exchange_acq.
3326
3327
562f4362
L
33282019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3329
3330 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3331 -Wl,-z,now.
3332 (LDFLAGS-tst-minsigstksz-2): Likewise.
3333 (LDFLAGS-tst-minsigstksz-3): Likewise.
3334 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3335 (LDFLAGS-tst-minsigstksz-4): Likewise.
3336
80dfa298
TS
33372019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3338
3339 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3340 than "alternate".
3341
008b598e
PC
33422019-01-16 Paul A. Clarke <pc@us.ibm.com>
3343
3344 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3345
fbbc9a4e
ZW
33462019-01-16 Zack Weinberg <zackw@panix.com>
3347
6b5c8607
TS
3348 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3349 (xget_sigstack_location): New test support functions.
3350 * support/xsigstack.c: New file, implementing them.
3351 * support/tst-xsigstack.c: New test for them.
3352 * support/Makefile: Update.
fbbc9a4e 3353
6b5c8607
TS
3354 * signal/tst-minsigstksz-1.c
3355 * signal/tst-minsigstksz-2.c
3356 * signal/tst-minsigstksz-3.c
3357 * signal/tst-minsigstksz-3a.c
3358 * signal/tst-minsigstksz-4.c: New tests.
3359 * signal/Makefile: Run them.
fbbc9a4e 3360
5f1135e4
SP
33612019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3362
3363 * po/libc.pot: Regenerate.
3364
ecdacd34
TMQMF
33652019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3366
3367 * math/libm-test-fma.inc (fma_test_data): Set
3368 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3369
56054664
RA
33702019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3371
3372 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3373 (do_test): Changed __vector __int128_t to __vector unsigned int.
3374
1a153e47
LS
33752019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3376
3377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3378 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3379 stpcpy-avx2 and stpncpy-avx2.
3380 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3381 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3382 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3383 and __stpncpy_avx2.
3384 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3385 ifunc-strcpy.h}: rename header for a more generic name.
3386 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3387 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3388 AVX unaligned load is fast and vzeroupper is preferred.
3389 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3390 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3391 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3392 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3393 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3394 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3395
a1b02ae7
DL
33962019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3397
3398 * argp/argp-help.c: Fix typo in comment.
3399 * misc/sys/cdefs.h: Likewise.
3400 * posix/regexec.c (sift_states_iter_mb): Likewise.
3401 * socket/sockatmark.c: Likewise.
3402 * socket/sys/socket.h: Likewise.
3403 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3404 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3405 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3406 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3407 * sysdeps/unix/sockatmark.c: Likewise.
3408 * time/strptime_l.c: Likewise.
3409
5cbbf01e
TS
34102019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3411
3412 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3413 missing space after the cast of "_NL_CURRENT".
3414
0bc9bdf1
RA
34152019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3416
3417 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3418 ifdef to fix read of VSCR.
3419 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3420 tst-ucontext-ppc64-vscr.c to test list.
3421 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3422
5494af04
AH
34232019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3424
3425 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3426 fall-through.
3427
e17f63ff
JW
34282019-01-09 Jim Wilson <jimw@sifive.com>
3429
3430 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3431
02f440c1
WD
34322019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3433
3434 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3435 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3436 __memcpy_falkor for ares.
3437 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3438 Add new define.
3439 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3440 Add ares cpu.
3441
69da3c9e
L
34422019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3443
3444 [BZ #24066]
3445 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3446 4_FP_W_TYPEs are used for IEEE quad precision.
3447 * soft-fp/extendhftf2.c: Likewise.
3448 * soft-fp/extendsftf2.c: Likewise.
3449 * soft-fp/extendxftf2.c: Likewise.
3450 * soft-fp/trunctfdf2.c: Likewise.
3451 * soft-fp/trunctfhf2.c: Likewise.
3452 * soft-fp/trunctfsf2.c: Likewise.
3453 * soft-fp/trunctfxf2.c: Likewise.
3454 * sysdeps/alpha/ots_cvttx.c: Likewise.
3455 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3456 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3457 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3458 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3459 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3460 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3461 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3462 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3463 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3464 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3465 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3466 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3467 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3468 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3469 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3470 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3471 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3472
2ef42716
AJ
34732019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3474
3475 [BZ #24024]
3476 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3477 code with -fmath-errno.
3478 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3479 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3480 * string/test-strerror-errno.c: New file.
3481
7395f3a0
AJ
34822019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3483
3484 [BZ #24046]
3485 * localedata/locales/en_US (date_fmt): Add, set to
3486 "%a %d %b %Y %r %Z".
3487
010fe231
FW
34882019-01-07 Florian Weimer <fweimer@redhat.com>
3489
3490 [BZ #24063]
3491 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3492 instead of @var{errno}.
3493 (Parsing of Integers): Likewise.
3494 (Parsing of Floats): Likewise.
3495 * manual/filesys.texi (Working with Directory Trees): Likewise.
3496 (Temporary Files): Likewise.
3497 * manual/job.texi (Terminal Access Functions): Likewise.
3498 * manual/llio.texi (Synchronizing I/O): Likewise.
3499 * manual/math.texi (SVID Random): Likewise.
3500 * manual/message.texi (The catgets Functions): Likewise.
3501 (Translation with gettext): Likewise.
3502 (Locating gettext catalog): Likewise.
3503 (Charset conversion in gettext): Likewise.
3504 * manual/nss.texi (NSS Module Function Internals): Likewise.
3505 * manual/search.texi (Hash Search Function): Likewise.
3506 * manual/setjmp.texi (System V contexts): Likewise.
3507 * manual/time.texi (Sleeping): Likewise.
3508 * manual/users.texi (Lookup User): Likewise.
3509 (Lookup Group): Likewise.
3510
b79dc8d0
AZ
35112019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3512
3513 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3514 fix typo.
3515
890461fe 35162019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
3517
3518 [BZ #19444]
3519 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3520 __builtin_unreachable for default case in switch.
3521 (__ieee754_yn): Likewise.
3522 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3523 (__ieee754_ynl): Likewise.
3524 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3525 (__ieee754_ynl): Likewise.
3526 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3527 (__ieee754_ynl): Likewise.
3528
8b18d418
SN
35292019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3530
3531 * manual/maint.texi: Use @{ and @}.
3532
4392898d
FW
35332019-01-04 Florian Weimer <fweimer@redhat.com>
3534
3535 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3536 function.
3537 (do_in_chroot_1): Call it.
3538 (run_chroot_tests):
3539 Improve error reporting in case it is not possible to create a
3540 collision for the PTY name required by the test.
3541
17cc27d5
AZ
35422019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3543
ce7eb0e9
AZ
3544 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3545 lll_wait_tid with timeout.
3546 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3547 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3548 futex_reltimed_wait_cancelable for cancelabla mode.
3549 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3550 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3551 macros.
3552 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3553 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3554 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3555 SYSCALL_CANCEL_NCS): New macro.
3556 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3557 (lll_timedwait_tid): Remove macro.
3558 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3559 Likewise.
3560 (lll_timedwait_tid): Likewise.
3561 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3562 Likewise.
3563 (lll_timedwait_tid): Likewise.
3564 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3565 Likewise.
3566 (lll_timedwait_tid): Likewise.
3567 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3568 Use INTERNAL_SYSCALL_CANCEL.
3569 * sysdeps/unix/sysv/linux/futex-internal.h
3570 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3571 instead of __pthread_{enable,disable}_asynccancel.
3572 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3573 (lll_futex_wait_cancel): New macro.
3574
0b13e255
AZ
3575 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3576 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3577
85c828a4
AZ
3578 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3579 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3580
d0d7f85f
AZ
3581 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3582 in backtrace analysis.
3583 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3584 side-effects.
3585 (tf_send): Likewise.
3586
17cc27d5
AZ
3587 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3588 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3589 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3590 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3591 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3592 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3593 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3594 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3595 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3596 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3597 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3598 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3599 Likewise.
3600 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3601 tst-cancel-wrappers.sh.
3602 (generated): Remove tst-cancel-wrappers.out.
3603 (tst-cancel-wrappers.out): Remove rule.
3604 * nptl/tst-cancel-wrappers.sh: Remove file.
3605
7d7af8f1
SN
36062019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3607
3608 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3609 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3610 Update.
3611
805334b2
AZ
36122019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3613
3614 [BZ #23640]
3615 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3616 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3617 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3618 close-on-exec reset for adddup2 file action.
3619 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3620
03992356
ZW
36212019-01-03 Zack Weinberg <zackw@panix.com>
3622
3623 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3624 parameter. Only use deprecated scanf when __USE_GNU is defined
3625 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3626 than 201103L, whichever is relevant for the language being compiled.
3627
3628 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3629 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3630 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3631 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3632 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3633
3634 * libio/iovsscanf.c
3635 * libio/fwscanf.c
3636 * libio/iovswscanf.c
3637 * libio/swscanf.c
3638 * libio/vscanf.c
3639 * libio/vwscanf.c
3640 * libio/wscanf.c
3641 * stdio-common/fscanf.c
3642 * stdio-common/scanf.c
3643 * stdio-common/vfscanf.c
3644 * stdio-common/vfwscanf.c
3645 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3646 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3647 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3648 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3649 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3650 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3651 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3652 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3653 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3654 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3655 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3656 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3657 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3658 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3659 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3660
3661 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3662 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3663 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3664 not sscanf.
3665 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3666 with a preprocessor macro.
3667
3668 * stdio-common/bug21.c, stdio-common/scanf14.c:
3669 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3670 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3671 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3672 to xscanf, xfscanf, xsscanf.
3673
3674 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3675 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3676 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3677 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3678 xfscanf, xsscanf.
3679 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3680 override feature selection macros or provide definitions of u_char etc.
3681 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3682 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3683 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3684 with -std=gnu89.
3685
8083afa5
AZ
36862019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3687
6f343c1f
AZ
3688 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3689 bits/termios-misc.h.
3690 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3691 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3692 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3693 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3694 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3695 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3696
51f4beb0
AZ
3697 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3698 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3699 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3700 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3701 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3702 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3703 termios-misc.h.
3704 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3705 (sysdep_headers): Add termios-misc.h.
3706
f69c5cb2
AZ
3707 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3708 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3709 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3710
3aa4a07e
AZ
3711 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3712 termios-tcflow.h.
3713 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3714 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3715 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3716 TCSAFLUSH): Move to termios-tcflow.h.
3717 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3718 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3719 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3720 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3721
22679ddf
AZ
3722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3723 termios-c_lflag.h.
3724 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3725 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3726 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3727 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3728 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3729 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3730 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3731 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3732 Likewise.
3733 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3734 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3735 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3736 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3737
72eb6ecc
AZ
3738 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3739 termios-c_cflag.h.
3740 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3741 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3742 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3743 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3744 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3745 termios-c_cflag.h.
3746 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3747 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3748 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3749 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3750
9c5d0d02
AZ
3751 [BZ #23783]
3752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3753 termios-baud.h.
3754 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3755 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3756 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3757 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3758 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3759 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3760 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3761 __MAX_BAUD): Move to termios-baud.h.
3762 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3763 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3764 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3765 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3766 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3767
7b832018
AZ
3768 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3769 termios-c_oflag.h.
3770 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3771 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3772 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3773 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3774 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3775 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3776 termios-c_oflag.h.
3777 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3778 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3779 FFR1): Likewise.
3780 [USE_MISC] (XTABS): Likewise.
3781 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3782 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3783 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3784 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3785
3127003e
AZ
3786 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3787 termios-c_iflag.h.
3788 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3789 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3790 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3791 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3792 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3793 IUTF8): Move to termios-c_iflag.h.
3794 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3795 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3796 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3797 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3798
48c1dd96
AZ
3799 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3800 termios-cc.h.
3801 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3802 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3803 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3804 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3805 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3806 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3807 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3808 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3809 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3810 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3811 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3812 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3813
e5a50db3
AZ
3814 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3815 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3816 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3817 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3819 termios-struct.h.
3820 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3821 termios-struct.h.
3822 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
3823 Likewise.
3824 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
3825 Likewise.
3826 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
3827 Likewise.
3828 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
3829 Likewise.
3830 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
3831 _HAVE_C_OSPEED): Define.
3832 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
3833 _HAVE_C_OSPEED): Likewise.
3834 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
3835 _HAVE_C_OSPEED): Likewise.
3836 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
3837 (cfsetospeed): Check for define value instead of existence.
3838 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
3839 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3840 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
3841 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3842 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
3843
8083afa5
AZ
3844 [BZ #17783]
3845 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
3846 Define.
3847 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3848 (TIOCSER_TEMT): Likewise.
3849 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
3850 (TEOCSER_TEMT): Likewise.
3851
4d7d7dc6
P
38522019-01-02 PanderMusubi <pander@users.sourceforge.net>
3853
3854 [BZ #24011]
3855 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
3856
8e291a29
JM
38572019-01-02 Joseph Myers <joseph@codesourcery.com>
3858
3859 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3860
55137f7d
ST
38612019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3862
3863 * sysdeps/htl/pt-barrierattr-setpshared.c
3864 (pthread_barrierattr_setpshared): Add stub warning.
3865 * sysdeps/htl/pt-condattr-setpshared.c
3866 (pthread_condattr_setpshared): Likewise.
3867 * sysdeps/htl/pt-mutexattr-setpshared.c
3868 (pthread_mutexattr_setpshared): Likewise.
3869 * sysdeps/htl/pt-rwlockattr-setpshared.c
3870 (pthread_rwlockattr_setpshared): Likewise.
3871 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
3872 (pthread_mutexattr_setpshared): Likewise.
3873
2ce09e01
JM
38742019-01-02 Joseph Myers <joseph@codesourcery.com>
3875
acb55dcb
JM
3876 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
3877 constants to match with Linux 4.20.
3878
2ce09e01
JM
3879 * sysdeps/mips/mips32/libm-test-ulps: Update.
3880 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3881
fe20bb1d
AJ
38822019-01-02 Aurelien Jarno <aurelien@aurel32.net>
3883
3884 [BZ #24034]
3885 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
3886 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
3887 than __typeof (...) for the a_ptr variable.
3888
2d9837c1
GG
38892019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3890
3891 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
3892 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
3893 * libio/Makefile (tests): Add tst-sprintf-ub and
3894 tst-sprintf-chk-ub.
3895 (CFLAGS-tst-sprintf-ub.c): New variable.
3896 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
3897 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
3898 destination buffer and check for overflows in fortified mode.
3899 * libio/libioP.h (PRINTF_CHK): New macro.
3900 * libio/tst-sprintf-chk-ub.c: New file.
3901 * libio/tst-sprintf-ub.c: Likewise.
3902
d5c6df0b 39032019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
3904
3905 [BZ #24018]
3906 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
3907 failure.
3908
66081e38
FW
39092019-01-02 Florian Weimer <fweimer@redhat.com>
3910
3911 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
3912
04277e02
JM
39132019-01-01 Joseph Myers <joseph@codesourcery.com>
3914
6ef3d225
JM
3915 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
3916 macro.
3917
e3d4e292
JM
3918 * sysdeps/unix/sysv/linux/netpacket/packet.h
3919 (PACKET_IGNORE_OUTGOING): New macro.
3920
f4507797
JM
3921 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
3922 macro.
3923
47ad5e1a
JM
3924 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3925 version to 4.20.
3926 (riscv_flush_icache): New syscall.
3927
7628a1b0
JM
3928 * manual/texinfo.tex: Update to version 2018-12-28.17 with
3929 trailing whitespace removed.
3930 * scripts/config.guess: Update to version 2019-01-01.
3931 * scripts/config.sub: Update to version 2019-01-01.
3932 * scripts/move-if-change: Update from gnulib.
3933
c9123888
JM
3934 * NEWS: Update copyright dates.
3935 * catgets/gencat.c (print_version): Likewise.
3936 * csu/version.c (banner): Likewise.
3937 * debug/catchsegv.sh: Likewise.
3938 * debug/pcprofiledump.c (print_version): Likewise.
3939 * debug/xtrace.sh (do_version): Likewise.
3940 * elf/ldconfig.c (print_version): Likewise.
3941 * elf/ldd.bash.in: Likewise.
3942 * elf/pldd.c (print_version): Likewise.
3943 * elf/sotruss.sh: Likewise.
3944 * elf/sprof.c (print_version): Likewise.
3945 * iconv/iconv_prog.c (print_version): Likewise.
3946 * iconv/iconvconfig.c (print_version): Likewise.
3947 * locale/programs/locale.c (print_version): Likewise.
3948 * locale/programs/localedef.c (print_version): Likewise.
3949 * login/programs/pt_chown.c (print_version): Likewise.
3950 * malloc/memusage.sh (do_version): Likewise.
3951 * malloc/memusagestat.c (print_version): Likewise.
3952 * malloc/mtrace.pl: Likewise.
3953 * manual/libc.texinfo: Likewise.
3954 * nptl/version.c (banner): Likewise.
3955 * nscd/nscd.c (print_version): Likewise.
3956 * nss/getent.c (print_version): Likewise.
3957 * nss/makedb.c (print_version): Likewise.
3958 * posix/getconf.c (main): Likewise.
3959 * scripts/test-installation.pl: Likewise.
3960 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3961
04277e02
JM
3962 * All files with FSF copyright notices: Update copyright dates
3963 using scripts/update-copyrights.
3964 * locale/programs/charmap-kw.h: Regenerated.
3965 * locale/programs/locfile-kw.h: Likewise.
3966
e740e5b1
JM
39672018-12-31 Joseph Myers <joseph@codesourcery.com>
3968
3969 * timezone/zdump.c: Update from tzcode 2018i.
3970 * timezone/zic.c: Likewise.
3971
9b7f98b3
PE
39722018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3973
3974 regex: improve Gnulib port to AIX
3975 From the glibc point of view, this removes duplicate macro
3976 definitions and is obviously safe.
3977 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3978 * posix/regex_internal.h:
3979 (__attribute__, __attribute_warn_unused_result__):
3980 Remove; already defined elsewhere.
3981
b50dd3bc
FW
39822018-12-31 Florian Weimer <fw@deneb.enyo.de>
3983
3984 [BZ #24027]
3985 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3986 copying operation. (ncopies had the wrong type, resulting in an
3987 integer wraparound and too few elements being copied.)
3988
0b9c8490
L
39892018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3990
3991 [BZ #24022]
3992 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3993 <asm/syscalls.h> exists with __has_include__ before including it.
3994
01047fa6
JM
39952018-12-31 Joseph Myers <joseph@codesourcery.com>
3996
3997 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3998 version to 4.20.
3999
6b5c8607 40002018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
4001
4002 * hurd/lookup-retry: Include <unistd.h>.
4003 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4004 Release it on return. Handle "pid" magical lookup retry.
4005
989182c4
RL
40062018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4007
4008 [BZ #10496]
4009 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4010 (t_fmt_ampm): Likewise.
4011 * localedata/locales/aa_ER (t_fmt): Likewise.
4012 (t_fmt_ampm): Likewise.
4013 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4014 (t_fmt_ampm): Likewise.
4015 * localedata/locales/aa_ET (t_fmt): Likewise.
4016 (t_fmt_ampm): Likewise.
4017 * localedata/locales/am_ET (t_fmt): Likewise.
4018 (t_fmt_ampm): Likewise.
4019 * localedata/locales/byn_ER (t_fmt): Likewise.
4020 (t_fmt_ampm): Likewise.
4021 * localedata/locales/om_ET (t_fmt): Likewise.
4022 (t_fmt_ampm): Likewise.
4023 * localedata/locales/sid_ET (t_fmt): Likewise.
4024 (t_fmt_ampm): Likewise.
4025 * localedata/locales/so_DJ (t_fmt): Likewise.
4026 (t_fmt_ampm): Likewise.
4027 * localedata/locales/so_ET (t_fmt): Likewise.
4028 (t_fmt_ampm): Likewise.
4029 * localedata/locales/so_SO (t_fmt): Likewise.
4030 (t_fmt_ampm): Likewise.
4031 * localedata/locales/ti_ER (t_fmt): Likewise.
4032 (t_fmt_ampm): Likewise.
4033 * localedata/locales/ti_ET (t_fmt): Likewise.
4034 (t_fmt_ampm): Likewise.
4035 * localedata/locales/tig_ER (t_fmt): Likewise.
4036 (t_fmt_ampm): Likewise.
4037 * localedata/locales/wal_ET (t_fmt): Likewise.
4038 (t_fmt_ampm): Likewise.
4039
4040 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4041 * localedata/locales/ar_IN (t_fmt): Likewise.
4042 * localedata/locales/bhb_IN (t_fmt): Likewise.
4043 * localedata/locales/bho_IN (t_fmt): Likewise.
4044 * localedata/locales/bi_VU (t_fmt): Likewise.
4045 * localedata/locales/bn_BD (t_fmt): Likewise.
4046 * localedata/locales/bn_IN (t_fmt): Likewise.
4047 * localedata/locales/brx_IN (t_fmt): Likewise.
4048 * localedata/locales/doi_IN (t_fmt): Likewise.
4049 * localedata/locales/en_HK (t_fmt): Likewise.
4050 (t_fmt_ampm): Likewise.
4051 * localedata/locales/en_IN (t_fmt): Likewise.
4052 * localedata/locales/en_PH (t_fmt): Likewise.
4053 * localedata/locales/gu_IN (t_fmt): Likewise.
4054 * localedata/locales/hi_IN (t_fmt): Likewise.
4055 * localedata/locales/hif_FJ (t_fmt): Likewise.
4056 * localedata/locales/hne_IN (t_fmt): Likewise.
4057 * localedata/locales/kn_IN (t_fmt): Likewise.
4058 * localedata/locales/kok_IN (t_fmt): Likewise.
4059 * localedata/locales/ks_IN (t_fmt): Likewise.
4060 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4061 * localedata/locales/mag_IN (t_fmt): Likewise.
4062 * localedata/locales/mai_IN (t_fmt): Likewise.
4063 * localedata/locales/mjw_IN (t_fmt): Likewise.
4064 * localedata/locales/ml_IN (t_fmt): Likewise.
4065 * localedata/locales/mni_IN (t_fmt): Likewise.
4066 * localedata/locales/mr_IN (t_fmt): Likewise.
4067 * localedata/locales/ms_MY (t_fmt): Likewise.
4068 * localedata/locales/pa_IN (t_fmt): Likewise.
4069 * localedata/locales/raj_IN (t_fmt): Likewise.
4070 * localedata/locales/sa_IN (t_fmt): Likewise.
4071 * localedata/locales/sat_IN (t_fmt): Likewise.
4072 * localedata/locales/sd_IN (t_fmt): Likewise.
4073 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4074 * localedata/locales/tcy_IN (t_fmt): Likewise.
4075 * localedata/locales/the_NP (t_fmt): Likewise.
4076 * localedata/locales/to_TO (t_fmt): Likewise.
4077 * localedata/locales/ur_IN (t_fmt): Likewise.
4078
4079 * localedata/locales/hif_FJ (d_t_fmt): Set to
4080 "%A %d %b %Y %I:%M:%S %p".
4081 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4082
4083 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4084 * localedata/locales/ar_BH (t_fmt): Likewise.
4085 * localedata/locales/ar_DZ (t_fmt): Likewise.
4086 * localedata/locales/ar_EG (t_fmt): Likewise.
4087 * localedata/locales/ar_IQ (t_fmt): Likewise.
4088 * localedata/locales/ar_JO (t_fmt): Likewise.
4089 * localedata/locales/ar_KW (t_fmt): Likewise.
4090 * localedata/locales/ar_LB (t_fmt): Likewise.
4091 * localedata/locales/ar_LY (t_fmt): Likewise.
4092 * localedata/locales/ar_OM (t_fmt): Likewise.
4093 * localedata/locales/ar_QA (t_fmt): Likewise.
4094 * localedata/locales/ar_SD (t_fmt): Likewise.
4095 * localedata/locales/ar_SS (t_fmt): Likewise.
4096 * localedata/locales/ar_SY (t_fmt): Likewise.
4097 * localedata/locales/ar_TN (t_fmt): Likewise.
4098 * localedata/locales/ar_YE (t_fmt): Likewise.
4099
4100 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4101 (t_fmt_ampm): Likewise.
4102 * localedata/locales/gez_ET (t_fmt): Likewise.
4103 (t_fmt_ampm): Likewise.
4104
4105 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4106 (t_fmt_ampm): Likewise.
4107 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4108
4109 * localedata/locales/zh_HK (t_fmt):
4110 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4111
4112 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4113 because this locale does not use the 12-hour clock.
4114 (t_fmt): Set to "%Z %H:%M:%S".
4115 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4116
4117 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4118 because this locale does not use the 12-hour clock.
4119 (t_fmt): Set to "%H:%M:%S %Z".
4120 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4121
4122 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4123 because this locale does not use the 12-hour clock.
4124 (t_fmt): Set to "%T".
4125 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4126 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4127
4128 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4129 because this locale does not use the 12-hour clock.
4130 (t_fmt): Set to "%H:%M:%S %Z".
4131 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4132
4133 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4134 because this locale does not use the 12-hour clock.
4135 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4136 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4137
27841a7d
RL
41382018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4139
4140 [BZ #10496]
4141 [BZ #23724]
4142 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4143 (t_fmt_ampm): Likewise.
4144 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4145 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4146 (d_fmt): Set to "%-d.%-m.%y".
4147
0253580a
AZ
41482018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4149
4150 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4151 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4152 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4153 Likewise.
4154 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4155 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4156 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4157 function.
4158 * support/blob_repeat.c (check_mul_overflow_size_t,
4159 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4160
09104e5b
AJ
41612018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4162
4163 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4164
c0feb731
PE
41652018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4166
4167 regex: simplify Gnulib port
4168 This simplifies the code, by removing stuff intended for porting
4169 to Gnulib but no longer needed there.
4170 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4171 uses of libc_hidden_def, weak_alias.
4172 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4173 _Restrict_ except for public-facing headers.
4174 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4175 Remove; already defined elsewhere.
4176 * posix/regex.c, posix/regex_internal.h:
4177 Use __GNUC_PREREQ instead of rolling our own.
4178 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4179
5289f1f5
WD
41802018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4181
4182 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 4183 (memchr_strlen): New function.
5289f1f5 4184
ba4b8fab
L
41852018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4186
4187 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4188 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4189 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4190
9412979a
L
41912018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4192
4193 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4194
8700a785
L
41952018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4196
4197 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4198 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4199 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4200 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4201 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4202 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4203 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4204
57b3ff8e
JM
42052018-12-21 Joseph Myers <joseph@codesourcery.com>
4206
4207 [BZ #24023]
4208 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4209 PLT reference in libc.so.
4210 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4211 _Q_lltoq and _Q_qtod PLT references in libc.so.
4212
90d3320d
WD
42132018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4214
4215 * benchtests/bench-memchr.c: Cleanup defines.
4216 * benchtests/bench-memcmp.c: Likewise.
4217 * benchtests/bench-memset.c: Likewise.
4218 * benchtests/bench-memset-large.c: Likewise.
4219 * benchtests/bench-memset-walk.c: Likewise.
4220 * benchtests/bench-stpcpy.c: Likewise.
4221 * benchtests/bench-stpncpy.c: Likewise.
4222 * benchtests/bench-strcat.c: Likewise.
4223 * benchtests/bench-strchr.c: Likewise.
4224 * benchtests/bench-strcmp.c: Likewise.
4225 * benchtests/bench-strcpy.c: Likewise.
4226 * benchtests/bench-strcspn.c: Likewise.
4227 * benchtests/bench-string.h: Likewise.
4228 * benchtests/bench-strlen.c: Likewise.
4229 * benchtests/bench-strncat.c: Likewise.
4230 * benchtests/bench-strncmp.c: Likewise.
4231 * benchtests/bench-strncpy.c: Likewise.
4232 * benchtests/bench-strnlen.c: Likewise.
4233 * benchtests/bench-strpbrk.c: Likewise.
4234 * benchtests/bench-strrchr.c: Likewise.
4235 * benchtests/bench-strspn.c: Likewise.
4236
192963be
JM
42372018-12-21 Joseph Myers <joseph@codesourcery.com>
4238
5d025ea6
JM
4239 * stdlib/longlong.h: Update from GCC.
4240
192963be
JM
4241 [BZ #23993]
4242 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4243 * configure: Regenerated.
4244 * manual/install.texi (Tools for Compilation): Update minimum GCC
4245 version.
4246 * INSTALL: Regenerated.
4247
6b5c8607 42482018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
4249
4250 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4251
6b5c8607 42522018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
4253
4254 * malloc/malloc.c (mremap_chunk): Additional checks.
4255
5f72b005
MH
42562018-12-21 Mao Han <han_mao@c-sky.com>
4257
4258 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4259 * scripts/build-many-glibcs.py: Add C-SKY targets.
4260 * sysdeps/csky/Implies: New file.
4261 * sysdeps/csky/Makefile: Likewise.
4262 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4263 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4264 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4265 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4266 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4267 * sysdeps/csky/abiv2/memmove.S: Likewise.
4268 * sysdeps/csky/abiv2/memset.S: Likewise.
4269 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4270 * sysdeps/csky/abiv2/start.S: Likewise.
4271 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4272 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4273 * sysdeps/csky/abiv2/strlen.S: Likewise.
4274 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4275 * sysdeps/csky/abort-instr.h: Likewise.
4276 * sysdeps/csky/atomic-machine.h: Likewise.
4277 * sysdeps/csky/bits/endian.h: Likewise.
4278 * sysdeps/csky/bits/fenv.h: Likewise.
4279 * sysdeps/csky/bits/link.h: Likewise.
4280 * sysdeps/csky/bits/setjmp.h: Likewise.
4281 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4282 * sysdeps/csky/bsd-setjmp.S: Likewise.
4283 * sysdeps/csky/configure: Likewise.
4284 * sysdeps/csky/configure.ac: Likewise.
4285 * sysdeps/csky/dl-machine.h: Likewise.
4286 * sysdeps/csky/dl-procinfo.c: Likewise.
4287 * sysdeps/csky/dl-procinfo.h: Likewise.
4288 * sysdeps/csky/dl-sysdep.h: Likewise.
4289 * sysdeps/csky/dl-tls.h: Likewise.
4290 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4291 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4292 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4293 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4294 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4295 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4296 * sysdeps/csky/fpu/fegetround.c: Likewise.
4297 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4298 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4299 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4300 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4301 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4302 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4303 * sysdeps/csky/fpu/fesetround.c: Likewise.
4304 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4305 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4306 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4307 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4308 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4309 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4310 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4311 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4312 * sysdeps/csky/fpu_control.h: Likewise.
4313 * sysdeps/csky/gccframe.h: Likewise.
4314 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4315 * sysdeps/csky/ldsodefs.h: Likewise.
4316 * sysdeps/csky/libc-tls.c: Likewise.
4317 * sysdeps/csky/linkmap.h: Likewise.
4318 * sysdeps/csky/machine-gmon.h: Likewise.
4319 * sysdeps/csky/memusage.h: Likewise.
4320 * sysdeps/csky/nofpu/Implies: Likewise.
4321 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4322 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4323 * sysdeps/csky/nptl/Makefile: Likewise.
4324 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4325 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4326 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4327 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4328 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4329 * sysdeps/csky/nptl/tls.h: Likewise.
4330 * sysdeps/csky/preconfigure: Likewise.
4331 * sysdeps/csky/sfp-machine.h: Likewise.
4332 * sysdeps/csky/sotruss-lib.c: Likewise.
4333 * sysdeps/csky/stackinfo.h: Likewise.
4334 * sysdeps/csky/sysdep.h: Likewise.
4335 * sysdeps/csky/tininess.h: Likewise.
4336 * sysdeps/csky/tst-audit.h: Likewise.
4337 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4338 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4339 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4340 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4341 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4342 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4343 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4344 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4345 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4346 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4347 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4348 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4349 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4350 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4351 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4352 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4353 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4354 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4355 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4356 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4357 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4358 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4359 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4360 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4361 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4362 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4363 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4364 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4365 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4366 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4367 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4368 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4369 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4370 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4371 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4372 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4373 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4374 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4375 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4376 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4377 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4378 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4379 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4380 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4381
6b5c8607 43822018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
4383
4384 * include/time.h (__difftime64): Add.
4385 * time/difftime.c (subtract): convert to 64-bit time.
4386 * time/difftime.c (__difftime64): Add.
4387 * time/difftime.c (__difftime): Wrap around __difftime64.
4388
ab416931
L
43892018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4390
4391 * manual/examples/add.c: Remove redundant "if not".
4392 * manual/examples/argp-ex1.c: Likewise.
4393 * manual/examples/argp-ex2.c: Likewise.
4394 * manual/examples/argp-ex3.c: Likewise.
4395 * manual/examples/argp-ex4.c: Likewise.
4396 * manual/examples/atexit.c: Likewise.
4397 * manual/examples/db.c: Likewise.
4398 * manual/examples/dir.c: Likewise.
4399 * manual/examples/dir2.c: Likewise.
4400 * manual/examples/execinfo.c: Likewise.
4401 * manual/examples/filecli.c: Likewise.
4402 * manual/examples/filesrv.c: Likewise.
4403 * manual/examples/fmtmsgexpl.c: Likewise.
4404 * manual/examples/genpass.c: Likewise.
4405 * manual/examples/inetcli.c: Likewise.
4406 * manual/examples/inetsrv.c: Likewise.
4407 * manual/examples/isockad.c: Likewise.
4408 * manual/examples/longopt.c: Likewise.
4409 * manual/examples/memopen.c: Likewise.
4410 * manual/examples/memstrm.c: Likewise.
4411 * manual/examples/mkdirent.c: Likewise.
4412 * manual/examples/mkfsock.c: Likewise.
4413 * manual/examples/mkisock.c: Likewise.
4414 * manual/examples/mygetpass.c: Likewise.
4415 * manual/examples/pipe.c: Likewise.
4416 * manual/examples/popen.c: Likewise.
4417 * manual/examples/rprintf.c: Likewise.
4418 * manual/examples/search.c: Likewise.
4419 * manual/examples/select.c: Likewise.
4420 * manual/examples/setjmp.c: Likewise.
4421 * manual/examples/sigh1.c: Likewise.
4422 * manual/examples/sigusr.c: Likewise.
4423 * manual/examples/stpcpy.c: Likewise.
4424 * manual/examples/strdupa.c: Likewise.
4425 * manual/examples/strftim.c: Likewise.
4426 * manual/examples/subopt.c: Likewise.
4427 * manual/examples/swapcontext.c: Likewise.
4428 * manual/examples/termios.c: Likewise.
4429 * manual/examples/testopt.c: Likewise.
4430 * manual/examples/testpass.c: Likewise.
4431 * manual/examples/timeval_subtract.c: Likewise.
4432
515f463f
JM
44332018-12-19 Joseph Myers <joseph@codesourcery.com>
4434
da75c1b1
JM
4435 * sysdeps/x86/fpu/math_private.h: New file.
4436 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4437
515f463f
JM
4438 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4439 definition.
4440 (cosh): Likewise.
4441 (tanh): Likewise.
4442
1616d034
TMQMF
44432018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4444
4445 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4446 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4447 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4448 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4449 fields.
4450 (_dl_show_auxv): Give a special treatment to
4451 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4452 and AT_L3_CACHEGEOMETRY.
4453 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4454 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4455 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4456 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4457
61595e3d
AS
44582018-12-19 Andreas Schwab <schwab@suse.de>
4459
4460 * nscd/connections.c (check_use): Don't abort on invalid len.
4461
bbb7dc84
ST
44622018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4463
4464 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4465 values in the 64bit value cases.
4466
6b5c8607 44672018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 4468
c4c2836a
AA
4469 * include/time.h
4470 (__ctime64_r): Add.
4471 * time/ctime_r.c
4472 (__ctime64_r): Add.
4473 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4474
7755e504
AA
4475 * include/time.h
4476 (__ctime64): Add.
4477 * time/gmtime.c
4478 (__ctime64): Add.
4479 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4480
a1d346ce
AA
4481 * include/time.h
4482 (__gmtime64_r): Add.
4483 * time/gmtime.c
4484 (__gmtime64_r): Add.
4485 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4486
131db8b0
AA
4487 * include/time.h
4488 (__gmtime64): Add.
4489 * time/gmtime.c
4490 (__gmtime64): Add.
4491 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4492
64c2277d
AA
4493 * include/time.h
4494 (__localtime64_r): Add.
4495 * time/localtime.c
4496 (__localtime64_r): Add.
4497 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4498
56b98bf1
AZ
44992018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4500
64dd7a16
AZ
4501 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4502 kernel_sigction definition.
4503
8b1d5da5
AZ
4504 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4505
f9eabb19
AZ
4506 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4507
56b98bf1
AZ
4508 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4509 __syscall_rt_sigaction.
4510 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4511 (kernel_sigaction): Use Linux generic defintion.
4512 (STUB): Define.
4513 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4514 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4515 (__syscall_rt_sigaction): Remove implementation.
4516 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4517 hidden.
4518 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4519 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4520 INTERNAL_SYSCALL): Remove definitions.
4521 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4522 action and signal set size.
4523 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4524 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4525
43a45c2d
AZ
45262018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4527 James Clarke <jrtc27@jrtc27.com>
4528
dfa6216f 4529 [BZ #23967]
43a45c2d
AZ
4530 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4531 Define if SA_RESTORER is defined.
4532 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4533 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4534 already defined.
4535 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4536 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4537 definitions.
4538 (HAS_SA_RESTORER): Define.
4539 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4540 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4541 (HAS_SA_RESTORER): Define.
4542 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4543 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4544 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4545 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4546 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4547
646ce7e0
JM
45482018-12-18 Joseph Myers <joseph@codesourcery.com>
4549
4550 * sysdeps/unix/sysv/linux/kernel-features.h
4551 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4552 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4553 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4554 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4555 (__ASSUME_ST_INO_64_BIT): Likewise.
4556 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4557 <kernel-features.h>.
4558 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4559 Remove conditional code.
4560 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4561 <kernel-features.h>.
4562 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4563 Remove conditional code.
4564 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4565 <kernel-features.h>.
4566 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4567 Remove conditional code.
4568 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4569 <kernel-features.h>.
4570 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4571 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4572
80190d2b
SL
45732018-12-18 Stefan Liebler <stli@linux.ibm.com>
4574
4575 * sysdeps/s390/multiarch/ifunc-resolve.h
4576 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4577 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4578 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4579 Delete macro definition.
4580 (s390_libc_ifunc_init): Rename to
4581 s390_libc_ifunc_expr_stfle_init.
4582 * sysdeps/s390/bzero: Use
4583 s390_libc_ifunc_expr_stfle_init instead of
4584 s390_libc_ifunc_init.
4585 * sysdeps/s390/memcmp.c: Likewise.
4586 * sysdeps/s390/memcpy.c: Likewise.
4587 * sysdeps/s390/mempcpy.c: Likewise.
4588 * sysdeps/s390/memset.c: Likewise.
4589
12f0dcb8
SL
45902018-12-18 Stefan Liebler <stli@linux.ibm.com>
4591
4592 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4593 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4594
25654a8c
SL
45952018-12-18 Stefan Liebler <stli@linux.ibm.com>
4596
4597 * sysdeps/s390/multiarch/Makefile
4598 (sysdep_routines): Remove wmemcmp variants.
4599 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4600 * sysdeps/s390/multiarch/ifunc-impl-list.c
4601 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4602 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4603 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4604 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4605 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4606 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4607 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4608 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4609
d2a7436c
SL
46102018-12-18 Stefan Liebler <stli@linux.ibm.com>
4611
4612 * sysdeps/s390/multiarch/Makefile
4613 (sysdep_routines): Remove wmemset variants.
4614 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4615 * sysdeps/s390/multiarch/ifunc-impl-list.c
4616 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4617 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4618 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4619 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4620 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4621 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4622 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4623 * sysdeps/s390/ifunc-wmemset.h: New file.
4624
c62534ae
SL
46252018-12-18 Stefan Liebler <stli@linux.ibm.com>
4626
4627 * sysdeps/s390/multiarch/Makefile
4628 (sysdep_routines): Remove wmemchr variants.
4629 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4630 * sysdeps/s390/multiarch/ifunc-impl-list.c
4631 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4632 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4633 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4634 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4635 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4636 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4637 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4638 * sysdeps/s390/ifunc-wmemchr.h: New file.
4639
79b44cf6
SL
46402018-12-18 Stefan Liebler <stli@linux.ibm.com>
4641
4642 * sysdeps/s390/multiarch/Makefile
4643 (sysdep_routines): Remove wcscspn variants.
4644 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4645 * sysdeps/s390/multiarch/ifunc-impl-list.c
4646 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4647 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4648 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4649 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4650 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4651 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4652 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4653 * sysdeps/s390/ifunc-wcscspn.h: New file.
4654
8e87c1f6
SL
46552018-12-18 Stefan Liebler <stli@linux.ibm.com>
4656
4657 * sysdeps/s390/multiarch/Makefile
4658 (sysdep_routines): Remove wcspbrk variants.
4659 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4660 * sysdeps/s390/multiarch/ifunc-impl-list.c
4661 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4662 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4663 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4664 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4665 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4666 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4667 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4668 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4669
8507e831
SL
46702018-12-18 Stefan Liebler <stli@linux.ibm.com>
4671
4672 * sysdeps/s390/multiarch/Makefile
4673 (sysdep_routines): Remove wcsspn variants.
4674 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4675 * sysdeps/s390/multiarch/ifunc-impl-list.c
4676 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4677 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4678 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4679 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4680 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4681 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4682 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4683 * sysdeps/s390/ifunc-wcsspn.h: New file.
4684
4753713a
SL
46852018-12-18 Stefan Liebler <stli@linux.ibm.com>
4686
4687 * sysdeps/s390/multiarch/Makefile
4688 (sysdep_routines): Remove wcsrchr variants.
4689 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4690 * sysdeps/s390/multiarch/ifunc-impl-list.c
4691 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4692 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4693 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4694 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4695 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4696 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4697 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4698 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4699
c09c1b6f
SL
47002018-12-18 Stefan Liebler <stli@linux.ibm.com>
4701
4702 * sysdeps/s390/multiarch/Makefile
4703 (sysdep_routines): Remove wcschrnul variants.
4704 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4705 * sysdeps/s390/multiarch/ifunc-impl-list.c
4706 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4707 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4708 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4709 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4710 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4711 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4712 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4713 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4714
cf3ccc31
SL
47152018-12-18 Stefan Liebler <stli@linux.ibm.com>
4716
4717 * sysdeps/s390/multiarch/Makefile
4718 (sysdep_routines): Remove wcschr variants.
4719 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4720 * sysdeps/s390/multiarch/ifunc-impl-list.c
4721 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4722 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4723 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4724 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4725 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4726 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4727 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4728 * sysdeps/s390/ifunc-wcschr.h: New file.
4729
e9873e1d
SL
47302018-12-18 Stefan Liebler <stli@linux.ibm.com>
4731
4732 * sysdeps/s390/multiarch/Makefile
4733 (sysdep_routines): Remove wcsncmp variants.
4734 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4735 * sysdeps/s390/multiarch/ifunc-impl-list.c
4736 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4737 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4738 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4739 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4740 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4741 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4742 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4743 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4744
3459e23d
SL
47452018-12-18 Stefan Liebler <stli@linux.ibm.com>
4746
4747 * sysdeps/s390/multiarch/Makefile
4748 (sysdep_routines): Remove wcscmp variants.
4749 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4750 * sysdeps/s390/multiarch/ifunc-impl-list.c
4751 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4752 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4753 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4754 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4755 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4756 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4757 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4758 * sysdeps/s390/ifunc-wcscmp.h: New file.
4759
814a76e1
SL
47602018-12-18 Stefan Liebler <stli@linux.ibm.com>
4761
4762 * sysdeps/s390/multiarch/Makefile
4763 (sysdep_routines): Remove wcsncat variants.
4764 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4765 * sysdeps/s390/multiarch/ifunc-impl-list.c
4766 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4767 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4768 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4769 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4770 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4771 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4772 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4773 * sysdeps/s390/ifunc-wcsncat.h: New file.
4774
3389cae4
SL
47752018-12-18 Stefan Liebler <stli@linux.ibm.com>
4776
4777 * sysdeps/s390/multiarch/Makefile
4778 (sysdep_routines): Remove wcscat variants.
4779 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4780 * sysdeps/s390/multiarch/ifunc-impl-list.c
4781 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4782 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4783 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4784 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4785 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4786 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4787 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4788 * sysdeps/s390/ifunc-wcscat.h: New file.
4789
c3081bcb
SL
47902018-12-18 Stefan Liebler <stli@linux.ibm.com>
4791
4792 * sysdeps/s390/multiarch/Makefile
4793 (sysdep_routines): Remove wcpncpy variants.
4794 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4795 * sysdeps/s390/multiarch/ifunc-impl-list.c
4796 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4797 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4798 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4799 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4800 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4801 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4802 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4803 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4804
0966dd86
SL
48052018-12-18 Stefan Liebler <stli@linux.ibm.com>
4806
4807 * sysdeps/s390/multiarch/Makefile
4808 (sysdep_routines): Remove wcsncpy variants.
4809 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4810 * sysdeps/s390/multiarch/ifunc-impl-list.c
4811 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4812 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4813 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4814 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4815 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4816 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4817 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4818 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4819
0582e428
SL
48202018-12-18 Stefan Liebler <stli@linux.ibm.com>
4821
4822 * sysdeps/s390/multiarch/Makefile
4823 (sysdep_routines): Remove wcpcpy variants.
4824 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
4825 * sysdeps/s390/multiarch/ifunc-impl-list.c
4826 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
4827 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
4828 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
4829 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
4830 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
4831 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
4832 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
4833 * sysdeps/s390/ifunc-wcpcpy.h: New file.
4834
804f2e5c
SL
48352018-12-18 Stefan Liebler <stli@linux.ibm.com>
4836
4837 * sysdeps/s390/multiarch/Makefile
4838 (sysdep_routines): Remove wcscpy variants.
4839 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
4840 * sysdeps/s390/multiarch/ifunc-impl-list.c
4841 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
4842 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
4843 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
4844 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
4845 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
4846 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
4847 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
4848 * sysdeps/s390/ifunc-wcscpy.h: New file.
4849
c7e7cd26
SL
48502018-12-18 Stefan Liebler <stli@linux.ibm.com>
4851
4852 * sysdeps/s390/multiarch/Makefile
4853 (sysdep_routines): Remove wcsnlen variants.
4854 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
4855 * sysdeps/s390/multiarch/ifunc-impl-list.c
4856 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
4857 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
4858 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
4859 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
4860 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
4861 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
4862 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
4863 * sysdeps/s390/ifunc-wcsnlen.h: New file.
4864
2e02d0b7
SL
48652018-12-18 Stefan Liebler <stli@linux.ibm.com>
4866
4867 * sysdeps/s390/multiarch/Makefile
4868 (sysdep_routines): Remove wcslen variants.
4869 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
4870 * sysdeps/s390/multiarch/ifunc-impl-list.c
4871 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
4872 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
4873 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
4874 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
4875 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
4876 * sysdeps/s390/multiarch/wcslen.c: Move to ...
4877 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
4878 * sysdeps/s390/ifunc-wcslen.h: New file.
4879
89bfcbdf
SL
48802018-12-18 Stefan Liebler <stli@linux.ibm.com>
4881
4882 * sysdeps/s390/multiarch/Makefile
4883 (sysdep_routines): Remove memrchr variants.
4884 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
4885 * sysdeps/s390/multiarch/ifunc-impl-list.c
4886 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
4887 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
4888 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
4889 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
4890 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
4891 * sysdeps/s390/multiarch/memrchr.c: Move to ...
4892 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
4893 * sysdeps/s390/ifunc-memrchr.h: New file.
4894
196655ba
SL
48952018-12-18 Stefan Liebler <stli@linux.ibm.com>
4896
4897 * sysdeps/s390/multiarch/Makefile
4898 (sysdep_routines): Remove memccpy variants.
4899 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
4900 * sysdeps/s390/multiarch/ifunc-impl-list.c
4901 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
4902 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
4903 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
4904 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
4905 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
4906 * sysdeps/s390/multiarch/memccpy.c: Move to ...
4907 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
4908 * sysdeps/s390/ifunc-memccpy.h: New file.
4909
4c7b3cec
SL
49102018-12-18 Stefan Liebler <stli@linux.ibm.com>
4911
4912 * sysdeps/s390/multiarch/Makefile
4913 (sysdep_routines): Remove rawmemchr variants.
4914 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
4915 * sysdeps/s390/multiarch/ifunc-impl-list.c
4916 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
4917 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
4918 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
4919 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
4920 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
4921 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
4922 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
4923 * sysdeps/s390/ifunc-rawmemchr.h: New file.
4924
581a051c
SL
49252018-12-18 Stefan Liebler <stli@linux.ibm.com>
4926
4927 * sysdeps/s390/multiarch/Makefile
4928 (sysdep_routines): Remove memchr variants.
4929 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
4930 * sysdeps/s390/multiarch/ifunc-impl-list.c
4931 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
4932 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
4933 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
4934 * sysdeps/s390/multiarch/memchr.c: Move to ...
4935 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
4936 * sysdeps/s390/ifunc-memchr.h: New file.
4937 * sysdeps/s390/s390-64/memchr.S: Move to ...
4938 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
4939 for 31/64bit and ifunc handling.
4940 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4941 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4942 * sysdeps/s390/s390-32/memchr.S: Likewise.
4943
5d2ec20a
SL
49442018-12-18 Stefan Liebler <stli@linux.ibm.com>
4945
4946 * sysdeps/s390/multiarch/Makefile
4947 (sysdep_routines): Remove strcspn variants.
4948 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4949 * sysdeps/s390/multiarch/ifunc-impl-list.c
4950 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4951 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4952 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4953 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4954 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4955 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4956 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4957 * sysdeps/s390/ifunc-strcspn.h: New file.
4958
572cca93
SL
49592018-12-18 Stefan Liebler <stli@linux.ibm.com>
4960
4961 * sysdeps/s390/multiarch/Makefile
4962 (sysdep_routines): Remove strpbrk variants.
4963 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4964 * sysdeps/s390/multiarch/ifunc-impl-list.c
4965 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4966 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4967 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4968 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4969 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4970 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4971 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4972 * sysdeps/s390/ifunc-strpbrk.h: New file.
4973
483fc569
SL
49742018-12-18 Stefan Liebler <stli@linux.ibm.com>
4975
4976 * sysdeps/s390/multiarch/Makefile
4977 (sysdep_routines): Remove strspn variants.
4978 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4979 * sysdeps/s390/multiarch/ifunc-impl-list.c
4980 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4981 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4982 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4983 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4984 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4985 * sysdeps/s390/multiarch/strspn.c: Move to ...
4986 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4987 * sysdeps/s390/ifunc-strspn.h: New file.
4988
26ea8760
SL
49892018-12-18 Stefan Liebler <stli@linux.ibm.com>
4990
4991 * sysdeps/s390/multiarch/Makefile
4992 (sysdep_routines): Remove strrchr variants.
4993 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4994 * sysdeps/s390/multiarch/ifunc-impl-list.c
4995 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4996 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4997 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4998 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4999 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5000 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5001 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5002 * sysdeps/s390/ifunc-strrchr.h: New file.
5003
a1361e65
SL
50042018-12-18 Stefan Liebler <stli@linux.ibm.com>
5005
5006 * sysdeps/s390/multiarch/Makefile
5007 (sysdep_routines): Remove strchrnul variants.
5008 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5009 * sysdeps/s390/multiarch/ifunc-impl-list.c
5010 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5011 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5012 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5013 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5014 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5015 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5016 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5017 * sysdeps/s390/ifunc-strchrnul.h: New file.
5018
32f12653
SL
50192018-12-18 Stefan Liebler <stli@linux.ibm.com>
5020
5021 * sysdeps/s390/multiarch/Makefile
5022 (sysdep_routines): Remove strchr variants.
5023 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5024 * sysdeps/s390/multiarch/ifunc-impl-list.c
5025 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5026 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5027 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5028 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5029 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5030 * sysdeps/s390/multiarch/strchr.c: Move to ...
5031 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5032 * sysdeps/s390/ifunc-strchr.h: New file.
5033
316b8842
SL
50342018-12-18 Stefan Liebler <stli@linux.ibm.com>
5035
5036 * sysdeps/s390/multiarch/Makefile
5037 (sysdep_routines): Remove strncmp variants.
5038 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5039 * sysdeps/s390/multiarch/ifunc-impl-list.c
5040 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5041 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5042 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5043 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5044 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5045 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5046 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5047 * sysdeps/s390/ifunc-strncmp.h: New file.
5048
cdab85fe
SL
50492018-12-18 Stefan Liebler <stli@linux.ibm.com>
5050
5051 * sysdeps/s390/multiarch/Makefile
5052 (sysdep_routines): Remove strcmp variants.
5053 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5054 * sysdeps/s390/multiarch/ifunc-impl-list.c
5055 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5056 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5057 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5058 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5059 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5060 * sysdeps/s390/ifunc-strcmp.h: New file.
5061 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5062 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5063 for 31/64bit and ifunc handling.
5064 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5065 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5066 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5067
b9353351
SL
50682018-12-18 Stefan Liebler <stli@linux.ibm.com>
5069
5070 * sysdeps/s390/multiarch/Makefile
5071 (sysdep_routines): Remove strncat variants.
5072 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5073 * sysdeps/s390/multiarch/ifunc-impl-list.c
5074 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5075 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5076 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5077 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5078 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5079 * sysdeps/s390/multiarch/strncat.c: Move to ...
5080 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5081 * sysdeps/s390/ifunc-strncat.h: New file.
5082
8e5a0afb
SL
50832018-12-18 Stefan Liebler <stli@linux.ibm.com>
5084
5085 * sysdeps/s390/multiarch/Makefile
5086 (sysdep_routines): Remove strcat variants.
5087 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5088 * sysdeps/s390/multiarch/ifunc-impl-list.c
5089 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5090 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5091 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5092 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5093 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5094 * sysdeps/s390/multiarch/strcat.c: Move to ...
5095 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5096 * sysdeps/s390/ifunc-strcat.h: New file.
5097
25218822
SL
50982018-12-18 Stefan Liebler <stli@linux.ibm.com>
5099
5100 * sysdeps/s390/multiarch/Makefile
5101 (sysdep_routines): Remove stpncpy variants.
5102 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5103 * sysdeps/s390/multiarch/ifunc-impl-list.c
5104 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5105 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5106 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5107 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5108 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5109 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5110 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5111 * sysdeps/s390/ifunc-stpncpy.h: New file.
5112
d1bdbf38
SL
51132018-12-18 Stefan Liebler <stli@linux.ibm.com>
5114
5115 * sysdeps/s390/multiarch/Makefile
5116 (sysdep_routines): Remove strncpy variants.
5117 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5118 * sysdeps/s390/multiarch/ifunc-impl-list.c
5119 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5120 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5121 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5122 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5123 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5124 * sysdeps/s390/ifunc-strncpy.h: New file.
5125 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5126 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5127 and adjust ifunc handling.
5128 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5129 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5130 and adjust ifunc handling.
5131 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5132 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5133
97044931
SL
51342018-12-18 Stefan Liebler <stli@linux.ibm.com>
5135
5136 * sysdeps/s390/multiarch/Makefile
5137 (sysdep_routines): Remove stpcpy variants.
5138 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5139 * sysdeps/s390/multiarch/ifunc-impl-list.c
5140 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5141 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5142 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5143 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5144 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5145 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5146 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5147 * sysdeps/s390/ifunc-stpcpy.h: New file.
5148
914a4e05
SL
51492018-12-18 Stefan Liebler <stli@linux.ibm.com>
5150
5151 * sysdeps/s390/multiarch/Makefile
5152 (sysdep_routines): Remove strcpy variants.
5153 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5154 * sysdeps/s390/multiarch/ifunc-impl-list.c
5155 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5156 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5157 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5158 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5159 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5160 * sysdeps/s390/ifunc-strcpy.h: New file.
5161 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5162 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5163 for 31/64bit and ifunc handling.
5164 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5165 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5166 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5167
de10e44d
SL
51682018-12-18 Stefan Liebler <stli@linux.ibm.com>
5169
5170 * sysdeps/s390/multiarch/Makefile
5171 (sysdep_routines): Remove strnlen variants.
5172 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5173 * sysdeps/s390/multiarch/ifunc-impl-list.c
5174 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5175 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5176 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5177 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5178 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5179 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5180 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5181 * sysdeps/s390/ifunc-strnlen.h: New file.
5182
ff3ca374
SL
51832018-12-18 Stefan Liebler <stli@linux.ibm.com>
5184
5185 * sysdeps/s390/multiarch/Makefile
5186 (sysdep_routines): Remove strlen variants.
5187 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5188 * sysdeps/s390/multiarch/ifunc-impl-list.c
5189 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5190 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5191 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5192 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5193 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5194 * sysdeps/s390/multiarch/strlen.c: Move to ...
5195 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5196 * sysdeps/s390/ifunc-strlen.h: New file.
5197
d2c4c403
SL
51982018-12-18 Stefan Liebler <stli@linux.ibm.com>
5199
5200 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5201 * sysdeps/s390/multiarch/ifunc-impl-list.c
5202 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5203 * sysdeps/s390/ifunc-memmem.h: New file.
5204 * sysdeps/s390/memmem.c: Likewise.
5205 * sysdeps/s390/memmem-c.c: Likewise.
5206 * sysdeps/s390/memmem-vx.c: Likewise.
5207
8c25dddd
SL
52082018-12-18 Stefan Liebler <stli@linux.ibm.com>
5209
5210 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5211 * sysdeps/s390/multiarch/ifunc-impl-list.c
5212 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5213 * sysdeps/s390/ifunc-strstr.h: New file.
5214 * sysdeps/s390/strstr.c: Likewise.
5215 * sysdeps/s390/strstr-c.c: Likewise.
5216 * sysdeps/s390/strstr-vx.c: Likewise.
5217
cdd927d9
SL
52182018-12-18 Stefan Liebler <stli@linux.ibm.com>
5219
5220 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5221 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5222 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5223 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5224 New defines.
5225 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5226 * sysdeps/s390/memmove-c.c: New file.
5227 * sysdeps/s390/memmove.c: Likewise.
5228 * sysdeps/s390/multiarch/ifunc-impl-list.c
5229 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5230
2ee1bc57
SL
52312018-12-18 Stefan Liebler <stli@linux.ibm.com>
5232
5233 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5234 * sysdeps/s390/configure.ac: Add check for z13 support.
5235 * sysdeps/s390/configure: Regenerated.
5236
d097d976
SL
52372018-12-18 Stefan Liebler <stli@linux.ibm.com>
5238
5239 * sysdeps/s390/memcopy.h: New file.
5240
e099aab0
SL
52412018-12-18 Stefan Liebler <stli@linux.ibm.com>
5242
5243 * sysdeps/s390/s390-32/bcopy.S: Remove.
5244 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5245
18eb862d
SL
52462018-12-18 Stefan Liebler <stli@linux.ibm.com>
5247
5248 * sysdeps/s390/ifunc-memcpy.h: New File.
5249 * sysdeps/s390/memcpy.S: Move to ...
5250 * sysdeps/s390/memcpy-z900.S ... here.
5251 Move implementations from memcpy-s390x.s to here.
5252 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5253 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5254 Remove memcpy/mempcpy variants.
5255 * sysdeps/s390/Makefile (sysdep_routines):
5256 Add memcpy/mempcpy variants.
5257 * sysdeps/s390/multiarch/ifunc-impl-list.c
5258 (__libc_ifunc_impl_list): Adjust ifunc variants for
5259 memcpy and mempcpy.
5260 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5261 to ...
5262 * sysdeps/s390/memcpy.c: ... here.
5263 Adjust ifunc variants for memcpy.
5264 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5265 * sysdeps/s390/mempcpy.c: ... here.
5266 Adjust ifunc variants for mempcpy.
5267 * sysdeps/s390/mempcpy.S: Delete file.
5268
df3eb8de
SL
52692018-12-18 Stefan Liebler <stli@linux.ibm.com>
5270
5271 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5272 * sysdeps/s390/memcpy.S: ... here.
5273 Adjust to be usable for 31/64bit.
5274 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5275 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5276 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5277 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5278 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5279 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5280 Adjust to be usable for 31/64bit.
5281 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5282 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5283 * sysdeps/s390/multiarch/memcpy.c: ... here.
5284 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5285
b7e024a8
SL
52862018-12-18 Stefan Liebler <stli@linux.ibm.com>
5287
5288 * sysdeps/s390/ifunc-memcmp.h: New File.
5289 * sysdeps/s390/memcmp.S: Move to ...
5290 * sysdeps/s390/memcmp-z900.S ... here.
5291 Move implementations from memcmp-s390x.s to here.
5292 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5293 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5294 Remove memcmp variants.
5295 * sysdeps/s390/Makefile (sysdep_routines):
5296 Add memcmp variants.
5297 * sysdeps/s390/multiarch/ifunc-impl-list.c
5298 (__libc_ifunc_impl_list): Adjust ifunc variants for
5299 memcmp.
5300 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5301 to ...
5302 * sysdeps/s390/memcmp.c: ... here.
5303 Adjust ifunc variants for memcmp.
5304
6c6b8c74
SL
53052018-12-18 Stefan Liebler <stli@linux.ibm.com>
5306
5307 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5308 * sysdeps/s390/memcmp.S: ... here.
5309 Adjust to be usable for 31/64bit.
5310 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5311 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5312 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5313 Remove memcmp.
5314 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5315 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5316 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5317 Adjust to be usable for 31/64bit.
5318 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5319 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5320 * sysdeps/s390/multiarch/memcmp.c: ... here.
5321 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5322
07be3928
SL
53232018-12-18 Stefan Liebler <stli@linux.ibm.com>
5324
5325 * sysdeps/s390/s390-32/bzero.S: Delete file.
5326 * sysdeps/s390/s390-64/bzero.S: Likewise.
5327 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5328 * sysdeps/s390/bzero.c: New file.
5329 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5330 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5331 * sysdeps/s390/multiarch/ifunc-impl-list.c
5332 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5333
712a254a
SL
53342018-12-18 Stefan Liebler <stli@linux.ibm.com>
5335
5336 * sysdeps/s390/ifunc-memset.h: New File.
5337 * sysdeps/s390/memset.S: Move to ...
5338 * sysdeps/s390/memset-z900.S ... here.
5339 Move implementations from memset-s390x.s to here.
5340 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5341 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5342 Remove memset variants.
5343 * sysdeps/s390/Makefile (sysdep_routines):
5344 Add memset variants.
5345 * sysdeps/s390/multiarch/ifunc-impl-list.c
5346 (__libc_ifunc_impl_list): Adjust ifunc variants for
5347 memset.
5348 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5349 to ...
5350 * sysdeps/s390/memset.c: ... here.
5351 Adjust ifunc variants for memset.
5352
5f1743d1
SL
53532018-12-18 Stefan Liebler <stli@linux.ibm.com>
5354
5355 * sysdeps/s390/s390-64/memset.S: Move to ...
5356 * sysdeps/s390/memset.S: ... here.
5357 Adjust to be usable for 31/64bit.
5358 * sysdeps/s390/s390-32/memset.S: Delete File.
5359 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5360 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5361 Remove memset.
5362 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5363 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5364 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5365 Adjust to be usable for 31/64bit.
5366 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5367 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5368 * sysdeps/s390/multiarch/memset.c: ... here.
5369 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5370
e8023f26
SL
53712018-12-18 Stefan Liebler <stli@linux.ibm.com>
5372
5373 * sysdeps/s390/multiarch/ifunc-resolve.h
5374 (s390_libc_ifunc_init, s390_libc_ifunc,
5375 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5376
b8686c0d
SL
53772018-12-18 Stefan Liebler <stli@linux.ibm.com>
5378
5379 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5380 * sysdeps/s390/configure.ac: Add check for z10 support.
5381 * sysdeps/s390/configure: Regenerated.
5382
cd815050
L
53832018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5384
5385 * sysdeps/i386/atomic-machine.h: Merged with ...
5386 * sysdeps/x86_64/atomic-machine.h: To ...
5387 * sysdeps/x86/atomic-machine.h: This. New file.
5388
053c52b1
FW
53892018-12-18 Florian Weimer <fweimer@redhat.com>
5390
5391 Rewrite locale/gen-translit.pl in Python.
5392 * locale/Makefile (generated): Add C-translit.h.
5393 (before-compile): Add $(objpfx)C-translit.h.
5394 (C-translit.h): Move to $(objpfx). Create target directory.
5395 Build using Python script.
5396 * locale/gen-translit.py: New file.
5397 * locale/gen-translit.pl: Remove file.
5398 * locale/C-translit.h.in: Change comment character to '#' for
5399 easier parsing without a C preprocessor.
5400 * locale/C-translit.h: Remove generated file.
5401 * manual/install.texi (Tools for Compilation): Do not mention
5402 C-translit.h.
5403 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5404 Remove locale/C-translit.h.
5405 * scripts/update-copyrights: Likewise.
5406 * INSTALL: Regenerate.
5407
40e6c1ec
FW
54082018-12-18 Florian Weimer <fweimer@redhat.com>
5409
5410 [BZ #23995]
5411 * localedata/locales/bi_VU: Remove executable bit from file.
5412
6b5c8607 54132018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
5414
5415 * include/time.h
5416 (__localtime64): Add.
5417 * manual/maint.texi: Document Y2038 symbol handling.
5418 * time/localtime.c
5419 (__localtime64): Add.
bfb79db4 5420 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 5421
df648905
JM
54222018-12-17 Joseph Myers <joseph@codesourcery.com>
5423
551e81d9
JM
5424 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5425 Do not clobber r12.
5426
df648905
JM
5427 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5428 to allow extra macros from first or second sources.
5429 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5430 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5431 (tests-special): Add $(objpfx)tst-mman-consts.out.
5432 ($(objpfx)tst-mman-consts.out): New makefile target.
5433
6bbfc5c0
MH
54342018-12-17 Mao Han <han_mao@c-sky.com>
5435
5436 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5437 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5438 without stat64 system call support.
5439 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5440 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5441 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5442 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5443 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5444 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5445 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5446 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5447 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5448 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5449 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5450
ef202e53
PE
54512018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5452
5453 regex: fix storage-exhaustion error
5454 [BZ #18040]
5455 * posix/regexec.c (get_subexp):
5456 Do not continue if storage is exhausted.
5457
077caf61
AG
54582018-12-15 Assaf Gordon <assafgordon@gmail.com>
5459
5460 regex: fix heap-use-after-free error
5461 [BZ #18040]
5462 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5463 https://debbugs.gnu.org/32592
5464 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5465 call extend_buffers which reallocates the re_string_t internal buffer.
5466 Local variable 'buf' was not updated in such case, resulting in
5467 use-after-free.
5468 * posix/regexec.c (get_subexp): Update 'buf' after call to
5469 get_subexp_sub.
5470
0c1719e6
FW
54712018-12-15 Florian Weimer <fweimer@redhat.com>
5472
5473 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5474 (minimum_stride_size): Use it.
5475 (support_blob_repeat_allocate): Likewise.
5476
033a2c0a
JM
54772018-12-14 Joseph Myers <joseph@codesourcery.com>
5478
5479 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5480 definition.
5481 (acosh): Likewise.
5482 (atanh): Likewise.
5483
e361dc04
FW
54842018-12-14 Florian Weimer <fweimer@redhat.com>
5485
5486 * manual/process.texi (Process Creation Concepts): Remove
5487 documentation of process (ID) lifetime. List more process
5488 creation functions. Reference Process Identification section.
5489 (Process Identification): Add information about process ID
5490 lifetime. Describe Linux thread/task IDs.
5491 * manual/signal.texi (Signaling Another Process): Mention that the
5492 signal is always sent to the process.
5493
bd51ff5e
GG
54942018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5495
5496 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5497 and tst-ldbl-efgcvt.
5498 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5499 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5500 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5501 (fcvt_tests, output_error, output_r_error, do_test): Use the
5502 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5503 select the type of floating-point variables and arguments; to
5504 produce extra tests for double and conversion specifiers for
5505 printf; and to set the names of called functions.
5506 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5507 in tst-efgcvt-template.c.
5508 * misc/tst-ldbl-efgcvt.c: Likewise.
5509
268bb71e
SL
55102018-12-14 Stefan Liebler <stli@linux.ibm.com>
5511
5512 * nss/Makefile (tst-nss-test3.out): New rule.
5513
db6df070
JM
55142018-12-13 Joseph Myers <joseph@codesourcery.com>
5515
5516 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5517 clobber sp.
5518
ade8b817
CD
55192018-12-13 fanjinke <fanjinke@hygon.cn>
5520
5521 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5522 "HygonGenuine".
5523
3d265911
AS
55242018-12-13 Andreas Schwab <schwab@suse.de>
5525
f21e8f8c 5526 [BZ #23861]
3d265911 5527 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
5528 (__pthread_rwlock_rdlock_full): Update expected value for
5529 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5530 * nptl/tst-rwlock-pwn.c: New file.
5531 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 5532
bf8ae8c0
JM
55332018-12-12 Joseph Myers <joseph@codesourcery.com>
5534
5535 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5536 definition.
5537
de099757
LS
55382018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5539
5540 * benchtests/scripts/compare_bench.py (do_compare): write to
5541 stderr in casestat is not present.
5542 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5543 stderr in case timings field is not present. Also string showing
5544 the output filename goes into the stderr.
5545
1990185f
LS
55462018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5547
5548 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5549 and ZeroDivisorError exceptions.
5550 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5551 argument to loop through user provided statistics.
5552 * benchtests/scripts/compare_bench.py (main): Include the --stats
5553 argument.
5554
587426d4
LS
55552018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5556
5557 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5558 instead of return.
5559
46703efa
FW
55602018-12-12 Florian Weimer <fweimer@redhat.com>
5561
5562 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5563 clause to copyright header.
5564
1d880d4a
TMQMF
55652018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5566
5567 [BZ #23614]
5568 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5569 registers saved in the stack frame.
5570 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5571 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5572
1a502f52
GG
55732018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5574
5575 * include/bits/monetary-ldbl.h: New file.
5576 * include/bits/printf-ldbl.h: Likewise.
5577 * include/bits/stdio-ldbl.h: Likewise.
5578 * include/bits/stdlib-ldbl.h: Likewise.
5579 * include/bits/syslog-ldbl.h: Likewise.
5580 * include/bits/wchar-ldbl.h: Likewise.
5581
df682d1d
GG
55822018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5583
5584 * libio/libio.h: Remove redirection for _IO_vfprintf.
5585
c2c082c1
AS
55862018-12-11 Andreas Schwab <schwab@suse.de>
5587
5588 * Makerules: Remove all references to abilist-pattern.
5589 (update-all-abi): Simplify find expression.
5590
505b5b29
SN
55912018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5592
5593 [BZ #23961]
5594 * math/auto-libm-test-in: Add new test case.
5595 * math/auto-libm-test-out-pow: Regenerated.
5596 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5597
304c61a2
DD
55982018-12-10 DJ Delorie <dj@redhat.com>
5599
5600 [BZ #23948]
5601 * support/test-container.c: Move postclean step to before we
5602 change namespaces.
5603
a8110b72
JM
56042018-12-10 Joseph Myers <joseph@codesourcery.com>
5605
cb7be159
JM
5606 * scripts/gen-as-const.py (main): Handle --python option.
5607 * scripts/gen-py-const.awk: Remove.
5608 * Makerules (py-const-script): Use gen-as-const.py.
5609 ($(py-const)): Likewise.
5610 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5611 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5612 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5613 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5614 ~PTHREAD_MUTEX_NO_ELISION_NP.
5615 * manual/README.pretty-printers: Update reference to
5616 gen-py-const.awk.
5617
a8110b72
JM
5618 * scripts/glibcextract.py: New file.
5619 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5620 or tempfile. Import glibcexctract.
5621 (compute_c_consts): Remove. Moved to glibcextract.py.
5622 (gen_test): Update reference to compute_c_consts.
5623 (main): Likewise.
5624 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5625 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5626 * sysdeps/unix/sysv/linux/Makefile
5627 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5628 Redirect stderr as well as stdout.
5629
f9ba9eb8
RÁE
56302018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5631
5632 [BZ #19767]
5633 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
5634 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5635 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 5636 ALWAYS_USE_VSYSCALL.
b39d961c 5637 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
5638 ALWAYS_USE_VSYSCALL.
5639 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5640 ALWAYS_USE_VSYSCALL.
5641
8d20a2f4
FW
56422018-12-10 Florian Weimer <fweimer@redhat.com>
5643
5644 [BZ #23972]
5645 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5646 offset instead of count for clarity. Fix typo in comment.
5647 (__old_getdents64): Keep track of previous offset. Use it to call
5648 handle_overflow.
5649 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5650 that d_off is never zero.
5651
80472e2f
AS
56522018-12-10 Andreas Schwab <schwab@suse.de>
5653
5654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5655 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5657 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5658 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5659
0afcb29d
JM
56602018-12-10 Joseph Myers <joseph@codesourcery.com>
5661
5662 * timezone/private.h: Update from tzcode 2018g.
5663 * timezone/tzfile.h: Likewise.
5664 * timezone/tzselect.ksh: Likewise.
5665 * timezone/zdump.c: Likewise.
5666 * timezone/zic.c: Likewise.
5667
b93f4052
PP
56682018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5669
5670 [BZ #23490]
5671 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5672 (do_test): Adjust buffer size and fix format.
5673
7c9a7c68
DD
56742018-12-07 DJ Delorie <dj@redhat.com>
5675
5676 [BZ #23907]
5677 * malloc/tst-tcfree3.c: New.
5678 * malloc/Makefile: Add it.
5679
37caec3a
L
56802018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5681
5682 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5683
10446f5d
GG
56842018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5685
5686 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5687 used as a mask for the mode argument of __vfscanf_internal and
5688 __vfwscanf_internal.
5689 * stdio-common/vfscanf-internal.c
5690 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5691 (__strtof128_internal): Define to __wcstof128_internal.
5692 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5693 __strtof128_internal or __wcstof128_internal when the format of
5694 long double is the same as _Float128.
5695
45f33aac
ST
56962018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5697
5698 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5699 * posix/confstr.c (confstr): Rename to __confstr.
5700 (__confstr): Add hidden def.
5701 (confstr): Add weak alias for __confstr.
5702 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5703 confstr.
5704
a092ca94
L
57052018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5706
5707 * NEWS: Mention getcpu.
5708 * include/sched.h (__getcpu): New libc_hidden_proto.
5709 * manual/resource.texi: Document getcpu.
5710 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5711 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5712 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5713 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5714 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5715 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5716 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5717 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5718 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5719 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5720 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5721 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5722 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5723 Likewise.
5724 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5725 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5726 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5728 Likewise.
5729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5730 Likewise.
5731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5732 Likewise.
5733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5734 Likewise.
5735 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5736 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5737 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5738 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5739 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5740 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5741 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5742 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5743 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5744 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5745 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5746 Also check getcpu.
5747
7c857b6f
ST
57482018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5749
5750 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5751 functions.
5752 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5753
3a3fb755
FW
57542018-12-07 Florian Weimer <fweimer@redhat.com>
5755
5756 [BZ #17405]
5757 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5758 * posix/Versions (GLIBC_2.29): Export
5759 posix_spawn_file_actions_addfchdir_np.
5760 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5761 * posix/spawn_faction_destroy.c
5762 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5763 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5764 and the field action.fchdir_action.
5765 * posix/tst-spawn-chdir.c (add_chdir): New function.
5766 (do_test): Add do_fchdir loop. Call add_chdir.
5767 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5768 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5769 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5770 posix_spawn_file_actions_addfchdir_np.
5771 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5772 Likewise.
5773 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5774 Likewise.
5775 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5776 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5777 Likewise.
5778 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5779 Likewise.
5780 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5781 Likewise.
5782 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5783 Likewise.
5784 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5785 Likewise.
5786 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5787 Likewise.
5788 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5789 (GLIBC_2.29): Likewise.
5790 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5791 (GLIBC_2.29): Likewise.
5792 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5793 (GLIBC_2.29): Likewise.
5794 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5795 (GLIBC_2.29): Likewise.
5796 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5797 Likewise.
5798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5799 (GLIBC_2.29): Likewise.
5800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5801 (GLIBC_2.29): Likewise.
5802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5803 (GLIBC_2.29): Likewise.
5804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5805 (GLIBC_2.29): Likewise.
5806 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5807 Likewise.
5808 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5809 Likewise.
5810 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5811 Likewise.
5812 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5813 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5814 Likewise.
5815 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5816 Likewise.
5817 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5818 Likewise.
5819 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5820 Likewise.
5821
c37cd439
JM
58222018-12-06 Joseph Myers <joseph@codesourcery.com>
5823
5824 * manual/texinfo.tex: Update to version 2018-09-21.20 with
5825 trailing whitespace removed.
5826 * scripts/config.guess: Update to version 2018-11-28.
5827 * scripts/config.sub: Update to version 2018-11-28.
5828 * scripts/install-sh: Update to version 2018-03-11.20.
5829 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
5830 * scripts/move-if-change: Update to version 2018-03-07 03:47.
5831
899478c2
FW
58322018-12-07 Florian Weimer <fweimer@redhat.com>
5833
5834 [BZ #23927]
5835 CVE-2018-19591
5836 * inet/tst-if_index-long.c: New file.
5837 * inet/Makefile (tests): Add tst-if_index-long.
5838
f255336a
FW
58392018-12-07 Florian Weimer <fweimer@redhat.com>
5840
5841 * support/check.h (support_record_failure_is_failed): Declare.
5842 * support/descriptors.h: New file.
5843 * support/support_descriptors.c: Likewise.
5844 * support/tst-support_descriptors.c: Likewise.
5845 * support/support_record_failure.c
5846 (support_record_failure_is_failed): New function.
5847 * support/Makefile (libsupport-routines): Add support_descriptors.
5848 (tests): Add tst-support_descriptors.
5849
35caceb1
ZW
58502018-12-05 Zack Weinberg <zackw@panix.com>
5851 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5852
5853 * stdio-common/vfprintf-internal.c
5854 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
5855 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
5856 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
5857 and __no_long_double.
5858 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
5859 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
5860 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
5861 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
5862 and __nldbl_*syslog* functions.
5863 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
5864 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
5865 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
5866 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
5867 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
5868 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
5869 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
5870 (__nldbl_vwprintf, __nldbl_wprintf):
5871 Directly call the appropriate __v*printf_internal routine, passing
5872 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
5873 variable names.
5874 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
5875 (__nldbl___printf_chk, __nldbl___snprintf_chk)
5876 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
5877 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
5878 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
5879 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5880 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
5881 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
5882 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
5883 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
5884 Likewise, and also pass PRINTF_FORTIFY when appropriate.
5885 (__nldbl_syslog, __nldbl_vsyslog):
5886 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
5887 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5888 appropriate.
5889 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5890 appropriate.
5891
4e2f43f8
ZW
58922018-12-05 Zack Weinberg <zackw@panix.com>
5893 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5894
5895 [BZ #11319]
5896 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
5897 Moved here from debug/vsprintf_chk.c.
5898 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
5899 and completion logic for the strfile to match exactly what
5900 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
5901 _IO_str_init_static_internal instead of maxlen-1.
5902 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5903 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
5904 __vsprintf_internal.
5905
5906 * debug/vsprintf_chk.c (__vsprintf_chk)
5907 * debug/sprintf_chk.c (__sprintf_chk):
5908 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
5909 'flags' argument is positive, and slen as maxlen. No need to lock
5910 the FILE and/or construct a temporary FILE. Minimize and normalize
5911 header inclusions and variable names. Do not libc_hidden_def anything.
5912
5913 * debug/asprintf_chk.c (__asprintf_chk)
5914 * debug/dprintf_chk.c (__dprintf_chk)
5915 * debug/fprintf_chk.c (__fprintf_chk)
5916 * debug/fwprintf_chk.c (__fwprintf_chk)
5917 * debug/printf_chk.c (__printf_chk)
5918 * debug/snprintf_chk.c (__snprintf_chk)
5919 * debug/swprintf_chk.c (__swprintf_chk)
5920 * debug/vasprintf_chk.c (__vasprintf_chk)
5921 * debug/vdprintf_chk.c (__vdprintf_chk)
5922 * debug/vfprintf_chk.c (__vfprintf_chk)
5923 * debug/vfwprintf_chk.c (__vfwprintf_chk)
5924 * debug/vprintf_chk.c (__vprintf_chk)
5925 * debug/vsnprintf_chk.c (__vsnprintf_chk)
5926 * debug/vswprintf_chk.c (__vswprintf_chk)
5927 * debug/vwprintf_chk.c (__vwprintf_chk)
5928 * debug/wprintf_chk.c (__wprintf_chk):
5929 Directly call the corresponding vxxprintf_internal function, passing
5930 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
5931 the FILE and/or construct a temporary FILE. Minimize and normalize
5932 header inclusions and variable names. Do not libc_hidden_def anything.
5933
5934 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
5935 __obstack_vprintf_internal.
5936 (__obstack_vprintf_chk): Convert into a wrapper that calls
5937 __obstack_vprintf_internal (these two functions already had the
5938 same code) and move to new file...
5939 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
5940 file.
5941 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5942 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5943 * debug/Makefile (routines): Add vobprintf_chk.
5944
5945 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5946 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5947 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5948 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5949 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5950 (__nldbl___obstack_vfprintf_chk):
5951 Directly call the corresponding vxxprintf_internal function,
5952 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5953 duplicate comparison of slen with 0 or maxlen from the corresponding
5954 non-__nldbl function.
5955
5956 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5957 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5958 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5959 Remove libc_hidden_proto.
5960
5961 * stdio-common/vfprintf-internal.c
5962 (__vfprintf_internal, __vfwprintf_internal):
5963 Do not check _IO_FLAGS2_FORTIFY.
5964 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5965 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5966 a comment explaining why it has the maxlen argument.
5967 (_IO_acquire_lock_clear_flags2_fct): Remove.
5968 (_IO_acquire_lock_clear_flags2): Remove.
5969 (_IO_release_lock): Remove conditional statement which will
5970 now never execute.
5971 (_IO_acquire_lock): Remove variable which is now unused.
5972 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5973 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5974
5975 * stdio-common/Makefile (tests): Add tst-bz11319 and
5976 tst-bz11319-fortify2.
5977 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5978 * stdio-common/tst-bz11319-fortify2.c: New file.
5979 * stdio-common/tst-bz11319.c: Likewise.
5980
124fc732
ZW
59812018-12-05 Zack Weinberg <zackw@panix.com>
5982 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5983
5984 * misc/syslog.c: Include libioP.h, not iolibio.h.
5985 (__vsyslog_internal): New function with the former body of
5986 __vsyslog_chk; takes mode_flags argument same as
5987 __v*printf_internal. Call __vfprintf_internal directly.
5988
5989 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5990 Remove libc_hidden_def.
5991 (__syslog, __syslog_chk): Use __vsyslog_internal.
5992 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5993
5994 * include/sys/syslog.h: Add multiple inclusion guard.
5995 Add prototype for __vsyslog_internal.
5996 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5997
5998 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5999 Use __vsyslog_internal.
6000
698fb75b
ZW
60012018-12-05 Zack Weinberg <zackw@panix.com>
6002 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6003
6004 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6005 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6006 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6007 New functions.
6008 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6009 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6010
6011 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6012 Include wctype.h here if COMPILE_WPRINTF is defined.
6013 Define __vfprintf_internal or __vfwprintf_internal, depending
6014 on COMPILE_WPRINTF.
6015 Temporarily, on entry to this function, update mode_flags
6016 according to the environmental settings corresponding to
6017 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6018 Throughout, check mode_flags instead of __ldbl_is_dbl and
6019 _IO_FLAGS2_FORTIFY on the destination FILE.
6020 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6021 Include vfprintf-internal.c. Don't include wctype.h.
6022 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6023 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6024 and vfprintf.
6025 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6026 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6027 and vfwprintf.
6028 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6029
6030 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6031 and add mode_flags argument; use __vfprintf_internal.
6032 (__vdprintf): New function. Alias vdprintf to this.
6033 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6034 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6035 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6036 (__obstack_printf): Use __obstack_printf_internal.
6037 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6038 public aliases __vsnprintf and vsnprintf.
6039 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6040 called internally.
6041 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6042 public aliases _IO_vsprintf and vsprintf.
6043 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6044 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6045 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6046 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6047 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6048
6049 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6050 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6051 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6052 * stdio-common/printf.c: Use __vfprintf_internal.
6053
6054 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6055 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6056 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6057
6058 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6059 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6060 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6061 __vfwprintf_internal.
6062
6063 * libio/libio.h: Remove libc_hidden_proto and declaration for
6064 _IO_vfprintf.
6065 Remove declaration of _IO_vfwprintf.
6066 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6067 _IO_vsprintf.
6068 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6069 _IO_obstack_printf.
6070 * include/stdio.h: Add prototype for __vasprintf.
6071 (__vsnprintf): Remove declaration, because there are no more
6072 internal calls.
6073 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6074 declaration, because there are no more internal calls.
6075
6076 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6077 __vsnprintf_internal, instead of _IO_vsnprintf.
6078 * argp/argp-help.c (__argp_error, __argp_failure): Use
6079 __vasprintf_internal, instead of _IO_vasprintf.
6080 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6081 redefine, because there are no more internal calls.
6082
d91798b3
ZW
60832018-12-05 Zack Weinberg <zackw@panix.com>
6084 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6085
6086 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6087 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6088 Include libio/strfile.h instead of libioP.h.
6089 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6090 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6091 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6092 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6093 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6094 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6095 necessary. Do not set __no_long_double. Normalize variable names.
6096 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6097 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6098 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6099 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6100 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6101 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6102 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6103 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6104 Do not set __no_long_double. Normalize variable names.
6105
b87eb3f8
ZW
61062018-12-05 Zack Weinberg <zackw@panix.com>
6107 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6108
6109 * stdio-common/isoc99_scanf.c
6110 * stdio-common/isoc99_fscanf.c
6111 * stdio-common/isoc99_sscanf.c
6112 * stdio-common/isoc99_vscanf.c
6113 * stdio-common/isoc99_vfscanf.c
6114 * stdio-common/isoc99_vsscanf.c
6115 * wcsmbs/isoc99_wscanf.c
6116 * wcsmbs/isoc99_fwscanf.c
6117 * wcsmbs/isoc99_swscanf.c
6118 * wcsmbs/isoc99_vwscanf.c
6119 * wcsmbs/isoc99_vfwscanf.c
6120 * wcsmbs/isoc99_vswscanf.c:
6121 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6122 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6123 No need to lock and unlock the FILE passed to that function.
6124
6125 * stdio-common/vfscanf-internal.c
6126 (__vfscanf_internal, __vfwscanf_internal):
6127 Don't look at _IO_FLAGS2_SCANF_STD.
6128 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6129 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6130 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6131
349718d4
ZW
61322018-12-05 Zack Weinberg <zackw@panix.com>
6133 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6134
6135 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6136 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6137 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6138 * libio/strfile.h: Add multiple inclusion guard.
6139 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6140
6141 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6142 consistency with the other version of this file.
6143 (ldbl_compat_symbol): New macro.
6144 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6145 New macro.
6146
6147 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6148 Define __vfscanf_internal or __vfwscanf_internal, depending on
6149 COMPILE_WSCANF; don't define any other public symbols.
6150 Remove errval and code to set errp.
6151 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6152 as the mode_flags argument.
6153 (encode_error, conv_error, input_error): Don't set errval.
6154 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6155 Include vfscanf-internal.c.
6156 * stdio-common/vfscanf.c: New file defining the public entry
6157 point vfscanf, which calls __vfscanf_internal.
6158 * stdio-common/vfwscanf.c: New file defining the public entry
6159 point vfwscanf, which calls __vfwscanf_internal.
6160
6161 * stdio-common/iovfscanf.c: New file.
6162 * stdio-common/iovfwscanf.c: Likewise.
6163
6164 * stdio-common/Makefile (routines): Add vfscanf-internal,
6165 vfwscanf-internal, iovfscanf, iovfwscanf.
6166 * stdio-common/Versions: Mention GLIBC_2.29, so that
6167 it can be used in SHLIB_COMPAT expressions.
6168 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6169 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6170 Call __vfscanf_internal, instead of _IO_vfscanf.
6171 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6172 _IO_vfscanf.
6173 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6174 _IO_vfwscanf.
6175
6176 * libio/iovsscanf.c: Clean up includes, when possible. Use
6177 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6178 __vfscanf_internal or __vfwscanf_internal directly.
6179 * libio/iovswscanf.c: Likewise.
6180 * libio/swscanf.c: Likewise.
6181 * libio/vscanf.c: Likewise.
6182 * libio/vwscanf.c: Likewise.
6183 * libio/wscanf.c: Likewise.
6184 * stdio-common/isoc99_fscanf.c: Likewise.
6185 * stdio-common/isoc99_scanf.c: Likewise.
6186 * stdio-common/isoc99_sscanf.c: Likewise.
6187 * stdio-common/isoc99_vfscanf.c: Likewise.
6188 * stdio-common/isoc99_vscanf.c: Likewise.
6189 * stdio-common/isoc99_vsscanf.c: Likewise.
6190 * stdio-common/scanf.c: Likewise.
6191 * stdio-common/sscanf.c: Likewise.
6192 * wcsmbs/isoc99_fwscanf.c: Likewise.
6193 * wcsmbs/isoc99_swscanf.c: Likewise.
6194 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6195 * wcsmbs/isoc99_vswscanf.c: Likewise.
6196 * wcsmbs/isoc99_vwscanf.c: Likewise.
6197 * wcsmbs/isoc99_wscanf.c: Likewise.
6198
6b5c8607 61992018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
6200
6201 * include/time.h
6202 (__tz_compute): Replace time_t with __time64_t.
6203 (__tz_convert): Replace time_t* with __time64_t.
6204 (__offtime): Replace time_t* with __time64_t.
6205 * time/gmtime.c
6206 (__gmtime_r): Adjust call to __tz_convert.
6207 (gmtime): Likewise.
6208 * time/localtime.c
6209 (__localtime_r): Likewise.
6210 (localtime): Likewise.
6211 * time/offtime.c: Replace time_t with __time64_t.
6212 * time/tzset.c: Likewise.
6213
bd598da9
JM
62142018-12-04 Joseph Myers <joseph@codesourcery.com>
6215
6216 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6217 dynamic linker unless [$(run-built-tests) = yes].
6218
b2e93de0
DD
62192018-12-03 DJ Delorie <dj@delorie.com>
6220
6221 * support/test-container.c (check_for_unshare_hints): New.
6222 (main): Call it if unshare fails. Add support for "su" scriptlet
6223 command.
6224
477a02f6
JM
62252018-12-03 Joseph Myers <joseph@codesourcery.com>
6226
6227 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6228 'START' to indicate that start text should be output.
6229 (gen_test): Likewise.
6230 (main): Generate 'START' for first symbol or '--' line, or at end
6231 of input if not previously generated.
6232
6af956e5
RÁE
62332018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6234
6235 [BZ #19767]
6236 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6237 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6238 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6239 ALWAYS_USE_VSYSCALL.
6240
f5ec0ea9
AZ
62412018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6242
6243 [BZ #23913]
6244 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6245 new_argv by one.
6246
8cebd4ff
CD
62472018-12-03 Carlos O'Donell <carlos@redhat.com>
6248
6249 [BZ #23923]
6250 * locale/programs/localedef.c: Declare boolean hard_links default true.
6251 (options): Add --no-hard-links option.
6252 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6253 * locale/programs/localedef.h: Declare prototype for hard_links.
6254 * locale/programs/locfile.c (write_locale_data): Don't use hard
6255 links if hard_links is false.
6256
c22e4c2a
L
62572018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6258
6259 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6260 cpu_features_basic.
6261 (__cache_sysconf): Likewise.
6262 (init_cacheinfo): Likewise.
6263 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6264 populate COMMON_CPUID_INDEX_80000007 and
6265 COMMON_CPUID_INDEX_80000008.
6266 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6267 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6268 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6269 (init_cpu_features): Use _Static_assert on
6270 index_arch_Fast_Unaligned_Load.
6271 __get_cpuid_registers and __get_arch_feature. Updated for
6272 cpu_features_basic. Set stepping in cpu_features.
6273 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6274 (FEATURE_INDEX_2): New.
6275 (FEATURE_INDEX_MAX): Changed to enum.
6276 (COMMON_CPUID_INDEX_D_ECX_1): New.
6277 (COMMON_CPUID_INDEX_80000007): Likewise.
6278 (COMMON_CPUID_INDEX_80000008): Likewise.
6279 (cpuid_registers): Likewise.
6280 (cpu_features_basic): Likewise.
6281 (CPU_FEATURE_USABLE): Likewise.
6282 (bit_arch_XXX_Usable): Likewise.
6283 (cpu_features): Use cpuid_registers and cpu_features_basic.
6284 (bit_arch_XXX): Reweritten.
6285 (bit_cpu_XXX): Likewise.
6286 (index_cpu_XXX): Likewise.
6287 (reg_XXX): Likewise.
6288 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6289 <support/check.h>.
6290 (CHECK_CPU_FEATURE): New.
6291 (CHECK_CPU_FEATURE_USABLE): Likewise.
6292 (cpu_kinds): Likewise.
6293 (do_test): Print vendor, family, model and stepping. Check
6294 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6295 (TEST_FUNCTION): Removed.
6296 Include <support/test-driver.c> instead of
6297 "../../test-skeleton.c".
6298 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6299 Check POPCNT instead of POPCOUNT.
6300 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6301
7b36d26b
ST
63022018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6303
6304 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6305 there is no element in `consts'.
6306
02cd5c1a
FW
63072018-12-01 Florian Weimer <fweimer@redhat.com>
6308
6309 * support/support_capture_subprocess.c
6310 (support_capture_subprocess): Check that pipe descriptors have
6311 expected values. Close original pipe descriptors in subprocess.
6312
fc493bc9
ST
63132018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6314
6315 [BZ #23032]
6316 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6317 attr with __pthread_default_barrierattr.
6318 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6319 attr with __pthread_default_condattr.
6320 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6321 attr with __pthread_default_mutexattr.
6322 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6323 attr with __pthread_default_rwlockattr.
6324
6310e6be
KW
63252018-12-01 Kemi Wang <kemi.wang@intel.com>
6326
6327 * manual/tunables.texi (POSIX Thread Tunables): New node.
6328 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6329 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6330 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6331 __pthread_tunables_init.
6332 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6333 (max_adaptive_count): Define.
6334 * nptl/pthread_mutex_conf.c: New file.
6335 * nptl/pthread_mutex_conf.h: New file.
6336 * sysdeps/generic/adaptive_spin_count.h: New file.
6337 * sysdeps/nptl/dl-tunables.list: New file.
6338 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6339 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6340 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6341 Likewise.
6342
8e67b39e
PP
63432018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6344
6345 [BZ #20544]
6346 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6347 * stdlib/on_exit.c (__on_exit): Likewise.
6348 * stdlib/Makefile (tests): Add tst-bz20544.
6349 * stdlib/tst-bz20544.c: New test.
6350
15b8d67e
RÁE
63512018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6352
6353 [BZ #19767]
6354 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6355 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6356 New.
6357
5e63c240
FW
63582018-11-30 Florian Weimer <fweimer@redhat.com>
6359
6360 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6361 Extend error logging.
6362 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6363 symbol.
6364
71058602 63652018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 6366
5fb7fc96
AZ
6367 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6368 __sigismember instead of sigismember.
6369 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6370 cancel_handler): New definitions.
6371 (do_system): Use posix_spawn instead of fork and execl and remove
6372 reentracy code.
6373 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6374 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6375 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6376 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6377 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6378 * sysdeps/unix/sysv/linux/system.c: Likewise.
6379
14d0e87d
AZ
6380 [BZ #22834]
6381 [BZ #17490]
6382 * NEWS: Add new semantic for atfork with popen and system.
6383 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6384 fork and execl.
6385
e5d262ef
TMQMF
63862018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6387
6388 [BZ #23690]
6389 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6390 modification order when accessing reloc_result->addr.
6391 * include/link.h (reloc_result): Add field init.
6392 * nptl/Makefile (tests): Add tst-audit-threads.
6393 (modules-names): Add tst-audit-threads-mod1 and
6394 tst-audit-threads-mod2.
6395 Add rules to build tst-audit-threads.
6396 * nptl/tst-audit-threads-mod1.c: New file.
6397 * nptl/tst-audit-threads-mod2.c: Likewise.
6398 * nptl/tst-audit-threads.c: Likewise.
6399 * nptl/tst-audit-threads.h: Likewise.
6400
7e1d4240
JM
64012018-11-30 Joseph Myers <joseph@codesourcery.com>
6402
6403 * scripts/gen-as-const.py: New file.
6404 * scripts/gen-as-const.awk: Remove.
6405 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6406 gen-as-const.py.
6407 ($(objpfx)test-as-const-%.c): Likewise.
6408
ce7387cc
L
64092018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6410
6411 * elf/dl-exception.c: Include <_itoa.h>.
6412
c6a5bdc1
ST
64132018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6414
6415 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6416 returned by __f_setlk.
6417
a5275ba5
L
64182018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6419 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6420
6421 * elf/Makefile (tests-internal): Add tst-create_format1.
6422 * elf/dl-exception.c (_dl_exception_create_format): Support
6423 %x, %lx and %zx.
6424 * elf/tst-create_format1.c: New file.
6425
3a67e81d
CAC
64262018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6427
6428 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6429 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6430 gnulib.)
6431 * argp/argp-help.c (__argp_failure): Likewise.
6432
4975f0c3
MH
64332018-11-29 Mao Han <han_mao@c-sky.com>
6434
6435 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6436 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6437 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6438 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6439 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6440 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6441 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6442 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6443 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6444 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6445 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6446 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6447 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6448 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6449 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6450 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6451 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6452 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6453 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6454 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6455 (R_CKCORE_TLS_TPOFF32): New defines.
6456
250102c8
FW
64572018-11-29 Florian Weimer <fweimer@redhat.com>
6458
6459 * posix/Makefile (before-compile): Remove testcases.h and
6460 ptestcases.h.
6461 (generated): Add testcases.h and ptestcases.h.
6462 (testcases.h, ptestcases.h): Move to $(objpfx).
6463 (runtests.o): Add dependency on testcases.h.
6464 (runptests.o): Add dependency on ptestcases.h.
6465 * posix/testcases.h, posix/ptestcases.h: Remove files.
6466 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6467 not touch posix/testcases.h and posix/ptestcases.h.
6468
96cd0558
FW
64692018-11-28 Florian Weimer <fweimer@redhat.com>
6470
6471 support: Add signal support to support_capture_subprocess_check.
6472 * support/capture_subprocess.h (support_capture_subprocess_check):
6473 Adjust comment and rename parameter.
6474 * support/support_capture_subprocess_check.c
6475 (print_actual_status): New function.
6476 (support_capture_subprocess_check): Support negative
6477 status_or_signal. Call print_actual_status.
6478 * support/tst-support_capture_subprocess.c (do_test): Call
6479 support_capture_subprocess_check.
6480 * libio/tst-vtables-common.c (termination_status)
6481 (init_termination_status): Remove.
6482 (check_for_termination): Adjust support_capture_subprocess_check
6483 call.
6484 (do_test): Remove call to init_termination_status.
6485
530504e3
JM
64862018-11-28 Joseph Myers <joseph@codesourcery.com>
6487
6488 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6489 source directory instead of a copy.
6490 (CommandList.create_copy_dir): Remove.
6491
9a0b6970
SL
64922018-11-28 Stefan Liebler <stli@linux.ibm.com>
6493
6494 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6495
47d8d9a2
FW
64962018-11-28 Florian Weimer <fweimer@redhat.com>
6497
6498 * support/support.h (support_quote_string): Do not use str
6499 parameter name.
6500
b473b7d8
JM
65012018-11-27 Joseph Myers <joseph@codesourcery.com>
6502
6503 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6504 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6505
c74a91de
FW
65062018-11-27 Florian Weimer <fweimer@redhat.com>
6507
6508 * support/support.h (support_quote_string): Declare.
6509 * support/support_quote_string.c: New file.
6510 * support/tst-support_quote_string.c: Likewise.
6511 * support/Makefile (libsupport-routines): Add
6512 support_quote_string.
6513 (tests): Add tst-support_quote_string.
6514
d527c860
FW
65152018-11-27 Florian Weimer <fweimer@redhat.com>
6516
6517 [BZ #23927]
6518 CVE-2018-19591
6519 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6520 descriptor leak in case of ENODEV error.
6521
979cfed0
RÁE
65222018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6523
6524 [BZ #19767]
6525 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6526 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6527 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6528
ce035c6e
CD
65292018-11-26 Carlos O'Donell <carlos@redhat.com>
6530
6531 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6532 Error for unknown lines.
6533
2bd0bfcc
JM
65342018-11-26 Joseph Myers <joseph@codesourcery.com>
6535
6536 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6537 Touch additional files.
6538
affec03b
FW
65392018-11-26 Florian Weimer <fweimer@redhat.com>
6540
6541 [BZ #23907]
6542 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6543 double-frees.
6544
8ae74ead
RÁE
65452018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6546
6547 [BZ #19767]
6548 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6549 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6550 SHARED. Include sysdep.h.
6551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6552 ALWAYS_USE_VSYSCALL.
6553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6554 ALWAYS_USE_VSYSCALL.
6555
1e8bdc3a
RÁE
65562018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6557
6558 [BZ #19767]
6559 * nptl/Makefile (tests-static): Add tst-cond11-static.
6560 (tests): Likewise.
6561 * nptl/tst-cond11-static.c: New File.
6562 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6563 tst-affinity-static.
6564 (tests): Likewise.
6565 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6566 instead of SHARED.
6567 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6568 (USE_VSYSCALL): Likewise.
6569 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6570 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6571 instead of SHARED.
6572 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6573 SHARED.
6574 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6575 New.
6576
1283c478
JM
65772018-11-23 Joseph Myers <joseph@codesourcery.com>
6578
6579 [BZ #23915]
6580 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6581 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6582 Undefine.
6583
c089fd80
L
65842018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6585
6586 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6587 (tst-cet-legacy-1a-ARGS): New.
6588 ($(objpfx)tst-cet-legacy-1a): New target.
6589 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6590
cc6c89fa
JM
65912018-11-22 Joseph Myers <joseph@codesourcery.com>
6592
95edd05c
JM
6593 * conform/conformtest.py (CompileSubTest.__init__): Set
6594 self.run_early to False.
6595 (ExecuteSubTest.__init__): Likewise.
6596 (HeaderTests.run): Try running all non-optional, non-XFAILed
6597 compilation tests in a single execution of the compiler.
6598
cc6c89fa
JM
6599 * conform/conformtest.py (CompileSubTest): New class.
6600 (ExecuteSubTest): Likewise.
6601 (ElementTest.run): Rename to gen_subtests. Append tests to
6602 self.subtests instead of running them.
6603 (ConstantTest.run): Likewise.
6604 (SymbolTest.run): Likewise.
6605 (TypeTest.run): Likewise.
6606 (TagTest.run): Likewise.
6607 (FunctionTest.run): Likewise.
6608 (VariableTest.run): Likewise.
6609 (MacroFunctionTest.run): Likewise.
6610 (MacroStrTest.run): Likewise.
6611 (HeaderTests.handle_test_line): Generate subtests for tests.
6612 (HeaderTests.run): Run subtests for tests.
6613
a502c529
SN
66142018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6615
6616 * math/Versions (GLIBC_2.29): Add pow.
6617 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6618 symbol.
6619 * math/w_pow.c: New file.
6620 * sysdeps/i386/fpu/w_pow.c: New file.
6621 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6622 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6623 and add necessary aliases.
6624 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6625 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6626 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6627 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6628 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6629 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6630 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6631 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6632 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6633 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6634 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6635 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6636 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6637 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6638 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6643 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6644 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6645 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6646 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6647 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6648 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6649 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6650 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6651 __pow.
6652 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6653 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6654 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6655
718d6542
SN
66562018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6657
6658 * math/Versions (GLIBC_2.29): Add log2.
6659 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6660 symbol.
6661 * math/w_log2.c: New file.
6662 * sysdeps/i386/fpu/w_log2.c: New file.
6663 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6664 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6665 and add necessary aliases.
6666 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6667 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6668 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6669 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6670 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6671 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6672 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6673 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6674 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6675 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6676 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6677 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6678 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6679 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6680 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6685 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6686 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6687 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6688 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6689 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6690 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6691 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6692
f29b7c49
SN
66932018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6694
6695 * math/Versions (GLIBC_2.29): Add log.
6696 * math/w_log_compat.c (__log_compat): Change to versioned compat
6697 symbol.
6698 * math/w_log.c: New file.
6699 * sysdeps/i386/fpu/w_log.c: New file.
6700 * sysdeps/ia64/fpu/e_log.S: Update.
6701 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6702 and add necessary aliases.
6703 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6704 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6705 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6706 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6707 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6708 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6709 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6710 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6711 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6712 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6713 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6714 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6715 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6716 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6717 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6722 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6723 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6724 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6725 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6726 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6727 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6728 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6729 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6730 __log.
6731 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6732 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6733 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6734 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6735
c20a1056
SN
67362018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6737
6738 * math/Versions (GLIBC_2.29): Add exp and exp2.
6739 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6740 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6741 * math/w_exp_compat.c (__exp_compat): Likewise.
6742 * math/w_exp.c: New file.
6743 * math/w_exp2.c: New file.
6744 * sysdeps/i386/fpu/w_exp.c: New file.
6745 * sysdeps/i386/fpu/w_exp2.c: New file.
6746 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6747 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6748 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6749 and add necessary aliases.
6750 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6751 and add necessary aliases.
6752 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6753 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6754 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6755 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6756 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6757 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6758 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6759 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6760 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6761 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6762 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6763 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6764 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6765 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6766 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6767 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6768 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6773 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6774 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6775 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6776 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6777 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6778 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6779 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6780 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6781 (__ieee754_exp): Rename to __exp.
6782 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6783 (__ieee754_exp): Rename to __exp.
6784 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6785 (__ieee754_exp): Rename to __exp.
6786 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6787 __exp.
6788 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6789
bcdaad21
DD
67902018-11-20 DJ Delorie <dj@redhat.com>
6791
6792 * malloc/malloc.c (tcache_entry): Add key field.
6793 (tcache_put): Set it.
6794 (tcache_get): Likewise.
6795 (_int_free): Check for double free in tcache.
6796 * malloc/tst-tcfree1.c: New.
6797 * malloc/tst-tcfree2.c: New.
6798 * malloc/Makefile: Run the new tests.
6799 * manual/probes.texi: Document memory_tcache_double_free probe.
6800
6801 * dlfcn/dlerror.c (check_free): Prevent double frees.
6802
5770c0ad
WD
68032018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6804
6805 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6806
9a62a939
JM
68072018-11-20 Joseph Myers <joseph@codesourcery.com>
6808
6809 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6810 in tests. Use names for format arguments.
6811 (ConstantTest.run): Likewise.
6812 (SymbolTest.run): Likewise.
6813 (TypeTest.run): Likewise.
6814 (TagTest.run): Likewise.
6815 (FunctionTest.run): Likewise.
6816 (VariableTest.run): Likewise.
6817 (MacroFunctionTest.run): Likewise.
6818 (MacroStrTest.run): Likewise.
6819 (HeaderTests.__init__): Set self.num_tests.
6820 (HeaderTests.handle_test_line): Set test.num. Increment
6821 self.num_tests.
6822
b15b1a95
ST
68232018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6824
6825 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
6826 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
6827 SEEK_SET.
6828
0c7f97ae
MH
68292018-11-19 Mao Han <han_mao@c-sky.com>
6830
6831 * scripts/config.guess: Update to version 2018-08-29.
6832 * scripts/config.sub: Update to version 2018-08-29.
6833
35e3fbc4
FW
68342018-11-19 Florian Weimer <fweimer@redhat.com>
6835
6836 support: Print timestamps in timeout handler.
6837 * support/support_test_main.c (print_timestamp): New function.
6838 (signal_handler): Use it to print the termination time and the
6839 time of the last write to standard output.
6840
c75772e3
ZW
68412018-11-16 Zack Weinberg <zackw@panix.com>
6842 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6843
6844 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
6845 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
6846 argument.
6847 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
6848 and add flags argument. Check flags instead of __ldbl_is_dbl when
6849 deciding whether to set is_long_double.
6850 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
6851 passing zero for flags argument.
6852 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
6853
6854 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6855 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
6856 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
6857 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
6858 variable names. Remove libc_hidden_def/libc_hidden_proto from
6859 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
6860 longer called from within the library.
6861 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
6862 for __nldbl___vstrfmon_l, declare it explicitly.
6863
6864 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
6865
346ef23f
ST
68662018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6867
6868 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
6869 macros
6870 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
6871 F_SETLK64, F_SETLKW64, respectively.
6872 * sysdeps/mach/hurd/f_setlk.c: New file.
6873 * sysdeps/mach/hurd/f_setlk.h: New file.
6874 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
6875 f_setlk.
6876 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
6877 (__libc_fcntl): Move non-flock operations to...
6878 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
6879 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
6880
de20b81a
PE
68812018-11-15 Paul Eggert <eggert@cs.ucla.edu>
6882
5d8af156
PE
6883 mktime: DEBUG_MKTIME cleanup
6884 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
6885 And it’s no longer needed now that glibc and Gnulib both have
6886 their own testing mechanisms for mktime.
6887 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
6888
86aece3b
PE
6889 mktime: fix non-EOVERFLOW errno handling
6890 [BZ#23789]
6891 mktime was not properly reporting failures when the underlying
6892 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
6893 them like EOVERFLOW failures, and set errno to EOVERFLOW.
6894 The problem could happen on non-glibc platforms, with Gnulib.
6895 * time/mktime.c (guess_time_tm): Remove, replacing with ...
6896 (tm_diff): ... this simpler function, which does not change errno.
6897 All callers changed to deal with errno themselves.
6898 (ranged_convert, __mktime_internal): Return failure immediately if
6899 the underlying function reports any failure other than EOVERFLOW.
6900 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
6901 gap code fails.
6902
f6b3331b
PE
6903 mktime: fix bug with Y2038 DST transition
6904 [BZ#23789]
6905 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
6906 mishandle a DST transition that jumps over the Y2038 boundary.
6907 No such DST transitions are known so this is only a theoretical
6908 bug, but we might as well do things right.
6909
efbdddc3
PE
6910 mktime: make more room for overflow
6911 [BZ#23789]
6912 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
6913 This is so that we can add tm_diff results to a previous guess,
6914 which will be useful in a later patch.
6915
6c90d759
PE
6916 mktime: simplify offset guess
6917 [BZ#23789]
6918 * time/mktime.c (__mktime_internal): Omit excess precision.
6919
32c12f3f
PE
6920 mktime: new test for mktime failure
6921 [BZ#23789]
6922 Based on a test suggested by Albert Aribaud in:
6923 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
6924 * time/Makefile (tests): Add bug-mktime4.
6925 * time/bug-mktime4.c: New file.
6926
de20b81a
PE
6927 mktime: fix EOVERFLOW bug
6928 [BZ#23789]
6929 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
6930 Include libc-config.h, not config.h, for __set_errno.
6931 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
6932
8c6c3fb0
ST
69332018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6934
6935 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
6936 __attribute_copy__ to copy attributes from name. Drop static qualifier
6937 to avoid warnings about leaf attribute not having effect on static
6938 functions.
6939
6923f6db
FW
69402018-11-13 Florian Weimer <fweimer@redhat.com>
6941
6942 * malloc/malloc.c (fastbin_push_entry): New function.
6943 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6944 (REMOVE_FB): Remove macro.
6945 (_int_malloc): Use fastbin_pop_entry and reindent.
6946 (_int_free): Use fastbin_push_entry.
6947 (malloc_consolidate): Use atomic_exchange_acquire.
6948
53f5c659
JM
69492018-11-13 Joseph Myers <joseph@codesourcery.com>
6950
0c096dcf
JM
6951 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6952 alias attribute, not with strong_alias.
6953
9c4b457e
JM
6954 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6955 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6956 with additional parameter thread.
6957 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6958 in terms of __hidden_ver2.
6959 (hidden_tls_def): New macro.
6960 (libc_hidden_tls_def): Likewise.
6961 (rtld_hidden_tls_def): Likewise.
6962 (libm_hidden_tls_def): Likewise.
6963 (libmvec_hidden_tls_def): Likewise.
6964 (libresolv_hidden_tls_def): Likewise.
6965 (librt_hidden_tls_def): Likewise.
6966 (libdl_hidden_tls_def): Likewise.
6967 (libnss_files_hidden_tls_def): Likewise.
6968 (libnsl_hidden_tls_def): Likewise.
6969 (libnss_nisplus_hidden_tls_def): Likewise.
6970 (libutil_hidden_tls_def): Likewise.
6971 (libutil_hidden_tls_def): Likweise.
6972 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6973 libc_hidden_tls_def.
6974 (__sim_disabled_exceptions_thread): Likewise.
6975 (__sim_round_mode_thread): Likewise.
6976
53f5c659
JM
6977 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6978 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6979 copy attributes from name.
6980
092dfde6
JM
69812018-11-12 Joseph Myers <joseph@codesourcery.com>
6982
f578f97b
JM
6983 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6984 Use __attribute_copy__ to copy attributes from name.
6985
9a7c643a
JM
6986 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6987 with __hidden_ver1 call.
6988 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6989 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6990 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6991 (__cosf): Do not declare here.
6992 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6993 (__sincosf): Do not declare here.
6994 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6995 (__sinf): Do not declare here.
6996
092dfde6
JM
6997 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6998 (__BIG_ENDIAN): Likewise.
6999 (__BYTE_ORDER): Likewise.
7000 (strong_alias): Likewise.
7001 (_strong_alias): Likewise.
7002
1ecba1fa
FW
70032018-11-12 Florian Weimer <fweimer@redhat.com>
7004
7005 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7006 function. Move after the definition of in_smallbin_range. Do not
7007 use __builtin_expect for paths that lead to a noreturn function.
7008 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7009 because it is unclear whether this is in fact an unlikely
7010 condition.
7011 (_int_malloc, _int_free): Adjust.
7012 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7013 variables.
7014 * malloc/arena.c (heap_trim): Likewise.
7015
434c34bd
ST
70162018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7017
7018 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7019 it, free it if needed.
7020 (reauthenticate): Test and use ccwdir.
7021 (child_init_port): In non-resetids case, test and use ccwdir.
7022 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
7023 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7024 * hurd/hurd/port.h (_hurd_port_move): New function.
7025 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7026 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
7027 * hurd/Versions (_hurd_port_move): Export function.
7028 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7029 symbol.
58bb655a
ST
7030 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7031 of dtablesize for allocating dtable_cloexec.
434c34bd 7032
1626a1cf
MS
70332018-11-09 Martin Sebor <msebor@redhat.com>
7034
7035 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7036 it's already defined.
7037 (_strong_alias): Use __attribute_copy__.
7038 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7039 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7040 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7041 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7042 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7043 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7044 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7045 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7046 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7047 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7048 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7049 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7050 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7051 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7052 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7053 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7054 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7055 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7056 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7057
968ed530
GG
70582018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7059
7060 * misc/tst-efgcvt.c: Include support/check.h and
7061 support/test-driver.c. Do not include test-skeleton.c.
7062 (error_count): Remove.
7063 (output_error): Replace increments to error_count with calls to
7064 support_record_failure.
7065 (output_r_error): Likewise.
7066 (special): Likewise.
7067 (do_test): Unconditionally return zero.
7068 (TEST_FUNCTION): Remove.
7069
c3ec0972
JM
70702018-11-09 Joseph Myers <joseph@codesourcery.com>
7071
91faaa93
JM
7072 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7073 not $(@D)/scratch.
7074 ($(linknamespace-header-tests)): Likewise.
7075
c3ec0972
JM
7076 * conform/conformtest.py: New file.
7077 * conform/conformtest.pl: Remove.
7078 * conform/GlibcConform.pm: Likewise.
7079 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7080 (KEYWORDS_C99): Likewise.
7081 (KEYWORDS): Likewise.
7082 * conform/Makefile ($(conformtest-header-tests)): Use
7083 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7084 option. Use --header instead of --headers.
7085 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7086 function entries.
7087 * conform/data/spawn.h-data: Likewise.
7088 * conform/data/fcntl.h-data (openat): Add space after function
7089 name.
7090 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7091 (wcscasecmp_l): Likewise.
7092 * conform/data/termios.h-data (c_cc): Add space after element
7093 name.
7094
43257c33
GG
70952018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7096
7097 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7098 instead of manually comparing and reporting mismatching strings.
7099 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7100 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7101
e5de3b5b
JM
71022018-11-08 Joseph Myers <joseph@codesourcery.com>
7103
7104 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7105 __ASSUME_SOCKETCALL.
7106 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7107 (__ASSUME_SOCKETCALL): Remove.
7108 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7109 (__ASSUME_SOCKETCALL): Likewise.
7110 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7111 (__ASSUME_SOCKETCALL): Likewise.
7112 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7113 (__ASSUME_SOCKETCALL): Likewise.
7114 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7115 (__ASSUME_SOCKETCALL): Likewise.
7116 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7117 (__ASSUME_SOCKETCALL): Likewise.
7118 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7119 (__ASSUME_SOCKETCALL): Likewise.
7120
d524fa6c
L
71212018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7122
7123 [BZ #23509]
7124 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7125 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7126 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7127 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7128 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7129 lc_unknown.
7130
ac806026
AH
71312018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7132
7133 [BZ #17630]
7134 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7135
596cc360
JM
71362018-11-07 Joseph Myers <joseph@codesourcery.com>
7137
7138 [BZ #23867]
7139 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7140 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7141 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7142 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7143
00c86a37
AZ
71442018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7145
7146 * support/support_test_compare_string.c
7147 (support_test_compare_string): Fix printf format.
7148
1df872fd
FW
71492018-11-07 Florian Weimer <fweimer@redhat.com>
7150
7151 Implement TEST_COMPARE_STRING.
7152 * support/check.h (TEST_COMPARE_STRING): Define.
7153 (support_test_compare_string): Declare.
7154 * support/Makefile (libsupport-routines): Add
7155 support_test_compare_string.
7156 (tests): Add tst-test_compare_string.
7157 * support/support_test_compare_string.c: New file.
7158 * support/tst-test_compare_string.c: Likewise.
7159
295132ff
AS
71602018-11-07 Andreas Schwab <schwab@suse.de>
7161
7162 [BZ #23864]
7163 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7164 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7165 Undef.
7166
e143ceba
JM
71672018-11-06 Joseph Myers <joseph@codesourcery.com>
7168
7169 [BZ #23862]
7170 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7171 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7172 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7173 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7174 Likewise.
7175
4a938cb2
FW
71762018-11-06 Florian Weimer <fweimer@redhat.com>
7177
7178 [BZ #17405]
7179 * posix/Makefile (routines): Add spawn_faction_addchdir.
7180 (tests): Add tst-spawn-chdir.
7181 * posix/Versions (GLIBC_2.29): Add
7182 posix_spawn_file_actions_addchdir_np.
7183 * posix/spawn_faction_addchdir.c: New file.
7184 * posix/spawn_faction_destroy.c
7185 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7186 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7187 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7188 chdir_action.
7189 * posix/tst-spawn-chdir.c: New file.
7190 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7191 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7192 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7193 posix_spawn_file_actions_addchdir_np.
7194 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7195 Likewise.
7196 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7197 Likewise.
7198 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7199 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7200 Likewise.
7201 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7202 Likewise.
7203 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7204 Likewise.
7205 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7206 Likewise.
7207 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7208 Likewise.
7209 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7210 Likewise.
7211 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7212 (GLIBC_2.29): Likewise.
7213 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7214 (GLIBC_2.29): Likewise.
7215 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7216 (GLIBC_2.29): Likewise.
7217 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7218 (GLIBC_2.29): Likewise.
7219 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7220 Likewise.
7221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7222 (GLIBC_2.29): Likewise.
7223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7224 (GLIBC_2.29): Likewise.
7225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7226 (GLIBC_2.29): Likewise.
7227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7228 (GLIBC_2.29): Likewise.
7229 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7230 Likewise.
7231 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7232 Likewise.
7233 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7234 Likewise.
7235 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7236 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7237 Likewise.
7238 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7239 Likewise.
7240 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7241 Likewise.
7242 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7243 Likewise.
7244
7597b0c7
GG
72452018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7246
7247 * misc/Makefile (tests): Add tst-ldbl-error.
7248 * misc/tst-ldbl-error.c: New file.
7249
9771e6cb
GG
72502018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7251
7252 * misc/Makefile (tests): Add tst-ldbl-warn.
7253 * misc/tst-ldbl-warn.c: New file.
7254
2c03961f
GG
72552018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7256
7257 * argp/Makefile (tests): Add tst-ldbl-argp.
7258 * argp/tst-ldbl-argp.c: New file.
7259
6d6ee046
AS
72602018-11-05 Arjun Shankar <arjun@redhat.com>
7261
7262 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7263 __gconv_path_elem and call __gconv_get_path unconditionally.
7264
bd3b0fba
AS
72652018-11-05 Andreas Schwab <schwab@suse.de>
7266
7267 [BZ #22927]
7268 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7269 creating the first helper thread failed.
7270
2e96e980
ST
72712018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7272
7273 * sysdeps/mach/hurd/msync.c: New file.
7274
6e36266c
FW
72752018-11-02 Florian Weimer <fweimer@redhat.com>
7276
7277 * support/shell-container.c (copy_func): Call
7278 support_copy_file_range instead of copy_file_range to support
7279 cross-device copies.
7280
599f7bee
FW
72812018-11-02 Florian Weimer <fweimer@redhat.com>
7282
7283 * support/test-container.c: Include <libc-pointer-arith.h> for
7284 ALIGN_UP.
7285
ff48ea67
ZL
72862018-11-01 Zong Li <zong@andestech.com>
7287
af1d5782
ZL
7288 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7289 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7290 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7291 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7292
ff48ea67
ZL
7293 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7294 variable to avoid overlap arguments.
7295
daea71c2
JM
72962018-11-01 Joseph Myers <joseph@codesourcery.com>
7297
eac4405a
JM
7298 * posix/bug-regex22.c (main): Use puts with distinct error
7299 messages for unexpected success of re_compile_pattern, not printf
7300 with NULL argument to %s.
7301
6f30e59f
JM
7302 * stdio-common/bug22.c: Include <libc-diag.h>.
7303 (do_test): Disable -Wformat-overflow= warnings around fprintf
7304 calls outputting more than INT_MAX characters.
7305 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7306 around printf call with NULL %s argument.
7307
daea71c2
JM
7308 [BZ #23848]
7309 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7310 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7311 Undefine.
7312 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7313 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7314 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7315 (__ASSUME_SENDTO_SYSCALL): Likewise.
7316 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7317 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7318 [!__arch64__].
7319 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7320 (__ASSUME_CONNECT_SYSCALL): Likewise.
7321 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7322 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7323 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7324 Define.
7325 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7326 Likewise.
7327 [__LINUX_KERNEL_VERSION >= 0x040400]
7328 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7329 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7330 Remove.
7331 (listen): Likewise.
7332 (setsockopt): Likewise.
7333
8e3c00db
FN
73342018-11-01 Fredrik Noring <noring@nocrew.org>
7335
7336 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7337 with the ISA override.
7338
9c3dbdbe
RAE
73392018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7340
7341 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7342 #endif.
7343
e3a88b3e
ST
73442018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7345
a67377e7 7346 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 7347 translate the error message.
a67377e7
ST
7348 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7349 printing trailing whitespaces refused by git.
7350 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7351 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 7352 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 7353
3ca235ed
JM
73542018-10-30 Joseph Myers <joseph@codesourcery.com>
7355
7356 * conform/linknamespace.py: New file.
7357 * conform/linknamespace.pl: Remove file.
7358 * conform/Makefile ($(linknamespace-header-tests)): Use
7359 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7360 option.
7361
60708030
FW
73622018-10-30 Florian Weimer <fweimer@redhat.com>
7363
7364 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7365 memory leaks.
7366
a91e9301
FW
73672018-10-30 Florian Weimer <fweimer@redhat.com>
7368
7369 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7370
07da99aa
FW
73712018-10-30 Florian Weimer <fweimer@redhat.com>
7372
7373 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7374 support_blob_repeat.
7375
f5e7e959
FW
73762018-10-30 Florian Weimer <fweimer@redhat.com>
7377
7378 Avoid spurious test failures in stdlib/test-bz22786.
7379 * support/Makefile (libsupport-routines): Add blob_repeat.
7380 (tests): Add tst-support_blob_repeat.
7381 * support/blob_repeat.h: New file.
7382 * support/blob_repeat.c: Likewise.
7383 * support/tst-support_blob_repeat.c: Likewise.
7384 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7385 support_blob_repeat_allocate.
7386
2dd12baa
AS
73872018-10-30 Andreas Schwab <schwab@suse.de>
7388
7389 [BZ #23125]
7390 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7391 Don't use tail call.
7392 * elf/tst-unwind-main.c: New file.
7393 * elf/Makefile (tests): Add tst-unwind-main.
7394 (CFLAGS-tst-unwind-main.c): Define.
7395
6b5c8607 73962018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
7397
7398 [BZ #23791]
7399 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7400 n_cs_precedes to 0.
7401 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7402
c6982f7e
JM
74032018-10-29 Joseph Myers <joseph@codesourcery.com>
7404
954cf3c2
JM
7405 * conform/glibcconform.py: Do not import shutil.
7406 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7407 of mkdtemp.
7408
c6982f7e
JM
7409 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7410 critic_missing for versions before 3.4.
7411 * configure: Regenerated.
7412 * manual/install.texi (Tools for Compilation): Document
7413 requirement for Python to build glibc.
7414 * INSTALL: Regenerated.
7415 * Rules [PYTHON]: Make code unconditional.
7416 * benchtests/Makefile [PYTHON]: Likewise.
7417 * conform/Makefile [PYTHON]: Likewise.
7418 * manual/Makefile [PYTHON]: Likewise.
7419 * math/Makefile [PYTHON]: Likewise.
7420
46a7f24c
ST
74212018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7422
7423 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 7424 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 7425 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
7426 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7427 _hurd_intr_rpc_msg_about_to global point to start of controlled
7428 assembly snippet. Make it check canceled flag.
7429 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7430 the _hurd_intr_rpc_msg_about_to point.
7431 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7432 issue, remove cancel flag check.
46a7f24c 7433
e5b8756d
JM
74342018-10-26 Joseph Myers <joseph@codesourcery.com>
7435
7436 * scripts/build-many-glibcs.py: Remove compatibility for missing
7437 os.cpu_count and re.fullmatch.
7438
ba5b14c7
SN
74392018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7440
7441 [BZ #23822]
7442 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7443 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7444 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7445
fe61f17c
JM
74462018-10-25 Joseph Myers <joseph@codesourcery.com>
7447
7448 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7449 macro.
7450
7c5e34d7
FW
74512018-10-25 Florian Weimer <fweimer@redhat.com>
7452
7453 [BZ #23562]
7454 [BZ #23821]
7455 XFAIL siginfo_t si_band conform test on sparc64.
7456 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7457 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7458 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7459 (conformtest-xfail-conds): Add sparc64-linux.
7460 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7461 sparc64.
7462 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7463
5b784e88
JM
74642018-10-25 Joseph Myers <joseph@codesourcery.com>
7465
7466 * elf/elf.h (NT_MIPS_DSP): New macro.
7467 (NT_MIPS_FP_MODE): Likewise.
7468
41432ebe
ZL
74692018-10-25 Zong Li <zong@andestech.com>
7470
7471 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7472 name by adding the file extension (.so).
7473
d026efea
ST
74742018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7475
7476 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7477 (test-xfail-ISO11/threads.h/linknamespace,
7478 test-xfail-ISO11/threads.h/conform): Add.
7479
b71ac2b9
JM
74802018-10-24 Joseph Myers <joseph@codesourcery.com>
7481
7482 * math/gen-libm-test.py: Import os.
7483 (ALL_FLOATS_MANUAL): New constant.
7484 (ALL_FLOATS_SUFFIX): Likewise.
7485 (Ulps.all_functions): New function.
7486 (real_all_ulps): Likewise.
7487 (generate_err_table_sub): Likewise.
7488 (generate_err_table): Likewise.
7489 (main): Handle -s and -m options.
7490 * manual/libm-err-tab.pl: Remove.
7491 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7492 instead of libm-err-tab.pl.
7493 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7494 != no].
7495 * manual/install.texi (Tools for Compilation): Document
7496 requirement for Python to build manual.
7497 * INSTALL: Regenerated.
7498
6b5c8607 74992018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
7500
7501 * bits/time64.h: New file.
7502 * include/time.h: Replace internal_time_t with __time64_t.
7503 * posix/bits/types (__time64_t): Add.
7504 * stdlib/Makefile: Add bits/time64.h to includes.
7505 * time/tzfile.c: Replace internal_time_t with __time64_t.
7506
97d91fcc 75072018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
7508
7509 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7510 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7511 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7512 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7513 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7514 prototype.
7515 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7516 * posix/spawn_faction_addclose.c
7517 (__posix_spawn_file_actions_addclose): Add hidden definition.
7518 * posix/spawn_faction_adddup2.c
7519 (__posix_spawn_file_actions_adddup2): Likewise.
7520 * posix/spawn_faction_destroy.c
7521 (__posix_spawn_file_actions_destroy): Likewise.
7522 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7523 Likewise.
7524 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7525 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7526 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7527 Likewise.
7528 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7529 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7530 Likewise.
7531
2954daf0
AS
75322018-10-24 Andreas Schwab <schwab@suse.de>
7533
7534 [BZ #18093]
7535 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7536 format cache.
7537 * elf/cache.c (print_cache): Likewise.
7538
6b5c8607 75392018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
7540
7541 * bits/timesize.h: New file.
7542 * stdlib/Makefile (headers): Add bits/timesize.h.
7543 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7544 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7545 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7546 (__SEM_PAD_AFTER_TIME): Likewise.
7547 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7548 (__SHM_PAD_AFTER_TIME): Likewise.
7549 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7550 (__MSQ_PAD_BEFORE_TIME): Likewise.
7551 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7552 (__SEM_PAD_BEFORE_TIME): Likewise.
7553 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7554 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7555 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
7556 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7557 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7558 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
7559 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7560 (__SEM_PAD_BEFORE_TIME): Likewise.
7561 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7562 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7563 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7564 (__MSQ_PAD_BEFORE_TIME): Likewise.
7565 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7566 (__SEM_PAD_BEFORE_TIME): Likewise.
7567 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7568 (__SHM_PAD_BEFORE_TIME): Likewise.
7569 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7570 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7571 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7572
7cc65773
L
75732018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7574
7575 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7576 USE_RDTSCP is defined.
7577 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7578 USE_RDTSCP is defined.
7579
c3d8dc45
AZ
75802018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7581
18ad0de6
AZ
7582 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7583 defined.
7584
c3d8dc45
AZ
7585 [BZ #23709]
7586 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7587 independently of other flags.
7588
f1034472
FW
75892018-10-23 Florian Weimer <fweimer@redhat.com>
7590
7591 * time/tst-mktime2.c (N_STRINGS): Remove.
7592 (set_timezone): New function.
7593 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7594 (mktime_test1): Report localtime failure and check errno value.
7595 Use TEST_COMPARE.
7596 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7597 (do_test): Remove alarm call. Use set_timezone and array_length.
7598
367d7cc2
AS
75992018-10-23 Andreas Schwab <schwab@suse.de>
7600
7601 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7602 (__start_context): Use END instead of PSEUDO_END.
7603
be8ff03f
JM
76042018-10-22 Joseph Myers <joseph@codesourcery.com>
7605
029ad711
JM
7606 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7607 version to 4.19.
7608
8190520f
JM
7609 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7610 version to 4.19.
7611
be8ff03f
JM
7612 [BZ #23793]
7613 * wcsmbs/c32rtomb.c: New file.
7614 * wcsmbs/mbrtoc32.c: Likewise.
7615 * wcsmbs/tst-c32-state.c: Likewise.
7616 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7617 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7618 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7619 (tests): Add tst-c32-state.
7620 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7621 $(gen-locales).
7622
2dd8e58c
L
76232018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7624
7625 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7626 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7627
d0a74159
JM
76282018-10-19 Joseph Myers <joseph@codesourcery.com>
7629
7630 [BZ #23794]
7631 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7632 pair and return 0 in that case, and use saved character to
7633 interpret following character.
7634 * wcsmbs/tst-c16-surrogate.c: New file.
7635 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7636 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7637 Depend on $(gen-locales)
7638
f997b4be
IYM
76392018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7640
7641 [BZ #23562]
7642 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7643 (struct siginfo_t): Use correct type for si_band.
7644
53b2bb87
FW
76452018-10-19 Florian Weimer <fweimer@redhat.com>
7646
7647 [BZ #23689]
7648 * resource/bits/types/struct_rusage.h (struct rusage): Update
7649 comment on struct. Remove extraneous field comment.
7650
0a271c8f
DM
76512018-10-18 David S. Miller <davem@davemloft.net>
7652
94a3a27f
DM
7653 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7654 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7655 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7656 sysdep_routines in subdir elf.
7657 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7658 version for __vdso_clock_gettime.
7659 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7660 Define.
7661 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7662 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7663
0a271c8f
DM
7664 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7665
72771e53
L
76662018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7667
7668 * sysdeps/i386/init-arch.h: Removed.
7669 * sysdeps/i386/i586/init-arch.h: Likewise.
7670 * sysdeps/i386/i686/init-arch.h: Likewise.
7671 * sysdeps/i386/i686/hp-timing.h: Likewise.
7672 * sysdeps/x86_64/hp-timing.h: Likewise.
7673 * sysdeps/i386/isa.h: New file.
7674 * sysdeps/i386/i586/isa.h: Likewise.
7675 * sysdeps/i386/i686/isa.h: Likewise.
7676 * sysdeps/x86_64/isa.h: Likewise.
7677 * sysdeps/x86/hp-timing.h: New file.
7678 * sysdeps/x86/init-arch.h: Include <isa.h>.
7679
c2b7ccad
JM
76802018-10-17 Joseph Myers <joseph@codesourcery.com>
7681
7682 * math/libm-test-pow.inc (pow_test_data): Do not allow
7683 divide-by-zero exception for pow(+/- 0, -Inf).
7684
26756e57
ZW
76852018-10-17 Zack Weinberg <zackw@panix.com>
7686
7687 * manual/job.texi (Job Control is Optional): Remove node, as
7688 job control has not been optional in quite some time.
7689 (Job Control): Mention briefly that systems older than
7690 POSIX.1-2001 might not support job control.
7691 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7692 defined on systems conforming to POSIX.1-2001.
7693
c5288d37
AS
76942018-10-17 Arjun Shankar <arjun@redhat.com>
7695
7696 [BZ #22062]
7697 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7698 indentation.
7699 * (__gconv_read_conf): Mark function static.
7700 * (once): New static variable.
7701 * (__gconv_load_conf): New function.
7702 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7703 * iconv/gconv_db.c (once): Remove static variable.
7704 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7705 __gconv_read_conf.
7706 * (__gconv_find_transform): Likewise.
7707 * iconv/tst-iconv-mt.c: New test.
7708 * iconv/Makefile: Add tst-iconv_mt.
7709
8c8d2a8a
JM
77102018-10-17 Joseph Myers <joseph@codesourcery.com>
7711
7712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
7713 bits/shm-pad.h.
7714 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7715 (shmatt_t): Define as __syscall_ulong_t.
7716 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7717 and [__SHM_PAD_AFTER_TIME].
7718 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7719 Define shm_segsz and associated padding based on
7720 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7721 Use __syscall_ulong_t instead of unsigned long int.
7722 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7723 unsigned long int.
7724 [__USE_MISC] (struct shm_info): Likewise.
7725 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7726 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7727 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7728 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7729 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7730 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7731 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7732 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7733 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7734 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7735 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7736
7737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
7738 bits/shmlba.h.
7739 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7740 (SHMLBA): Remove macro.
7741 (__getpagesize): Remove function declaration.
7742 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7743 <bits/shmlba.h>.
7744 (SHMLBA): Remove macro.
7745 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7746 <bits/shmlba.h>.
7747 (SHMLBA): Remove macro.
7748 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7749 <bits/shmlba.h>.
7750 (SHMLBA): Remove macro.
7751 (__getpagesize): Remove function declaration.
7752 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7753 <bits/shmlba.h>.
7754 (SHMLBA): Remove macro.
7755 (__getshmlba): Remove function declaration.
7756 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7757 (SHMLBA): Remove macro.
7758 (__getpagesize): Remove function declaration.
7759 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7760 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7761 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7762 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7763 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7764 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7765 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7766 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7767 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7768 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7769
403b4feb
SL
77702018-10-17 Stefan Liebler <stli@linux.ibm.com>
7771
7772 [BZ #23275]
7773 * nptl/tst-mutex10.c: New File.
7774 * nptl/Makefile (tests): Add tst-mutex10.
7775 (tst-mutex10-ENV): New variable.
7776 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7777 Ensure that elision path is used if elision is available.
7778 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7779 Likewise.
7780 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7781 Likewise.
7782 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7783 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7784 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7785 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7786 Likewise.
7787 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7788 (__pthread_mutex_cond_lock_adjust): Likewise.
7789 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7790 Likewise.
7791 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7792 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7793 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7794 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7795 Add comments.
7796 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7797 Use atomic_load_relaxed and atomic_store_relaxed.
7798 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7799 Use atomic_store_relaxed.
7800
ce5a7de6
AS
78012018-10-17 Andreas Schwab <schwab@suse.de>
7802
7803 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7804 * crypt/badsalttest.c (TIMEOUT): Likewise.
7805 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7806 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7807 * io/test-lfs.c (TIMEOUT): Likewise.
7808 * libio/tst-atime.c (TIMEOUT): Likewise.
7809 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7810 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7811 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7812 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7813 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7814 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7815 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7816 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7817 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7818 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7819 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7820 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7821 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7822 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7823 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
7824 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
7825 * nptl/tst-once2.c (TIMEOUT): Likewise.
7826 * nptl/tst-once3.c (TIMEOUT): Likewise.
7827 * nptl/tst-once4.c (TIMEOUT): Likewise.
7828 * nptl/tst-robust8.c (TIMEOUT): Likewise.
7829 * nptl/tst-robust9.c (TIMEOUT): Likewise.
7830 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
7831 * nptl/tst-sem14.c (TIMEOUT): Likewise.
7832 * nptl/tst-sem6.c (TIMEOUT): Likewise.
7833 * nptl/tst-signal3.c (TIMEOUT): Likewise.
7834 * nptl/tst-spin4.c (TIMEOUT): Likewise.
7835 * nptl/tst-tls3.c (TIMEOUT): Likewise.
7836 * nptl/tst-tls4.c (TIMEOUT): Likewise.
7837 * posix/tst-chmod.c (TIMEOUT): Likewise.
7838 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
7839 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
7840 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
7841 * posix/tst-regex2.c (TIMEOUT): Likewise.
7842 * posix/tst-waitid.c (TIMEOUT): Likewise.
7843 * rt/tst-aio.c (TIMEOUT): Likewise.
7844 * rt/tst-aio10.c (TIMEOUT): Likewise.
7845 * rt/tst-aio4.c (TIMEOUT): Likewise.
7846 * rt/tst-aio5.c (TIMEOUT): Likewise.
7847 * rt/tst-aio6.c (TIMEOUT): Likewise.
7848 * rt/tst-aio64.c (TIMEOUT): Likewise.
7849 * rt/tst-aio7.c (TIMEOUT): Likewise.
7850 * rt/tst-aio9.c (TIMEOUT): Likewise.
7851 * rt/tst-clock.c (TIMEOUT): Likewise.
7852 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
7853 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
7854 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
7855 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
7856 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
7857 * rt/tst-timer4.c (TIMEOUT): Likewise.
7858 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
7859 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
7860 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
7861 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
7862 * time/tst-ftime.c (TIMEOUT): Likewise.
7863 * timezone/tst-tzset.c (TIMEOUT): Likewise.
7864
6b5c8607 78652018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
7866
7867 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
7868 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
7869 for thunderX2.
7870
bcdb1bfa
JM
78712018-10-15 Joseph Myers <joseph@codesourcery.com>
7872
7873 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7874 bits/sem-pad.h.
7875 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
7876 instead of <bits/wordsize.h>.
7877 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
7878 and [__SEM_PAD_AFTER_TIME].
7879 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
7880 __syscall_ulong_t instead of unsigned long int.
7881 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
7882 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
7883 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
7884 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
7885 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
7886 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
7887 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
7888 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
7889 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7890 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7891 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7892
f4efbdfb
PE
78932018-10-14 Paul Eggert <eggert@cs.ucla.edu>
7894
620a5d4c
PE
7895 regex: simplify by using intprops.h
7896 [BZ#23744]
7897 * posix/regex_internal.h [_LIBC]: Include intprops.h.
7898 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
7899 intprops.h defines them.
7900
f4efbdfb
PE
7901 regex: __builtin_expect → __glibc_unlikely
7902 [BZ#23744]
7903 This refactoring was prompted by a problem when the regex code is
7904 used as part of Gnulib and when the builder’s compiler does not grok
7905 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
7906 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
7907 Although this refactoring does not fix the problem directly,
7908 we might as well have Gawk use the now-preferred glibc style for when
7909 __builtin_expect is unavailable.
7910 * posix/regex_internal.h (BE): Remove.
7911 All uses replaced by __glibc_unlikely or __glibc_likely.
7912
9f9feb6d
JM
79132018-10-11 Joseph Myers <joseph@codesourcery.com>
7914
7915 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7916 bits/msq-pad.h.
7917 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
7918 instead of <bits/wordsize.h>.
7919 (msgqnum_t): Define as __syscall_ulong_t.
7920 (msglen_t): Likewise.
7921 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
7922 and [__MSQ_PAD_AFTER_TIME].
7923 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
7924 __syscall_ulong_t instead of unsigned long int.
7925 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
7926 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
7927 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
7928 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
7929 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
7930 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
7931 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
7932 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
7933 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7934 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7935 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7936
b9c0f6c1
JM
79372018-10-10 Joseph Myers <joseph@codesourcery.com>
7938
2a4b25fa
JM
7939 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
7940 (struct shmid_ds): Condition padding after time fields on
7941 [__WORDSIZE == 32].
7942 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7943 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7944 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7945
19e62f26
JM
7946 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7947 (struct semid_ds): Condition padding after time fields on
7948 [__WORDSIZE == 32].
7949 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7950 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7951 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7952 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7953
b9c0f6c1
JM
7954 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7955 (struct msqid_ds): Condition padding after time fields on
7956 [__WORDSIZE == 32].
7957 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7958 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7959 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7960 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7961
97785a61
SN
79622018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7963
7964 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7965
ed643089
SN
79662018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7967
7968 * libio/tst-readline.c (TIMEOUT): Define.
7969
5a580643
PE
79702018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7971
7972 mktime fix for Gnulib + coreutils
7973 [BZ#23745]
7974 This fix affects only Gnulib. Problem discovered when
7975 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7976 * time/mktime.c:
7977 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7978 Do not define since it is not used. Defining an unused static
7979 function prompts a warning from GCC when Coreutils is configured
7980 with --enable-gcc-warnings.
7981
c892ae04
LS
79822018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7983
7984 * benchtests/scripts/compare_bench.py (main): set float type on
7985 threshold argument.
7986
a68ec8ea
RL
79872018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7988
7989 [BZ #23740]
7990 * localedata/locales/kl_GL (mon): Update, the relative case.
7991 (alt_mon): Add, fill with month names in the nominative case.
7992 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7993 (d_fmt): Set to "%b %d %Y".
7994
a1987621
JM
79952018-10-04 Joseph Myers <joseph@codesourcery.com>
7996
47c49251
JM
7997 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7998 <bits/mman-linux.h>.
7999 (PROT_READ): Don't define here.
8000 (PROT_WRITE): Likewise.
8001 (PROT_EXEC): Likewise.
8002 (PROT_NONE): Likewise.
8003 (PROT_GROWSDOWN): Likewise.
8004 (PROT_GROWSUP): Likewise.
8005 (MAP_SHARED): Likewise.
8006 (MAP_PRIVATE): Likewise.
8007 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8008 [__USE_MISC] (MAP_FILE): Likewise.
8009 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8010 [__USE_MISC] (MAP_ANON): Likewise.
8011 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8012 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8013 (MCL_CURRENT): Likewise.
8014 (MCL_FUTURE): Likewise.
8015 (MCL_ONFAULT): Likewise.
8016 [__USE_MISC] (MADV_NORMAL): Likewise.
8017 [__USE_MISC] (MADV_RANDOM): Likewise.
8018 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8019 [__USE_MISC] (MADV_WILLNEED): Likewise.
8020 [__USE_MISC] (MADV_DONTNEED): Likewise.
8021 [__USE_MISC] (MADV_FREE): Likewise.
8022 [__USE_MISC] (MADV_REMOVE): Likewise.
8023 [__USE_MISC] (MADV_DONTFORK): Likewise.
8024 [__USE_MISC] (MADV_DOFORK): Likewise.
8025 [__USE_MISC] (MADV_HWPOISON): Likewise.
8026 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8027 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8028 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8029 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8030 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8031 (__MAP_ANONYMOUS): New macro.
8032 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8033 <bits/mman-linux.h> inclusion.
8034 (MAP_FIXED): Likewise.
8035 (MS_SYNC): Likewise.
8036 (MS_ASYNC): Likewise.
8037 (MS_INVALIDATE): Likewise.
8038 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8039 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8040 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8041 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8042 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8043 [__USE_MISC] (MADV_DODUMP): Likewise.
8044 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8045 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8046
a1987621
JM
8047 [BZ #23735]
8048 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8049 Define.
8050 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8051 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8052 Add test-nldbl-redirect.
8053 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8054 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8055 $(objpfx)libnldbl_nonshared.a.
8056
e7624d70
SL
80572018-10-04 Stefan Liebler <stli@linux.ibm.com>
8058
8059 * support/support.h (support_objdir_elf_ldso): New variable.
8060 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8061 * support/Makefile (CFLAGS-support_paths.c): Add definition
8062 for OBJDIR_ELF_LDSO_PATH.
8063 * support/test-container.c (main): Search for the ld.so
8064 which is also used by the testsuite.
8065
dae3ed95
RL
80662018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8067
8068 [BZ #20209]
8069 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8070 should be "sap" rather than "sab".
8071 (day): Fix spelling of Sunday, should be "sapaat" rather than
8072 "sabaat".
8073
f346b5b3
JM
80742018-10-02 Joseph Myers <joseph@codesourcery.com>
8075
8076 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8077
4a06ceea
MJ
80782018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8079
8080 [BZ #19444]
8081 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8082 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8083 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8084
a06fc4a5
AZ
80852018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8086
8087 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8088
a1ccc065
L
80892018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8090
8091 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8092 Add -mrtm.
8093 (CFLAGS-elision-unlock.c): Likewise.
8094 (CFLAGS-elision-timed.c): Likewise.
8095 (CFLAGS-elision-trylock.c): Likewise.
8096 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8097
0b727ed4
AZ
80982018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8099
8100 [BZ #21037]
8101 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8102 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8103 new fd_to_filename interface.
8104 * libio/freopen64.c (freopen64): Likewise.
8105 * libio/tst-memstream.h: New file.
8106 * libio/tst-memstream4.c: Likewise.
8107 * libio/tst-wmemstream4.c: Likewise.
8108 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8109 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8110 and remove internal dynamic allocation.
8111
d0e91e8c
JM
81122018-10-01 Joseph Myers <joseph@codesourcery.com>
8113
8114 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8115 (MREMAP_MAYMOVE): Do not define here.
8116 [__USE_GNU] (MREMAP_FIXED): Likewise.
8117 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8118 (MREMAP_MAYMOVE): Define here instead.
8119 [__USE_GNU] (MREMAP_FIXED): Likewise.
8120 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8121 (MREMAP_MAYMOVE): Remove.
8122 [__USE_GNU] (MREMAP_FIXED): Likewise.
8123
c52944e8
JM
81242018-09-28 Joseph Myers <joseph@codesourcery.com>
8125
8126 * math/fromfp.h: Do not include <math_private.h>.
8127 * math/s_cacosh_template.c: Likewise.
8128 * math/s_casin_template.c: Likewise.
8129 * math/s_casinh_template.c: Likewise.
8130 * math/s_ccos_template.c: Likewise.
8131 * math/s_cproj_template.c: Likewise.
8132 * math/s_fdim_template.c: Likewise.
8133 * math/s_fmaxmag_template.c: Likewise.
8134 * math/s_fminmag_template.c: Likewise.
8135 * math/s_iseqsig_template.c: Likewise.
8136 * math/s_ldexp_template.c: Likewise.
8137 * math/s_nextdown_template.c: Likewise.
8138 * math/w_log1p_template.c: Likewise.
8139 * math/w_scalbln_template.c: Likewise.
8140 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8141 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8142 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8143 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8144 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8145 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8146 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8147 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8148 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8149 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8150 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8151 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8152 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8153 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8154 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8155 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8156 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8157 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8158 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8159 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8160 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8161 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8162 * sysdeps/ieee754/k_standardf.c: Likewise.
8163 * sysdeps/ieee754/k_standardl.c: Likewise.
8164 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8165 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8166 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8167 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8168 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8169 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8170 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8171 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8172 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8173 * sysdeps/ieee754/s_signgam.c: Likewise.
8174 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8175 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8176 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8177 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8178 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8179 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8180 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8181 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8182 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8183 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8184 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8185 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8186 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8187 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8188 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8189 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8190 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8191 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8192 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8193 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8194 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8195 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8196 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8197 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8198 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8199 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8200 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8201 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8202 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8203 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8204 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8205 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8206 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8207 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8208 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8209 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8210 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8211 <math_private.h>.
8212 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8213
7b1f9406
L
82142018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8215
8216 [BZ #23716]
8217 * sysdeps/i386/dl-cet.c: Removed.
8218 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8219 prototype.
8220 (_dl_runtime_profile_shstk): Likewise.
8221 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8222 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8223
7a16bdbb
AZ
82242018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8225
8226 [BZ #23579]
8227 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8228 do_test_with_invalid_iov): New tests.
8229 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8230 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8231 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8232 errno is ENOSYS.
8233 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8234 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8235 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8236
9755bc46
JM
82372018-09-27 Joseph Myers <joseph@codesourcery.com>
8238
81dca813
JM
8239 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8240 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8241 (MATH_REDIRECT_BINARY_ARGS): New macro.
8242 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8243 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8244 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8245 header inclusion.
8246 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8247 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8248 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8249 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8250 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8251 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8252 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8254 Likewise.
8255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8256 Likewise.
8257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8259 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8260 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8262 Likewise.
8263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8264 Likewise.
8265 * sysdeps/generic/math_private_calls.h
8266 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8267 Do not declare and define as an inline function.
8268 * math/divtc3.c (__divtc3): Use copysign functions instead of
8269 __copysign variants.
8270 * math/multc3.c (__multc3): Likewise.
8271 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8272 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8273 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8274 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8275 Likewise.
8276 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8277 (__ieee754_yn): Likewise.
8278 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8279 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8280 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8281 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8282 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8283 (__sin): Likewise.
8284 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8285 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8286 Likewise.
8287 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8288 Likewise.
8289 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8290 Likewise.
8291 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8292 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8293 Likewise.
8294 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8295 (__ieee754_ynf): Likewise.
8296 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8297 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8298 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8299 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8300 Likewise.
8301 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8302 (__ieee754_ynl): Likewise.
8303 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8304 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8305 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8306 Likewise.
8307 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8308 (__ieee754_ynl): Likewise.
8309 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8310 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8311 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8312 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8313 Likewise.
8314 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8315 (__ieee754_ynl)
8316 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8317 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8318 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8319 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8320 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8321
9755bc46
JM
8322 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8323 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8324 using MATH_REDIRECT.
8325 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8326 header inclusion.
8327 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8328 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8329 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8330 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8331 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8332 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8333 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8338 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8339 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8340 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8341 (round): Redirect to __round.
8342 (__roundl): Call round instead of __round.
8343 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8344 Remove macro.
8345 [_ARCH_PWR5X] (__roundf): Likewise.
8346 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8347 functions instead of __round variants.
8348 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8349 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8350 Likewise.
8351 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8352 Likewise.
8353 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8354 Likewise.
8355 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8356 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8357 __lroundl.
8358 (__ieee754_expl): Call roundl instead of __roundl.
8359
f841c97e
AS
83602018-09-27 Andreas Schwab <schwab@suse.de>
8361
8362 [BZ #23717]
8363 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8364 (do_test): Make st1 static.
8365
6ca8284e
AS
83662018-09-26 Andreas Schwab <schwab@suse.de>
8367
8368 [BZ #23707]
8369 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8370 * elf/Makefile (tests): Add tst-unwind-ctor.
8371 (modules-names): Add tst-unwind-ctor-lib.
8372 ($(objpfx)tst-unwind-ctor): Depend on
8373 $(objpfx)tst-unwind-ctor-lib.so.
8374
61d8b5fe
JM
83752018-09-26 Joseph Myers <joseph@codesourcery.com>
8376
8377 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8378 file. Most contents moved from ....
8379 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8380 and include <bits/mman-map-flags-generic.h>.
8381 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8382 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8383 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8384 <bits/mman-map-flags-generic.h>.
8385 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8386 macros defined in <bits/mman-map-flags-generic.h>.
8387 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8388 <bits/mman-map-flags-generic.h>.
8389 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8390 defined in <bits/mman-map-flags-generic.h>.
8391
46341286
AS
83922018-09-26 Andreas Schwab <schwab@suse.de>
8393
8394 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8395 output.
8396
b5c45e83
AZ
83972018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8398 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8399 Fangrui Song <maskray@google.com>
8400
8401 [BZ #20480]
8402 * config.make.in (have-textrel_ifunc): New define.
8403 * configure.ac: Add check if linker supports textrel relocation with
8404 ifunc.
8405 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8406 tst-ifunc-textrel.
8407 (CFLAGS-tst-ifunc-textrel.c): New rule.
8408 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8409 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8410 * elf/tst-ifunc-textrel.c: New file.
8411
8ea4d2b7
JM
84122018-09-25 Joseph Myers <joseph@codesourcery.com>
8413
d62f9ec0
JM
8414 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8415 <bits/procfs-prregset.h>.
8416 (prgregset_t): Define using __prgregset_t.
8417 (prfpregset_t): Define using __prfpregset_t.
8418 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8419 (sysdep_headers): Add bits/procfs-prregset.h.
8420 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8421 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8422 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8423 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8424
d0d8eb43
JM
8425 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8426 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8427 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8428 pr_uid and pr_gid.
8429 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8430 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8431 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8432 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8433 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8434 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8435 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8436 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8437 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8438 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8439 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8440 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8441 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8442 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8443 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8444 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8445 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8446 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8447 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8448 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8449 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8450 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8451 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8452 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8453
8ea4d2b7
JM
8454 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8455 AArch64 version. Include <bits/procfs.h>.
8456 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8457 (sysdep_headers): Add bits/procfs.h.
8458 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8459 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8460 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8461 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8462 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8463 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8464 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8465 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8466 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8467 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8468 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8469 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8470 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8471 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8472 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8473 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8474 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8475
c7027166
AZ
84762018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8477
8478 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8479 Use libsupport.
8480
335a3b0a
AS
84812018-09-25 Arjun Shankar <arjun@redhat.com>
8482
8483 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8484 (__gconv_max_path_elem_len): Likewise.
8485 (__gconv_nmodules): Likewise.
8486 (__gconv_get_path): Likewise.
8487 (path_elem): Move to ...
8488 * iconv/gconv_conf.c: ... here.
8489 (__gconv_get_path): Mark function static.
8490 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8491 * iconv/gconv_open.c: ... here.
8492
462d348c
AS
84932018-09-24 Andreas Schwab <schwab@suse.de>
8494
8495 * scripts/haveversions.awk: New file.
8496 * Makerules ($(common-objpfx)Versions.def)
8497 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8498 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8499 Move rules ...
8500 * Makeconfig ($(common-objpfx)Versions.def)
8501 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8502 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8503 ... here.
8504 ($(common-objpfx)Versions.mk): New rule. Include it.
8505 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8506 Emit error if build-obsolete-nsl = yes.
8507 * manual/install.texi (Configuring and compiling): Describe
8508 --enable-obsolete-nsl as unavaiable after version 2.28.
8509 * INSTALL: Regenerate.
8510
f0458cf4
AZ
85112018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8512
8513 * NEWS: Add note about new TLE support on powerpc64le.
8514 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8515 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8516 __ununsed1.
8517 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8518 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8519 * sysdeps/powerpc/powerpc32/sysdep.h,
8520 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8521 ABORT_TRANSACTION): Remove macros.
8522 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8523 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8524 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8526 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8527 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8528 usage.
8529 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8530
434d45fd
RL
85312018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8532
8533 [BZ #10425]
8534 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8535 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8536 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8537 which is the same as in it_IT.
8538 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8539 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8540
d90c9b1a
JM
85412018-09-20 Joseph Myers <joseph@codesourcery.com>
8542
7abf97be
JM
8543 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8544 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8545 using MATH_REDIRECT.
8546 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8547 header inclusion.
8548 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8549 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8550 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8551 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8552 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8553 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8558 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8559 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8560 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8561 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8562 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8563 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8564 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8565 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8566 (ceil): Redirect to __ceil.
8567 (floor): Redirect to __floor.
8568 (trunc): Redirect to __trunc.
8569 (__truncl): Call trunc instead of __trunc.
8570 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8571 Remove macro.
8572 [_ARCH_PWR5X] (__truncf): Likewise.
8573 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8574 trunc functions instead of __trunc variants.
8575 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8576 Likewise.
8577 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8578 Likewise.
8579 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8580 Likewise.
8581 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8582 Likewise.
8583
d90c9b1a
JM
8584 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8585 [__i586__ || __pentium__].
8586 [__i486__]: Handle explicitly.
8587 (HAS_CPUID): Define to 1 if above macros are undefined.
8588 (HAS_I586): Likewise.
8589 (HAS_I686): Likewise.
8590
db9a8ad4
FW
85912018-09-20 Florian Weimer <fweimer@redhat.com>
8592
8593 * misc/tst-gethostid.c: New file.
8594 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8595 (tst-gethostid): Link with -ldl.
8596
1214ba06
MY
85972018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8598
8599 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8600 value from gethostbyname_r.
8601
791b350d
CD
86022018-09-19 Carlos O'Donell <carlos@redhat.com>
8603
8604 * stdlib/tst-setcontext9.c (f1): Rename to...
8605 (f1a): ... this.
8606 (f1b): New function implementing lower half of f1 in alternate stack.
8607
8e6fd2bd
PE
86082018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8609
e1080e7e
PE
8610 Fix mktime localtime offset confusion
8611 [BZ #23603]
8612 * include/time.h (__mktime_internal): The localtime offset is now
8613 of type long int instead of time_t. This is the longstanding type
8614 in glibc, and it is more than enough to represent difference
8615 between localtime and gmtime even if it is 32 bits and time_t is
8616 64. Changing it now will let us avoid an unnecessary change when
8617 time_t is widened to 64 bits on 32-bit platforms.
8618 * time/mktime-internal.h (mktime_offset_t): Now long int.
8619
8e6fd2bd
PE
8620 Merge mktime, timegm from upstream Gnulib
8621 [BZ #23603][BZ #16346]
8622 This fixes some obscure problems with integer overflow.
8623 Although it looks scary, it is almost all a byte-for-byte copy
8624 from Gnulib, and the Gnulib code has been tested reasonably well.
8625 * include/intprops.h: New file, copied from Gnulib.
8626 * include/verify.h, time/mktime-internal.h:
8627 New tiny files, simplified from Gnulib.
8628 * time/mktime.c: Copy from Gnulib. This has the following changes:
8629 Do not include config.h if DEBUG_MKTIME is nonzero.
8630 Include stdbool.h, intprops.h, verify.h.
8631 Include string.h only if needed.
8632 Include stdlib.h on MS-Windows.
8633 Include mktime-internal.h.
8634 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8635 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8636 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8637 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8638 simplify later conditionals; default the others to zero. Use
8639 these conditionals to express only the code needed on the current
8640 platform. In uses of these conditionals, explicitly spell out how
8641 _LIBC affects things, so it’s easier to review from a glibc
8642 viewpoint.
8643 (WRAPV): Remove; no longer needed now that we have
8644 systematic overflow checking.
8645 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8646 compartmentalize tzset issues. Move system-dependent tzsettish
8647 code here from mktime.
8648 (verify): Remove; now done by verify.h. All uses changed.
8649 (long_int): Use a more-conservative definition, to avoid
8650 integer overflow.
8651 (SHR): Remove, replacing with ...
8652 (shr): New function, which means we needn’t worry about side
8653 effects in args, and conversion analysis is simpler.
8654 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8655 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8656 (time_t_avg, time_t_add_ok): Remove.
8657 (mktime_min, mktime_max): New constants.
8658 (leapyear, isdst_differ): Use bool for booleans.
8659 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8660 Use long_int, not time_t, for mktime differences.
8661 (long_int_avg): New function, replacing time_t_avg.
8662 INT_ADD_WRAPV replaces time_t_add_ok.
8663 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8664 All uses changed.
8665 (convert_time): New function.
8666 (ranged_convert): Use it.
8667 (__mktime_internal): Last arg now points to mktime_offset_t, not
8668 time_t. All uses changed. This is a no-op on glibc, where
8669 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8670 offset guess. Directly check for integer overflow instead of
8671 using a heuristic that works only 99.9...% of the time.
8672 Access *OFFSET only once, to avoid an unlikely race if the
8673 compiler delays a load and if this cascades into a signed integer
8674 overflow.
8675 (mktime): Move tzsettish code to my_tzset, and move
8676 localtime_offset to within mktime so that it doesn’t
8677 need a separate ifdef.
8678 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8679 instead of localtime.
8680 * time/timegm.c: Copy from Gnulib. This has the following changes:
8681 Include mktime-internal.h.
8682 [!_LIBC]: Include config.h and time.h. Do not include
8683 timegm.h or time_r.h. Make __mktime_internal a macro,
8684 and include mktime-internal.h to get its declaration.
8685 (timegm): Temporary is now mktime_offset_t, not time_t.
8686 This affects only Gnulib.
8687
83a552b0
WD
86882018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8689
8690 [BZ #23637]
8691 * string/test-strstr.c (pr23637): New function.
8692 (test_main): Add tests with longer needles.
8693 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8694 * string/strstr.c (AVAILABLE): Likewise.
8695
d7347278
SN
86962018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8697
8698 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8699
424c4f60
SN
87002018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8701
8702 * NEWS: Mention pow improvements.
8703 * math/Makefile (type-double-routines): Add e_pow_log_data.
8704 * sysdeps/generic/math_private.h (__exp1): Remove.
8705 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8706 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8707 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8708 contraction.
8709 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8710 (exp_inline): Remove.
8711 (__ieee754_exp): Only single double input is handled.
8712 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8713 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8714 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8715 (__pow_log_data): Define.
8716 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8717 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8718 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8719 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8720 contraction.
8721 (CFLAGS-e_pow-fma4.c): Likewise.
8722
e4e4fde5
PE
87232018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8724
dab9c348
PE
8725 Simplify tzfile fstat failure code
8726 [BZ #21716]
8727 * time/tzfile.c (__tzfile_read): Simplify slightly.
8728
e4e4fde5
PE
8729 Fix tzfile low-memory assertion failure
8730 [BZ #21716]
8731 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8732 when registering time zone abbreviations.
8733
50bc59ca
JM
87342018-09-18 Joseph Myers <joseph@codesourcery.com>
8735
d3a43e49
JM
8736 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8737 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8738 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8739 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8740 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8741 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8742 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8743 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8744 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8745
50bc59ca
JM
8746 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8747 __ceil.
8748 (__ceill): Call ceil instead of __ceil.
8749 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8750 __floor.
8751 (__floorl): Call floor instead of __floor.
8752
89983cb3
JM
87532018-09-17 Joseph Myers <joseph@codesourcery.com>
8754
71223ef9
JM
8755 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8756 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8757 using MATH_REDIRECT.
8758 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8759 header inclusion.
8760 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8761 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8762 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8763 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8764 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8765 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8766 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8767 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8772 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8773 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8774 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8776 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8777 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8778 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8779 Remove macro.
8780 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8781 functions instead of __ceil variants.
8782 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8783 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8784 Likewise.
8785 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8786 Likewise.
8787 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8788 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8789 Likewise.
8790 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8791 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8792
89983cb3
JM
8793 [BZ #21286]
8794 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8795 constant.
8796 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8797 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8798 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8799 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8800 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8801 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8802 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8803 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8804 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8805 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8806 (ILL_BADIADDR): Remove constant.
8807 (TRAP_BRANCH): Likewise.
8808 (TRAP_HWBKPT): Likewise.
8809
e44acb20
JM
88102018-09-14 Joseph Myers <joseph@codesourcery.com>
8811
3f7f1d18
JM
8812 [BZ #23656]
8813 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8814 Remove [_MIPS_SIM = _ABIN32] conditional case.
8815 (struct elf_prpsinfo): Likewise.
8816
d59f3e5e
JM
8817 [BZ #23649]
8818 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8819 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8820 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8821 Likewise.
8822 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8823 elf_prpsinfo): Likewise.
8824 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
8825 elf_prpsinfo): Likewise.
8826 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
8827 Likewise.
8828
f29b6f17
JM
8829 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8830 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
8831 using MATH_REDIRECT.
8832 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
8833 header inclusion.
8834 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
8835 * sysdeps/alpha/fpu/s_rint.c: Likewise.
8836 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
8837 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8838 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8839 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8840 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
8841 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8842 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8843 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8844 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
8845 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
8846 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
8847 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
8848 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
8849 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8850 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8851 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
8852 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
8854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
8855 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
8856 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
8857 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8858 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8859 * sysdeps/x86_64/fpu/math_private.h: Remove file.
8860 * math/e_scalb.c (invalid_fn): Use rint functions instead of
8861 __rint variants.
8862 * math/e_scalbf.c (invalid_fn): Likewise.
8863 * math/e_scalbl.c (invalid_fn): Likewise.
8864 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8865 Likewise.
8866 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8867 Likewise.
8868 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8869 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
8870 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8871 Likewise.
8872 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8873 Likewise.
8874 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8875 Likewise.
8876 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
8877 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
8878
e44acb20
JM
8879 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8880 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
8881 New macro.
8882 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8883 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
8884 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8885 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
8886 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8887 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
8888 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8889 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
8890 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8891 && !NO_MATH_REDIRECT] (floor): Likewise.
8892 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
8893 header inclusion.
8894 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
8895 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8897 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
8898 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8899 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8900 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8901 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
8902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
8903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
8904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
8905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
8906 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8907 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8908 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8910 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8911 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8912 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
8913 Remove macro.
8914 [_ARCH_PWR5X] (__floorf): Likewise.
8915 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
8916 inline function.
8917 [__SSE4_1__] (__floorf): Likewise.
8918 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
8919 instead of __floor variants.
8920 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
8921 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
8922 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
8923 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
8924 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
8925 * math/w_tgamma_compat.c (__tgamma): Likewise.
8926 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
8927 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
8928 * math/w_tgammal_compat.c (__tgammal): Likewise.
8929 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
8930 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8931 Likewise.
8932 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8933 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
8934 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8935 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8936 Likewise.
8937 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8938 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
8939 Likewise.
8940 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8941 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8942 Likewise.
8943 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8944 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8945 Likewise.
8946 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8947 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8948 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8949 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8950 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8951 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8952
221e4bab
JM
89532018-09-12 Joseph Myers <joseph@codesourcery.com>
8954
8955 * elf/Makefile (modules-names-tests): New variable.
8956
3e08ff54
SN
89572018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8958
8959 * NEWS: Mention log2 improvements.
8960 * math/Makefile (type-double-routines): Add e_log2_data.
8961 * sysdeps/i386/fpu/e_log2_data.c: New file.
8962 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8963 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8964 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8965 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8966 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8967 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8968
f41b0a43
SN
89692018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8970
8971 * NEWS: Mention log improvement.
8972 * math/Makefile (type-double-routines): Add e_log_data.
8973 * sysdeps/i386/fpu/e_log_data.c: New file.
8974 * sysdeps/ia64/fpu/e_log_data.c: New file.
8975 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8976 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8977 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8978 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8979 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8980 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8981
5a274db4
L
89822018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8983 Xuepeng Guo <xuepeng.guo@intel.com>
8984
8985 [BZ #23606]
8986 * sysdeps/i386/start.S: Include <sysdep.h>
8987 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8988 enabled. Add cfi_undefined (eip).
8989
b1176270
JM
89902018-09-11 Joseph Myers <joseph@codesourcery.com>
8991
4e7fbdd7
JM
8992 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8993 (MOVQ): Likewise.
8994 (EXTRACT_WORDS64): Likewise.
8995 (INSERT_WORDS64): Likewise.
8996 (GET_FLOAT_WORD): Likewise.
8997 (SET_FLOAT_WORD): Likewise.
8998
b1176270
JM
8999 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9000 argument.
9001 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9002 build, but not for second build if --full-gcc. Use
9003 --enable-languages=all for second build if --full-gcc.
9004 (get_parser): Add --full-gcc option.
9005 (main): Update call to Context.
9006
527f355e
RL
90072018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9008
9009 [BZ #10797]
9010 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9011 Single Quotation Mark).
9012 (thousands_sep): Likewise.
9013 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9014 * localedata/locales/it_IT (thousands_sep): Use ".".
9015 (grouping): Use "3;3".
9016
7244f13d
JM
90172018-09-10 Joseph Myers <joseph@codesourcery.com>
9018
9019 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9020 x86_64 and i686 configs using --enable-obsolete-rpc
9021 --enable-obsolete-nsl.
9022
38245425
SL
90232018-09-06 Stefan Liebler <stli@linux.ibm.com>
9024
9025 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9026
28669f86
SL
90272018-09-06 Stefan Liebler <stli@linux.ibm.com>
9028
9029 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9030 Increment size of new_argv by one.
9031
a33650d1
RL
90322018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9033
9034 [BZ #17426]
9035 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9036 * localedata/locales/ar_IN (d_fmt): Likewise.
9037 * localedata/locales/bhb_IN (d_fmt): Likewise.
9038 * localedata/locales/bho_IN (d_fmt): Likewise.
9039 * localedata/locales/bn_BD (d_fmt): Likewise.
9040 * localedata/locales/bn_IN (d_fmt): Likewise.
9041 * localedata/locales/doi_IN (d_fmt): Likewise.
9042 * localedata/locales/gu_IN (d_fmt): Likewise.
9043 * localedata/locales/hi_IN (d_fmt): Likewise.
9044 * localedata/locales/hne_IN (d_fmt): Likewise.
9045 * localedata/locales/kn_IN (d_fmt): Likewise.
9046 * localedata/locales/mag_IN (d_fmt): Likewise.
9047 * localedata/locales/mai_IN (d_fmt): Likewise.
9048 * localedata/locales/mjw_IN (d_fmt): Likewise.
9049 * localedata/locales/ml_IN (d_fmt): Likewise.
9050 * localedata/locales/mni_IN (d_fmt): Likewise.
9051 * localedata/locales/mr_IN (d_fmt): Likewise.
9052 * localedata/locales/pa_IN (d_fmt): Likewise.
9053 * localedata/locales/raj_IN (d_fmt): Likewise.
9054 * localedata/locales/sat_IN (d_fmt): Likewise.
9055 * localedata/locales/sd_IN (d_fmt): Likewise.
9056 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9057 * localedata/locales/ta_IN (d_fmt): Likewise.
9058 * localedata/locales/ta_LK (d_fmt): Likewise.
9059 * localedata/locales/tcy_IN (d_fmt): Likewise.
9060 * localedata/locales/ur_IN (d_fmt): Likewise.
9061
9062 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9063 * localedata/locales/ks_IN (d_fmt): Likewise.
9064 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9065
9066 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9067 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9068 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9069 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9070
d114e6a7
SN
90712018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9072
9073 * NEWS: Mention exp and exp2 improvements.
9074 * math/Makefile (libm-support): Remove t_exp.
9075 (type-double-routines): Add math_err and e_exp_data.
9076 * sysdeps/aarch64/libm-test-ulps: Update.
9077 * sysdeps/arm/libm-test-ulps: Update.
9078 * sysdeps/i386/fpu/e_exp_data.c: New file.
9079 * sysdeps/i386/fpu/math_err.c: New file.
9080 * sysdeps/i386/fpu/t_exp.c: Remove.
9081 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9082 * sysdeps/ia64/fpu/math_err.c: New file.
9083 * sysdeps/ia64/fpu/t_exp.c: Remove.
9084 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9085 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9086 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9087 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9088 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9089 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9090 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9091 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9092 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9093 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9094 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9095 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9096 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9097 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9099 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9100
b9d8c474
JM
91012018-09-05 Joseph Myers <joseph@codesourcery.com>
9102
b7cdc2ae
JM
9103 * sysdeps/alpha/fpu/math_private.h: Remove.
9104
b9d8c474
JM
9105 * sysdeps/generic/math_private.h
9106 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9107 Move this inline function ....
9108 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9109 * include/math.h [!_ISOMAC]: To here....
9110
418d99e6
JM
91112018-09-04 Joseph Myers <joseph@codesourcery.com>
9112
9113 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9114 code ....
9115 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9116 * include/fenv.h [!_ISOMAC]: ... to here.
9117 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9118 (feraiseexcept): Likewise.
9119 * math/fromfp.h: Do not include <fenv_private.h>.
9120 * math/s_cexp_template.c: Likewise.
9121 * math/s_csin_template.c: Likewise.
9122 * math/s_csinh_template.c: Likewise.
9123 * math/s_ctan_template.c: Likewise.
9124 * math/s_ctanh_template.c: Likewise.
9125 * math/s_iseqsig_template.c: Likewise.
9126 * math/w_acos_compat.c: Likewise.
9127 * math/w_acosf_compat.c: Likewise.
9128 * math/w_acosl_compat.c: Likewise.
9129 * math/w_asin_compat.c: Likewise.
9130 * math/w_asinf_compat.c: Likewise.
9131 * math/w_asinl_compat.c: Likewise.
9132 * math/w_j0_compat.c: Likewise.
9133 * math/w_j0f_compat.c: Likewise.
9134 * math/w_j0l_compat.c: Likewise.
9135 * math/w_j1_compat.c: Likewise.
9136 * math/w_j1f_compat.c: Likewise.
9137 * math/w_j1l_compat.c: Likewise.
9138 * math/w_jn_compat.c: Likewise.
9139 * math/w_jnf_compat.c: Likewise.
9140 * math/w_log10_compat.c: Likewise.
9141 * math/w_log10f_compat.c: Likewise.
9142 * math/w_log10l_compat.c: Likewise.
9143 * math/w_log2_compat.c: Likewise.
9144 * math/w_log2f_compat.c: Likewise.
9145 * math/w_log2l_compat.c: Likewise.
9146 * math/w_log_compat.c: Likewise.
9147 * math/w_logf_compat.c: Likewise.
9148 * math/w_logl_compat.c: Likewise.
9149 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9150 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9151 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9152 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9153 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9154 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9155 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9156 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9157 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9158 * sysdeps/ieee754/k_standardl.c: Likewise.
9159 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9160 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9161 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9162 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9163 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9164 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9165 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9166 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9167 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9168 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9169 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9170 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9171 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9172 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9173 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9174 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9175 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9176 * math/w_ilogb_template.c: Include <fenv.h> instead of
9177 <fenv_private.h>.
9178 * math/w_llogb_template.c: Likewise.
9179 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9180 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9181
70e2ba33
JM
91822018-09-03 Joseph Myers <joseph@codesourcery.com>
9183
9184 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9185 * math/fromfp.h: Include <fenv_private.h>.
9186 * math/math-narrow.h: Likewise.
9187 * math/s_cexp_template.c: Likewise.
9188 * math/s_csin_template.c: Likewise.
9189 * math/s_csinh_template.c: Likewise.
9190 * math/s_ctan_template.c: Likewise.
9191 * math/s_ctanh_template.c: Likewise.
9192 * math/s_iseqsig_template.c: Likewise.
9193 * math/w_acos_compat.c: Likewise.
9194 * math/w_acosf_compat.c: Likewise.
9195 * math/w_acosl_compat.c: Likewise.
9196 * math/w_asin_compat.c: Likewise.
9197 * math/w_asinf_compat.c: Likewise.
9198 * math/w_asinl_compat.c: Likewise.
9199 * math/w_ilogb_template.c: Likewise.
9200 * math/w_j0_compat.c: Likewise.
9201 * math/w_j0f_compat.c: Likewise.
9202 * math/w_j0l_compat.c: Likewise.
9203 * math/w_j1_compat.c: Likewise.
9204 * math/w_j1f_compat.c: Likewise.
9205 * math/w_j1l_compat.c: Likewise.
9206 * math/w_jn_compat.c: Likewise.
9207 * math/w_jnf_compat.c: Likewise.
9208 * math/w_llogb_template.c: Likewise.
9209 * math/w_log10_compat.c: Likewise.
9210 * math/w_log10f_compat.c: Likewise.
9211 * math/w_log10l_compat.c: Likewise.
9212 * math/w_log2_compat.c: Likewise.
9213 * math/w_log2f_compat.c: Likewise.
9214 * math/w_log2l_compat.c: Likewise.
9215 * math/w_log_compat.c: Likewise.
9216 * math/w_logf_compat.c: Likewise.
9217 * math/w_logl_compat.c: Likewise.
9218 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9219 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9220 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9221 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9222 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9223 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9224 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9225 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9226 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9227 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9228 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9229 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9230 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9231 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9232 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9233 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9234 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9235 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9236 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9237 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9238 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9239 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9240 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9241 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9242 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9243 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9244 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9245 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9246 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9247 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9248 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9249 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9250 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9251 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9252 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9253 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9254 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9255 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9256 * sysdeps/ieee754/k_standardl.c: Likewise.
9257 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9258 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9259 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9260 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9261 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9262 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9263 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9264 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9265 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9266 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9267 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9268 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9269 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9270 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9271 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9272 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9273 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9274 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9275 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9276 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9277 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9278 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9279 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9280 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9281 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9282 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9283 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9284 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9285 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9286 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9287 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9288 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9289 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9290 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9291 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9292 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9293 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9294 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9295 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9296 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9297 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9298 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9299 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9300 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9301 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9302 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9303 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9304 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9305 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9306 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9307 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9308 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9309 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9310 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9311 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9312 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9313 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9314 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9315 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9316 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9317 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9318 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9319 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9320 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9321 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9322 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9323 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9324 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9325 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9326 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9327 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9328
a6e8926f
PP
93292018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9330
9331 [BZ #20271]
9332 * include/stdio.h (__libc_fatal): Mention newline in comment.
9333 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9334 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9335 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9336 * nss/nsswitch.c (__nss_next2): Likewise.
9337 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9338 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9339 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9340 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9341 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9342 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9343 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9344 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9345 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9346 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9347 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9348 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9349 (__netlink_assert_response): Likewise.
9350
2bbd06bc
JM
93512018-08-31 Joseph Myers <joseph@codesourcery.com>
9352
9353 * conform/glibcconform.py: New file.
9354 * conform/list-header-symbols.py: Likewise.
9355 * conform/list-header-symbols.pl: Remove.
9356 * conform/Makefile (tests-special): Only add linknamespace tests
9357 if [PYTHON].
9358 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9359
81b9d87b
L
93602018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9361
9362 [BZ #23597]
9363 * support/Makefile (libsupport-routines): Add
9364 support_copy_file_range and xcopy_file_range.
9365 * support/support.h: Include <sys/types.h>.
9366 (support_copy_file_range): New prototype.
9367 * support/support_copy_file_range.c: New file. Copied and
9368 modified from io/copy_file_range-compat.c.
9369 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9370 instead of copy_file_range.
9371 * support/xcopy_file_range.c: New file.
9372 * support/xunistd.h (xcopy_file_range): New prototype.
9373
d330f31a
CD
93742018-08-30 Carlos O'Donell <carlos@redhat.com>
9375
9376 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9377 xpthread_create and xpthread_join.
9378
2bda273a
FW
93792018-08-30 Florian Weimer <fweimer@redhat.com>
9380
9381 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9382
3bad2358
SL
93832018-08-30 Stefan Liebler <stli@linux.ibm.com>
9384
9385 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9386 if malloc fails.
9387
09c12efc
JM
93882018-08-29 Joseph Myers <joseph@codesourcery.com>
9389
9390 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9391 and minus_oflow as non-finite.
9392
ff6b2450
JM
93932018-08-28 Joseph Myers <joseph@codesourcery.com>
9394
9395 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9396 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9397 moved to fenv_private.h except for ...
9398 (TOINT_INTRINSICS): Kept in math_private.h.
9399 (roundtoint): Likewise.
9400 (converttoint): Likewise.
9401 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9402 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9403 * sysdeps/arm/math_private.h: Remove.
9404 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9405 ....
9406 * sysdeps/generic/math_private.h: ... this file. Include
9407 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9408 Include <fenv_private.h>. Remove functions and macros moved to
9409 fenv_private.h.
9410 * sysdeps/i386/fpu/math_private.h: Remove.
9411 * sysdeps/mips/math_private.h: Move to ....
9412 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9413 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9414 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9415 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9416 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9417 * sysdeps/powerpc/fpu/math_private.h: Do not include
9418 <fenv_private.h>.
9419 * sysdeps/riscv/rvf/math_private.h: Move to ....
9420 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9421 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9422 <fenv_private.h>.
9423 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9424 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9425 * sysdeps/sparc/fpu/math_private.h: Remove.
9426 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9427 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9428 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9429 <fenv_private.h>.
9430 * sysdeps/x86_64/fpu/math_private.h: Do not include
9431 <sysdeps/i386/fpu/fenv_private.h>.
9432
761404b7
FW
94332018-08-28 Florian Weimer <fweimer@redhat.com>
9434
9435 [BZ #23578]
9436 * posix/tst-regcomp-truncated.c: New file.
9437 * posix/Makefile (tests): Add it.
9438 (tst-regcomp-truncated.out): Depend on generated locales.
9439
d6c44c3d
FW
94402018-08-28 Florian Weimer <fweimer@redhat.com>
9441
9442 * support/test-container.c (main): Treat unshare failure with
9443 EPERM as an unsupported test.
9444
745664bd
FW
94452018-08-28 Florian Weimer <fweimer@redhat.com>
9446
9447 [BZ #23520]
9448 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9449 * nscd/netgroupcache.c
9450 (addgetnetgrentX): Add tofreep parameter. Do not free
9451 heap-allocated buffer.
9452 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9453 (addgetnetgrentX_ignore): New function.
9454 (addgetnetgrent): Call it.
9455 (readdgetnetgrent): Likewise.
9456
c8dd67e7
RS
94572018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9458
9459 * string/memmem.c: Use memcmp for first match.
9460
5abedf97
RL
94612018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9462
9463 [BZ #17426]
9464 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9465
86de0499
DD
94662018-08-27 DJ Delorie <dj@redhat.com>
9467
9468 * support/Makefile (others): Don't list programs explicitly as a
9469 dependency of "others".
9470
c3ab2110
JM
94712018-08-27 Joseph Myers <joseph@codesourcery.com>
9472
9473 * sysdeps/generic/math-tests-trap-force.h: New file.
9474 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9475 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9476 * sysdeps/powerpc/math-tests.h: Remove file.
9477 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9478
6b5c8607
TS
94792018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9480 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
9481
9482 [BZ #23538]
9483 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9484 Update r to include the set wake-request flag if waiters are
9485 remaining after spinning.
9486
4061791f
JM
94872018-08-27 Joseph Myers <joseph@codesourcery.com>
9488
9489 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9490
bc680b33
PE
94912018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9492
761404b7 9493 [BZ #23578]
bc680b33
PE
9494 regex: fix uninitialized memory access
9495 I introduced this bug into gnulib in commit
9496 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9497 eventually it was merged into glibc. The bug was found by
9498 project-repo <bugs@feusi.co> and reported here:
9499 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9500 Diagnosis and draft fix reported by Assaf Gordon here:
9501 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9502 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9503 * posix/regex_internal.c (build_wcs_upper_buffer):
9504 Fix bug when mbrtowc returns 0.
9505
02458a52
CD
95062018-08-24 Carlos O'Donell <carlos@redhat.com>
9507
9508 * po/be.po: Update translation.
9509
acc2842a
DD
95102018-08-24 DJ Delorie <dj@delorie.com>
9511
9512 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9513 $(libunwind).
9514
6c3a8a9d
PP
95152018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9516
b39d961c
TS
9517 [BZ #23400]
9518 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9519 create temporary files in source tree.
6c3a8a9d 9520
895ef79e
JM
95212018-08-24 Joseph Myers <joseph@codesourcery.com>
9522
9523 * sysdeps/generic/math-tests-trap.h: New file.
9524 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9525 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9526 * sysdeps/aarch64/math-tests.h: Remove file.
9527 * sysdeps/arm/math-tests.h: Likewise.
9528 * sysdeps/riscv/math-tests.h: Likewise.
9529 * sysdeps/aarch64/math-tests-trap.h: New file.
9530 * sysdeps/arm/math-tests-trap.h: Likewise.
9531 * sysdeps/riscv/math-tests-trap.h: Likewise.
9532
ca3aac57
WD
95332018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9534
9535 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9536 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9537 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9538 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9539 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9540 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9541 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9542 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9543 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9544 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9545 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9546 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9547 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9548 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9549 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9550 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9551 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9552 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9553
60bcac09
JM
95542018-08-23 Joseph Myers <joseph@codesourcery.com>
9555
9556 * sysdeps/generic/math-tests-exceptions.h: New file.
9557 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9558 (EXCEPTION_TESTS_float): Do not define here.
9559 (EXCEPTION_TESTS_double): Likewise.
9560 (EXCEPTION_TESTS_long_double): Likewise.
9561 (EXCEPTION_TESTS_float128): Likewise.
9562 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9563 Likewise.
9564 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9565 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9566 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9567 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9568 * sysdeps/mips/math-tests.h: Likewise.
9569 * sysdeps/nios2/math-tests.h: Likewise.
9570 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9571 (EXCEPTION_TESTS_float): Do not define here.
9572 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9573 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9574 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9575
3bded567
WD
95762018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9577
9578 * NEWS: Move optimized sinf entry to 2.29.
9579
900fb446
WD
95802018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9581
9582 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9583
561b0bec
DD
95842018-08-22 DJ Delorie <dj@redhat.com>
9585
9586 * Makefile (testroot.pristine): New rules to initialize the
9587 test-in-container "testroot".
9588 * Makerules (all-testsuite): Add tests-container.
9589 * Rules (tests-expected): Add tests-container.
9590 (binaries-all-tests): Likewise.
9591 (tests-container): New, run these tests in the testroot container.
9592 * support/Makefile (others): Add *-container, support_paths.c,
9593 xmkdirp, and links-dso-program.
9594 * support/links-dso-program-c.c: New.
9595 * support/links-dso-program.cc: New.
9596 * support/test-container.c: New.
9597 * support/shell-container.c: New.
9598 * support/echo-container.c: New.
9599 * support/true-container.c: New.
9600 * support/xmkdirp.c: New.
9601 * support/xsymlink.c: New.
9602 * support/support_paths.c: New.
9603 * support/support.h: Add support paths prototypes.
9604 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9605
9606 * nss/tst-nss-test3.c: Convert to test-in-container.
9607 * nss/tst-nss-test3.root/: New.
9608
b35d3509
PE
96092018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9610
9611 regex: port Gnulib code to z/OS POSIX environment
9612 Problem reported by Arnold Robbins in:
9613 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9614 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9615 Undef.
9616
16a25138
JM
96172018-08-22 Joseph Myers <joseph@codesourcery.com>
9618
debc4c98
JM
9619 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9620 (ROUNDING_TESTS_double): Remove.
9621 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9622 (ROUNDING_TESTS_double): Remove.
9623 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9624 (ROUNDING_TESTS_double): Remove.
9625 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9626 (ROUNDING_TESTS_float): Remove.
9627 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9628 (ROUNDING_TESTS_float): Remove.
9629 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9630 (ROUNDING_TESTS_float): Remove.
9631 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9632 !TEST_MATHVEC here.
9633 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9634 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9635
16a25138
JM
9636 * sysdeps/generic/math-tests-rounding.h: New file.
9637 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9638 (ROUNDING_TESTS_float): Do not define here.
9639 (ROUNDING_TESTS_double): Likewise.
9640 (ROUNDING_TESTS_long_double): Likewise.
9641 (ROUNDING_TESTS_float128): Likewise.
9642 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9643 (ROUNDING_TESTS_double): Undefine before defining.
9644 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9645 (ROUNDING_TESTS_double): Undefine before defining.
9646 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9647 (ROUNDING_TESTS_double): Undefine before defining.
9648 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9649 (ROUNDING_TESTS_float): Undefine before defining.
9650 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9651 (ROUNDING_TESTS_float): Undefine before defining.
9652 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9653 (ROUNDING_TESTS_float): Undefine before defining.
9654 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9655 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9656 not define here.
9657 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9658 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9659 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9660 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9661 (ROUNDING_TESTS_float): Do not define here.
9662 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9663 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9664 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9665 (ROUNDING_TESTS_float): Likewise.
9666 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9667 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9668 * sysdeps/mips/math-tests.h [__mips_soft_float]
9669 (ROUNDING_TESTS_float): Likewise.
9670 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9671 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9672 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9673 (ROUNDING_TESTS_double): Likewise.
9674 (ROUNDING_TESTS_long_double): Likewise.
9675
38b0593e
TK
96762018-08-21 Tobias Klauser <tklauser@distanz.ch>
9677
9678 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9679 (PF_XDP): New macro.
9680 (AF_XDP): New macro.
9681 (SOL_XDP): New macro.
9682
5cd7dbde
JM
96832018-08-21 Joseph Myers <joseph@codesourcery.com>
9684
9685 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9686 (TCP_INQ): Likewise.
9687 (TCP_CM_INQ): Likewise.
9688 (TCP_REPAIR_ON): Likewise.
9689 (TCP_REPAIR_OFF): Likewise.
9690 (TCP_REPAIR_OFF_NO_WP): Likewise.
9691 (struct tcp_zerocopy_receive): New type.
9692
aa42b3db
FW
96932018-08-21 Florian Weimer <fweimer@redhat.com>
9694
9695 * support/support.h (support_descriptor_supports_holes): Declare.
9696 * support/Makefile (libsupport-routines): Add
9697 support_descriptor_supports_holes.
9698 * support/support_descriptor_supports_holes.c: New file.
9699 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9700 and stop testing if holes are not supported.
9701 * io/test-lfs.c (do_prepare): Likewise.
9702 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9703 Likewise.
9704 * timezone/tst-tzset.c (create_tz_file): Likewise.
9705 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9706 variable.
9707 (do_prepare): Set it.
9708 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9709
c7627f41
FW
97102018-08-21 Florian Weimer <fweimer@redhat.com>
9711
9712 [BZ #17248]
9713 * Makeconfig (+cflags): Do not sort (and deduplicate).
9714
ef939d92
FW
97152018-08-21 Florian Weimer <fweimer@redhat.com>
9716
9717 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9718 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9719
88ffb39d
FW
97202018-08-20 Florian Weimer <fweimer@redhat.com>
9721
9722 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9723 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9724
17419540
JM
97252018-08-20 Joseph Myers <joseph@codesourcery.com>
9726
e6edd40d
JM
9727 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9728 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9729 and ssi_arch members.
9730
17419540
JM
9731 * elf/elf.c (NT_VMCOREDD): New macro.
9732 (AT_MINSIGSTKSZ): Likewise.
9733
fa78896b
RS
97342018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9735
9736 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9737 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9738 s_cosf-ppc64 and s_cosf-power8.
9739 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9740 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9741 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9742 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9749 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9750 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9751
86a6c75a
FW
97522018-08-17 Florian Weimer <fweimer@redhat.com>
9753
9754 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9755
35cfefd9
FW
97562018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9757
9758 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9759
6413fcde
FW
97602018-08-16 Florian Weimer <fweimer@redhat.com>
9761
9762 * configure.ac: Add --with-nonshared-cflags option.
9763 * config.make.in (extra-nonshared-cflags): Set variable.
9764 * Makeconfig (CFLAGS-.oS): Use it.
9765 * manual/install.texi (Configuring and compiling): Document
9766 --with-nonshared-cflags.
9767 * configure: Regenerate.
9768 * INSTALL: Likewise.
9769
93a2584c
FW
97702018-08-16 Florian Weimer <fweimer@redhat.com>
9771
9772 * Makeconfig (ASFLAGS): Always append required assembler flags.
9773
f6f275d2 97742018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
9775
9776 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9777 (malloc_consolidate): Likewise.
9778
30a17d8c
PC
97792018-08-16 Pochang Chen <johnchen902@gmail.com>
9780
9781 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9782
953a5a4a
SP
97832018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9784
34f86d61
SP
9785 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9786 every strlen call.
9787
953a5a4a
SP
9788 * benchtests/bench-strlen.c: Print performance numbers in json.
9789
7793ad7a
RS
97902018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9791
9792 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9793 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9794 only for little endian.
9795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9796 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9797 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9798 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9799 Add check for little endian.
9800 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9801 (__strcmp_power9): Add check for little endian.
9802 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9803 Add check for little endian.
9804 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9805 (__strncmp_power9): Add check for little endian.
9806 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9807 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9808 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9809 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9810 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9811
436e4d5b
SP
98122018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9813
9814 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9815 [!STRLEN](STRLEN): Set to __strlen.
9816 * sysdeps/aarch64/multiarch/strlen.c: New file.
9817 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9818 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9819 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9820 (__libc_ifunc_impl_list): Add strlen.
9821 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9822 strlen_generic and strlen_asimd.
9823
126c4e3f
WD
98242018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9825
9826 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
9827 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
9828 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9829
49acec17
WD
98302018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9831
9832 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
9833
fdb16de3
FW
98342018-08-14 Florian Weimer <fweimer@redhat.com>
9835
9836 [BZ #23519]
9837 * include/stdio.h (__vfxprintf): Declare.
9838 * stdio-common/fxprintf.c (__vfxprintf): New function.
9839 (__fxprintf): Call it.
9840 * misc/err.c (convert_and_print): Remove function.
9841 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
9842 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
9843 * misc/Makefile (tests): Add tst-warn-wide.
9844 * misc/tst-warn-wide.c: New file.
9845
599cf397
WD
98462018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
9847 Szabolcs Nagy <szabolcs.nagy@arm.com>
9848
9849 * NEWS: Mention sinf, cosf, sincosf.
9850 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
9851 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
9852 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
9853 constants rather than including generic sincosf.h.
9854 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
9855 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
9856 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
9857 (reduced_cos): Remove.
9858 (sinf_poly): New function.
9859 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
9860
e95c6f61
FW
98612018-08-14 Florian Weimer <fweimer@redhat.com>
9862
9863 [BZ #23521]
9864 [BZ #23522]
9865 * nss/nss_files/files-alias.c (get_next_alias): During :include:
9866 processing, bail out if no room, and close the stream before
9867 returning ERANGE.
9868 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
9869 (tst-nss-files-alias-leak): Link with libdl.
9870 (tst-nss-files-alias-leak.out): Depend on nss_files.
9871
9872 * nss/tst-nss-files-alias-leak.c: New file.
9873
2d7acfac
FW
98742018-08-14 Florian Weimer <fweimer@redhat.com>
9875
9876 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
9877 server_user, stat_user.
9878
f3cd0904
JM
98792018-08-13 Joseph Myers <joseph@codesourcery.com>
9880
17b26500
JM
9881 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9882 version to 4.18.
9883 (io_pgetevents): New syscall.
9884 (rseq): Likewise.
9885
3c1622eb
JM
9886 * manual/install.texi (Configuring and compiling): Do not list
9887 tools used for testing pretty printers here.
9888 (Tools for Compilation): List Python, PExpect and GDB here.
9889 Update descriptions of uses of Perl and Python.
9890 * INSTALL: Regenerate.
9891
f3cd0904
JM
9892 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9893 version to 4.18.
9894
b7b52b9d
FW
98952018-08-13 Florian Weimer <fweimer@redhat.com>
9896
9897 * misc/error.c (error): Add missing va_end call.
9898 (error_at_line): Likewise.
9899
01780188
FW
99002018-08-13 Florian Weimer <fweimer@redhat.com>
9901
9902 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
9903
44727aec
SP
99042018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9905
8cac1f26
SP
9906 * benchtests/scripts/benchout.schema.json (properties): Add
9907 new properties.
9908
44727aec
SP
9909 * benchtests/bench-skeleton.c (main): Add duration and
9910 iterations attributes.
9911
c77bf91b
PE
99122018-08-10 Paul Eggert <eggert@cs.ucla.edu>
9913
9914 regex: Gnulib unibyte RRI uses bytes not chars
9915 Adjust the non-glibc code to agree with what Gawk needs for
9916 rational range interpretation (RRI) for regular expression ranges.
9917 In unibyte locales, Gawk wants ranges to use the underlying byte
9918 rather than the character code point. This change does not affect
9919 glibc proper.
9920 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
9921 In unibyte locales, use the byte value rather than
9922 running it through btowc.
9923
2ce7ba7d
JM
99242018-08-10 Joseph Myers <joseph@codesourcery.com>
9925
9926 * sysdeps/generic/math-tests-snan.h: New file.
9927 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
9928 (SNAN_TESTS_float): Do not define here.
9929 (SNAN_TESTS_double): Likewise.
9930 (SNAN_TESTS_long_double): Likewise.
9931 (SNAN_TESTS_float128): Likewise.
9932 * sysdeps/i386/fpu/math-tests-snan.h: New file.
9933 * sysdeps/i386/fpu/math-tests.h: Remove file.
9934 * sysdeps/ia64/math-tests-snan.h: New file.
9935 * sysdeps/ia64/math-tests.h: Remove file.
9936 * sysdeps/x86/math-tests.h: Likewise.
9937 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
9938
ea5c662c
WD
99392018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9940 Szabolcs Nagy <szabolcs.nagy@arm.com>
9941
9942 * math/Makefile: Add s_sincosf_data.c.
9943 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9944 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9945 (sincosf_poly): Likewise.
9946 (reduce_small): Likewise.
9947 (reduce_large): Likewise.
9948 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9949 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9950 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9951 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9952
43cfdf8f
SN
99532018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9954 Szabolcs Nagy <szabolcs.nagy@arm.com>
9955
9956 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9957 (converttoint): Use lround.
9958 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9959 document the semantics when TOINT_INTRINSICS is set.
9960 (converttoint): Likewise.
9961 (TOINT_RINT): Remove.
9962 (TOINT_SHIFT): Remove.
9963 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9964 path.
9965
69065288
FW
99662018-08-10 Florian Weimer <fweimer@redhat.com>
9967
9968 [BZ #23497]
9969 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9970 function.
9971 (__old_getdents64): Use getdents64. Convert entries without
9972 moving them.
9973 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9974 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9975 tst-readdir64-compat.
9976
8f135efc
IL
99772018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9978
9979 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9980 Fix unwind.
9981
71c01af5
IL
99822018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9983
9984 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9985 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9986 code to s390x-mcount.h and #include it.
9987 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9988 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9989 (__fentry__): Add.
9990
8d997d22
IL
99912018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9992
9993 * stdlib/Versions: Remove __fentry__.
9994 * sysdeps/i386/Versions: Add __fentry__.
9995 * sysdeps/x86_64/Versions: Add __fentry__.
9996
69e2444a
IL
99972018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9998
9999 * sysdeps/s390/Makefile: Register the new tests.
10000 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10001 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10002 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10003 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10004 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10005 * sysdeps/s390/tst-dl-runtime.c: New file.
10006
bde6320f
IL
100072018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10008
10009 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10010 Do not clobber R0.
10011
5755f5e4
IL
100122018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10013
10014 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10015 Do not clobber R0.
10016
c8ad8522
IL
100172018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10018
10019 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10020 Do not clobber R0.
10021
b215eee1
IL
100222018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10023
10024 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10025 Do not clobber R0.
10026
329c6fec
IL
100272018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10028
10029 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10030 Use symbolic offsets for stack variables.
10031
0fb7afa2
IL
100322018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10033
10034 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10035 Use symbolic offsets for stack variables.
10036
6954059a
IL
100372018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10038
10039 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10040 Use symbolic offsets for stack variables.
10041
c7099673
IL
100422018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10043
10044 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10045 Use symbolic offsets for stack variables.
10046
2813e41e
JM
100472018-08-09 Joseph Myers <joseph@codesourcery.com>
10048
10049 * math/gen-libm-test.py: New file.
10050 * math/gen-libm-test.pl: Remove.
10051 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10052 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10053 gen-libm-test.pl.
10054 ($(libm-test-c-noauto-obj)): Likewise.
10055 ($(libm-test-c-auto-obj)): Likewise.
10056 ($(libm-test-c-narrow-obj)): Likewise.
10057 (regen-ulps): Likewise.
10058 * math/README.libm-test: Update references to gen-libm-test.pl.
10059 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10060 referencing gen-libm-test.pl.
10061 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10062 * math/libm-test-support.c: Likewise.
10063 * math/libm-test-support.h: Likewise.
10064 * sysdeps/generic/libm-test-ulps: Likewise.
10065
be64b194
SP
100662018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10067
10068 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10069 Fix value.
10070
140137fb
JM
100712018-08-08 Joseph Myers <joseph@codesourcery.com>
10072
10073 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10074 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10075
b5403eca
ST
100762018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10077
10078 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10079 symbols.
8ac0f9e6
ST
10080 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10081 __pthread_setspecific): Add hidden proto.
10082 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10083 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 10084
014efdd7
SP
100852018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10086
10087 * benchtests/bench-string.h (buf1_size, buf2_size): New
10088 variables.
10089 (init_sizes): New function.
10090 (test_init): Use it.
10091 (alloc_buf, exit_error): New functions.
10092 (alloc_bufs): Use ALLOC_BUF.
10093 (realloc_bufs): Remove.
10094 * benchtests/bench-memcmp.c (do_test): Adjust.
10095 * benchtests/bench-memset-large.c (do_test): Likewise.
10096 * benchtests/bench-memset-walk.c (do_test): Likewise.
10097 * benchtests/bench-memset.c (do_test): Likewise.
10098 * benchtests/bench-strncmp.c (do_test): Likewise.
10099
92a4cba7
AS
101002018-08-06 Andreas Schwab <schwab@suse.de>
10101
10102 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10103 of CONST_THREAD_AREA.
10104
fb4c32ae
L
101052018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10106
10107 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10108 (STATE_SAVE_MASK): Likewise.
10109 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10110 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10111 (STATE_SAVE_MASK): Likewise.
10112 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10113 instead of <cpu-features.h>.
10114
bf418187
DD
101152018-08-03 DJ Delorie <dj@redhat.com>
10116
10117 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 10118 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 10119
bb17621a
DD
10120 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10121
ea705eb5
JM
101222018-08-03 Joseph Myers <joseph@codesourcery.com>
10123
10124 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10125 after TEST_* calls.
10126 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10127 * math/libm-test-logb.inc (logb_test_data): Likewise.
10128
284f42bc
WD
101292018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10130
10131 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10132 * string/strstr.c (AVAILABLE): Likewise.
10133
430388d5
L
101342018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10135
10136 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10137 <init-arch.h>.
10138 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10139 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10140 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10141
c5760aa9
CD
101422018-08-03 Carlos O'Donell <carlos@redhat.com>
10143
10144 * po/be.po: Update translation.
10145
6b535b84
CD
10146 * po/be.po: Update translation.
10147
ae67f2e5
L
101482018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10149
10150 * sysdeps/x86/cpu-features-offsets.sym
10151 (rtld_global_ro_offsetof): Removed.
10152 (CPU_FEATURES_SIZE): Likewise.
10153 (CPUID_OFFSET): Likewise.
10154 (CPUID_SIZE): Likewise.
10155 (CPUID_EAX_OFFSET): Likewise.
10156 (CPUID_EBX_OFFSET): Likewise.
10157 (CPUID_ECX_OFFSET): Likewise.
10158 (CPUID_EDX_OFFSET): Likewise.
10159 (FAMILY_OFFSET): Likewise.
10160 (MODEL_OFFSET): Likewise.
10161 (FEATURE_OFFSET): Likewise.
10162 (FEATURE_SIZ): Likewise.
10163 (COMMON_CPUID_INDEX_1): Likewise.
10164 (COMMON_CPUID_INDEX_7): Likewise.
10165 (FEATURE_INDEX_1): Likewise.
10166 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10167
6b5c8607 101682018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
10169
10170 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10171 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10172 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10173 (install-locales): Depend on install-locale-archive.
10174 (install-locale-archive): Define.
7b7adbd8 10175 (install-locale-files): Define.
08a5ee14
CD
10176 (build-one-locale): Define macro.
10177 * manual/install.texi (Running make install): Document.
10178 * manual/INSTALL: Regenerate.
10179
525691bd
SP
101802018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10181
d67d634b
SP
10182 * benchtests/scripts/compare_strings.py: Import traceback.
10183 (parse_file): Pretty-print error.
10184
525691bd
SP
10185 * NEWS: Mention the change.
10186 * elf/dl-tunables.list: Rename tune namespace to cpu.
10187 * sysdeps/powerpc/dl-tunables.list: Likewise.
10188 * sysdeps/x86/dl-tunables.list: Likewise.
10189 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10190 cpu.name.
10191 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10192 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10193 * manual/README.tunables: Likewise.
10194 * manual/tunables.texi: Likewise.
10195 * sysdeps/powerpc/cpu-features.c: Likewise.
10196 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10197 (init_cpu_features): Likewise.
10198 * sysdeps/x86/cpu-features.c: Likewise.
10199 * sysdeps/x86/cpu-features.h: Likewise.
10200 * sysdeps/x86/cpu-tunables.c: Likewise.
10201 * sysdeps/x86_64/Makefile: Likewise.
10202 * sysdeps/x86/dl-cet.c: Likewise.
10203
506d7fb1
JM
102042018-08-02 Joseph Myers <joseph@codesourcery.com>
10205
10206 [BZ #23479]
10207 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10208 [__mips_hard_float].
10209 (FE_UNDERFLOW): Likewise.
10210 (FE_OVERFLOW): Likewise.
10211 (FE_DIVBYZERO): Likewise.
10212 (FE_INVALID): Likewise.
10213 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10214 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10215 (FE_UPWARD): Likewise.
10216 (FE_DOWNWARD): Likewise.
10217 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10218 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10219 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10220 [__mips_hard_float].
10221 (FP_ROUNDMODE): Likewise.
10222 (FP_RND_NEAREST): Likewise.
10223 (FP_RND_ZERO): Likewise.
10224 (FP_RND_PINF): Likewise.
10225 (FP_RND_MINF): Likewise.
10226 (FP_EX_INVALID): Likewise.
10227 (FP_EX_OVERFLOW): Likewise.
10228 (FP_EX_UNDERFLOW): Likewise.
10229 (FP_EX_DIVZERO): Likewise.
10230 (FP_EX_INEXACT): Likewise.
10231 (FP_INIT_ROUNDMODE): Likewise.
10232 * sysdeps/mips/nofpu/fesetenv.c: New file.
10233 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10234
f6dcefbe
JM
102352018-08-01 Joseph Myers <joseph@codesourcery.com>
10236
10237 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10238 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10239 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10240 conditional on [FE_UPWARD].
10241
fa67ba06
PE
102422018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10243
10244 regex: fix memory leak in Gnulib
10245 Problem and fix reported by Assaf Gordon in:
10246 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10247 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10248 range_ends members too, as they are defined in 'struct
10249 re_charset_t' even if not _LIBC. This affects only Gnulib.
10250
82c80ac2
L
102512018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10252
10253 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10254 ...
10255 (get_common_indices): This.
10256 (init_cpu_features): Updated.
10257
c0e7e2c1
JM
102582018-08-01 Joseph Myers <joseph@codesourcery.com>
10259
46f8cf57
JM
10260 * sysdeps/generic/math-tests-snan-payload.h: New file.
10261 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10262 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10263 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10264 * sysdeps/generic/math-tests.h: Include
10265 <math-tests-snan-payload.h>.
10266 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10267 * sysdeps/hppa/math-tests.h: Remove file.
10268 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10269 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10270 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10271 Likewise.
10272
c0e7e2c1
JM
10273 * sysdeps/generic/math-tests-snan-cast.h: New file.
10274 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10275 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10276 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10277 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10278
74939c83
CD
102792018-08-01 Carlos O'Donel <carlos@redhat.com>
10280
b029723b
CD
10281 * version.h (RELEASE): Set to "development".
10282 (VERSION): Set to "2.28.9000".
10283 * NEWS (2.29): New section.
10284
3c03baca
CD
10285 * version.h (RELEASE): Set to "stable".
10286 (VERSION): Set to "2.28".
10287 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10288 * NEWS: Add the list of bugs fixed in 2.28.
10289
74939c83
CD
10290 * po/ca.po: Update to latest version.
10291 * po/cs.po: Likewise
10292 * po/da.po: Likewise
10293 * po/el.po: Likewise
10294 * po/eo.po: Likewise
10295 * po/es.po: Likewise
10296 * po/fi.po: Likewise
10297 * po/fr.po: Likewise
10298 * po/gl.po: Likewise
10299 * po/hu.po: Likewise
10300 * po/ia.po: Likewise
10301 * po/id.po: Likewise
10302 * po/it.po: Likewise
10303 * po/ja.po: Likewise
10304 * po/ko.po: Likewise
10305 * po/lt.po: Likewise
10306 * po/nb.po: Likewise
10307 * po/nl.po: Likewise
10308 * po/pt_BR.po: Likewise
10309 * po/ru.po: Likewise
10310 * po/rw.po: Likewise
10311 * po/sk.po: Likewise
10312 * po/sl.po: Likewise
10313 * po/tr.po: Likewise
10314 * po/zh_CN.po: Likewise
10315 * po/zh_TW.po: Likewise
10316
d4b54bdf
ST
103172018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10318
10319 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10320 initialization...
10321 (init): ... before initializing libpthread.
10322
42fc12ef
ST
10323 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10324 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10325 (__mach_setup_tls): ... new function.
10326 (mach_setup_tls): New alias.
10327 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10328 __mach_setup_thread.
10329 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10330 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10331 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10332 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10333
6cca855e
CD
103342018-07-31 Carlos O'Donell <carlos@redhat.com>
10335
f650932b
CD
10336 * manual/install.texi: Update versions.
10337 * INSTALL: Regenerate.
10338
6cca855e
CD
10339 * manual/contrib.texi (Contributors): Update contributions.
10340
07fdea47
CD
103412018-07-31 Carlos O'Donell <carlos@redhat.com>
10342
10343 * po/be.po: Update translations.
10344
63d5fad4
AZ
103452018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10346
10347 * sysdeps/sh/libm-test-ulps: Update.
10348
1ff712a6
CD
103492018-07-30 Carlos O'Donell <carlos@redhat.com>
10350
10351 * po/bg.po: Update translations.
10352 * po/de.po: Likewise.
10353 * po/hr.po: Likewise.
10354 * po/pt_BR.po: Likewise.
10355 * po/sv.po: Likewise.
10356 * po/vi.po: Likewise.
10357
98864ed0
L
103582018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10359
10360 [BZ #23467]
10361 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10362 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10363 (CFLAGS-tst-cet-property-1.o): New.
10364 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10365 ($(objpfx)tst-cet-property-2): Likewise.
10366 ($(objpfx)tst-cet-property-2.out): Likewise.
10367 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10368 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10369 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10370 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10371 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10372
c92a00d8
L
103732018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10374
10375 [BZ #23458]
10376 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10377
99bc6241
ST
103782018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10379
10380 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10381 __sbrk): Do not set attribute_hidden.
af86087f 10382 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
10383 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10384 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10385
bcb1c4af
CD
103862018-07-27 Carlos O'Donell <carlos@redhat.com>
10387
10388 * po/uk.po: Update translations.
10389 * po/cs.po: Likewise.
10390 * po/pl.po: Likewise.
10391
4591b7db
L
103922018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10393
10394 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10395 parse beyond the note end.
10396
2c6da2f4
AZ
103972018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10398
10399 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10400 kernel does not support OFD locks.
10401 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10402
20365a31
ST
104032018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10404
10405 * sysdeps/mach/hurd/Versions (libc): Make __access and
10406 __access_noerrno external so they can override the ld symbols.
10407 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10408 __writev, __open64, __access_noerrno extern so they can be overrided.
10409 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10410 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10411
cb1a43db
CD
104122018-07-26 Carlos O'Donell <carlos@redhat.com>
10413
10414 * po/libc.pot: Regenerate.
10415
74759ae5
JM
104162018-07-26 Joseph Myers <joseph@codesourcery.com>
10417
10418 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10419
da80612d
L
104202018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10421
10422 [BZ #23459]
10423 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10424 function.
10425 (init_cpu_features): Call get_extended_indices for both Intel
10426 and AMD CPUs.
10427 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10428 Remove "for AMD" comment.
10429
65d87ade
L
104302018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10431
10432 [BZ # 23456]
10433 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10434 COMMON_CPUID_INDEX_80000001.
10435
c9dc4d51
SL
104362018-07-26 Stefan Liebler <stli@linux.ibm.com>
10437
10438 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10439 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10440
cfba5dbb
FW
104412018-07-26 Florian Weimer <fweimer@redhat.com>
10442
10443 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10444 aliases for symbols not in the implementation namespace.
10445
6b5c8607 104462018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
10447
10448 [BZ #23393]
10449 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10450 lowercase in LATIN script.
10451 * localedata/Makefile (test-input): Add en_US.UTF-8.
10452 * localedata/en_US.UTF-8.in: New file.
10453 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10454 and restore old tests.
10455 * posix/tst-regexloc.c (do_test): Add back range expression test.
10456
3fb455b3
L
104572018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10458
10459 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10460
d6499b70
AZ
104612018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10462
10463 * nptl/threads.h: Move to ...
10464 * sysdeps/nptl/threads.h: ... here.
10465 * sysdeps/hurd/stdc-predef.h: New file.
10466
08ac6bed
L
104672018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10468
10469 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10470 tst-cet-setcontext-1 if CET is enabled.
10471 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10472 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10473
9faaf938
AZ
104742018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10475
10476 * include/threads.h: Move to ...
10477 * sysdeps/nptl/threads.h: ... here.
10478 * sysdeps/htl/threads.h: New file.
10479 * conform/Makefile (linknamespace-libs-ISO11): Use
10480 static-thread-library instead of linking libpthread.
10481 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10482
d6b8f847
FW
104832018-07-25 Florian Weimer <fweimer@redhat.com>
10484
10485 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10486 nanoseconds into seconds.
10487 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10488 (do_test): Likewise.
10489 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10490 (do_test): Likewise. Avoid nanosecond overflow and spurious
10491 timeouts due to system load.
10492 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10493 (child_wait): Increment it.
10494 (do_test): Wait as long as necessary until all expected threads
10495 have arrived.
10496
25123a1c
L
104972018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10498 H.J. Lu <hongjiu.lu@intel.com>
10499
10500 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10501 __ssp.
10502 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10503 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10504 (__push___start_context): New.
10505 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10506 <asm/prctl.h>.
10507 (__getcontext): Record the current shadow stack base. Save the
10508 caller's shadow stack pointer and base.
10509 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10510 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10511 (__push___start_context): New prototype.
10512 (__makecontext): Call __push___start_context to allocate a new
10513 shadow stack, push __start_context onto the new stack as well
10514 as the new shadow stack.
10515 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10516 <asm/prctl.h>.
10517 (__setcontext): Restore the target shadow stack.
10518 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10519 <asm/prctl.h>.
10520 (__swapcontext): Record the current shadow stack base. Save
10521 the caller's shadow stack pointer and base. Restore the target
10522 shadow stack.
10523 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10524 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10525 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10526
375a4844
L
105272018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10528
10529 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10530 tst-setcontext8 and tst-setcontext9.
10531 * stdlib/tst-setcontext6.c: New file.
10532 * stdlib/tst-setcontext7.c: Likewise.
10533 * stdlib/tst-setcontext8.c: Likewise.
10534 * stdlib/tst-setcontext9.c: Likewise.
10535
bd4f7903
L
105362018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10537
10538 * stdlib/Makefile ((tests): Add tst-setcontext5.
10539 * stdlib/tst-setcontext5.c: New file.
10540
7e28f203
L
105412018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10542
10543 * stdlib/Makefile (tests): Add tst-setcontext4.
10544 * stdlib/tst-setcontext4.c: New file.
10545
8516ad2d
L
105462018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10547
10548 * stdlib/Makefile (tests): Add tst-swapcontext1.
10549 * stdlib/tst-swapcontext1.c: New test.
10550
fddcd003
L
105512018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10552
10553 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10554 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10555 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10556 and tst-cet-legacy-4c.
10557 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10558 and tst-cet-legacy-mod-4.
10559 (CFLAGS-tst-cet-legacy-2.c): New.
10560 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10561 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10562 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10563 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10564 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10565 ($(objpfx)tst-cet-legacy-1): Likewise.
10566 ($(objpfx)tst-cet-legacy-2): Likewise.
10567 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10568 ($(objpfx)tst-cet-legacy-2a): Likewise.
10569 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10570 ($(objpfx)tst-cet-legacy-4): Likewise.
10571 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10572 ($(objpfx)tst-cet-legacy-4a): Likewise.
10573 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10574 (tst-cet-legacy-4a-ENV): Likewise.
10575 ($(objpfx)tst-cet-legacy-4b): Likewise.
10576 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10577 (tst-cet-legacy-4b-ENV): Likewise.
10578 ($(objpfx)tst-cet-legacy-4c): Likewise.
10579 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10580 (tst-cet-legacy-4c-ENV): Likewise.
10581 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10582 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10583 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10584 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10585 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10586 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10587 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10588 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10589 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10590 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10591 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10592
9aa3113a
L
105932018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10594
10595 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10596 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10597 with ssp_base.
10598 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10599 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10600 with ssp_base.
10601
9c79cec8
AS
106022018-07-25 Andreas Schwab <schwab@suse.de>
10603
10604 [BZ #23442]
10605 * locale/weightwc.h (findidx): Handle the case where usrc is a
10606 prefix of cp but one character too short.
10607
969c3355
AZ
106082018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10609
10610 * NEWS: Add ISO C threads addition.
10611
e0f9c462
FW
106122018-07-24 Florian Weimer <fweimer@redhat.com>
10613
10614 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10615 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10616 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10617 4.13.
10618
394df381
L
106192018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10620
10621 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10622 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10623 <sys/prctl.h> and <asm/prctl.h>.
10624 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10625 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10626 and <asm/prctl.h>.
10627 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10628 ARCH_CET_LEGACY_BITMAP.
10629 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10630 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10631 * sysdeps/x86/libc-start.c: Include <startup.h>.
10632
46545530
FW
106332018-07-24 Florian Weimer <fweimer@redhat.com>
10634
10635 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10636 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10637
6b5c8607 106382018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 10639 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
10640 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10641
10642 [BZ #14092]
9d0a979e
RJ
10643 * manual/debug.texi: Update adjacent chapter name.
10644 * manual/probes.texi: Likewise.
10645 * manual/threads.texi (ISO C Threads): New section.
10646 (POSIX Threads): Convert to a section.
10647
106482018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10649 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10650
10651 [BZ# 14092]
0a07288b
AZ
10652 * nptl/Makefile (tests): Add new test files.
10653 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10654 * nptl/tst-cnd-basic.c: Likewise.
10655 * nptl/tst-cnd-broadcast.c: Likewise.
10656 * nptl/tst-cnd-timedwait.c: Likewise.
10657 * nptl/tst-mtx-basic.c: Likewise.
10658 * nptl/tst-mtx-recursive.c: Likewise.
10659 * nptl/tst-mtx-timedlock.c: Likewise.
10660 * nptl/tst-mtx-trylock.c: Likewise.
10661 * nptl/tst-thrd-basic.c: Likewise.
10662 * nptl/tst-thrd-detach.c: Likewise.
10663 * nptl/tst-thrd-sleep.c: Likewise.
10664 * nptl/tst-tss-basic.c: Likewise.
10665
ce7528f6
AZ
106662018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10667
c6dd669b
AZ
10668 [BZ #14092]
10669 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10670 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10671 symbols.
10672 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10673 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10674 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10675 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10676 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10677 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10678 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10679 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10680 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10681 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10682 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10683 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10685 Likewise.
10686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10687 Likewise.
10688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10689 Likewise.
10690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10691 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10692 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10693 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10694 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10695 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10696 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10697 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10698 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10699 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10700 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10701 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10702 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10703 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10704 Likewise.
10705 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10706 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10707 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10708 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10709 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10710 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10711 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10712 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10713 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10714 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10715 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10716 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10717 ikewise.
10718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10720 Likewise.
10721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10722 Likewise.
10723 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10724 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10725 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10726 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10727 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10728 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10729 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10730 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10731
78d40132
AZ
10732 [BZ #14092]
10733 * conform/data/threads.h-data (thread_local): New macro.
10734 (TSS_DTOR_ITERATIONS): Likewise.
10735 (tss_t): New type.
10736 (tss_dtor_t): Likewise.
10737 (tss_create): New function.
10738 (tss_get): Likewise.
10739 (tss_set): Likewise.
10740 (tss_delete): Likewise.
10741 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10742 tss_get, and tss_set objects.
10743 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10744 * nptl/tss_create.c: New file.
10745 * nptl/tss_delete.c: Likewise.
10746 * nptl/tss_get.c: Likewise.
10747 * nptl/tss_set.c: Likewise.
10748 * sysdeps/nptl/threads.h (thread_local): New define.
10749 (TSS_DTOR_ITERATIONS): Likewise.
10750 (tss_t): New typedef.
10751 (tss_dtor_t): Likewise.
10752 (tss_create): New prototype.
10753 (tss_get): Likewise.
10754 (tss_set): Likewise.
10755 (tss_delete): Likewise.
10756
918311a3
AZ
10757 [BZ #14092]
10758 * conform/data/threads.h-data (cnd_t): New type.
10759 (cnd_init): New function.
10760 (cnd_signal): Likewise.
10761 (cnd_broadcast): Likewise.
10762 (cnd_wait): Likewise.
10763 (cnd_timedwait): Likewise.
10764 (cnd_destroy): Likewise.
10765 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10766 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10767 object.
10768 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10769 * nptl/cnd_broadcast.c: New file.
10770 * nptl/cnd_destroy.c: Likewise.
10771 * nptl/cnd_init.c: Likewise.
10772 * nptl/cnd_signal.c: Likewise.
10773 * nptl/cnd_timedwait.c: Likewise.
10774 * nptl/cnd_wait.c: Likewise.
10775 * sysdeps/nptl/threads.h (cnd_t): New type.
10776 (cnd_init): New prototype.
10777 (cnd_signa): Likewise.
10778 (cnd_broadcast): Likewise.
10779 (cnd_wait): Likewise.
10780 (cnd_timedwait): Likewise.
10781 (cnd_destroy): Likewise.
10782
3c20a679
AZ
10783 [BZ #14092]
10784 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10785 (once_flag): New type.
10786 (call_once): New function.
10787 * nptl/Makefile (libpthread-routines): Add call_once object.
10788 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10789 * nptl/call_once.c: New file.
10790 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10791 (once_flag): New type.
10792 (call_once): New prototype.
10793
18d59c1b
AZ
10794 [BZ #14092]
10795 * conform/data/threads.h-data (mtx_plain): New constant.
10796 (mtx_recursive): Likewise.
10797 (mtx_timed): Likewise.
10798 (mtx_t): New type.
10799 (mtx_init): New function.
10800 (mtx_lock): Likewise.
10801 (mtx_timedlock): Likewise.
10802 (mtx_trylock): Likewise.
10803 (mtx_unlock): Likewise.
10804 (mtx_destroy): Likewise.
10805 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10806 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10807 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10808 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10809 * nptl/mtx_destroy.c: New file.
10810 * nptl/mtx_init.c: Likewise.
10811 * nptl/mtx_lock.c: Likewise.
10812 * nptl/mtx_timedlock.c: Likewise.
10813 * nptl/mtx_trylock.c: Likewise.
10814 * nptl/mtx_unlock.c: Likewise.
10815 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10816 (mtx_recursive): Likewise.
10817 (mtx_timed): Likewise.
10818 (mtx_t): New type.
10819 (mtx_init): New prototype.
10820 (mtx_lock): Likewise.
10821 (mtx_timedlock): Likewise.
10822 (mtx_trylock): Likewise.
10823 (mtx_unlock): Likewise.
10824 (mtx_destroy): Likewise.
10825
ce7528f6
AZ
10826 [BZ #14092]
10827 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
10828 (linknamespace-libs-ISO11): Add libpthread.a.
10829 * conform/data/threads.h-data: New file: add C11 thrd_* types and
10830 functions.
10831 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
10832 * nptl/Makefile (headers): Add threads.h.
10833 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
10834 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
10835 thrd_yield.
10836 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
10837 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
10838 thrd_join, thrd_sleep, and thrd_yield symbols.
10839 * nptl/descr.h (struct pthread): Add c11 field.
10840 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
10841 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
10842 routine with expected function prototype.
10843 (__pthread_create_2_1): Add C11 threads check based on attribute
10844 value.
10845 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
10846 * nptl/thrd_create.c: New file.
10847 * nptl/thrd_current.c: Likewise.
10848 * nptl/thrd_detach.c: Likewise.
10849 * nptl/thrd_equal.c: Likewise.
10850 * nptl/thrd_exit.c: Likewise.
10851 * nptl/thrd_join.c: Likewise.
10852 * nptl/thrd_priv.h: Likewise.
10853 * nptl/thrd_sleep.c: Likewise.
10854 * nptl/thrd_yield.c: Likewise.
10855 * include/threads.h: Likewise.
10856
e27f41ba
L
108572018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10858
10859 * bits/indirect-return.h: New file.
10860 * misc/sys/cdefs.h (__glibc_has_attribute): New.
10861 * sysdeps/x86/bits/indirect-return.h: Likewise.
10862 * stdlib/Makefile (headers): Add bits/indirect-return.h.
10863 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
10864 (swapcontext): Add __INDIRECT_RETURN.
10865 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
10866 (prepare_test_buffer): Use it.
10867
21526a50
AS
108682018-07-24 Andreas Schwab <schwab@suse.de>
10869
10870 [BZ #23448]
10871 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
10872 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
10873
3650e1d9
L
108742018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10875
10876 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
10877 Redefine if shadow stack is enabled.
10878 (SYSCALL_ERROR_LABEL): Likewise.
10879 (__vfork): Pop shadow stack and jump back to to caller directly
10880 when shadow stack is in use.
10881 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
10882 Redefine if shadow stack is enabled.
10883 (SYSCALL_ERROR_LABEL): Likewise.
10884 (__vfork): Pop shadow stack and jump back to to caller directly
10885 when shadow stack is in use.
10886
ca027e0f
L
108872018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10888
10889 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
10890 enabled.
10891 (foo): Likewise.
10892 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
10893 (foo): Likewise.
10894
b99f1c95
JM
108952018-07-20 Joseph Myers <joseph@codesourcery.com>
10896
10897 * scripts/build-many-glibcs.py (Context.checkout): Default
10898 binutils version to 2.31 branch.
10899
c8fabb84
ZL
109002018-07-20 Zong Li <zong@andestech.com>
10901
10902 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
10903 URL of gcc's tarball.
10904
786658a0
FW
109052018-07-20 Florian Weimer <fweimer@redhat.com>
10906
10907 [BZ #23396]
10908 * posix/regcomp.c (build_equiv_class): When comparing weights, do
10909 not compare an extra byte after the end of the weights.
10910
46f2474e
ST
109112018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10912
10913 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
10914 to 1.
8ba1520e
ST
10915 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
10916 hidden prototypes.
10917 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
10918 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
10919 * scripts/check-execstack.awk: Consider `xfail' variable containing a
10920 list of libraries whose stack executability is expected.
10921 * elf/Makefile ($(objpfx)check-execstack.out): Pass
10922 $(check-execstack-xfail) to check-execstack.awk through `xfail'
10923 variable.
10924 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
10925 libc.so libpthread.so.
46f2474e 10926
60088242
TS
109272018-07-20 Thomas Schwinge <tschwinge@gnu.org>
10928
10929 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
10930 SOCK_NONBLOCK.
75d5e4a0
TS
10931 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
10932 and SOCK_NONBLOCK.
de195be0
TS
10933 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
10934 implement __pipe2.
10935 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 10936
1cf4ae7f
LS
109372018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10938
10939 * benchtests/scripts/compare_bench.py (__main__): use the argparse
10940 library to improve command line parsing.
10941 (__main__): make schema file as optional parameter (--schema),
10942 defaulting to benchtests/scripts/benchout.schema.json.
10943 (main): move out of the parsing stuff to __main_  and leave it
10944 only as caller of main comparison functions.
10945
e84bd851
L
109462018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10947
10948 * NEWS: Add a note for Intel CET status.
10949 * manual/install.texi: Likewise.
10950 * INSTALL: Regenerated.
10951
df467d22
QP
109522018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10953
10954 [BZ #23140]
10955 * localedata/locales/oc_FR (mon): Rename to...
10956 (alt_mon): This, then update October (typo fix).
10957 (mon): New content (genitive case, month names preceded by
10958 "de" or "d’").
10959
10960 [BZ #23422]
10961 * localedata/locales/oc_FR (abday): Update all items.
10962 (day): Update Wednesday and Saturday (typo fixes).
10963 (abmon): Update all items, except May.
10964 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10965 (LC_IDENTIFICATION): Bump the revision number and date.
10966 Keep the "category" entries in alphabetic order.
10967 (LC_ADDRESS): Remove no longer needed comment.
10968 (LC_COLLATE): Use “copy "ca_ES"”.
10969 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10970 "name_mrs".
10971
5c112f1b
JM
109722018-07-18 Joseph Myers <joseph@codesourcery.com>
10973
10974 * grp/tst_fgetgrent.c: Include <unistd.h>.
10975 (main): Use mkstemp instead of tmpnam.
10976 * io/test-utime.c (main): Likewise.
10977 * posix/annexc.c (macrofile): Change to modifiable array.
10978 (main): Remove macrofile here.
10979 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10980 macrofile here.
10981 (check_header): Do not remove macrofile here.
10982 * posix/bug-getopt1.c: Include <stdlib.h>.
10983 (do_test): Use mkstemp instead of tmpnam.
10984 * posix/bug-getopt2.c: Include <stdlib.h>.
10985 (do_test): Use mkstemp instead of tmpnam.
10986 * posix/bug-getopt3.c: Include <stdlib.h>.
10987 (do_test): Use mkstemp instead of tmpnam.
10988 * posix/bug-getopt4.c: Include <stdlib.h>.
10989 (do_test): Use mkstemp instead of tmpnam.
10990 * posix/bug-getopt5.c: Include <stdlib.h>.
10991 (do_test): Use mkstemp instead of tmpnam.
10992 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10993 (main): Use mkstemp instead of tmpnam.
10994 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10995 (main): Use mkstemp instead of tmpnam.
10996 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10997 (main): use mkstemp instead of tmpnam.
10998 * stdlib/isomac.c (macrofile): Change to modifiable array.
10999 (main): Remove macrofile here.
11000 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11001 macrofile here.
11002 (check_header): Do not remove macrofile here.
11003
6d90776d
L
110042018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11005
11006 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11007 glibc.tune.x86_shstk.
11008
e6c69509
L
110092018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11010
11011 * NEWS: Mention --enable-cet.
11012 * manual/install.texi: Document --enable-cet.
11013 * INSTALL: Regenerated.
11014
e2d40a88
L
110152018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11016
11017 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11018 Add _CET_NOTRACK before indirect jump to jump table.
11019
77a8ae09
L
110202018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11021
11022 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11023 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11024 to jump table.
11025
90d15dc5
L
110262018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11027
11028 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11029 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11030 to jump table.
11031
f1574581
L
110322018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11033
11034 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11035 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11036 to jump table.
11037
7fb61336
L
110382018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11039
11040 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11041 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11042 to jump table.
11043
0a899af0
L
110442018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11045
11046 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11047 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11048 to jump table.
11049 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11050
177824e2
L
110512018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11052
11053 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11054 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11055 to jump table.
11056
00e7b76a
L
110572018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11058
11059 * sysdeps/i386/i686/multiarch/memset-sse2.S
11060 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11061 to jump table.
11062
7e119cd5
L
110632018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11064
11065 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11066 indirect jump to jump table.
11067
03aaf49b
L
110682018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11069
11070 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11071 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11072 to jump table.
11073 (MEMCPY): Likewise.
11074
811e9e52
L
110752018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11076
11077 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11078 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11079 to jump table.
11080 (MEMCPY): Likewise.
11081
8817df42
L
110822018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11083
11084 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11085 _CET_NOTRACK before indirect jump to jump table.
11086
921595d1
L
110872018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11088
11089 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11090 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11091 to jump table.
11092
4ef60d95
L
110932018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11094
11095 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11096 indirect jump to jump table.
11097
61c4aad7
VT
110982018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11099
11100 [BZ #22241]
11101 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11102 (LOCALES): Likewise.
11103 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11104 * localedata/locales/sah_RU: New file.
11105 * localedata/sah_RU.UTF-8.in: New file.
11106
be9ccd27
L
111072018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11108
11109 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11110 "sysdep.h".
11111 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11112 _CET_ENDBR to indirect jump targets and adjust jump destination
11113 for _CET_ENDBR.
11114 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11115 "sysdep.h".
11116 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11117 _CET_ENDBR to indirect jump targets and adjust jump destination
11118 for _CET_ENDBR.
11119 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11120 "sysdep.h".
11121 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11122 _CET_ENDBR to indirect jump targets and adjust jump destination
11123 for _CET_ENDBR.
11124
5efc6777
L
111252018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11126
11127 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11128 _CET_ENDBR.
11129
562837c0
L
111302018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11131
11132 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11133 _CET_ENDBR.
11134 (_dl_tlsdesc_undefweak): Likewise.
11135 (_dl_tlsdesc_dynamic): Likewise.
11136 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11137 (_dl_tlsdesc_resolve_rel): Likewise.
11138 (_dl_tlsdesc_resolve_rela): Likewise.
11139 (_dl_tlsdesc_resolve_hold): Likewise.
11140 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11141 (_dl_tlsdesc_undefweak): Likewise.
11142 (_dl_tlsdesc_dynamic): Likewise.
11143 (_dl_tlsdesc_resolve_rela): Likewise.
11144 (_dl_tlsdesc_resolve_hold): Likewise.
11145
124bcde6
L
111462018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11147
11148 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11149 (_fini): Likewise.
11150 * sysdeps/x86_64/crti.S (_init): Likewise.
11151 (_fini): Likewise.
11152
9145f033
RL
111532018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11154
11155 [BZ #23140]
11156 * localedata/locales/os_RU (mon): Rename to...
11157 (alt_mon): This.
11158 (mon): Import from CLDR (genitive case).
11159
ba2ea23d
L
111602018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11161
11162 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11163 cet-tunables.h> when CET is enabled.
11164
f753fa7d
L
111652018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11166
6b5c8607 11167 [BZ #21598]
f753fa7d
L
11168 * configure.ac: Add --enable-cet.
11169 * configure: Regenerated.
11170 * elf/Makefille (all-built-dso): Add a comment.
11171 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11172 Include <dl-prop.h>.
11173 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11174 segment.
11175 * elf/dl-open.c: Include <dl-prop.h>.
11176 (dl_open_worker): Call _dl_open_check.
11177 * elf/rtld.c: Include <dl-prop.h>.
11178 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11179 _rtld_main_check.
11180 * sysdeps/generic/dl-prop.h: New file.
11181 * sysdeps/i386/dl-cet.c: Likewise.
11182 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11183 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11184 * sysdeps/x86/cet-tunables.h: Likewise.
11185 * sysdeps/x86/check-cet.awk: Likewise.
11186 * sysdeps/x86/configure: Likewise.
11187 * sysdeps/x86/configure.ac: Likewise.
11188 * sysdeps/x86/dl-cet.c: Likewise.
11189 * sysdeps/x86/dl-procruntime.c: Likewise.
11190 * sysdeps/x86/dl-prop.h: Likewise.
11191 * sysdeps/x86/libc-start.h: Likewise.
11192 * sysdeps/x86/link_map.h: Likewise.
11193 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11194 _CET_ENDBR.
11195 (_dl_runtime_profile): Likewise.
11196 (_dl_runtime_resolve_shstk): New.
11197 (_dl_runtime_profile_shstk): Likewise.
11198 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11199 if CET is enabled.
11200 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11201 (CFLAGS-.os): Likewise.
11202 (CFLAGS-.op): Likewise.
11203 (CFLAGS-.oS): Likewise.
11204 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11205 is enabled.
11206 (tests-special): Add $(objpfx)check-cet.out.
11207 (cet-built-dso): New.
11208 (+$(cet-built-dso:=.note)): Likewise.
11209 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11210 ($(objpfx)check-cet.out): New.
11211 (generated): Add check-cet.out.
11212 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11213 <cet-tunables.h>.
11214 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11215 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11216 (init_cpu_features): Call get_cet_status to check CET status
11217 and update dl_x86_feature_1 with CET status. Call
11218 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11219 (set_x86_shstk). Disable and lock CET in libc.a.
11220 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11221 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11222 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11223 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11224 (_CET_ENDBR): Define if not defined.
11225 (ENTRY): Add _CET_ENDBR.
11226 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11227 x86_shstk.
11228 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11229 _CET_ENDBR.
11230 (_dl_runtime_profile): Likewise.
11231
52b2a80f
RA
112322018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11233
11234 [BZ #21895]
11235 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11236 restore r2 on longjmp.
11237 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11238 test list.
11239 Added rules to build test tst-setjmp-bug21895-static.
11240 Added module setjmp-bug21895 and rules to build a shared object from it.
11241 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11242 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11243
3ae725df
WD
112442018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11245
11246 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11247 * benchtests/bench-strstr.c: Likewise.
11248 * string/memmem.c (FASTSEARCH): Define.
11249 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11250 Add support for FASTSEARCH.
11251 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11252 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11253 (FASTSEARCH): Define.
11254 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11255 * string/test-strstr.c: Likewise.
11256
31e422ca
L
112572018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11258
11259 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11260 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11261
faaee1f0
L
112622018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11263 H.J. Lu <hongjiu.lu@intel.com>
11264
11265 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11266 (__longjmp): Restore shadow stack pointer if shadow stack is
11267 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11268 isn't defined for __longjmp_cancel.
11269 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11270 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11271 and SHADOW_STACK_POINTER_OFFSET is defined.
11272 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11273 (setjmp): Save shadow stack pointer if shadow stack is enabled
11274 and SHADOW_STACK_POINTER_OFFSET is defined.
11275 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11276 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11277 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11278 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11279 <jmp_buf-ssp.h>.
11280 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11281 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11282 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11283 Remove jmp_buf-ssp.sym.
11284 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11285 <jmp_buf-ssp.h>.
11286 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11287 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11288 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11289 jmp_buf-ssp.sym.
11290 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11291 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11292 (__longjmp): Restore shadow stack pointer if shadow stack is
11293 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11294 isn't defined for __longjmp_cancel.
11295 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11296 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11297 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11298
ebff9c5c
L
112992018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11300
11301 [BZ #22563]
11302 * nptl/pthread_create.c: Include <tls-setup.h>.
11303 (__pthread_create_2_1): Call tls_setup_tcbhead.
11304 * sysdeps/generic/tls-setup.h: New file.
11305 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11306 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11307 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11308 Likewise.
11309 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11310 to feature_1.
11311 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11312 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11313 (X86_FEATURE_1_SHSTK): Likewise.
11314 (CET_ENABLED): Likewise.
11315 (IBT_ENABLED): Likewise.
11316 (SHSTK_ENABLED): Likewise.
11317
0a83bad2
RL
113182018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11319
11320 [BZ #23208]
11321 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11322 (LOCALES): Likewise.
11323 * localedata/dsb_DE.UTF-8.in: New file.
11324 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11325
046bfed9
FW
113262018-07-12 Florian Weimer <fweimer@redhat.com>
11327
11328 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11329 __mprotect, not mprotect.
11330
93304f5f
FW
113312018-07-11 Florian Weimer <fweimer@redhat.com>
11332
11333 * io/Makefile (headers): Add bits/statx.h.
11334
4beefeeb
MF
113352018-07-10 Mike FABIAN <mfabian@redhat.com>
11336
11337 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11338 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11339 and headers.
11340 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11341 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11342 for utf8_gen.py
11343
fd70af45
FW
113442018-07-10 Florian Weimer <fweimer@redhat.com>
11345
11346 * io/Makefile (routines): Add statx.
11347 (tests-internal): Add tst-statx.
11348 * io/Versions (GLIBC_2.28): Export statx.
11349 * io/bits/statx.h: New file.
11350 * io/sys/stat.h [__USE_GNU]: Include it.
11351 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11352 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11353 Define.
11354 * io/statx.c: New file.
11355 * io/statx_generic.: Likewise.
11356 * io/tst-statx.: Likewise.
11357 * include/bits/statx.h: Likewise.
11358 * sysdeps/unix/sysv/linux/kernel-features.h
11359 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11360 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11361 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11362 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11363 Undefine.
11364 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11365 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11366 * sysdeps/unix/sysv/linux/statx.c: New file.
11367 * manual/filesys.texi: Note that statx is undocumented.
11368 * sysdeps/**/libc*.abilist: Update.
11369
b444e8f7
AZ
113702018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11371
11372 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11373 a kernel issue which lead to test failure in some cases.
11374
7b2f4ced
FW
113752018-07-10 Florian Weimer <fweimer@redhat.com>
11376
11377 [BZ #23036]
11378 * posix/regexec.c (check_node_accept_bytes): When comparing
11379 weights, do not compare an extra byte after the end of the
11380 weights.
11381
4fa34da6
FW
113822018-07-10 Florian Weimer <fweimer@redhat.com>
11383
11384 * libio/readline.c: Fix copyright year.
11385 * libio/tst-readline.c Likewise.
11386 * nss/tst-nss-files-hosts-getent.c: Likewise.
11387
916124ed
FW
113882018-07-06 Florian Weimer <fweimer@redhat.com>
11389
11390 [BZ #18991]
11391 * nss/nss_files/files-XXX.c (internal_getent): Use
11392 __libc_readline_unlocked. Seek back to the start of the line if
11393 parsing failes with ERANGE.
11394 (get_contents_ret, get_contents): Remove.
11395 * nss/tst-nss-files-hosts-getent.c: New file.
11396 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11397 (tst-nss-files-hosts-getent): Link with -ldl.
11398
3f5e3f5d
FW
113992018-07-06 Florian Weimer <fweimer@redhat.com>
11400
11401 * include/stdio.h (__libc_readline_unlocked): Declare.
11402 (__ftello64, __fseeko64): Declare aliases.
11403 * libio/readline.c: New file.
11404 * libio/tst-readline.c: Likewise.
11405 (routines): Add readline.
11406 (tests-internal): Add tst-readlime.
11407 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11408 __libc_readline_unlocked.
11409 * libio/fseeko.c (__fseeko): Rename from fseeko.
11410 (fseeko): Add alias.
11411 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11412 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11413 (fseeko64): Add alias.
11414 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11415 * libio/ftello64.c (__ftello64): Rename from ftello64.
11416 (ftello64): Add alias.
11417
397c54c1
SN
114182018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11419
11420 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11421 HWCAP_ATOMICS.
11422
d0cd7980
SN
114232018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11424
11425 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11426 Use dl_hwcap without masking.
11427 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11428 Remove HWCAP_CPUID.
11429
ddb3c626
FW
114302018-07-06 Florian Weimer <fweimer@redhat.com>
11431
11432 * conform/conformtest.pl (checknamespace): Escape literal braces
11433 in regular expressions.
11434
bce5911b
AP
114352018-07-06 Amit Pawar <amit.pawar@amd.com>
11436
11437 * sysdeps/x86/cpu-features.c (get_common_indeces):
11438 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11439 * sysdeps/x86/cpu-features.c (init_cpu_features):
11440 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11441
3a885c1f
FW
114422018-07-05 Florian Weimer <fweimer@redhat.com>
11443
11444 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11445 protector.
11446 (CFLAGS-elf-init.oS): Likewise.
11447
38cade0c
FW
114482018-07-05 Florian Weimer <fweimer@redhat.com>
11449 Carlos O'Donell <carlos@redhat.com>
11450
11451 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11452 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11453 with stack protector enabled because there is no risk of infinite
11454 recursion.
11455
9449a295
MR
114562018-07-05 Maciej W. Rozycki <macro@mips.com>
11457
11458 [BZ #19818]
11459 [BZ #23307]
11460 * libc-abis (ABSOLUTE): New ABI.
11461 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11462 * NEWS: Mention the new ABI.
11463
d6da5cb6
FW
114642018-07-05 Florian Weimer <fweimer@redhat.com>
11465
11466 [BZ # 17662]
11467 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11468 (RENAME_WHITEOUT): Define.
11469 [__USE_GNU] (renameat2): Declare.
11470 * stdio-common/Makefile (routines): Add renameat2.
11471 (tests): Add tst-renameat2.
11472 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11473 * stdio-common/renameat2.c: New file.
11474 * stdio-common/tst-renameat2.c: Likewise.
11475 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11476 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11477 undocumented.
11478 * sysdeps/unix/sysv/linux/kernel-features.h
11479 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11480 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11481 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11482 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11483 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11484 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11485 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11486 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11487 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11488 * include/stdio.h (__renameat): Add alias for renameat.
11489 * stdio-common/renameat.c (__renameat): Rename from renameat.
11490 Add hidden definition and alias.
11491 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11492 * sysdeps/mach/hurd/renameat.c: Likewise.
11493 * sysdeps/**/libc*.abilist: Add renameat2.
11494
1002d708
AZ
114952018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11496
11497 * posix/bug-regex33.c: Fix build after regex sync.
11498
34fdb893
CD
114992018-07-04 Carlos O'Donell <carlos@redhat.com>
11500
11501 [BZ #23164]
11502 * localedata/tst-langinfo-setlocale.c: New file.
11503 * localedata/tst-langinfo-setlocale-static.c: New file.
11504 * localedata/tst-langinfo-newlocale.c: New file.
11505 * localedata/tst-langinfo-newlocale-static.c: New file.
11506 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11507 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11508 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11509 (tests-static): Remove tst-langinfo-static. Add
11510 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11511 (tests-special): Remove $(objpfx)tst-langinfo.out,
11512 $(objpfx)tst-langinfo-static.out. Add
11513 $(objpfx)tst-langinfo-setlocale.out,
11514 $(objpfx)tst-langinfo-newlocale.out,
11515 $(objpfx)tst-langinfo-setlocale-static.out,
11516 $(objpfx)tst-langinfo-newlocale-static.out.
11517 ($(objpfx)tst-langinfo.out): Remove.
11518 ($(objpfx)tst-langinfo-static.out): Remove.
11519 ($(objpfx)tst-langinfo-newlocale.out): New target.
11520 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11521 (test-xfail-tst-langinfo-newlocale-static): Add.
11522 ($(objpfx)tst-langinfo-setlocale.out): New target.
11523 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11524 * localedata/tst-langinfo.c: Call test_locale.
11525 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11526 data.
11527
f2873d2d
FW
115282018-07-04 Florian Weimer <fweimer@redhat.com>
11529
11530 testrun.sh: Implement --tool=strace, --tool=valgrind
11531 * Makefile (testrun-script): Define variable.
11532 (testrun.sh): Use variable.
11533 * manual/install.texi (Tools for Compilation): make 4.0 or later
11534 is required.
11535 * configure.ac: Check for make 4.0 or later.
11536 * INSTALL: Regenerate.
11537 * configure: Likewise.
11538
eb04c213
AZ
115392018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11540
11541 [BZ #23233]
11542 [BZ #21163]
11543 [BZ #18986]
11544 [BZ #13762]
11545 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11546 * posix/PCRE.tests: Remove invalid test.
11547 * posix/bug-regex28.c: Fix expected values for used syntax.
11548 * posix/bug-regex37.c: New file.
11549 * posix/bug-regex38.c: Likewise.
11550 * posix/regcomp.c: Sync with gnulib.
11551 * posix/regex.c: Likewise.
11552 * posix/regex.h: Likewise.
11553 * posix/regex_internal.c: Likewise.
11554 * posix/regex_internal.h: Likewise.
11555 * posix/regexec.c: Likewise.
11556
b11643c2
MF
115572018-06-26 Mike FABIAN <mfabian@redhat.com>
11558
11559 [BZ #23308]
11560 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11561 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11562 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11563 * localedata/unicode-gen/PropList.txt: likewise.
11564 * localedata/unicode-gen/UnicodeData.txt: likewise.
11565 * localedata/charmaps/UTF-8: Regenerate.
11566 * localedata/locales/i18n_ctype: likewise.
11567 * localedata/locales/tr_TR: likewise.
11568 * localedata/locales/translit_circle: likewise.
11569 * localedata/locales/translit_cjk_compat: likewise.
11570 * localedata/locales/translit_combining: likewise.
11571 * localedata/locales/translit_compat: likewise.
11572 * localedata/locales/translit_font: likewise.
11573 * localedata/locales/translit_fraction: likewise.
11574
5a357506
FW
115752018-07-03 Florian Weimer <fweimer@redhat.com>
11576
11577 [BZ #23363]
11578 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11579 * stdio-common/tst-printf.sh: Adjust expected output.
11580 * LICENSES: Update.
11581
7279af00
AZ
115822018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11583
11584 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11585 symbol.
11586
b7b88cea
GG
115872018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11588
11589 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11590 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11591 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11592 * stdio-common/tst-printfsz-islongdouble.c: New file.
11593 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11594 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11595 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11596 [subdir == stdio-common] (tests-internal): Add
11597 test-printf-size-ieee128, and test-printf-size-ibm128.
11598 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11599 (CFLAGS-test-printf-size-ibm128.c): New variables.
11600 [subdir == stdio-common] (tests-special): Add
11601 $(objpfx)test-printf-size-ieee128.out and
11602 $(objpfx)test-printf-size-ibm128.out.
11603 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11604 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11605 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11606 __printf_sizeieee128.
11607 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11608 New file.
11609 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11610 Likewise.
11611 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11612 Likewise.
11613
2b445206
SN
116142018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11615
11616 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11617 (exp2f_inline): Likewise.
11618 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11619 (__math_uflowf): Likewise.
11620 (__math_may_uflowf): Likewise.
11621 (__math_divzerof): Likewise.
11622 (__math_invalidf): Likewise.
11623 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11624 (__math_oflowf): Likewise.
11625 (__math_uflowf): Likewise.
11626 (__math_may_uflowf): Likewise.
11627 (__math_divzerof): Likewise.
11628 (__math_invalidf): Likewise.
11629
2827ab99
CD
116302018-06-29 DJ Delorie <dj@redhat.com>
11631 Carlos O'Donell <carlos@redhat.com>
11632
11633 [BZ #23329]
11634 * include/libc-symbols.h: Comment the freeres framework.
11635 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11636 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11637 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11638 * dlfcn/dlerror.c: Include libc-symbols.h
11639 (__dlerror_main_freeres): New function.
11640 * dlfcn/dlfreeres.c: New file.
11641 * dlfcn/sdlfreeres.c: New file.
11642 * include/dlfcn.h: Declare __dlerror_main_freeres.
11643 * malloc/set-freeres.c: Declare __libdl_freeres, and
11644 __libpthread_freeres.
11645 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11646 the releavant libraries are loaded.
11647 * malloc/thread-freeres.c: Add comments.
11648 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11649 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11650 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11651 (__free_stacks): Rename to...
11652 (free_stacks): ...this. Mark static.
11653 (queue_stack): Call free_stacks.
11654 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11655 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11656 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11657 ptr_freeres element from struct.
11658 (pthread_functions): Remove .ptr_freeres from struct initializer.
11659 [SHARED] (nptl_freeres): Remove.
11660 * nptl/nptlfreeres.c: New file.
11661 * nptl/pthreadP.h
11662 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11663 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11664 attribute_hidden.
11665 (__free_stacks): Rename to...
11666 (__nptl_stacks_freeres): ...this.
11667 (__shm_directory_freeres): Declare.
11668 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11669 (__nptl_unwind_freeres): ...this.
11670 * resolv/res-close.c: Add comment.
11671 * resolv/resolv_conf.c: Include libc-symbols.h.
11672 * string/strerror_l.c: Include libc-symbols.h.
11673 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11674 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11675 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11676 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11677
37d3d244
RS
116782018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11679
11680 * stdlib/tst-strfmon_l.c: Add tests for long double.
11681
a1e0c5fa
MW
116822018-06-29 Michael Wolf <milupo@sorbzilla.de>
11683
11684 [BZ #23208]
11685 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11686 * localedata/locales/dsb_DE: New file.
11687
2e0c5de6
RL
116882018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11689
11690 [BZ #23140]
11691 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11692 genitive case).
11693 (alt_mon): New entry, import from CLDR (nominative case).
11694
cdb52c71
SL
116952018-06-29 Sylvain Lesage <severo@rednegra.net>
11696
11697 [BZ #22996]
11698 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11699
ce76a5cb
SP
117002018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11701
0aec4c1d
SP
11702 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11703 Use vector registers.
11704
ce76a5cb
SP
11705 * sysdeps/aarch64/multiarch/memmove_falkor.S
11706 (__memcpy_falkor): Use vector registers.
11707
7e8989d0
MS
117082018-06-29 Martin Sebor <msebor@redhat.com>
11709
11710 * manual/stdio.texi (Customizing Printf): Mention interaction
11711 with GCC built-ins.
11712
bac15a72
MR
117132018-06-29 Maciej W. Rozycki <macro@mips.com>
11714
11715 [BZ #23307]
11716 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11717 `st_value' is 0 if `st_shndx' is SHN_ABS.
11718 * elf/tst-absolute-zero.c: New file.
11719 * elf/tst-absolute-zero-lib.c: New file.
11720 * elf/tst-absolute-zero-lib.lds: New file.
11721 * elf/Makefile (tests): Add `tst-absolute-zero'.
11722 (modules-names): Add `tst-absolute-zero-lib'.
11723 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11724 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11725 ($(objpfx)tst-absolute-zero: New dependency.
11726
e69d994a
ZW
117272018-06-29 Zack Weinberg <zackw@panix.com>
11728
11729 * configure.ac: New command-line option --disable-crypt.
11730 Force --disable-nss-crypt when --disable-crypt is given, with a
11731 warning if it was explicitly enabled.
11732 * configure: Regenerate.
11733 * config.make.in: New boolean substitution variable $(build-crypt).
11734 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11735 when $(build-crypt).
11736 * manual/install.texi: Document --disable-crypt.
11737 * INSTALL: Regenerate.
11738
11739 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11740 which is never set.
11741 * conform/Makefile: Only include libcrypt.a in
11742 linknamespace-libs-xsi and linknamespace-libs-XPG4
11743 when $(build-crypt).
11744 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11745 USE_CRYPT to 1 when $(build-crypt).
11746 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11747 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11748 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11749
841785ba
ZW
117502018-06-29 Zack Weinberg <zackw@panix.com>
11751
11752 * crypt/crypt.h, posix/unistd.h: Update comments and
11753 prototypes for crypt and crypt_r.
11754
11755 * manual/crypt.texi (Cryptographic Functions): New initial
11756 exposition.
11757 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11758 (Unpredictable Bytes): Improve initial exposition. Clarify error
11759 behavior of getentropy and getrandom.
11760 * manual/examples/genpass.c: Generate a salt using getentropy
11761 instead of the current time. Use hash $5$ (SHA-2-256).
11762 * manual/examples/testpass.c: Demonstrate validation against
11763 hashes generated with three different one-way functions.
11764
11765 * manual/intro.texi: crypt.texi does not need an overview
11766 anymore.
11767
11768 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11769 * manual/terminal.texi: Consistently refer to "passphrases"
11770 * instead of "passwords", and to the "user database" instead
11771 * of the "password database".
11772 * manual/users.texi: Similarly. Add notes about how actual
11773 passphrase hashes are now stored in the shadow database.
11774 Remove 20-year-old junk todo note.
11775
6ab902e4
ZW
117762018-06-29 Zack Weinberg <zackw@panix.com>
11777
11778 * manual/crypt.texi: Use a normal top-level @node declaration.
11779 Move most of the introductory text to the 'crypt' section.
11780 Move the example programs below the @deftypefun for 'crypt_r'.
11781 Move the 'getpass' section...
11782 * manual/terminal.texi: ...here.
11783
b10a0acc
ZW
117842018-06-29 Zack Weinberg <zackw@panix.com>
11785 Florian Weimer <fweimer@redhat.com>
11786
11787 * posix/unistd.h: Do not declare encrypt.
11788 (_XOPEN_CRYPT): Remove macro definition.
11789 (crypt): Declare only for _USE_MISC.
11790 * stdlib/stdlib.h: Do not declare setkey.
11791 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11792 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11793
11794 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11795 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11796 into compat symbols. Don't define initial_perm if it's not
11797 going to be used.
11798 * crypt/cert.c: Link explicitly with the expected versions for
11799 setkey and encrypt. If they are not available at all, mark
11800 the test as unsupported.
11801
11802 * sunrpc/des_crypt.c: Unconditionally block linkage with
11803 cbc_crypt and ecb_crypt for new binaries.
11804 * sunrpc/des_soft.c: Unconditionally block linkage with
11805 des_setparity for new binaries.
11806
11807 * manual/crypt.texi: Remove the entire "DES Encryption"
11808 section. Also remove the paragraph talking about FIPS 140-2
11809 from the introduction.
11810 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11811 of libgcrypt for "real" encryption, not DES.
11812 * manual/conf.texi (Constants for Sysconf): Mention that
11813 _XOPEN_CRYPT is no longer impelemented.
11814
11815 * conform/data/unistd.h-data: Remove crypt function declaration.
11816
524d796d
FW
118172018-06-29 Florian Weimer <fweimer@redhat.com>
11818
11819 [BZ #23351]
11820 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11821 (disallow_malloc_check): Remove variable.
11822 (__malloc_check_init): Adjust.
11823 (malloc_set_state): Update comment.
11824 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
11825 declarations.
11826
339124ab
RL
118272018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11828
11829 [BZ #23140]
11830 * localedata/locales/ast_ES (mon): Rename to...
11831 (alt_mon): This.
11832 (mon): Import from CLDR (genitive case).
11833
c1f86a33
DA
118342018-06-29 Daniel Alvarez <dalvarez@redhat.com>
11835 Jakub Sitnicki <jkbs@redhat.com>
11836
11837 [BZ #21812]
11838 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
11839 on NLM_F_DUMP_INTR.
11840
0b11b649
SN
118412018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11842
11843 * manual/llio.texi: Remove spurious space.
11844
c1c2848b
FW
118452018-06-28 Florian Weimer <fweimer@redhat.com>
11846
11847 [BZ #23349]
11848 * time/bits/types/struct_timespec.h: Change header inclusion guard to
11849 _STRUCT_TIMESPEC.
11850
86a0f561
RS
118512018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11852
11853 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 11854 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
11855 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
11856 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
11857 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
11858 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
11859 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
11860
780684eb
MR
118612018-06-27 Maciej W. Rozycki <macro@mips.com>
11862
11863 [BZ #23266]
11864 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
11865 Copy and null-terminate entries that are not terminated, in
11866 addition to empty ones.
11867
c49e1822
FW
118682018-06-27 Florian Weimer <fweimer@redhat.com>
11869
11870 [BZ #18023]
b39d961c
TS
11871 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
11872 (extend_alloca_account): Remove.
c49e1822
FW
11873 * manual/stdio.texi (Variable Arguments Output): Update comment.
11874
a833e627
JM
118752018-06-27 Joseph Myers <joseph@codesourcery.com>
11876
11877 * nptl/sockperf.c: Remove file.
11878
92d6aa85
FW
118792018-06-27 Florian Weimer <fweimer@redhat.com>
11880
11881 [BZ #18023]
11882 * elf/dl-deps.c (_dl_map_object_deps): Use struct
11883 scratch_buffer instead of extend_alloca.
11884
890c2ced
FW
118852018-06-27 Florian Weimer <fweimer@redhat.com>
11886
11887 [BZ #18023]
11888 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
11889 scratch_buffer instead of extend_alloca. Update comments.
11890
4272059d
FW
118912018-06-27 Florian Weimer <fweimer@redhat.com>
11892
11893 [BZ #18023]
11894 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
11895 instead of extend_alloca.
11896
27f10a09
JM
118972018-06-26 Joseph Myers <joseph@codesourcery.com>
11898
11899 [BZ #13888]
11900 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
11901 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
11902 /tmp.
11903 * scripts/test-installation.pl: Put temporary files in build
11904 directory, not /tmp.
11905 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
11906 (CFLAGS-bug4.c): Likewise.
11907 (CFLAGS-bug5.c): Likewise.
11908 (CFLAGS-test-fseek.c): Likewise.
11909 (CFLAGS-test-popen.c): Likewise.
11910 (CFLAGS-test_rdwr.c): Likewise.
11911 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
11912 /tmp.
11913 * stdio-common/bug4.c (main): Likewise.
11914 * stdio-common/bug5.c (main): Likewise.
11915 * stdio-common/test-fseek.c (TESTFILE): Likewise.
11916 * stdio-common/test-popen.c (do_test): Likewise.
11917 * stdio-common/test_rdwr.c (main): Likewise.
11918
05598a09
PF
119192018-06-26 Patsy Franklin <pfrankli@redhat.com>
11920
11921 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
11922 (sem_open): Set sem.newsem.pad to zero for valgrind.
11923
06ab719d
AZ
119242018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11925
11926 [BZ #20251]
11927 * NEWS: Mention fcntl64 addition.
11928 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
11929 * login/utmp_file.c: Likewise.
11930 * sysdeps/posix/fdopendir.c: Likewise.
11931 * sysdeps/posix/opendir.c: Likewise.
11932 * sysdeps/unix/pt-fcntl.c: Likewise.
11933 * include/fcntl.h (__libc_fcntl64, __fcntl64,
11934 __fcntl64_nocancel_adjusted): New prototype.
11935 (__fcntl_nocancel_adjusted): Remove prototype.
11936 * io/Makefile (routines): Add fcntl64.
11937 (CFLAGS-fcntl64.c): New rule.
11938 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
11939 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
11940 * io/fcntl.h (fcntl64): Add prototype and redirect if
11941 __USE_FILE_OFFSET64 is defined.
11942 * io/fcntl64.c: New file.
11943 * manual/llio.text: Add a note for which commands fcntl acts a
11944 cancellation point.
11945 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11946 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11947 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11948 New symbols.
11949 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11950 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11951 non-LFS case.
11952 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11953 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11954 to __fcntl64_nocancel.
11955 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11956 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11957 to __fcntl64_nocancel.
11958 * sysdeps/generic/not-cancel.h: Likewise.
11959 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11960 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11961 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11962 (fcntl64): New symbol.
11963 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11964 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11965 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11968 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11969 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11970 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11971 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11972 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11973 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11974 fcntl64): Likewise.
11975 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11976 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11977 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11978 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11979 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11980 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11981 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11982 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11983 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11985 Likewise.
11986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11987 Likewise.
11988 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11989 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11990 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11991
124e0258
FW
119922018-06-26 Florian Weimer <fweimer@redhat.com>
11993
11994 Run thread shutdown functions in an explicit order.
11995 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11996 definition.
11997 (__libc_thread_freeres): Call thread shutdown functions
11998 explicitly.
11999 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12000 * include/string.h (__strerror_thread_freeres): Declare.
12001 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12002 arena_thread_freeres. No longer static. Remove thread shutdown
12003 hook registration.
12004 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12005 Declare.
12006 * resolv/res-close.c (__res_thread_freeres): Renamed from
12007 res_thread_freeres. No longer static. Remove thread shutdown
12008 hook registration.
12009 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12010 * resolv/resolv_conf.c (freeres): Remove incorrect section
12011 attribute and use libc_freeres_fn.
12012 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12013 strerror_thread_freeres. No longer static. Remove thread
12014 shutdown hook registration.
12015 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12016 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12017 shutdown hook registration.
12018 * Makerules (shlib.lds): Do not provide section boundary symbols
12019 for __libc_thread_subfreeres.
12020 * manual/memory.texi (Basic Allocation): Update comment.
12021
935d920e
FW
120222018-06-26 Florian Weimer <fweimer@redhat.com>
12023
12024 Remove always-defined _RPC_THREAD_SAFE_ macro.
12025 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12026 Do not define _RPC_THREAD_SAFE_.
12027 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12028 conditional.
12029 * sunrpc/clnt_perr.c: Likewise.
12030 * sunrpc/clnt_raw.c: Likewise.
12031 * sunrpc/clnt_simp.c: Likewise.
12032 * sunrpc/key_call.c: Likewise.
12033 * sunrpc/rpc_common.c: Likewise.
12034 * sunrpc/rpc_main.c: Likewise.
12035 * sunrpc/rpc_thread.c: Likewise.
12036 * sunrpc/svc.c: Likewise.
12037 * sunrpc/svc_raw.c: Likewise.
12038 * sunrpc/svc_simple.c: Likewise.
12039 * sumrpc/svcauth_des.c: Likewise.
12040
29055464
FW
120412018-06-26 Florian Weimer <fweimer@redhat.com>
12042
12043 * libio/Makefile (tests-internal): Add tst-vtables,
12044 tst-vtables-interposed.
12045 * libio/tst-vtables.c: New file.
12046 * libio/tst-vtables-common.c: Likewise.
12047 * libio/tst-vtables-interposed.c: Likewise.
12048
5c0202af
FW
120492018-06-26 Florian Weimer <fweimer@redhat.com>
12050
12051 * support/support_test_main.c (support_test_main): Only call
12052 setvbuf if not disables.
12053 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12054 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12055
c402355d
FW
120562018-06-26 Florian Weimer <fweimer@redhat.com>
12057
12058 [BZ #23313]
12059 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12060
43b1048a
FW
120612018-06-25 Florian Weimer <fweimer@redhat.com>
12062
12063 [BZ #18023]
12064 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12065 Use struct scratch_buffer instead of extend_alloca.
12066
1599ed4e
FW
120672018-06-25 Florian Weimer <fweimer@redhat.com>
12068
12069 [BZ #18023]
12070 * nss/getent.c (initgroups_keys): Use dynarray instead of
12071 extend_alloca.
12072
a26fe163
FW
120732018-06-25 Florian Weimer <fweimer@redhat.com>
12074
12075 [BZ #18023]
12076 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12077 Use struct scratch_buffer instead of extend_alloca.
12078
90d9d9ce
FW
120792018-06-25 Florian Weimer <fweimer@redhat.com>
12080
12081 [BZ #18023]
12082 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12083 back to malloc directly, without stack allocations.
12084
6b7b2aba
FW
120852018-06-25 Florian Weimer <fweimer@redhat.com>
12086
12087 [BZ #18023]
12088 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12089 of extend_alloca.
12090
2f9f0d18
FW
120912018-06-25 Florian Weimer <fweimer@redhat.com>
12092
12093 [BZ #18023]
12094 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12095 of extend_alloca.
12096 * nscd/hstcache.c (addhstbyX): Likewise.
12097 * nscd/pwdcache.c (addpwbyX): Likewise.
12098 * nscd/servicescache.c (addservbyX): Likewise.
12099
318bad78
FW
121002018-06-25 Florian Weimer <fweimer@redhat.com>
12101
12102 [BZ #18023]
12103 * nscd/connections.c (read_cmdline): New function.
12104 (restart): Use it. Update comment.
12105
189699ab
RL
121062018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12107
12108 [BZ #23140]
12109 * localedata/locales/csb_PL (mon): Rename to...
12110 (alt_mon): This.
12111 (abmon): Rename to...
12112 (ab_alt_mon): This.
12113 (mon): Add with proper genitive forms, copy from Wikipedia.
12114 (abmon): Likewise.
12115
0ea3f13c
RL
121162018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12117
12118 [BZ #19485]
12119 * localedata/locales/csb_PL (mon): Fix typos:
12120 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12121 (yesstr): Add, value is "jo".
12122 (nostr): Add, value is "nié".
12123
d93f4ff1
TMQMF
121242018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12125
12126 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12127 all log1p and significand functions on m680x0.
12128 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12129 of s_significand.c..
12130 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12131 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12132 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12133 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12134 s_log1p.c and include it..
12135
f6299d2a
VC
121362018-06-21 Vincent Chen <vincentc@andestech.com>
12137
12138 * elf/elf.h (R_NDS32_NONE): New define.
12139 (R_NDS32_32_RELA): Likewise.
12140 (R_NDS32_COPY): Likewise.
12141 (R_NDS32_GLOB_DAT): Likewise.
12142 (R_NDS32_JUMP_SLOT): Likewise.
12143 (R_NDS32_RELATIVE): Likewise.
12144 (R_NDS32_TLS_TPOFF): Likewise.
12145 (R_NDS32_TLS_DESC): Likewise.
12146
61ab61c2
MW
121472018-06-21 Mark Wielaard <mark@klomp.org>
12148
12149 * elf/elf.h (R_BPF_MAP_FD): Removed.
12150 (R_BPF_64_64, R_BPF_64_32): New.
12151
f496b28e
FW
121522018-06-21 Florian Weimer <fweimer@redhat.com>
12153
12154 [BZ #23253]
12155 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12156 Renamed from libc_feholdsetround_ctx.
12157 (default_libc_feresetround_ctx): Renamed from
12158 libc_feresetround_ctx.
12159 (default_libc_feholdsetround_noex_ctx): Renamed from
12160 libc_feholdsetround_noex_ctx.
12161 (default_libc_feresetround_noex_ctx): Renamed from
12162 libc_feresetround_noex_ctx.
12163 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12164 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12165 forwardning to the old implementations under the new names.
12166 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12167 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12168 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12169 (libc_feresetround_ctx): Forward to default implements for i386
12170 and MATH_SET_BOTH_ROUNDING_MODES.
12171 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12172 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12173
1760daad
JM
121742018-06-20 Joseph Myers <joseph@codesourcery.com>
12175
99c7adf9
JM
12176 * string/tst-cmp.c: Include <libc-diag.h>.
12177 (strncmp_max): Disable -Wstringop-overflow= around call to
12178 strncmp.
12179 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12180 strncasecmp.
12181
1760daad
JM
12182 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12183 (main): Disable -Wunused-value around call to strpbrk.
12184 * string/bug-strspn1.c: Include <libc-diag.h>.
12185 (main): Disable -Wunused-value around call to strspn.
12186
209ae17c
TMQMF
121872018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12188 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12189
12190 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12191 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12192
badba23c
TMQMF
121932018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12194
5e79e029
TMQMF
12195 * math/Makefile (libm-calls): Move s_significandF to...
12196 (gen-libm-calls): ... here.
12197 * math/s_significand_template.c: New file.
12198 * math/s_significand.c: Removed.
12199 * math/s_significandf.c: Removed.
12200 * math/s_significandl.c: Removed.
12201 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12202 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12203
badba23c
TMQMF
12204 * math/e_exp2_template.c (declare_mgen_finite_alias,
12205 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12206 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12207 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12208
2d1c89a5
FW
122092018-06-20 Florian Weimer <fweimer@redhat.com>
12210
12211 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12212
646c2833
JM
122132018-06-19 Joseph Myers <joseph@codesourcery.com>
12214
12215 [BZ #23280]
12216 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12217 floating-point number to strtod functions rather than possibly
12218 negating result of those functions.
12219 * stdio-common/tst-scanf-round.c: New file.
12220 * stdio-common/Makefile (tests): Add tst-scanf-round.
12221 ($(objpfx)tst-scanf-round): Depend on $(libm).
12222
c77e4dc0
ST
122232018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12224
12225 * sysdeps/mach/hurd/localplt.data: Move to...
12226 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12227 R_386_GLOB_DAT like on Linux i386.
12228
91b2f3e5
JM
122292018-06-18 Joseph Myers <joseph@codesourcery.com>
12230
f2857da7
JM
12231 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12232 (SHM_STAT_ANY): New macro.
12233 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12234 (SHM_STAT_ANY): Likewise.
12235 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12236 (SHM_STAT_ANY): Likewise.
12237 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12238 (SHM_STAT_ANY): Likewise.
12239 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12240 (SHM_STAT_ANY): Likewise.
12241 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12242 (SHM_STAT_ANY): Likewise.
12243 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12244 (SHM_STAT_ANY): Likewise.
12245 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12246 (SHM_STAT_ANY): Likewise.
12247 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12248 (SHM_STAT_ANY): Likewise.
12249 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12250 (SHM_STAT_ANY): Likewise.
12251 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12252 (SHM_STAT_ANY): Likewise.
12253 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12254 (SHM_STAT_ANY): Likewise.
12255
176c7fee
JM
12256 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12257 (SEM_STAT_ANY): New macro.
12258 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12259 (SEM_STAT_ANY): Likewise.
12260 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12261 (SEM_STAT_ANY): Likewise.
12262 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12263 (SEM_STAT_ANY): Likewise.
12264 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12265 (SEM_STAT_ANY): Likewise.
12266 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12267 (SEM_STAT_ANY): Likewise.
12268 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12269 (SEM_STAT_ANY): Likewise.
12270 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12271 (SEM_STAT_ANY): Likewise.
12272 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12273 (SEM_STAT_ANY): Likewise.
12274 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12275 (SEM_STAT_ANY): Likewise.
12276
86bf0019
JM
12277 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12278 (MSG_STAT_ANY): New macro.
12279 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12280 (MSG_STAT_ANY): Likewise.
12281 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12282 (MSG_STAT_ANY): Likewise.
12283 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12284 (MSG_STAT_ANY): Likewise.
12285 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12286 (MSG_STAT_ANY): Likewise.
12287 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12288 (MSG_STAT_ANY): Likewise.
12289 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12290 (MSG_STAT_ANY): Likewise.
12291 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12292 (MSG_STAT_ANY): Likewise.
12293 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12294 (MSG_STAT_ANY): Likewise.
12295 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12296 (MSG_STAT_ANY): Likewise.
12297
91b2f3e5
JM
12298 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12299 (MAP_TYPE): Change value to 0x2b.
12300
3fe8fc79
FW
123012018-06-18 Florian Weimer <fweimer@redhat.com>
12302
12303 [BZ #15722]
12304 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12305 socket with SOCK_CLOEXEC.
12306
809dc95d
JM
123072018-06-18 Joseph Myers <joseph@codesourcery.com>
12308
12309 [BZ #23303]
12310 * sysdeps/powerpc/powerpc64/le/Makefile
12311 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12312 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12313 (gnulib-tests): Also add $(f128-loader-link) for
12314 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12315
298a8b59
ST
123162018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12317
12318 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12319 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12320 of sendfile.
12321 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12322 (sendfile64): New strong alias.
faf7bbc2
ST
12323 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12324 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12325 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
12326 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12327 attribute.
12328 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12329 ___pthread_get_cleanup_stack.
932d05f0 12330 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
12331 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12332 * mach/shortcut.awk: Make syscall stubs include
12333 <mach-shortcuts-hidden.h> and add hidden definition.
12334 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
12335 (__mach_msg): Add hidden prototype.
12336 * mach/msg.c: Include <mach.h>.
12337 (__mach_msg): Add hidden definition.
b0344cf5
ST
12338 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12339 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12340 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12341 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
12342 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12343 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
12344 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12345 prototype and definition.
12346 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12347 hidden target for _hurd_self_sigstate.
298a8b59 12348
b12c1e79
JM
123492018-06-15 Joseph Myers <joseph@codesourcery.com>
12350
12351 [BZ #23007]
12352 * stdlib/tst-strtod-nan-sign-main.c: New file.
12353 * stdlib/tst-strtod-nan-sign.c: Likewise.
12354 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12355 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12356 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12357 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12358 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12359
b0debe14
HB
123602018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12361
12362 [BZ #23007]
12363 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12364 appropriate sign.
12365
14beef75
FW
123662018-06-14 Florian Weimer <fweimer@redhat.com>
12367
12368 [BZ #23290]
12369 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12370 that the result stays within the ISO-8859-1 range.
12371 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12372 characters are defined in IBM273.
12373
c596630b
ST
123742018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12375
12376 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12377 __mach_task_self): Remove attribute_hidden.
12378
35ebb6b0
JM
123792018-06-14 Joseph Myers <joseph@codesourcery.com>
12380
12381 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12382 ignore -Wrestrict for one test.
12383
3c7b9f1f
SE
123842018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12385 Szabolcs Nagy <szabolcs.nagy@arm.com>
12386
12387 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12388
c59ee916
FW
123892018-06-14 Florian Weimer <fweimer@redhat.com>
12390
12391 * scripts/update-abilist.sh: Accept empty list of files to patch.
12392
43b5ff50
ST
123932018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12394
12395 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12396 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
12397 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12398 __libc_read and __libc_write to __read and __write.
c8c6e6d6 12399 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
12400 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12401 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12402 __thread_switch, __evc_wait): Move declarations to...
12403 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12404 attribute_hidden.
06d1a826
ST
12405 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12406 use PLT to call _hurd_self_sigstate.
43b5ff50 12407
fcd6b5ac
JM
124082018-06-13 Joseph Myers <joseph@codesourcery.com>
12409
12410 [BZ #23279]
12411 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12412 MAX_EXP as overflowing.
12413 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12414 overflow flag.
12415 (round_str): Output also whether result overflows in each rounding
12416 mode.
12417 * stdlib/tst-strtod-round-data: Add more tests.
12418 * stdlib/tst-strtod-round-data.h: Regenerated.
12419 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12420 (TEST): Handle extra arguments for overflow flags.
12421 (struct test_overflow): New type.
12422 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12423 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12424 (test_in_one_mode): Take argument with overflow information.
12425 (do_test): Update calls to test_in_one_mode.
12426
35df5a77
CD
124272018-06-12 Carlos O'Donell <carlos@redhat.com>
12428
a745c837
CD
12429 * elf/dl-load (_dl_dst_substitute): Correct comment.
12430 (_dl_dst_count): Likewise.
12431
35df5a77
CD
12432 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12433 lll_futex_timed_wait.
12434
48b12ed5
JM
124352018-06-12 Joseph Myers <joseph@codesourcery.com>
12436
12437 [BZ #23277]
12438 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12439 attribute.
12440 * math/test-nan-const.c: New file.
12441 * math/Makefile (tests): Add test-nan-const.
12442 (CFLAGS-test-nan-const.c): New variable.
12443
cb8f6aff
L
124442018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12445
12446 * benchtests/scripts/compare_strings.py (process_results): Add
12447 funcs argument. Compare only functions which are selected.
12448 (main): Check if base function is among selected functions.
12449 Pass selected functions to process_results.
12450 (__main__): Add -f/--functions argument.
12451
fc2ba803
HZ
124522018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12453 Hongbo Zhang <hongbo.zhang@linaro.org>
12454
12455 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12456 __memcpy_falkor for phecda core.
12457 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12458 __memmove_falkor for phecda core.
12459 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12460 __memset_falkor for phecda core.
12461 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12462 for phecda core.
12463 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12464 macro to identify phecda core.
12465
5aad5f61
CD
124662018-06-12 Carlos O'Donell <carlos@redhat.com>
12467 Andreas Schwab <schwab@suse.de>
12468 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 12469 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
12470
12471 [BZ #23102]
12472 [BZ #21942]
12473 [BZ #18018]
12474 [BZ #23259]
12475 CVE-2011-0536
12476 * elf/dl-dst.h: Remove DL_DST_COUNT.
12477 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12478 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12479 (is_dst): Comment. Support ELF gABI.
12480 (_dl_dst_count): Comment. Simplify and count DSTs.
12481 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12482 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12483 locals.
12484
329ea513
ZW
124852018-06-12 Zack Weinberg <zackw@panix.com>
12486
12487 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12488 * sysdeps/unix/sysv/linux/dl-sysdep.c
12489 Include not-cancel.h. Use __close_nocancel instead of __close,
12490 __open64_nocancel instead of __open, __read_nocancel instead of
12491 __libc_read, and __write_nocancel instead of __libc_write.
12492
12493 * csu/check_fds.c (check_one_fd)
12494 * sysdeps/posix/fdopendir.c (__fdopendir)
12495 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 12496 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
12497
12498 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12499 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 12500 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
12501 Use __open64_nocancel instead of __open_nocancel.
12502
12503 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12504 hidden_proto declarations to the end and issue them if either
12505 IS_IN(libc) or IS_IN(rtld).
12506 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12507 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12508 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12509 read_nocancel, waitpid_nocancel, write_nocancel.
12510
b39d961c
TS
12511 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12512 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12513 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 12514
b39d961c
TS
12515 * nptl/pt-fcntl.c: New file.
12516 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12517 (libpthread-routines): Add pt-fcntl.
12518 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12519 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
12520 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12521 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 12522 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
12523 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12524 to fcntl_nocancel.c.
12525 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12528 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12529
12530 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12531 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12532 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12533 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12534 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12535 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12536 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12537 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12538 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12539 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12540 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12541 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12542 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12543 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12544 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12545 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12546 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12547 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12548 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12549 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12550
b39d961c
TS
12551 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12552 libpthread-routines.
12553 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12554 defines nothing.
329ea513 12555
b39d961c
TS
12556 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12557 __libc_read, and __write instead of __libc_write. Define
12558 __open64 in addition to __open.
329ea513 12559
0221ce2a
L
125602018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12561
12562 [BZ #23250]
12563 [BZ #10686]
12564 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12565 to _private_tm[3] and add __glibc_reserved2.
12566 Add _Static_assert of offset of __private_ss == 0x30.
12567 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12568 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12569
e826574c
FW
125702018-06-12 Florian Weimer <fweimer@redhat.com>
12571
12572 x86: Make strncmp usable from rtld.
12573 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12574 __strncmp_ia32 if in libc (and not in rtld).
12575 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12576 strncmp if not in libc (and not to __strncmp_sse2).
12577
c4ad5782
RL
125782018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12579
12580 [BZ #23140]
12581 * localedata/locales/gd_GB (mon): Rename to...
12582 (alt_mon): This.
12583 (mon): Import from CLDR (genitive case).
12584 * localedata/locales/hsb_DE (mon): Rename to...
12585 (alt_mon): This.
12586 (mon): Import from CLDR (genitive case).
12587 * localedata/locales/wa_BE (mon): Rename to...
12588 (alt_mon): This.
12589 (mon): Add, fill with the proper genitive forms, but CLDR data
12590 is incomplete; completed according to the comments in this file.
12591 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12592
12593 * localedata/locales/wa_BE (country_name): Reword
12594 "Beljike" -> "Beldjike".
12595
ca121b11
JM
125962018-06-11 Joseph Myers <joseph@codesourcery.com>
12597
12598 [BZ #23272]
12599 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12600 cases of non-finite arguments.
12601 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12602
2b69fecb
JDA
126032018-06-10 John David Anglin <danglin@gcc.gnu.org>
12604
12605 [BZ #23174]
12606 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12607
283d9851
AZ
126082018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12609
12610 [BZ #23264]
12611 * include/unistd.h (__execvpex): New prototype.
12612 * posix/Makefile (tests): Add tst-spawn4.
12613 (tests-internal): Add tst-spawn4-compat.
12614 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12615 * posix/tst-spawn4-compat.c: New file.
12616 * posix/tst-spawn4.c: Likewise.
12617 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12618 binaries as shell scripts.
12619 * sysdeps/posix/spawni.c (__spawni): Likewise.
12620
67c05796
L
126212018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12622
12623 [BZ #23145]
12624 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12625 ($(all-built-dso:=.dynsym): New target.
12626 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12627 ($(objpfx)check-initfini.out): New target.
12628 (generated): Add check-initfini.out.
12629 * scripts/check-initfini.awk: New file.
12630 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12631 (_fini): Likewise.
12632 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12633 (_fini): Likewise.
12634 * sysdeps/arm/crti.S (_init): Mark as hidden.
12635 (_fini): Likewise.
12636 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12637 (_fini): Likewise.
12638 * sysdeps/i386/crti.S (_init): Mark as hidden.
12639 (_fini): Likewise.
12640 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12641 (_fini): Likewise.
12642 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12643 (_fini): Likewise.
12644 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12645 (_fini): Likewise.
12646 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12647 (_fini): Likewise.
12648 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12649 (_fini): Likewise.
12650 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12651 (_fini): Likewise.
12652 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12653 (_fini): Likewise.
12654 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12655 (_fini): Likewise.
12656 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12657 (_fini): Likewise.
12658 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12659 (_fini): Likewise.
12660 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12661 (_fini): Likewise.
12662 * sysdeps/sh/crti.S (_init): Mark as hidden.
12663 (_fini): Likewise.
12664 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12665 (_fini): Likewise.
12666 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12667 (_fini): Likewise.
12668
1c09524e
TMQMF
126692018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12670
12671 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12672 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12673 and TF redirection to KFtype and KF only when the default
12674 long double type is not the IEEE 128-bit floating point type.
12675
0e0577c9
JM
126762018-06-05 Joseph Myers <joseph@codesourcery.com>
12677
0c1c33b2
JM
12678 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12679 macro.
12680 (HWCAP_USCAT): Likewise.
12681 (HWCAP_ILRCPC): Likewise.
12682 (HWCAP_FLAGM): Likewise.
12683 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12684 Increase to 28.
12685 (_dl_aarch64_cap_flags): Add new flag names.
12686
bef1cbf4
JM
12687 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12688 (MAP_FIXED_NOREPLACE): New macro.
12689 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12690 (MAP_FIXED_NOREPLACE): Likewise.
12691 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12692 (MAP_FIXED_NOREPLACE): Likewise.
12693 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12694 (MAP_FIXED_NOREPLACE): Likewise.
12695 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12696 (MAP_FIXED_NOREPLACE): Likewise.
12697 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12698 (MAP_FIXED_NOREPLACE): Likewise.
12699 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12700 (MAP_FIXED_NOREPLACE): Likewise.
12701 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12702 (MAP_FIXED_NOREPLACE): Likewise.
12703 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12704 (MAP_FIXED_NOREPLACE): Likewise.
12705 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12706 (MAP_FIXED_NOREPLACE): Likewise.
12707 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12708 (MAP_FIXED_NOREPLACE): Likewise.
12709 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12710 (MAP_FIXED_NOREPLACE): Likewise.
12711 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12712 (MAP_FIXED_NOREPLACE): Likewise.
12713 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12714 (MAP_FIXED_NOREPLACE): Likewise.
12715 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12716 (MAP_FIXED_NOREPLACE): Likewise.
12717
0e0577c9
JM
12718 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12719 version to 4.17.
12720
ab3a0da0
JM
127212018-06-04 Joseph Myers <joseph@codesourcery.com>
12722
12723 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12724 version to 4.17
12725
d2d9dfb6
ST
127262018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12727
12728 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12729 int.
12730 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12731
a650b05e
LS
127322018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12733
12734 * benchtests/scripts/compare_string.py: (process_results) Catch
12735 exception in non-existent base_func and catch exception in
12736 non-existent attribute.
12737 (parse_file) Catch exception if input file does not exist.
12738
195abbf4
LS
127392018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12740
12741 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12742 options to avoid diff calculation and omit header, respectively.
12743 (main): process --no-diff and --no-header
12744
14570163
LS
127452018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12746 H.J. Lu <hongjiu.lu@intel.com>
12747
12748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12749 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12750 wcsncmp-sse2.
12751 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12752 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12753 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12754 and __wcsncmp_sse2.
12755 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12756 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12757 AVX unaligned load is fast and vzeroupper is preferred.
12758 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12759 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12760 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12761 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12762 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12763 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12764 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12765 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12766 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12767 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12768 is undefined.
12769
e02c026f
FW
127702018-06-01 Florian Weimer <fweimer@redhat.com>
12771
12772 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12773 configuring with --disable-multi-arch, building with
12774 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12775 Haswell-era CPU.
12776
d8c19275
FW
127772018-06-01 Florian Weimer <fweimer@redhat.com>
12778
12779 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12780 results from building with “-march=x86-64 -mtune=generic
12781 -mfpmath=sse” and running on a Haswell-era CPU.
12782
0d2163eb
JM
127832018-06-01 Joseph Myers <joseph@codesourcery.com>
12784
12785 [BZ #18473]
12786 * soft-fp/sqrttf2.c: Remove file.
12787 * soft-fp/sqrtdf2.c: Move to ....
12788 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12789 <shlib-compat.h>.
12790 (__sqrtdf2): Make conditional on
12791 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12792 symbol.
12793 * soft-fp/sqrtsf2.c: Move to ....
12794 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12795 <shlib-compat.h>.
12796 (__sqrtsf2): Make conditional on
12797 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12798 symbol.
12799 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12800 (gcc-double-routines): Remove sqrtdf2.
12801 (gcc-quad-routines): Remove sqrttf2.
12802 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12803 Do not filter out sqrtsf2 and sqrtdf2.
12804 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12805 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12806
10450210
FW
128072018-06-01 Florian Weimer <fweimer@redhat.com>
12808
12809 * sysdeps/generic/libcidn.abilist: Remove file.
12810
4e8a6346
FW
128112018-06-01 Florian Weimer <fweimer@redhat.com>
12812
12813 [BZ #23236]
12814 * libio/strfile.h (struct _IO_str_fields): Rename members to
12815 discourage their use and add comment.
12816 (_IO_STR_DYNAMIC): Remove unused macro.
12817 * libio/strops.c (_IO_str_init_static_internal): Do not use
12818 callback pointers. Call malloc and free.
12819 (_IO_str_overflow): Do not use callback pointers. Call malloc
12820 and free.
12821 (enlarge_userbuf): Likewise.
12822 (_IO_str_finish): Call free.
12823 * libio/wstrops.c (_IO_wstr_init_static): Initialize
12824 _allocate_buffer_unused.
12825 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
12826 and free.
12827 (enlarge_userbuf): Likewise.
12828 (_IO_wstr_finish): Call free.
12829 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
12830 _allocate_buffer_unused, _free_buffer_unused.
12831 * libio/memstream.c (__open_memstream): Likewise.
12832 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12833 * libio/wmemstream.c (open_wmemstream): Likewise.
12834
50d004c9
PP
128352018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12836
12837 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
12838 AMD Ryzen 7 1800X.
12839
2c93fce7
RS
128402018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12841
12842 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
12843 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
12844 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
12845 New file.
12846 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
12847 Likewise.
12848 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
12849
0ce2fa69
FW
128502018-05-29 Florian Weimer <fweimer@redhat.com>
12851
12852 * support/Makefile (libsupport-routines): Add
12853 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
12854 xpthread_barrierattr_setpshared.
12855 * support/xpthread_barrierattr_destroy.c: New file.
12856 * support/xpthread_barrierattr_init.c: Likewise.
12857 * support/xpthread_barrierattr_setpshared.c: Likewise.
12858
7f7b5d8d
L
128592018-05-29 H.J. Lu <hongjiu.lu@intel.com>
12860
12861 [BZ #23206]
12862 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
12863 _r_debug and update DT_DEBUG for debugger.
12864
e4890300
FW
128652018-05-29 Florian Weimer <fweimer@redhat.com>
12866
12867 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
12868 (tst-strtod5i.out): Likewise.
12869
2c753f3e
JM
128702018-05-25 Joseph Myers <joseph@codesourcery.com>
12871
b5453d9f
JM
12872 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
12873 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
12874 (sparc64-quad-routines): New variable. Moved from ....
12875 [$(subdir) = soft-fp] (sysdep_routines): Add
12876 $(sparc64-quad-routines). Moved from ....
12877 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
12878 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
12879 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
12880 moved from ....
12881 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
12882 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
12883 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
12884 * sysdeps/sparc/sparc64/qp_add.c: ... here.
12885 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
12886 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
12887 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
12888 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
12889 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
12890 * sysdeps/sparc/sparc64/qp_div.c: ... here.
12891 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
12892 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
12893 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
12894 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
12895 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
12896 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
12897 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
12898 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
12899 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
12900 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
12901 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
12902 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
12903 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
12904 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
12905 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
12906 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
12907 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
12908 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
12909 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
12910 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
12911 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
12912 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
12913 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
12914 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
12915 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
12916 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
12917 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
12918 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
12919 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
12920 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
12921 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
12922 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
12923 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
12924 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
12925 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
12926 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
12927 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
12928 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
12929 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
12930 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
12931 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
12932 * sysdeps/sparc/sparc64/qp_util.c: ... here.
12933 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
12934 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
12935 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
12936 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
12937 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
12938 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
12939
2c753f3e
JM
12940 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12941 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12942 (sparc32-quad-routines): New variable. Moved from ....
12943 [$(subdir) = soft-fp] (sysdep_routines): Add
12944 $(sparc32-quad-routines). Moved from ....
12945 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12946 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12947 moved from ....
12948 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12949 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12950 * sysdeps/sparc/sparc32/q_add.c: ... here.
12951 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12952 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12953 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12954 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12955 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12956 * sysdeps/sparc/sparc32/q_div.c: ... here.
12957 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12958 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12959 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12960 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12961 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12962 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12963 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12964 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12965 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12966 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12967 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12968 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12969 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12970 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12971 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12972 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12973 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12974 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12975 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12976 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12977 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12978 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12979 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12980 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12981 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12982 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12983 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12984 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12985 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12986 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12987 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12988 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12989 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12990 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12991 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12992 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12993 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12994 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12995 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12996 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12997 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12998 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12999 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13000 * sysdeps/sparc/sparc32/q_util.c: ... here.
13001 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13002 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13003 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13004 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13005
c1dc1e1b
TMQMF
130062018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13007 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13008
13009 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13010 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13011 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13012 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13013
14186e8d
JM
130142018-05-24 Joseph Myers <joseph@codesourcery.com>
13015
13016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13017 powerpc/soft-fp.
13018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13019 Likewise.
13020 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13021 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13022
fb0e10b8
GG
130232018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13024
13025 [BZ #23171]
13026 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13027 double version.
13028
1dfeb17e
JM
130292018-05-23 Joseph Myers <joseph@codesourcery.com>
13030
13031 * sysdeps/sh/Implies: Remove sh/soft-fp.
13032 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13033 * sysdeps/sh/sfp-machine.h: ... here.
13034
727b38df
L
130352018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13036
13037 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13038 (__mempcpy_erms): Skip zero length.
13039 (__memmove_erms): Likewise.
13040 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13041 (__memset_erms): Likewise.
13042
2834fb46
JM
130432018-05-23 Joseph Myers <joseph@codesourcery.com>
13044
13045 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13046 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13047 Add functions moved from ....
13048 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13049 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13050 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13051 from ....
13052 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13053 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13054 * sysdeps/alpha/e_sqrtl.c: ... here.
13055 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13056 * sysdeps/alpha/local-soft-fp.h: ... here.
13057 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13058 * sysdeps/alpha/ots_add.c: ... here.
13059 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13060 * sysdeps/alpha/ots_cmp.c: ... here.
13061 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13062 * sysdeps/alpha/ots_cmpe.c: ... here.
13063 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13064 * sysdeps/alpha/ots_cvtqux.c: ... here.
13065 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13066 * sysdeps/alpha/ots_cvtqx.c: ... here.
13067 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13068 * sysdeps/alpha/ots_cvttx.c: ... here.
13069 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13070 * sysdeps/alpha/ots_cvtxq.c: ... here.
13071 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13072 * sysdeps/alpha/ots_cvtxt.c: ... here.
13073 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13074 * sysdeps/alpha/ots_div.c: ... here.
13075 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13076 * sysdeps/alpha/ots_mul.c: ... here.
13077 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13078 * sysdeps/alpha/ots_nintxq.c: ... here.
13079 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13080 * sysdeps/alpha/ots_sub.c: ... here.
13081 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13082 * sysdeps/alpha/sfp-machine.h: ... here.
13083
7f9f1ecb
FW
130842018-05-23 Florian Weimer <fweimer@redhat.com>
13085
13086 [BZ #19728]
13087 [BZ #19729]
13088 [BZ #22247]
13089 CVE-2016-6261
13090 CVE-2016-6263
13091 CVE-2017-14062
13092 Switch to extern IDNA implementation (libidn2).
13093 * libidn: Remove subdirectory.
13094 * LICENSES: Do not mention licensing conditions for the removed
13095 libidn code.
13096 * config.h.in (HAVE_LIBIDN): Remove.
13097 * include/dlfcn.h (__libc_dlopen): Update comment.
13098 * include/idna.h: Remove file.
13099 * inet/Makefile (routines): Add idna.
13100 (tests-static, tests-internal): Add tst-idna_name_classify.
13101 (LOCALES): Generate locales for tests.
13102 (tst-idna_name_classify.out): Depend on generated locales.
13103 * inet/idna_name_classify.c: New file.
13104 * inet/tst-idna_name_classify.c: Likewise.
13105 * inet/net-internal.h (__idna_to_dns_encoding)
13106 (__idna_from_dns_encoding): Declare.
13107 * inet/net-internal.h (enum idna_name_classification): Define.
13108 (__idna_name_classify): Declare.
13109 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13110 __idna_from_dns_encoding.
13111 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13112 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13113 name as a fallback in case of encoding errors.
13114 (getnameinfo): Use DEPRECATED_NI_IDN.
13115 * inet/idna.c: New file.
13116 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13117 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13118 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13119 (modules-names): Add tst-no-libidn2.
13120 (extra-test-objs): Add tst-no-libidn2.os.
13121 (LDFLAGS-tst-no-libidn2.so): Set soname.
13122 (LOCALES): Set, and generate locales.
13123 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13124 (tst-resolv-ai_idn-latin1): Likewise.
13125 (tst-resolv-ai_idn-nolibidn2): Likewise.
13126 (tst-resolv-ai_idn.out): Depend on locales.
13127 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13128 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13129 tst-no-libidn2.so.
13130 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13131 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13132 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13133 * resolv/tst-resolv-ai_idn.c: New file.
13134 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13135 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13136 * resolv/tst-no-libidn2.c: Likewise.
13137 * support/support_format_addrinfo.c (format_ai_flags): Do not
13138 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13139 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13140 (gaih_inet): Call __idna_to_dns_encoding and
13141 __idna_from_dns_encoding, and use the original (punycode) name if
13142 __idna_from_dns_encoding fails due to an encoding error.
13143 (getaddrinfo): Use DEPRECATED_AI_IDN.
13144 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13145 * sysdeps/unix/inet/configure: Remove file.
13146 * sysdeps/unix/inet/configure.ac: Likewise.
13147
5f7b841d
FW
131482018-05-23 Florian Weimer <fweimer@redhat.com>
13149
13150 Implement allocate_once.
13151 * include/allocate_once.h: New file.
13152 * misc/allocate_once.c: Likewise.
13153 * misc/tst-allocate_once.c: Likewise.
13154 * misc/Makefile (routines): Add allocate_once.
13155 (tests-internal): Add tst-allocate_once.
13156 (generated): Add tst-allocate_once.mtrace,
13157 tst-allocate_once-mem.out.
13158 (tests-special): Add tst-allocate_once-mem.out.
13159 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13160 (tst-allocate_once-mem.out): Call mtrace.
13161 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13162
ed983107
L
131632018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13164
13165 [BZ #23196]
13166 * string/test-memcpy.c (do_test1): New function.
13167 (test_main): Call it.
13168
9aaaab7c
AS
131692018-05-23 Andreas Schwab <schwab@suse.de>
13170
13171 [BZ #23196]
13172 CVE-2018-11237
13173 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13174 (L(preloop_large)): Save initial destination pointer in %r11 and
13175 use it instead of %rax after the loop.
13176 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13177
5c5c0dd7
JM
131782018-05-22 Joseph Myers <joseph@codesourcery.com>
13179
8f145c77
JM
13180 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13181 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13182 -I../soft-fp. Moved from ....
13183 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13184 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13185 * sysdeps/aarch64/e_sqrtl.c: ... here.
13186 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13187 * sysdeps/aarch64/sfp-machine.h: ... here.
13188
3d6302a5
JM
13189 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13190 -Wmaybe-uninitialized around access to fq[0].
13191 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13192 Likewise.
13193
5c5c0dd7
JM
13194 [BZ #18471]
13195 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13196 aliases for non-libc case of versioned symbols.
13197 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13198 (llseek): Define as compat symbol if
13199 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13200 with link warning.
13201 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13202 Make into a compat symbol, disabled for minimum symbol version
13203 GLIBC_2.28 and later.
13204 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13205
ed0d6988
FW
132062018-05-22 Florian Weimer <fweimer@redhat.com>
13207
13208 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13209 not add -mpreferred-stack-boundary=4.
13210 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13211 (stack-align-test-flags): Likewise.
13212 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13213 Likewise.
13214 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13215 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13216 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13217 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13218 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13219 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13220 (CFLAGS-tst-align2.c): Likewise.
13221
e28e9b1e
L
132222018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13223
13224 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13225 (index_arch_Prefer_FSRM): Likewise.
13226 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13227 Also check Prefer_FSRM.
13228 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13229 Also return OPTIMIZE (erms) for Prefer_FSRM.
13230
1af30adc
L
132312018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13232
13233 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13234 (index_cpu_FSRM): Likewise.
13235 (reg_FSRM): Likewise.
13236
78274dc8
JM
132372018-05-18 Joseph Myers <joseph@codesourcery.com>
13238
7c67e6e8
JM
13239 * math/gen-tgmath-tests.py: Import sys.
13240 (Tests.__init__): Initialize macros_seen.
13241 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13242 if requested to do so for this macro.
13243 (Tests.add_all_tests): Take argument for macro for which to
13244 generate tests.
13245 (Tests.check_macro_list): New function.
13246 (main): Handle check-list argument and argument specifying macro
13247 for which to generate tests.
13248 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13249 [PYTHON] (tgmath3-macro-tests): Likewise.
13250 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13251 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13252 not test-tgmath3.c.
13253 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13254 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13255 to CFLAGS.
13256 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13257 [PYTHON] ($(foreach
13258 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13259 rule.
13260 [PYTHON] (tests-special): Add
13261 $(objpfx)test-tgmath3-macro-list.out.
13262 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13263
ebc129fd
JM
13264 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13265 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13266 later.
13267
78274dc8
JM
13268 [BZ #22639]
13269 * time/tzset.c (SECSPERDAY): Cast to time_t.
13270 * time/tst-y2039.c: New file.
13271 * time/Makefile (tests): Add tst-y2039.
13272
6f7fdeeb
LS
132732018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13274
13275 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13276 (PREFETCH_ONE_SET): Remove duplicate line.
13277
e363a91c
FW
132782018-05-17 Florian Weimer <fweimer@redhat.com>
13279
13280 * sysdeps/generic/math-type-macros-double.h: Include
13281 <math-nan-payload-double.h> after <libm-alias-double.h>.
13282 * sysdeps/generic/math-type-macros-float.h: Include
13283 <math-nan-payload-float.h> after <libm-alias-float.h>.
13284 * sysdeps/generic/math-type-macros-float128.h: Include
13285 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13286 * sysdeps/generic/math-type-macros-ldouble.h: Include
13287 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13288
dae6c43c
AS
132892018-05-17 Andreas Schwab <schwab@suse.de>
13290
13291 * resolv/res_send.c (__res_context_send): Don't set errno when
13292 returing error after malloc failure.
13293
0068c085
L
132942018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13295
13296 * nptl/allocatestack.c (allocate_stack): Remove the
13297 !__ASSUME_PRIVATE_FUTEX paths.
13298 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13299 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13300 Likewise.
13301 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13302 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13303 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13304 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13305 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13306 !__ASSUME_PRIVATE_FUTEX path.
13307 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13308 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13309 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13310 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13311 !__ASSUME_PRIVATE_FUTEX macros.
13312 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13313 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13314 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13315 * sysdeps/unix/sysv/linux/kernel-features.h
13316 (__ASSUME_PRIVATE_FUTEX): Removed.
13317
632a6cbe
JM
133182018-05-17 Joseph Myers <joseph@codesourcery.com>
13319
13320 * math/Makefile (libm-narrow-fns): Add div.
13321 (libm-test-funcs-narrow): Likewise.
13322 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13323 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13324 * math/gen-auto-libm-tests.c (test_functions): Add div.
13325 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13326 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13327 (NARROW_DIV_TRIVIAL): Likewise.
13328 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13329 macro.
13330 (__ddivl): Likewise.
13331 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13332 ddiv.
13333 (CFLAGS-nldbl-ddiv.c): New variable.
13334 (CFLAGS-nldbl-fdiv.c): Likewise.
13335 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13336 __nldbl_ddivl.
13337 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13338 prototype.
13339 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13340 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13341 * math/auto-libm-test-in: Add tests of div.
13342 * math/auto-libm-test-out-narrow-div: New generated file.
13343 * math/libm-test-narrow-div.inc: New file.
13344 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13345 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13346 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13347 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13348 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13349 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13350 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13351 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13352 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13353 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13354 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13355 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13356 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13357 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13358 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13359 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13360 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13361 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13363 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13364 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13365 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13366 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13367 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13368 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13369 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13370 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13371 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13372 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13373 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13374 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13375 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13380 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13381 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13382 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13383 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13384 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13385 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13386 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13387 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13388
8c78faa9
AZ
133892018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13390
13391 [BZ #23178]
13392 * nscd/nscd-client.h (sendfileall): Remove prototype.
13393 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13394 (handle_request): Use writeall instead of sendfileall.
13395 * nscd/aicache.c (addhstaiX): Likewise.
13396 * nscd/grpcache.c (cache_addgr): Likewise.
13397 * nscd/hstcache.c (cache_addhst): Likewise.
13398 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13399 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13400 * nscd/pwdcache.c (cache_addpw): Likewise.
13401 * nscd/servicescache.c (cache_addserv): Likewise.
13402 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13403 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13404 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13405 Remove define.
13406
04958880
L
134072018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13408
13409 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13410 Include <string/strncat.c>.
13411 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13412 alias.
13413 (__GI___strncat): New hidden alias.
13414
c9992d13
JM
134152018-05-16 Joseph Myers <joseph@codesourcery.com>
13416
13417 * sysdeps/mips/mips32/libm-test-ulps: Update.
13418 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13419
2afece36
FW
134202018-05-16 Florian Weimer <fweimer@redhat.com>
13421
13422 * support/Makefile (libsupport-routines): Add support_quote_blob,
13423 support_test_compare_blob.
13424 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13425 * support/check.h (TEST_COMPARE_BLOB): Define.
13426 (support_test_compare_blob): Declare.
13427 * support/support.h (support_quote_blob): Declare.
13428 * support/support_quote_blob.c: New file.
13429 * support/support_test_compare_blob.c: Likewise.
13430 * support/tst-support_quote_blob.c: Likewise.
13431 * support/tst-test_compare_blob.c: Likewise.
13432
9761bf4d
FW
134332018-05-16 Florian Weimer <fweimer@redhat.com>
13434
13435 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13436 of <strtod_nan_double.h>.
13437 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13438 instead of SET_MANTISSA.
13439 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13440 of include <strtod_nan_float.h>.
13441 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13442 instead of <strtod_nan_ldouble.h>.
13443 * stdlib/strtod_nan_double.h: Move to ...
13444 * sysdeps/generic/math-nan-payload-double.h: ... here.
13445 (FLOAT): Remove definition.
13446 (SET_MANTISSA): Rename to ...
13447 (SET_NAN_PAYLOAD): ... this.
13448 * stdlib/strtod_nan_float.h: Move to ...
13449 * sysdeps/generic/math-nan-payload-float.h: ... here.
13450 (FLOAT): Remove definition.
13451 (SET_MANTISSA): Rename to ...
13452 (SET_NAN_PAYLOAD): ... this.
13453 * sysdeps/generic/math-type-macros-double.h: Include
13454 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13455 instead of <math-svid-compat.h>.
13456 * sysdeps/generic/math-type-macros-float.h: Include
13457 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13458 instead of <math-svid-compat.h>.
13459 * sysdeps/generic/math-type-macros-float128.h: Include
13460 <math-nan-payload-float128.h>.
13461 * sysdeps/generic/math-type-macros-ldouble.h: Include
13462 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13463 instead of <math-svid-compat.h>.
13464 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13465 check for definition.
13466 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13467 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13468 Include <ieee754_float128.h>.
13469 (FLOAT): Remove definition.
13470 (SET_MANTISSA): Rename to ...
13471 (SET_NAN_PAYLOAD): ... this.
13472 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13473 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13474 Do not include <float128_private.h>.
13475 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13476 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13477 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13478 (FLOAT): Remove definition.
13479 (SET_MANTISSA): Rename to ...
13480 (SET_NAN_PAYLOAD): ... this.
13481 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13482 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13483 (FLOAT): Remove definition.
13484 (SET_MANTISSA): Rename to ...
13485 (SET_NAN_PAYLOAD): ... this.
13486 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13487 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13488 (FLOAT): Remove definition.
13489 (SET_MANTISSA): Rename to ...
13490 (SET_NAN_PAYLOAD): ... this.
13491 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13492 of "../stdlib/strtod_nan_double.h".
13493 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13494 of "../stdlib/strtod_nan_float.h".
13495 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13496 instead of "../stdlib/strtod_nan_ldouble.h".
13497 * manual/arith.texi (Parsing of Floats): Adjust comment.
13498
69a01461
JM
134992018-05-16 Joseph Myers <joseph@codesourcery.com>
13500
13501 * math/Makefile (libm-narrow-fns): Add mul.
13502 (libm-test-funcs-narrow): Likewise.
13503 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13504 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13505 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13506 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13507 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13508 (NARROW_MUL_TRIVIAL): Likewise.
13509 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13510 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13511 macro.
13512 (__dmull): Likewise.
13513 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13514 dmul.
13515 (CFLAGS-nldbl-dmul.c): New variable.
13516 (CFLAGS-nldbl-fmul.c): Likewise.
13517 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13518 __nldbl_dmull.
13519 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13520 prototype.
13521 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13522 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13523 * math/auto-libm-test-in: Add tests of mul.
13524 * math/auto-libm-test-out-narrow-mul: New generated file.
13525 * math/libm-test-narrow-mul.inc: New file.
13526 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13527 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13528 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13529 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13530 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13531 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13532 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13533 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13534 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13535 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13536 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13537 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13538 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13539 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13540 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13541 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13542 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13543 * sysdeps/ieee754/soft-fp/s_fmull.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
a15529fd
L
135712018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13572
13573 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13574 with *%eax in call.
13575
98ee36c7
L
135762018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13577
13578 * sysdeps/i386/ldsodefs.h: Removed.
13579 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13580 * sysdeps/x86/ldsodefs.h: This.
13581 (La_i86_regs): New.
13582 (La_i86_retval): Likewise.
13583 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13584 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13585
e322ec32
L
135862018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13587
13588 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13589 unnecessary testl.
13590
0937e209
AM
135912018-05-13 Alan Modra <amodra@gmail.com>
13592
13593 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13594 R_PARISC_TLS_DTPOFF32 reloc addend.
13595
5db7d705
TMQMF
135962018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13597
13598 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13599 * math/math.h: Restrict the prototype definition for the functions
13600 issignaling(_Float128) and iszero(_Float128); and template
13601 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13602 __HAVE_FLOAT128_UNLIKE_LDBL.
13603 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13604 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13605 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13606 __f128() constants; define the type _Float128 as long double;
13607 and reuse long double in __CFLOAT128.
13608
b4d5b8b0
JM
136092018-05-11 Joseph Myers <joseph@codesourcery.com>
13610
13611 * sysdeps/generic/math_private.h: Do not include
13612 <math-barriers.h>.
13613 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13614 <math_private.h>.
13615 * math/fromfp.h: Include <math-barriers.h>.
13616 * math/math-narrow.h: Likewise.
13617 * math/s_nextafter.c: Likewise.
13618 * math/s_nexttowardf.c: Likewise.
13619 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13620 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13621 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13622 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13623 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13624 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13625 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13626 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13627 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13628 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13629 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13630 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13631 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13632 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13633 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13634 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13635 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13636 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13637 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13638 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13639 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13640 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13641 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13642 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13643 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13644 * sysdeps/ieee754/k_standardl.c: Likewise.
13645 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13646 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13647 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13648 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13649 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13650 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13651 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13652 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13653 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13654 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13655 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13656 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13657 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13658 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13659 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13660 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13661 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13662 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13663 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13664 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13665 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13666 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13667
fc79706a
FW
136682018-05-11 Florian Weimer <fweimer@redhat.com>
13669
13670 Use 64-bit epoch values in the time zone file parser.
13671 * include/time.h (internal_time_t): Define.
13672 (__tzfile_compute): Use it.
13673 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13674 member.
13675 (transitions): Switch to internal_time_t.
13676 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13677 types.
13678 (__tzfile_compute): Use internal_time_t for timer argument. Check
13679 for truncation before calling __offtime.
13680
89aacb51
FW
136812018-05-11 Florian Weimer <fweimer@redhat.com>
13682
13683 [BZ #23166]
13684 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13685 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13686 Likewise.
13687 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13688 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13689 export without --enable-obsolete-rpc.
13690 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13691 symbol. This should not have been exported, ever.
13692
bb066cb8
RL
136932018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13694
13695 [BZ #23152]
13696 * localedata/locales/gd_GB (abmon): Fix typo in May:
13697 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13698
70c97f84
SP
136992018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13700
db725a45
SP
13701 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13702 Use multiple registers to copy data in loop tail.
13703
70c97f84
SP
13704 * sysdeps/aarch64/multiarch/memmove_falkor.S
13705 (__memmove_falkor): Use multiple registers to move data in
13706 loop tail.
13707
8f5b00d3
JM
137082018-05-10 Joseph Myers <joseph@codesourcery.com>
13709
13710 * math/math-underflow.h: New file.
13711 * sysdeps/generic/math_private.h: Do not include <float.h>.
13712 (fabs_tg): Remove macro. Moved to math-underflow.h.
13713 (min_of_type_f): Likewise.
13714 (min_of_type_): Likewise.
13715 (min_of_type_l): Likewise.
13716 (min_of_type_f128): Likewise.
13717 (min_of_type): Likewise.
13718 (math_check_force_underflow): Likewise.
13719 (math_check_force_underflow_nonneg): Likewise.
13720 (math_check_force_underflow_complex): Likewise.
13721 * math/e_exp2_template.c: Include <math-underflow.h>.
13722 * math/k_casinh_template.c: Likewise.
13723 * math/s_catan_template.c: Likewise.
13724 * math/s_catanh_template.c: Likewise.
13725 * math/s_ccosh_template.c: Likewise.
13726 * math/s_cexp_template.c: Likewise.
13727 * math/s_clog10_template.c: Likewise.
13728 * math/s_clog_template.c: Likewise.
13729 * math/s_csin_template.c: Likewise.
13730 * math/s_csinh_template.c: Likewise.
13731 * math/s_csqrt_template.c: Likewise.
13732 * math/s_ctan_template.c: Likewise.
13733 * math/s_ctanh_template.c: Likewise.
13734 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13735 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13736 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13737 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13738 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13739 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13740 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13741 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13742 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13743 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13744 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13745 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13746 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13747 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13748 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13749 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13750 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13751 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13752 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13753 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13754 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13755 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13756 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13757 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13758 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13759 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13760 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13761 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13762 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13763 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13764 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13765 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13781 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13786 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13787 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13788 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13794 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13796 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13798 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13802 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13803 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13804 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13805 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13806 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13807 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13808 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13809 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13810 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13811 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13812 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13813 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13814 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13815 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13816 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13817 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13818
9ed2e15f
JM
138192018-05-09 Joseph Myers <joseph@codesourcery.com>
13820
13821 * sysdeps/generic/math-barriers.h: New file.
13822 * sysdeps/generic/math_private.h [!math_opt_barrier]
13823 (math_opt_barrier): Move to math-barriers.h.
13824 [!math_opt_barrier] (math_force_eval): Likewise.
13825 * sysdeps/aarch64/fpu/math-barriers.h: New file.
13826 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
13827 math-barriers.h.
13828 (math_force_eval): Likewise.
13829 * sysdeps/alpha/fpu/math-barriers.h: New file.
13830 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
13831 math-barriers.h.
13832 (math_force_eval): Likewise.
13833 * sysdeps/x86/fpu/math-barriers.h: New file.
13834 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
13835 math-barriers.h.
13836 (math_force_eval): Likewise.
13837 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
13838 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
13839 multiple-include guard for rename.
13840 * sysdeps/powerpc/fpu/math-barriers.h: New file.
13841 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
13842 math-barriers.h.
13843 (math_force_eval): Likewise.
13844
5460617d
PP
138452018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
13846
13847 [BZ #22786]
43d4f3d5 13848 CVE-2018-11236
5460617d
PP
13849 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
13850 computation.
13851 * stdlib/Makefile (test-bz22786): New test.
13852 * stdlib/test-bz22786.c: New test.
13853
aaee3cd8
JM
138542018-05-09 Joseph Myers <joseph@codesourcery.com>
13855
13856 * include/math-narrow-eval.h: New file. Contents moved from ....
13857 * sysdeps/generic/math_private.h: ... here.
13858 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
13859 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13860 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
13861 * stdlib/strtod_l.c: Likewise.
13862 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13863 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13864 * sysdeps/i386/fpu/s_fdim.c: Likewise.
13865 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13866 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13867 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13868 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13869 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13870 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13871 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13872 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13873 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13874 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13875 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13876 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13877 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13878 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13879 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13880 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13881 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13882 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13883 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13884 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13885 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13886 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13887 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13888 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13889 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13890 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13891
0555c477
AS
138922018-05-08 Andreas Schwab <schwab@suse.de>
13893
13894 * sysdeps/nptl/internaltypes.h: Fix comment.
13895
50d7d351
L
138962018-05-07 H.J. Lu <hongjiu.lu@intel.com>
13897
13898 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13899 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
13900 hidden.
13901
543477f7
SP
139022018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13903
13904 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
13905 of I into loop header.
13906 * benchtests/bench-memmove-walk.c
13907 (test_main): Likewise.
13908
139092018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
13910
13911 Revert:
13912 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13913 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13914
0065aaaa
PP
139152018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13916
13917 [BZ #20419]
13918 * elf/dl-load.c (open_verify): Fix stack overflow.
13919 * elf/Makefile (tst-big-note): New test.
13920 * elf/tst-big-note-lib.S: New.
13921 * elf/tst-big-note.c: New.
13922
b289cd9d
JM
139232018-05-04 Joseph Myers <joseph@codesourcery.com>
13924
13925 * scripts/abilist.awk: Ignore absolute symbols.
13926 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
13927 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
13928 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
13929 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
13930 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
13931 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
13932 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13933 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
13934 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
13935 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
13936 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
13937 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
13938 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13939 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
13940 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13941 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13942 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13943 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13944 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13945 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13946 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13947 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13948 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13949 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13950 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13951 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13952 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13953 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13954 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13955 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13956 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13957 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13958 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13959 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13960 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13961 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13962 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13963 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13964 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13965 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13966 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13967 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13968 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13969 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13970 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13971 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13972 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13973 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13974 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13975 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13976 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13977 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13978 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13979 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13980 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13981 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13982 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13983 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13984 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13985 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13986 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13987 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13988 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13989 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13990 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13991 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13992 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13993 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13994 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13995 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13996 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13997 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13998 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13999 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14000 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14001 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14002 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14003 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14004 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14005 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14006 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14007 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14008 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14009 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14010 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14011 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14012 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14013 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14014 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14015 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14016 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14017 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14018 Likewise.
14019 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14020 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14021 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14022 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14023 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14024 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14025 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14026 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14027 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14028 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14029 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14030 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14031 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14032 Likewise.
14033 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14034 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14035 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14036 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14037 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14038 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14039 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14040 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14041 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14042 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14043 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14044 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14045 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14046 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14047 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14048 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14049 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14050 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14051 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14052 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14053 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14054 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14055 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14056 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14057 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14058 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14059 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14060 Likewise.
14061 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14062 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14063 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14064 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14065 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14066 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14067 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14068 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14069 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14070 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14071 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14072 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14073 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14074 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14075 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14076 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14077 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14078 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14079 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14080 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14081 Likewise.
14082 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14083 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14084 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14085 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14086 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14087 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14088 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14089 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14090 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14091 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14092 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14093 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14094 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14095 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14096 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14097 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14098 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14099 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14100 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14101 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14102 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14103 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14104 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14105 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14106 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14107 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14108 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14109 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14114 Likewise.
14115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14120 Likewise.
14121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14122 Likewise.
14123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14125 Likewise.
14126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14128 Likewise.
14129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14130 Likewise.
14131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14134 Likewise.
14135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14136 Likewise.
14137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14138 Likewise.
14139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14143 Likewise.
14144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14150 Likewise.
14151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14153 Likewise.
14154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14155 Likewise.
14156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14157 Likewise.
14158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14159 Likewise.
14160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14163 Likewise.
14164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14165 Likewise.
14166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14167 Likewise.
14168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14169 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14170 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14171 Likewise.
14172 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14173 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14174 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14175 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14176 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14177 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14178 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14179 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14180 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14181 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14182 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14183 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14184 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14185 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14186 Likewise.
14187 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14188 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14189 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14190 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14191 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14192 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14193 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14194 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14195 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14196 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14197 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14198 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14199 Likewise.
14200 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14201 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14202 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14203 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14204 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14205 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14206 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14207 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14208 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14209 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14210 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14211 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14212 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14213 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14214 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14215 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14216 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14217 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14218 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14219 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14220 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14221 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14222 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14223 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14224 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14225 Likewise.
14226 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14229 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14230 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14231 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14232 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14233 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14234 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14235 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14236 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14237 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14238 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14239 Likewise.
14240 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14241 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14242 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14243 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14244 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14245 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14246 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14247 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14248 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14249 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14250 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14251 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14252 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14253 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14254 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14255 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14256 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14257 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14258 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14259 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14260 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14261 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14262 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14263 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14264 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14265 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14266 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14267 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14268 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14269 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14270 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14271 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14272 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14273 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14274 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14275 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14276 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14277 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14278
16609018
SL
142792018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14280
14281 [BZ #23137]
14282 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14283 Use atomic_load_acquire to load __tid.
14284
556f5c46
L
142852018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14286
14287 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14288 Restore the pointer into %rdx, after syscall and use %rdx,
14289 instead of %rsi, to restore context.
14290
8b8f32b2
L
142912018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14292
14293 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14294 Pop the pointer into %rdx after syscall and use %rdx, instead
14295 of %rsi, to restore context.
14296
d6cc1829
L
142972018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14298
14299 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14300 handlers after setjmp.
14301 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14302 defined.
14303 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14304 <libc-pointer-arith.h>.
14305 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14306 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14307 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14308 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14309 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14310 * sysdeps/x86/__longjmp_cancel.S: New file.
14311 * sysdeps/x86/longjmp.c: Likewise.
14312 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14313
cf2478d5
AZ
143142018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14315
14316 * NEWS: Add ustat.h deprecation entry.
14317 * bits/ustat.h: Remove file.
14318 * misc/sys/ustat.h: Likewise.
14319 * misc/ustat.h: Likewise.
14320 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14321 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14322 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14323 compatibility mode.
14324 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14325 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14326 generic Linux implementation.
14327
dc115e1c
TMQMF
143282018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14329
14330 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14331 * math/w_expl_compat.c: Likewise.
14332 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14333
6b5c8607 143342018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
14335
14336 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14337
c57bf7c1
AZ
143382018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14339
14340 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14341 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14342 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14343 Remove.
14344 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14346 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14347 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14348 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14349 and SYSCALL_LL64.
14350
06135c33
TMQMF
143512018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14352
33927914
TMQMF
14353 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14354
06135c33
TMQMF
14355 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14356 * math/w_asin_template.c: Likewise.
14357 * math/w_atanh_template.c: Likewise.
14358
3a33b069
GG
143592018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14360
14361 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14362 to powerpc/powerpc64/be for big-endian.
14363 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14364 little-endian.
14365
14366 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14367 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14368 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14369 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14370 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14371 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14372 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14373 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14374 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14375 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14376 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14377 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14378 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14379 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14380 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14381 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14382 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14383 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14384 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14385 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14386 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14387 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14388 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14389 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14390 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14391 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14392 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14393 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14394 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14395 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14396 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14397 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14398
14399 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14400 adjusted to imply powerpc64 and older processors on powerpc64/be.
14401 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14402 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14403 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14404 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14405 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14406 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14407 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14408 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14409 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14410 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14411 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14412 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14413 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14414 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14415 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14416 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14417 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14418 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14419 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14420 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14421 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14422 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14423 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14424 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14425 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14426 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14427 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14428 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14429 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14430 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14431 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14432
14433 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14434 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14435 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14436 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14437
14438 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14439 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14440 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14441 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14442
14443 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14444 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14445 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14446 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14447 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14448 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14449 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14450 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14451 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14452 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14453 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14454
14455 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14456 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14457 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14458 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14459 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14460 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14461 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14462 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14463 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14464 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14465 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14466
14467 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14468 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14469 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14470 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14471 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14472 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14473 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14474 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14475 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14476 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14477 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14478 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14479
14480 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14481 and adjusted to imply olders processors.
14482 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14483 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14484 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14485 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14486 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14487 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14488 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14489 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14490 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14491 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14492 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14493
14494 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14495 powerpc64/le.
14496 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14497 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14498
14499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14500 powerpc64le.
14501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14503
14504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14505 powerpc64/be.
14506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14509
14510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14511 powerpc64 and adjusted.
14512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14515 Likewise.
14516
a3fb6b6b
JM
145172018-04-27 Joseph Myers <joseph@codesourcery.com>
14518
14519 * sysdeps/tile: Remove.
14520 * sysdeps/unix/sysv/linux/tile: Likewise.
14521 * README (tilegx-*-linux-gnu): Remove from list of supported
14522 configurations.
14523 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14524 contribution of support for generic Linux kernel syscall
14525 interface.
14526 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14527 tilegx configurations.
14528 (Config.install_linux_headers): Do not handle tile.
14529 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14530 in comment.
14531 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14532 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14533 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14534 conditional undefine and redefine.
14535 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14536 in comment.
14537 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14538 conditional undefine and redefine.
14539
7a6f7478
AJ
145402018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14541
14542 * signal/tst-sigaction.c: New file to test BZ #23069.
14543 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14544
81b49e96
TMQMF
145452018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14546
14547 [BZ #22766]
14548 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14549 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14550 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14551 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14552
7d80f48e
AZ
145532018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14554
14555 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14556 _DIRENT_MATCHES_DIRENT64 is not defined.
14557 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14558 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14559 is defined.
14560 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14561 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14562
42a2bf58
JM
145632018-04-25 Joseph Myers <joseph@codesourcery.com>
14564
14565 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14566 version to GCC 8 branch.
14567
9320ca88
JM
145682018-04-24 Joseph Myers <joseph@codesourcery.com>
14569
5e14bb97
JM
14570 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14571 (check_no_hidden): Use type of original function when declaring
14572 alias.
14573
9320ca88
JM
14574 * sysdeps/unix/sysv/linux/sys/ptrace.h
14575 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14576 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14577 (struct __ptrace_seccomp_metadata): New type.
14578 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14579 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14580 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14581 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14582 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14583 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14584 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14585 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14586 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14587 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14588 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14589 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14590 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14591 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14592 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14593 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14594
af7e376b
AZ
145952018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14596
14597 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14598 defined.
14599 * dirent/versionsort.c (versionsort): Likewise.
14600 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14601 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14602 * dirent/versionsort64.c (versionsort64): Likewise.
14603 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14604 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14605 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14606 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14607 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14608 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14609 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14610 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14611 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14612 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14615 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14616 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14617
da5e0361
JM
146182018-04-23 Joseph Myers <joseph@codesourcery.com>
14619
14620 * elf/elf.h (NT_PPC_PKEY): New macro.
14621
6b5c8607 146222018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
14623
14624 [BZ #23094]
14625 * localedata/locales/hr_HR: fix thousands_sep and
14626 mon_thousands_sep
14627
573963e3
JM
146282018-04-20 Joseph Myers <joseph@codesourcery.com>
14629
14630 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14631 (XTABS): Define to TAB3.
14632
c0123b3b
AZ
146332018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14634
0900a849
AZ
14635 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14636
c0123b3b
AZ
14637 * dirent/scandir-tail-common.c: New file.
14638 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14639 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14640 * dirent/scandir.c: Use scandir-tail-common.c.
14641 * dirent/scandirat.c: Likewise.
14642 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14643 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14644 if _DIRENT_MATCHES_DIRENT64 is defined.
14645 * dirent/scandirat64.c (scandirat64): Likewise.
14646 * include/dirent.h (__scandir_tail): Only define iff
14647 _DIRENT_MATCHES_DIRENT64 is not defined.
14648 (__scandir64_tail): Define regardless.
14649 (__scandirat, scandirat64): Remove libc_hidden_proto.
14650 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14651 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14653 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14654 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14655 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14656 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14657
458b94f6
JM
146582018-04-20 Joseph Myers <joseph@codesourcery.com>
14659
14660 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14661 New macro.
14662 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14663 Increase to 24.
14664 (_dl_aarch64_cap_flags): Add asimdfhm.
14665
9f0437e8
CLT
146662018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14667
14668 * sysdeps/nios2/libm-test-ulps: Update.
14669
298d0e31
AZ
146702018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14671
50511ca4
AZ
14672 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14673 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14674
298d0e31
AZ
14675 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14676 requirements.
6b5c8607 14677 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
14678 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14679 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14680 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14681 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14682 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14683 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14684 use getdents64 syscalls as base.
14685 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14686 symbol if required.
14687 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14688 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14689 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14690 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14691 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14692 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14693 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14694 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14695 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14696 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14697 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14698
0085be14
SL
146992018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14700
14701 * scripts/test_printers_common.py (init_test): Disable lock elision.
14702
da796524
SL
147032018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14704
14705 * math/test-tgmath.c (count_double, count_float,
14706 count_ldouble, count_cdouble, count_cfloat,
14707 count_cldouble): Use volatile int.
14708
0dd25301
ST
147092018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14710
14711 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14712 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 14713 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
14714 i386-gnu.
14715 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14716 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14717 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14718 msqid_ds.msg_lrpid): Likewise.
14719 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14720 Likewise.
14721 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14722 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
14723 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14724 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14725 unsigned int.
14726 (struct statvfs64): Likewise.
f55a4fde
ST
14727 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14728 Likewise.
77b93390
ST
14729 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14730 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14731 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14732 instead of wait_queue.
14733 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14734 instead of vm_area_struct.
5cd2931a
ST
14735 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14736 struct sched_param definition to it.
e60c3f2b
ST
14737 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14738 * bits/types/struct_sched_param.h: New file.
14739 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14740 <bits/types/struct_sched_param.h> instead of <sched.h>.
14741 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
14742 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14743 generic version but include <bits/pthreadtypes.h> to make struct
14744 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
14745 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14746 non-compliant.
a564872d
ST
14747 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14748 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14749 [__USE_XOPEN] (OFDEL): New macro.
14750 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 14751 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
14752 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14753 prototypes.
14754 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14755 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
14756 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14757 non-compliant.
14758 * sysdeps/i386/sys/ucontext.h: Likewise.
14759 * sysdeps/m68k/sys/ucontext.h: Likewise.
14760 * sysdeps/mips/sys/ucontext.h: Likewise.
14761 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
14762 * sysdeps/mach/hurd/i386/Makefile
14763 (test-xfail-POSIX/fcntl.h/conform): Add.
14764 (test-xfail-POSIX/signal.h/conform): Add.
14765 (test-xfail-POSIX/semaphore.h/conform): Add.
14766 (test-xfail-POSIX/regex.h/conform): Add.
14767 (test-xfail-POSIX/aio.h/conform): Add.
14768 (test-xfail-POSIX/mqueue.h/conform): Add.
14769 (test-xfail-POSIX/sys/types.h/conform): Add.
14770 (test-xfail-UNIX98/fcntl.h/conform): Add.
14771 (test-xfail-UNIX98/netdb.h/conform): Add.
14772 (test-xfail-UNIX98/signal.h/conform): Add.
14773 (test-xfail-UNIX98/semaphore.h/conform): Add.
14774 (test-xfail-UNIX98/regex.h/conform): Add.
14775 (test-xfail-UNIX98/aio.h/conform): Add.
14776 (test-xfail-UNIX98/ftw.h/conform): Add.
14777 (test-xfail-UNIX98/mqueue.h/conform): Add.
14778 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14779 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14780 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14781 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14782 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14783 (test-xfail-UNIX98/sys/types.h/conform): Add.
14784 (test-xfail-UNIX98/stdlib.h/conform): Add.
14785 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14786 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14787 (test-xfail-POSIX2008/netdb.h/conform): Add.
14788 (test-xfail-POSIX2008/signal.h/conform): Add.
14789 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14790 (test-xfail-POSIX2008/regex.h/conform): Add.
14791 (test-xfail-POSIX2008/aio.h/conform): Add.
14792 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14793 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14794 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14795 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14796 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14797 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14798 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14799 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14800 (test-xfail-XOPEN2K/signal.h/conform): Add.
14801 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14802 (test-xfail-XOPEN2K/regex.h/conform): Add.
14803 (test-xfail-XOPEN2K/aio.h/conform): Add.
14804 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14805 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14806 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14807 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14808 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14809 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14810 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14811 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14812 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14813 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14814 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14815 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14816 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14817 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14818 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14819 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14820 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14821 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14822 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14823 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
14824 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
14825 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
14826 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
14827 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
14828 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
14829 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
14830 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
14831 i386-gnu.
14832 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
14833 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 14834
d6397de3
JM
148352018-04-18 Joseph Myers <joseph@codesourcery.com>
14836
14837 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14838 --enable-obsolete for powerpc-linux-gnuspe.
14839
8323a902
ST
148402018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14841
3dc0814c 14842 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 14843 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 14844 prototypes.
c5896a45
ST
14845 * sysdeps/mach/include/mach.h: Likewise.
14846 * sysdeps/mach/include/mach/mig_support.h: Likewise.
14847 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 14848
743b9c2a
AZ
148492018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14850
14851 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
14852 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
14853 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
14854 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
14855
326e74e7
AS
148562018-04-16 Andreas Schwab <schwab@suse.de>
14857
14858 [BZ #19527]
14859 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
14860
6b5c8607 148612018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
14862
14863 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
14864 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
14865
a700e7cb
DD
148662018-04-12 DJ Delorie <dj@redhat.com>
14867
14868 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14869 version to 4.16.
14870
d8abfab7
SL
148712018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14872
14873 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
14874 (struct kernel_sigaction): Use the same definition on 31bit as is used
14875 on 64bit.
14876
583a27d5
FW
148772018-04-09 Florian Weimer <fweimer@redhat.com>
14878
14879 [BZ #23037]
14880 * resolv/res_send.c (send_dg): Use designated initializers instead
14881 of assignment to zero-initialize other fields of struct mmsghdr.
14882
243f59e5
AZ
148832018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14884
942de61a
AZ
14885 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
14886 __READDIR_ALIAS): Undefine after usage.
14887 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
14888 __READDIR_R_ALIAS): Likewise.
14889 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
14890 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
14891 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
14892 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
14893 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
14894 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
14895 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14896 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14897 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
14898 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
14899 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
14900 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
14901 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14902 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
14903 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
14904 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
14905 * sysdeps/unix/sysv/linux/readdir.c: New file.
14906 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
14907 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
14908 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
14909
243f59e5
AZ
14910 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14911
690c3475
AS
149122018-04-06 Andreas Schwab <schwab@linux-m68k.org>
14913
14914 * manual/charset.texi (Converting a Character): Fix typo.
14915
6b5c8607 149162018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 14917
bbc2062a
AZ
14918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14919
fa7c6199
AZ
14920 * sysdeps/arm/libm-test-ulps: Update.
14921
b4a5d26d
AZ
14922 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
14923 as base implementation.
14924 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14925 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14926 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14927 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14928 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14929 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
14930 remove unrequired definitions and update comments.
14931 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
14932 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
14933 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
14934 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
14935 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
14936 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
14937 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
14938 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
14939 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
14940 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14941 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14942 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14943 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14944 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14945 and RESET_SA_RESTORER hooks.
14946
db9e55ff
SL
149472018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14948
14949 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14950
cf138b0c
FW
149512018-04-05 Florian Weimer <fweimer@redhat.com>
14952
14953 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14954 integer overflow, memory leak on error, and indeterminate errno
14955 value. Add a null wide character to terminate the result string.
14956 * manual/charset.texi (Converting a Character): Mention embedded
14957 null bytes in the mbrtowc input string. Explain what happens in
14958 the -2 result case. Do not claim that mbrtowc is simple or
14959 obvious to use. Adjust the description of the code example. Use
14960 @code, not @var, for concrete variables.
14961
0f339252
FW
149622018-04-05 Florian Weimer <fweimer@redhat.com>
14963
14964 * manual/examples/mbstouwcs.c: New file.
14965 * manual/charset.texi (Converting a Character): Include it.
14966
e5f9508a
ST
149672018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14968
c120981d
ST
14969 * include/dirent.h (dirfd): Add hidden proto.
14970 * dirent/dirfd.c (dirfd): Add hidden def.
14971 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14972 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 14973
b2fd61ca
TMQMF
149742018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14975
14976 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14977 sin, cos and sincos to 1 ULP.
14978
10a446dd
MR
149792018-04-04 Maciej W. Rozycki <macro@mips.com>
14980
e7feec37
MR
14981 [BZ #19818]
14982 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14983 symbols.
14984 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14985 * elf/tst-absolute-sym.c: New file.
14986 * elf/tst-absolute-sym-lib.c: New file.
14987 * elf/tst-absolute-sym-lib.lds: New file.
14988 * elf/Makefile (tests): Add `tst-absolute-sym'.
14989 (modules-names): Add `tst-absolute-sym-lib'.
14990 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14991 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14992 ($(objpfx)tst-absolute-sym): New dependency.
14993
10a446dd
MR
14994 [BZ #19818]
14995 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14996 parameter.
14997 (SYMBOL_ADDRESS): New macro.
14998 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14999 SYMBOL_ADDRESS for symbol address calculation.
15000 * elf/dl-runtime.c (_dl_fixup): Likewise.
15001 (_dl_profile_fixup): Likewise.
15002 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15003 * elf/rtld.c (dl_main): Likewise.
15004 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15005 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15006 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15007 (elf_machine_rela): Likewise.
15008 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15009 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15010 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15011 (elf_machine_rela): Likewise.
15012 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15013 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15014 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15015 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15016 Likewise.
15017 (elf_machine_reloc): Likewise.
15018 (elf_machine_got_rel): Likewise.
15019 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15020 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15021 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15022 Likewise.
15023 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15024 Likewise.
15025 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15026 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15027 Likewise.
15028 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15029 Likewise.
15030 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15031 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15032 Likewise.
15033 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15034 Likewise.
15035 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15036 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15037
9185f86d
ZW
150382018-04-04 Zack Weinberg <zackw@panix.com>
15039
15040 * sysdeps/generic/internal-signals.h: Include signal.h,
15041 sigsetops.h, and stdbool.h.
15042 (__libc_signal_block_all): Actually block all signals.
15043 (__libc_signal_block_app): Likewise.
15044 (__libc_signal_restore_set): Actually restore the signal mask.
15045
b07367bc
FW
150462018-04-04 Florian Weimer <fweimer@redhat.com>
15047
15048 inet: Actually build and run tst-deadline.
15049 * inet/Makefile (tests-internal): Add tst-deadline and do not
15050 overwrite the variable.
15051 (tests-static-internal): Remove variable.
15052
f2652643
L
150532018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15054
15055 [BZ #22947]
15056 * bits/uio-ext.h (RWF_APPEND): New.
15057 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15058 * manual/llio.texi: Document RWF_APPEND.
15059 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15060 (RWF_SUPPORTED): Add RWF_APPEND.
15061
6b5c8607 150622018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
15063
15064 [BZ #22391]
15065 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15066 check for internal nptl signals.
15067 * nptl/sigaction.c (__sigaction): Likewise.
15068 * signal/sigaddset.c (sigaddset): Likewise.
15069 * signal/sigdelset.c (sigdelset): Likewise.
15070 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15071 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15072 value.
15073 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15074 to filter out internal nptl signals.
15075 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15076 also check realtime signals using standard macros.
15077 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15078 __is_internal_signal, __libc_signal_block_all,
15079 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15080 * sysdeps/nptl/sigfillset.c: Remove file.
15081 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15082 Change return to bool.
15083 (__clear_internal_signals): Remove SIGTIMER clean since it is
15084 equal to SIGCANEL on Linux.
15085 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15086 signal set was constructed using standard functions.
15087
511ed56f
ST
150882018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15089
92846492
ST
15090 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15091 ifname is too long.
e8ef51b1
ST
15092 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15093 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
15094 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15095 hidden def.
15096 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
15097 * signal/sigaddset.c: Include <sigsetopts.h>.
15098 * signal/sigdelset.c: Likewise.
511ed56f 15099
e88ecbbf
WD
151002018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15101
15102 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15103 (__cos): Likewise.
15104 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15105 logic as sin and cos.
15106
aef3e255
WD
151072018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15108
15109 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15110 inputs. Return correct sign.
15111 (do_sincos): Remove small input check before do_sin, let do_sin set
15112 the sign.
15113 (__sin): Likewise.
15114 (__cos): Likewise.
15115
72f6e9a3
WD
151162018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15117
15118 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15119 (do_cos_slow): Likewise.
15120 (do_sin_slow): Likewise.
15121 (reduce_and_compute): Likewise.
15122 (slow): Likewise.
15123 (slow1): Likewise.
15124 (slow2): Likewise.
15125 (sloww): Likewise.
15126 (sloww1): Likewise.
15127 (sloww2): Likewise.
15128 (bslow): Likewise.
15129 (bslow1): Likewise.
15130 (bslow2): Likewise.
15131 (cslow2): Likewise.
15132
64909583
WD
151332018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15134
15135 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15136 (do_cos): Remove corp parameter and calculations.
15137 (do_sin): Likewise.
15138 (do_sincos): Remove cor variable.
15139 (__sin): Use do_sincos for huge inputs.
15140 (__cos): Likewise.
15141 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15142 (reduce_and_compute_sincos): Remove unused function.
15143
d9469deb
WD
151442018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15145
15146 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15147 reduce_sincos, improve accuracy to 136 bits.
15148 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15149 (__sin): Use improved reduction and simplified do_sincos calculation.
15150 (__cos): Likewise.
15151 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15152
7a5640f2
WD
151532018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15154
15155 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15156 (do_sincos_2): Likewise.
15157 (__sin): Remove middle range reduction case.
15158 (__cos): Likewise.
15159 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15160 reduction case.
15161
19a8b9a3
WD
151622018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15163
15164 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15165 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15166 inputs.
15167 (__cos): Likewise.
15168 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15169
f72aa11d
JM
151702018-04-03 Joseph Myers <joseph@codesourcery.com>
15171
15172 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 15173 version to 4.16
f72aa11d 15174
8e4754ed
AZ
151752018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15176
15177 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15178 Remove definitions.
15179 (opendir_oflags): Use O_DIRECTORY regardless.
15180 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15181 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15182
8e2666ea
ST
151832018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15184
15185 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15186 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15187 macros.
15188 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15189 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15190 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15191 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
15192 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15193 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 15194
ad2b41bf
ST
15195 * htl/Makefile: Bump licence to LGPL 2.1+.
15196 * htl/alloca_cutoff.c: Likewise.
15197 * htl/cthreads-compat.c: Likewise.
15198 * htl/lockfile.c: Likewise.
15199 * htl/pt-alloc.c: Likewise.
15200 * htl/pt-cancel.c: Likewise.
15201 * htl/pt-cleanup.c: Likewise.
15202 * htl/pt-create.c: Likewise.
15203 * htl/pt-dealloc.c: Likewise.
15204 * htl/pt-detach.c: Likewise.
15205 * htl/pt-exit.c: Likewise.
15206 * htl/pt-getattr.c: Likewise.
15207 * htl/pt-initialize.c: Likewise.
15208 * htl/pt-internal.h: Likewise.
15209 * htl/pt-join.c: Likewise.
15210 * htl/pt-self.c: Likewise.
15211 * htl/pt-setcancelstate.c: Likewise.
15212 * htl/pt-setcanceltype.c: Likewise.
15213 * htl/pt-sigmask.c: Likewise.
15214 * htl/pt-spin-inlines.c: Likewise.
15215 * htl/pt-testcancel.c: Likewise.
15216 * htl/pt-yield.c: Likewise.
15217 * htl/tests/test-1.c: Likewise.
15218 * htl/tests/test-10.c: Likewise.
15219 * htl/tests/test-11.c: Likewise.
15220 * htl/tests/test-12.c: Likewise.
15221 * htl/tests/test-13.c: Likewise.
15222 * htl/tests/test-14.c: Likewise.
15223 * htl/tests/test-15.c: Likewise.
15224 * htl/tests/test-16.c: Likewise.
15225 * htl/tests/test-17.c: Likewise.
15226 * htl/tests/test-2.c: Likewise.
15227 * htl/tests/test-3.c: Likewise.
15228 * htl/tests/test-4.c: Likewise.
15229 * htl/tests/test-5.c: Likewise.
15230 * htl/tests/test-6.c: Likewise.
15231 * htl/tests/test-7.c: Likewise.
15232 * htl/tests/test-8.c: Likewise.
15233 * htl/tests/test-9.c: Likewise.
15234 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15235 * sysdeps/htl/bits/cancelation.h: Likewise.
15236 * sysdeps/htl/bits/pthread-np.h: Likewise.
15237 * sysdeps/htl/bits/pthread.h: Likewise.
15238 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15239 * sysdeps/htl/bits/semaphore.h: Likewise.
15240 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15241 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15242 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15243 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15244 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15245 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15246 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15247 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15248 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15249 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15250 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15251 * sysdeps/htl/old_pt-atfork.c: Likewise.
15252 * sysdeps/htl/pt-atfork.c: Likewise.
15253 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15254 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15255 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15256 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15257 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15258 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15259 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15260 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15261 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15262 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15263 * sysdeps/htl/pt-attr-init.c: Likewise.
15264 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15265 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15266 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15267 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15268 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15269 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15270 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15271 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15272 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15273 * sysdeps/htl/pt-attr.c: Likewise.
15274 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15275 * sysdeps/htl/pt-barrier-init.c: Likewise.
15276 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15277 * sysdeps/htl/pt-barrier.c: Likewise.
15278 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15279 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15280 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15281 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15282 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15283 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15284 * sysdeps/htl/pt-cond-init.c: Likewise.
15285 * sysdeps/htl/pt-cond-signal.c: Likewise.
15286 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15287 * sysdeps/htl/pt-cond-wait.c: Likewise.
15288 * sysdeps/htl/pt-cond.c: Likewise.
15289 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15290 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15291 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15292 * sysdeps/htl/pt-condattr-init.c: Likewise.
15293 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15294 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15295 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15296 * sysdeps/htl/pt-equal.c: Likewise.
15297 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15298 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15299 * sysdeps/htl/pt-getschedparam.c: Likewise.
15300 * sysdeps/htl/pt-getspecific.c: Likewise.
15301 * sysdeps/htl/pt-init-specific.c: Likewise.
15302 * sysdeps/htl/pt-key-create.c: Likewise.
15303 * sysdeps/htl/pt-key-delete.c: Likewise.
15304 * sysdeps/htl/pt-key.h: Likewise.
15305 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15306 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15307 * sysdeps/htl/pt-mutex-init.c: Likewise.
15308 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15309 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15310 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15311 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15312 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15313 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15314 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15315 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15316 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15317 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15318 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15319 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15320 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15321 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15322 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15323 * sysdeps/htl/pt-mutexattr.c: Likewise.
15324 * sysdeps/htl/pt-once.c: Likewise.
15325 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15326 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15327 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15328 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15329 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15330 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15331 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15332 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15333 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15334 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15335 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15336 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15337 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15338 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15339 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15340 * sysdeps/htl/pt-setschedparam.c: Likewise.
15341 * sysdeps/htl/pt-setschedprio.c: Likewise.
15342 * sysdeps/htl/pt-setspecific.c: Likewise.
15343 * sysdeps/htl/pt-spin.c: Likewise.
15344 * sysdeps/htl/pt-startup.c: Likewise.
15345 * sysdeps/htl/pthread.h: Likewise.
15346 * sysdeps/htl/sem-close.c: Likewise.
15347 * sysdeps/htl/sem-destroy.c: Likewise.
15348 * sysdeps/htl/sem-getvalue.c: Likewise.
15349 * sysdeps/htl/sem-init.c: Likewise.
15350 * sysdeps/htl/sem-open.c: Likewise.
15351 * sysdeps/htl/sem-post.c: Likewise.
15352 * sysdeps/htl/sem-timedwait.c: Likewise.
15353 * sysdeps/htl/sem-trywait.c: Likewise.
15354 * sysdeps/htl/sem-unlink.c: Likewise.
15355 * sysdeps/htl/sem-wait.c: Likewise.
15356 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15357 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15358 * sysdeps/mach/htl/pt-block.c: Likewise.
15359 * sysdeps/mach/htl/pt-spin.c: Likewise.
15360 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15361 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15362 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15363 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15364 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15365 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15366 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15367 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15368 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15369 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15370 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15371 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15372 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15373 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15374 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15375 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15376 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15377 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15378 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15379 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15380 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15381 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15382 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15383 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15384 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15385 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15386 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15387 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15388 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15389 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15390 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15391 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15392 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15393 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15394 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15395 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15396 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15397 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15398 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15399 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15400 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15401 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15402 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15403
fb03b04b
ST
15404 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15405 * README: Remove the mention of out-of-tree patches needed for
15406 GNU/Hurd.
15407
fa9e1555
ST
15408 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15409 (UTIME_NOW, UTIME_OMIT): Define macros.
15410
f6fb29d2
ST
15411 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15412 instead of pthread_detach.
15413 (__cthread_fork): Call __pthread_create instead of pthread_create.
15414 (__cthread_keycreate): Call __pthread_key_create instead of
15415 pthread_key_create.
15416 (__cthread_getspecific): Call __pthread_getspecific instead of
15417 pthread_getspecific.
15418 (__cthread_setspecific): Call __pthread_setspecific instead of
15419 pthread_setspecific.
15420 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15421 __pthread_mutex_unlock instead of pthread_mutex_lock and
15422 pthread_mutex_unlock.
15423 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15424 ___pthread_get_cleanup_stack.
15425 (__pthread_get_cleanup_stack): New strong alias.
15426 * htl/pt-create.c: Include <pthreadP.h>.
15427 (entry_point): Call __pthread_exit instead of pthread_exit.
15428 (pthread_create): Rename to __pthread_create.
15429 (pthread_create): New strong alias.
15430 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15431 (pthread_detach): New strong alias.
15432 (__pthread_detach): Call __pthread_cond_broadcast instead of
15433 pthread_cond_broadcast.
fe9748cc
ST
15434 * htl/pt-exit.c: Include <pthreadP.h>.
15435 (__pthread_exit): Call __pthread_setcancelstate and
15436 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15437 __pthread_get_cleanup_stack.
f6fb29d2
ST
15438 * htl/pt-testcancel.c: Include <pthreadP.h>.
15439 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15440 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15441 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15442 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15443 pthread_attr_getstacksize.
15444 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15445 Rename to __pthread_attr_getstackaddr.
15446 (pthread_attr_getstackaddr): New strong alias.
15447 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15448 Rename to __pthread_attr_getstacksize.
15449 (pthread_attr_getstacksize): New strong alias.
15450 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15451 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15452 (pthread_attr_setstack): New strong alias.
15453 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15454 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15455 pthread_attr_getstacksize, pthread_attr_setstacksize and
15456 pthread_attr_setstackaddr.
15457 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15458 Rename to __pthread_attr_setstackaddr.
15459 (pthread_attr_setstackaddr): New strong alias.
15460 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15461 Rename to __pthread_attr_setstacksize.
15462 (pthread_attr_setstacksize): New strong alias.
15463 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15464 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15465 pthread_exit.
15466 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15467 (__pthread_key_create): New hidden def.
15468 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15469 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15470 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15471 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15472 __pthread_setspecific, __pthread_setcancelstate,
15473 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15474 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15475 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15476 declarations.
15477 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15478 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15479 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15480 (pthread_attr_setstackaddr): New strong alias.
15481 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15482 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15483 (pthread_attr_setstacksize): New strong alias.
15484 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15485 (call_exit): Call __pthread_exit instead of pthread_exit.
15486 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15487 (_pthread_mutex_init): New hidden definition.
15488 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15489 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15490 instead of pthread_attr_init and pthread_attr_setstack.
15491
dba2bdbe
ST
15492 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15493 __vm_deallocate instead of vm_allocate and vm_deallocate.
15494 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15495 setenv.
15496 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15497 of geteuid.
15498 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15499 strdup.
15500 * hurd/siginfo.c: Include <libioP.h>.
15501 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15502 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15503 munmap.
dba2bdbe
ST
15504 * mach/devstream.c: Include <libioP.h>.
15505 (dealloc_ref): Call __mach_port_deallocate instead of
15506 mach_port_deallocate.
15507 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15508 Call __mach_port_deallocate instead of mach_port_deallocate.
15509 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15510 pathconf.
15511 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15512 munmap.
15513 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15514 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15515 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15516 of munmap.
15517 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15518 of close.
15519 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15520 instead of sysconf.
15521 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15522 __clock_gettime instead of clock_gettime.
15523 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15524 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15525 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15526 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15527 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15528 tcgetattr.
15529 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15530 __clock_gettime and __nanosleep instead of clock_gettime and
15531 nanosleep.
7a8f45e3
ST
15532 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15533 __hurd_catch_signal.
15534 (hurd_catch_signal): New strong alias.
15535 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15536 __hurd_catch_signal instead of hurd_catch_signal.
15537 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15538 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15539 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15540 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15541 (_hurd_thread_sigstate): Add hidden def.
15542 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15543 mutex_unlock.
15544 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15545 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15546 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15547 __hurd_file_name_path_lookup.
15548 (hurd_file_name_path_lookup): New strong alias.
15549 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15550 hurd_file_name_path_lookup.
15551 * mach/errstring.c (mach_error_type): Add hidden def.
15552 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15553 * mach/mutex-init.c (__mutex_init): Add hidden def.
15554 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15555 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15556 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15557 * sysdeps/mach/hurd/getcwd.c
15558 (_hurd_canonicalize_directory_name_internal): Rename to
15559 __hurd_canonicalize_directory_name_internal.
15560 (_hurd_canonicalize_directory_name_internal): New strong alias.
15561 (__canonicalize_directory_name_internal, __getcwd): Call
15562 __hurd_canonicalize_directory_name_internal instead of
15563 _hurd_canonicalize_directory_name_internal.
15564 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15565 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15566 hidden defs.
15567 * sysdeps/hurd/include/hurd.h: New file.
15568 * sysdeps/hurd/include/hurd/fd.h: New file.
15569 * sysdeps/hurd/include/hurd/signal.h: New file.
15570 * sysdeps/mach/include/lock-intern.h: New file.
15571 * sysdeps/mach/include/mach.h: New file.
15572 * sysdeps/mach/include/mach/mig_support.h: New file.
15573 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
15574 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15575 prototype.
15576 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15577 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15578 _HEADER_H_HIDDEN_DEF macro.
15579 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15580 _hurd_fd_error_signal): Add hidden prototype.
15581 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15582 hidden def.
82dbf555
ST
15583 * libio/iolibio.h (_IO_puts): New hidden prototype.
15584 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
15585 * sysdeps/mach/hurd/localplt.data: New file.
15586
33574c17 155872018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
15588 Amos Jeffries <squid3@treenet.co.nz>
15589 David Michael <fedora.dm0@gmail.com>
15590 Marco Gerards <marco@gnu.org>
15591 Marcus Brinkmann <marcus@gnu.org>
15592 Neal H. Walfield <neal@gnu.org>
15593 Pino Toscano <toscano.pino@tiscali.it>
15594 Richard Braun <rbraun@sceen.net>
15595 Roland McGrath <roland@gnu.org>
15596 Samuel Thibault <samuel.thibault@ens-lyon.org>
15597 Thomas DiModica <ricinwich@yahoo.com>
15598 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
15599
15600 * htl: New directory.
15601 * sysdeps/htl: New directory.
15602 * sysdeps/hurd/htl: New directory.
15603 * sysdeps/i386/htl: New directory.
15604 * sysdeps/mach/htl: New directory.
15605 * sysdeps/mach/hurd/htl: New directory.
15606 * sysdeps/mach/hurd/i386/htl: New directory.
15607 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15608 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15609 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15610
03e2aa50
ST
156112018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15612
15613 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15614 signals in thread created for runing timers.
15615
1aa52ced
FW
156162018-04-01 Florian Weimer <fweimer@redhat.com>
15617
15618 * support/support_format_addrinfo.c (support_format_addrinfo):
15619 Include unknown error number in formatted result.
15620
4d76d3e5
FW
156212018-03-29 Florian Weimer <fweimer@redhat.com>
15622
15623 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15624 capture SIGBUS.
15625
d39c0a45
AZ
156262018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15627
15628 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15629 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15630 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15631 (__ASSUME_CLONE_BACKWARDS): Define.
15632
cc8a1620
JH
156332018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15634
57408435 15635 [BZ #23024]
cc8a1620
JH
15636 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15637 early when linux sentinel value is set.
15638
8bfd94d0
ST
156392018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15640
15641 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15642
f178e59f
AS
156432018-03-27 Andreas Schwab <schwab@suse.de>
15644
15645 [BZ #23005]
15646 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15647 allocation of private copy of nsaddr_list fails.
15648
5f45f96a
JM
156492018-03-26 Joseph Myers <joseph@codesourcery.com>
15650
15651 [BZ #16552]
15652 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15653 * sysdeps/unix/sysv/linux/umount.c: ... here.
15654 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15655 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15656 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15657 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15659 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15660 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15661
3dfd23eb
AS
156622018-03-26 Andreas Schwab <schwab@suse.de>
15663
15664 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15665 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15666 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15667 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15668 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15669 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15670 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15671 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15672 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15673 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15674 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15675 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15676 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15677 (R_RISCV_NUM): Define.
15678
fa97d2ab
ST
156792018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15680
15681 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15682 TLS declaration of errno.
37be82a0
ST
15683 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15684 __libc_setup_tls.
15685 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15686 (ARCH_SETUP_TLS): Likewise.
15687 * sysdeps/mach/hurd/libc-start.h: New file copied from
15688 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
15689 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15690 instead of __libc_setup_tls.
37be82a0 15691 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
15692 __libc_setup_tls before initializing libpthread and running _hurd_init
15693 which starts the signal thread.
15694 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15695 Declare function.
2d813d7b 15696 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 15697
b8114edd
L
156982018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15699
15700 [BZ #22998]
15701 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15702 after it is defined.
15703
cd66c0e5
AS
157042018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15705 Max Horn <max@quendi.de>
15706
15707 [BZ #22644]
43d4f3d5 15708 CVE-2017-18269
cd66c0e5
AS
15709 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15710 branch conditions.
15711 * string/test-memmove.c (do_test2): New testcase.
15712
a4406139
JM
157132018-03-22 Joseph Myers <joseph@codesourcery.com>
15714
15715 * sysdeps/generic/frame.h: Remove file.
15716 * sysdeps/arm/frame.h: Likewise.
15717 * sysdeps/hppa/frame.h: Likewise.
15718 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15719 macro.
15720 (GET_FRAME): Likewise.
15721 (GET_STACK): Likewise.
15722 (CALL_SIGHANDLER): Likewise.
15723 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15724 Likewise.
15725 (GET_FRAME): Likewise.
15726 (GET_STACK): Likewise.
15727 (CALL_SIGHANDLER): Likewise.
15728 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15729 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15730 (GET_FRAME): Likewise.
15731 (GET_STACK): Likewise.
15732 (CALL_SIGHANDLER): Likewise.
15733 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15734 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15735 (GET_FRAME): Likewise.
15736 (GET_STACK): Likewise.
15737 (ADVANCE_STACK_FRAME): Likewise.
15738 (CALL_SIGHANDLER): Likewise.
15739 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15740 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15741 (GET_FRAME): Likewise.
15742 (GET_STACK): Likewise.
15743 (CALL_SIGHANDLER): Likewise.
15744 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15745 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15746 (GET_FRAME): Likewise.
15747 (GET_STACK): Likewise.
15748 (CALL_SIGHANDLER): Likewise.
15749 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15750 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15751 (GET_FRAME): Likewise.
15752 (GET_STACK): Likewise.
15753 (CALL_SIGHANDLER): Likewise.
15754 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15755 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15756 (GET_FRAME): Likewise.
15757 (GET_STACK): Likewise.
15758 (CALL_SIGHANDLER): Likewise.
15759 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15760 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15761 (GET_FRAME): Likewise.
15762 (GET_STACK): Likewise.
15763 (CALL_SIGHANDLER): Likewise.
15764 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15765 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15766 (GET_FRAME): Likewise.
15767 (GET_STACK): Likewise.
15768 (CALL_SIGHANDLER): Likewise.
15769 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15770 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15771 (GET_FRAME): Likewise.
15772 (GET_STACK): Likewise.
15773 (CALL_SIGHANDLER): Likewise.
15774 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15775 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15776 (GET_FRAME): Likewise.
15777 (GET_STACK): Likewise.
15778 (CALL_SIGHANDLER): Likewise.
15779 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15780 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15781 (GET_FRAME): Likewise.
15782 (GET_STACK): Likewise.
15783 (CALL_SIGHANDLER): Likewise.
15784 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15785 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15786 (FIRST_FRAME_POINTER): Likewise.
15787 (ADVANCE_STACK_FRAME): Likewise.
15788 (GET_STACK): Likewise.
15789 (GET_FRAME): Likewise.
15790 (CALL_SIGHANDLER): Likewise.
15791 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15792 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15793 (ADVANCE_STACK_FRAME): Likewise.
15794 (GET_STACK): Likewise.
15795 (GET_FRAME): Likewise.
15796 (CALL_SIGHANDLER): Likewise.
15797 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15798 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15799 (GET_FRAME): Likewise.
15800 (GET_STACK): Likewise.
15801 (CALL_SIGHANDLER): Likewise.
15802 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15803 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15804 (GET_FRAME): Likewise.
15805 (GET_STACK): Likewise.
15806 (CALL_SIGHANDLER): Likewise.
15807
ffec7b27
JM
158082018-03-21 Joseph Myers <joseph@codesourcery.com>
15809
15810 * sysdeps/x86_64/backtrace.c: Move to ....
15811 * debug/backtrace.c: ... here.
15812 * sysdeps/aarch64/backtrace.c: Remove file.
15813 * sysdeps/alpha/backtrace.c: Likewise.
15814 * sysdeps/hppa/backtrace.c: Likewise.
15815 * sysdeps/ia64/backtrace.c: Likewise.
15816 * sysdeps/mips/backtrace.c: Likewise.
15817 * sysdeps/nios2/backtrace.c: Likewise.
15818 * sysdeps/riscv/backtrace.c: Likewise.
15819 * sysdeps/sh/backtrace.c: Likewise.
15820 * sysdeps/tile/backtrace.c: Likewise.
15821
8a07b0c4
JM
158222018-03-20 Joseph Myers <joseph@codesourcery.com>
15823
d0c5d731
JM
15824 [BZ #22987]
15825 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
15826 function.
15827 (fdimf): Likewise.
15828 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
15829
8a07b0c4
JM
15830 [BZ #17343]
15831 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
15832 possibly overflowing computations.
15833
ceb54b9b
ST
158342018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15835
15836 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
15837 values from Linux-specific section now that it is in the GNU section.
15838 * sysdeps/gnu/errlist.c: Regenerate.
15839
8d3f9e85
JM
158402018-03-20 Joseph Myers <joseph@codesourcery.com>
15841
15842 * math/Makefile (libm-narrow-fns): Add sub.
15843 (libm-test-funcs-narrow): Likewise.
15844 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
15845 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
15846 * math/gen-auto-libm-tests.c (test_functions): Add sub.
15847 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
15848 (NARROW_SUB_ROUND_TO_ODD): Likewise.
15849 (NARROW_SUB_TRIVIAL): Likewise.
15850 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
15851 macro.
15852 (__dsubl): Likewise.
15853 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
15854 dsub.
15855 (CFLAGS-nldbl-dsub.c): New variable.
15856 (CFLAGS-nldbl-fsub.c): Likewise.
15857 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15858 __nldbl_dsubl.
15859 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
15860 prototype.
15861 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
15862 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
15863 * math/auto-libm-test-in: Add tests of sub.
15864 * math/auto-libm-test-out-narrow-sub: New generated file.
15865 * math/libm-test-narrow-sub.inc: New file.
15866 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15867 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
15868 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
15869 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
15870 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
15871 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
15872 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
15873 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
15874 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
15875 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
15876 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
15877 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
15878 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
15879 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
15880 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
15881 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
15882 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
15883 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
15884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15885 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15886 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15887 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15888 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15889 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15890 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15891 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15892 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15893 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15894 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15895 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15896 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15897 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15902 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15903 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15904 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15905 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15906 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15907 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15908 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15909 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15910 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15911 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15912
d473f015
JM
159132018-03-19 Joseph Myers <joseph@codesourcery.com>
15914
15915 [BZ #20079]
15916 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
15917
fbce6f72
WD
159182018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
15919
15920 * benchtests/bench-timing.h (attribute_hidden): Undefine.
15921
72e7ffc3
RB
159222018-03-18 Richard Braun <rbraun@sceen.net>
15923
15924 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
15925 thread reference.
15926
542c20a1
AA
159272018-03-18 Agustina Arzille <avarzille@riseup.net>
15928
15929 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
15930 (__libc_cleanup_fct): Define function.
15931 (__libc_cleanup_region_start, __libc_cleanup_region_end,
15932 __libc_cleanup_end): Rewrite implementation using
15933 __attribute__ ((__cleanup__)).
15934 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
15935 * hurd/Makefile (routines): Add hurdlock.
15936 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
15937 interface.
15938 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
15939 * hurd/hurdpid.c: Include <lowlevellock.h>
15940 (_S_msg_proc_newids): Use lll_wait to synchronize.
15941 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15942 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15943 * mach/Makefile (lock-headers): Remove machine-lock.h.
15944 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15945 <machine-lock.h>.
15946 (__spin_lock_t): New type.
15947 (__SPIN_LOCK_INITIALIZER): New macro.
15948 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15949 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15950 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15951 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15952 (__mutex_init): Initialize with lll.
15953 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15954 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15955 needing lll.
15956 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15957 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15958 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15959 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15960 (__setpgid): Use lll for synchronization.
15961 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15962 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15963 instead of <cthreads.h>.
15964 (_IO_lock_inexpensive): New macro
15965 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15966 (__libc_lock_self0): New declaration.
15967 (__libc_lock_owner_self): New macro.
15968 (__libc_key_t): Remove type.
15969 (_LIBC_LOCK_INITIALIZER): New macro.
15970 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15971 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15972 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15973 __libc_lock_define_initialized_recursive,
15974 __rtld_lock_define_initialized_recursive,
15975 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15976 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15977 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15978 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15979 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15980 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15981 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15982 New macros.
15983 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15984 * hurd/hurdlock.c: New file.
15985 * hurd/hurdlock.h: New file.
15986 * mach/lowlevellock.h: New file
542c20a1 15987
9a37922e
ST
159882018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15989
15990 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
15991 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15992 when opening a symlink with O_NOFOLLOW.
72103e73
ST
15993 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15994 path when flags contains O_NOFOLLOW.
15995 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15996 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
15997 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15998 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
15999 * sysdeps/mach/hurd/mlockall.c: New file.
16000 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 16001
34e6a869
ST
160022018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16003
16004 * hurd/hurdsig.c: Include <pthread.h>.
16005 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16006 get the signal thread stack layout.
dc33bef3
ST
16007 * hurd/Makefile (headers): Remove threadvar.h.
16008 (inline-headers): Remove threadvar.h.
16009 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16010 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16011 __hurd_threadvar_max, __hurd_errno_location.
16012 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16013 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16014 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16015 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16016 unless TLS is not initialized yet, in which case we do not need a
16017 critical section yet anyway.
16018 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16019 <machine-sp.h>.
16020 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16021 declarations.
16022 (__hurd_threadvar_index): Remove enum.
16023 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16024 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16025 inlines.
16026 (__hurd_reply_port0): New variable declaration.
16027 (__hurd_local_reply_port): New macro.
16028 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16029 (interrupted_reply_port_location): Add thread_t parameter. Use it
16030 with THREAD_TCB to access thread-local variables.
16031 (_hurdsig_abort_rpcs): Pass ss->thread to
16032 interrupted_reply_port_location.
16033 (_hurd_internal_post_signal): Likewise.
16034 (_hurdsig_init): Use presence of cthread_fork instead of
16035 __hurd_threadvar_stack_mask to start signal thread by hand.
16036 Remove signal thread threadvar initialization.
16037 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16038 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16039 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16040 of threadvar.
16041 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16042 __libc_lock_self0.
16043 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16044 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16045 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16046 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16047 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16048 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16049 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16050 define variables.
16051 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16052 <hurd/threadvar.h>.
16053 [IS_IN(rtld)] (rtld_errno): New variable.
16054 [IS_IN(rtld)] (__errno_location): New weak function.
16055 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16056 * sysdeps/mach/hurd/errno.c: Remove file.
16057 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16058 (__fork): Remove THREADVAR_SPACE macro and its use.
16059 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16060 variable.
16061 (init): Do not initialize threadvar.
16062 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16063 symbol.
16064 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16065 __hurd_local_reply_port instead of threadvar.
16066 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16067 _hurd_sigstate fields.
16068 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16069 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16070 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16071 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16072 instead of threadvar.
16073 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16074 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16075 (use_threadvar, global_reply_port): Remove variables.
16076 (__hurd_reply_port0): New variable.
16077 (__mig_get_reply_port): Use __hurd_local_reply_port and
16078 __hurd_reply_port0 instead of threadvar.
16079 (__mig_dealloc_reply_port): Likewise.
16080 (__mig_init): Do not initialize threadvar.
16081 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
16082 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16083 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16084 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16085 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16086 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16087 __cthread_setspecific.
16088 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16089 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16090 __cthread_t instead of cthread_fork, cthread_detach,
16091 pthread_getattr_np, pthread_attr_getstack.
16092 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16093 __cthread_keycreate.
16094 (cthread_getspecific): Rename to __cthread_getspecific.
16095 (cthread_setspecific): Rename to __cthread_setspecific.
16096 (__libc_getspecific): Use __cthread_getspecific instead of
16097 cthread_getspecific.
16098 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16099 __cthread_keycreate instead of cthread_keycreate.
16100 (__libc_setspecific): Use __cthread_setspecific instead of
16101 cthread_setspecific.
16102 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16103 Likewise.
dd28d4ba
ST
16104 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16105 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16106 testing whether it is defined.
34e6a869 16107
f8baf2a2
ST
161082018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16109
16110 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16111 Define macro.
16112 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16113 * sysdeps/mach/i386/thread_state.h
16114 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16115 i386_THREAD_STATE.
16116 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16117 i386_THREAD_STATE.
16118 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16119
16120 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16121 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16122
16123 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16124 macros.
16125 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16126 descriptor instead of creating a new one.
16127 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16128
16129 * mach/setup-thread.c: Include <ldsodefs.h>.
16130 (__mach_setup_thread): Call _dl_allocate_tls, pass
16131 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16132 MACHINE_THREAD_STATE_FLAVOR, before getting
16133 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16134 MACHINE_THREAD_STATE_FLAVOR with the result.
16135 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16136 MACHINE_THREAD_STATE_FIX_NEW.
16137 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16138 too. Add original thread parameter.
16139
34ba96b8
JM
161402018-03-16 Joseph Myers <joseph@codesourcery.com>
16141
5d75b75f
JM
16142 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16143 Remove inline function.
16144
34ba96b8
JM
16145 * sysdeps/i386/fpu/libm-test-ulps: Update.
16146 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16147
22679b2c
WD
161482018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16149
16150 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16151 commit.
16152
c429a8d8
JM
161532018-03-15 Joseph Myers <joseph@codesourcery.com>
16154
16155 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16156 (__sincos_code): Remove define and undefine.
16157 [__FAST_MATH__] (__sincos): Remove inline function.
16158 [__FAST_MATH__] (__sincosf): Remove inline function.
16159 [__FAST_MATH__] (__sincosl): Remove inline function.
16160 (__atan2l): Remove inline functions.
16161 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16162 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16163 function.
16164 (floor): Remove inline function.
16165 (ceil): Likewise.
16166 [__FAST_MATH__] (__ldexp_code): Remove macro.
16167 [__FAST_MATH__] (ldexp): Remove inline function.
16168 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16169 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16170 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16171 [__USE_ISOC99] (__lrint_code): Remove macro.
16172 [__USE_ISOC99] (__llrint_code): Likewise.
16173 [__USE_ISOC99] (lrintf): Remove inline function.
16174 [__USE_ISOC99] (lrint): Likewise.
16175 [__USE_ISOC99] (lrintl): Likewise.
16176 [__USE_ISOC99] (llrint): Likewise.
16177 [__USE_ISOC99] (llrintf): Likewise.
16178 [__USE_ISOC99] (llrintl): Likewise.
16179
700593fd
WD
161802018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16181
16182 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16183 (__ieee754_sqrtf): Remove.
16184 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16185 (__ieee754_sqrtf): Remove.
16186 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16187 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16188 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16189 (__ieee754_sqrtf): Remove.
16190 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16191 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16192 (sqrtf): Remove.
16193 (sqrtl): Remove.
16194 (__ieee754_sqrt): Remove.
16195 (__ieee754_sqrtf): Remove.
16196 (__ieee754_sqrtl): Remove.
16197 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16198 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16199 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16200 (__ieee754_sqrtf): Remove.
16201 (__ieee754_sqrtl): Remove.
16202
f67a8147
WD
162032018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16204
16205 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16206 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16207 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16208 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16209 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16210 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16211 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16212 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16213 Likewise.
16214 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16215 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16216 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16217 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16218 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16219 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16220 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16221 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16222 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16223 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16224 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16225 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16226 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16227 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16228 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16229 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16230 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16231 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16232 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16233 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16234 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16235 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16236 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16237 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16238 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16239 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16240 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16241 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16242 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16243 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16244 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16245 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16246 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16247 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16248 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16249 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16250 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16251 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16252 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16253 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16254
1294b189
WD
162552018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16256
16257 * include/math.h (sqrt): Declare with asm redirect.
16258 (sqrtf): Likewise.
16259 (sqrtl): Likewise.
16260 (sqrtf128): Likewise.
16261 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16262 nonlib and libnldbl with -fmath-errno.
16263 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16264 * math/w_sqrt_template.c: Likewise.
16265 * math/w_sqrtf_compat.c: Likewise.
16266 * math/w_sqrtl_compat.c: Likewise.
16267 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16268 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16269 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16270 complex.h.
16271
f1c8185d
WD
162722018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16273
16274 * benchtests/Makefile: Define _ISOMAC.
16275 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16276 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16277 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16278 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16279 * benchtests/bench-timing.h: Define attribute_hidden.
16280
b47c3e76
SP
162812018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16282
16283 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16284 mov + lsr.
16285
807fee29
RL
162862018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16287
16288 [BZ #22963]
16289 * localedata/locales/cs_CZ (mon): Rename to...
16290 (alt_mon): This.
16291 (mon): Import from CLDR (genitive case).
16292
e7155a28
RL
162932018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16294
16295 [BZ #22937]
16296 * localedata/locales/el_CY (abmon): Rename to...
16297 (ab_alt_mon): This.
16298 (abmon): Import from CLDR (abbreviated genitive case).
16299 * localedata/locales/el_GR (abmon): Rename to...
16300 (ab_alt_mon): This.
16301 (abmon): Import from CLDR (abbreviated genitive case).
16302
71d7b121
RL
163032018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16304
16305 [BZ #22932]
16306 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16307
a00bffe8
RB
163082018-03-15 Robert Buj <robert.buj@gmail.com>
16309
16310 [BZ #22848]
16311 * localedata/locales/ca_ES (abmon): Rename to...
16312 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16313 (mon): Rename to...
16314 (alt_mon): This.
16315 (abmon): Import from CLDR (genitive case, month names preceded by
16316 "de" or "d’").
16317 (mon): Likewise.
16318 (abday): Synchronize with CLDR.
16319 (d_t_fmt): Likewise.
16320 (d_fmt): Likewise.
16321 (am_pm): Likewise.
16322
16323 (LC_TIME): Improve indentation.
16324 (LC_TELEPHONE): Likewise.
16325 (LC_NAME): Likewise.
16326 (LC_ADDRESS): Likewise.
16327
f9555d73
JM
163282018-03-14 Joseph Myers <joseph@codesourcery.com>
16329
16330 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16331 (lrintf): Remove definitions used only with old GCC.
16332 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16333 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16334 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16335 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16336 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16337 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16338 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16339 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16340 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16341 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16342 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16343 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16344 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16345 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16346 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16347 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16348 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16349 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16350 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16351 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16352 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16353 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16354 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16355 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16356 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16357 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16358 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16359 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16360
d46f84de
SP
163612018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16362
16363 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16364 instruction to unbreak builds with binutils 2.26 and older.
16365
7108f1f9
SP
163662018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16367
16368 * sysdeps/aarch64/strncmp.S (count): New macro.
16369 (strncmp): Store misaligned length in SRC1 in COUNT.
16370 (mutual_align): Adjust.
16371 (misaligned8): Load dword at a time when it is safe.
16372
2cc7bad0
ZW
163732018-03-12 Zack Weinberg <zackw@panix.com>
16374
16375 [BZ #1190]
16376 [BZ #19476]
16377 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16378 if the _IO_EOF_SEEN bit is already set; update commentary.
16379 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16380 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16381
16382 * support/support_openpty.c, support/tty.h: New files.
16383 * support/Makefile (libsupport-routines): Add support_openpty.
16384
16385 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16386 New test cases.
16387 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16388 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16389
778f1974
DL
163902018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16391
16392 * po/pt_BR.po: Update translations.
16393
6b5c8607 163942018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
16395
16396 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16397 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16398 get a port to the startup server.
16399
d3da750d
ZW
164002018-03-11 Zack Weinberg <zackw@panix.com>
16401
16402 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16403 before nldbl-compat.h.
16404
054b72cc
ZW
164052018-03-10 Zack Weinberg <zackw@panix.com>
16406
0d13dfa1
ZW
16407 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16408 math.h or math_private.h.
16409
16410 * sysdeps/alpha/fpu/s_isnan.c
16411 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16412 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16413 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16414 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16415 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16416 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16417 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16418 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16419 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16422 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16423 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16424 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16425 Include math_private.h.
16426
16427 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16428 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16429 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16430 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16431 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16432 * sysdeps/powerpc/power7/fpu/s_logb.c:
16433 Include math.h and math_private.h.
16434
054b72cc
ZW
16435 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16436 uses of $at in .set noat / .set at.
16437
6253bacd
L
164382018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16439
16440 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16441 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16442 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16443 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16444 Likewise.
16445
229855e5
FW
164462018-03-09 Florian Weimer <fweimer@redhat.com>
16447
16448 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16449 in comment.
16450
9aa5c222
AJ
164512018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16452
16453 [BZ #22919]
16454 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16455 Add nop before __startcontext, add explaining comments.
16456
3dc21497
AZ
164572018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16458
e921c89e
AZ
16459 [BZ #22926]
16460 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16461 empty for __SPE__.
16462 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16463 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16464 Do not build hardware transactional code for __SPE__.
16465 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16466 (__lll_trylock_elision): Likewise.
16467 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16468 (__lll_unlock_elision): Likewise.
16469
d9f26dab 16470 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
16471 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16472 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16473 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16474 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16475 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16476 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16477 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16478 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16479 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16480 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16481 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16482 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16483 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16484 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16485 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16486 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16487 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16488 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16489 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16490 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16491 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16492 (__ASSUME_CLONE_BACKWARDS): Define.
16493 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16494 __clone2 if __NR_clone2 is defined.
16495 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16496 (__ASSUME_CLONE_BACKWARDS): Likewise.
16497 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16498 (__ASSUME_CLONE_BACKWARDS): Likewise.
16499 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16500 (__ASSUME_CLONE2): Likewise.
16501 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16502 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16503 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16504 variants and the define architecture can use.
16505 (__ASSUME_CLONE_DEFAULT): Define as default.
16506 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16507 (__ASSUME_CLONE_BACKWARDS): Likewise.
16508 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16509 (__ASSUME_CLONE_BACKWARDS): Likewise.
16510 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16511 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16512
adc95fb0
SP
165132018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16514
4e54d918
SP
16515 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16516
30a81dae
SP
16517 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16518 time.
16519
adc95fb0
SP
16520 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16521 (do_test_limit): Likewise.
16522
16523 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16524 for every implementation.
16525 (do_test): Likewise.
16526
16527 * benchtests/bench-strncmp.c: Convert output to json.
16528
4e9066bc
ST
165292018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16530
16531 * io/futimens.c: Add missing start-of-file descriptive comment.
16532 * io/utime.c: Likewise.
16533 * misc/futimesat.c: Likewise.
16534 * misc/utimes.c: Likewise.
16535 * sysdeps/mach/hurd/futimesat.c: Likewise.
16536 * sysdeps/mach/hurd/utimes.c: Likewise.
16537 * sysdeps/posix/utime.c: Likewise.
16538 * sysdeps/posix/utimes.c: Likewise.
16539 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16540 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16541 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16542 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16543
ec1300cf
ST
165442018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16545
16546 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16547 hurd_futimes.
16548 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16549 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16550 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16551 (__futimens): Move implementation to...
16552 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16553 utime_tvalue_from_tspec): ... new helper functions.
16554 (hurd_futimens): New function.
16555 * sysdeps/mach/hurd/futimesat.c: New file.
16556 * sysdeps/mach/hurd/utimensat.c: New file.
16557
bbe762d1
FC
165582018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16559
16560 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16561 UTIME_OMIT): New macros.
16562 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16563 before reverting to converting time spec to time value and calling
16564 __file_utimes.
16565 * sysdeps/mach/hurd/utime-helper.c: New file.
16566 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16567 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16568 reverting to utime_tvalue_from_tval and __file_utimes.
16569 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16570 (__lutimes): Just call hurd_futimens after lookup.
16571 * sysdeps/mach/hurd/utimes.c: Likewise.
16572
a1ede3a4
ST
165732018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16574
16575 * bits/sigaction.h: Add include guard.
16576 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16577 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16578 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16579 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16580 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16581 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16582 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16583 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16584 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16585
6900d2ca
JM
165862018-03-05 Joseph Myers <joseph@codesourcery.com>
16587
16588 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16589 -Wmaybe-uninitialized for -Os.
16590 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16591 this disabling.
16592
68448be2
AZ
165932018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16594
5226a81f
AZ
16595 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16596 __INO_T_MATCHES_INO64_T is defined.
16597 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16598 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16599 of definition.
16600 * dirent/alphasort64.c: Likewise.
16601 * dirent/scandir.c: Likewise.
16602 * dirent/scandir64-tail.c: Likewise.
16603 * dirent/scandir64.c: Likewise.
16604 * dirent/scandirat.c: Likewise.
16605 * dirent/scandirat64.c: Likewise.
16606 * dirent/versionsort.c: Likewise.
16607 * dirent/versionsort64.c: Likewise.
16608 * include/dirent.h: Likewise.
16609
fbd01e6c
AZ
16610 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16611 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16612 for socketpair endpoint.
16613 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16614 WRITE_BUFFER_SIZE as buffer size for sending socket.
16615 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16616 issue on system where send is implemented with sendto syscall.
16617 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16618 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16619 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16620 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16621
68448be2
AZ
16622 [BZ #21269]
16623 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16624 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16625 sa_restorer for vDSO case.
16626 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16627
eb1ca47e
ST
166282018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16629
16630 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
16631 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16632 * hurd/hurd/ioctl.h: Include <mach/port.h>
16633 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
16634 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16635 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
16636 (headers): Move mach/param.h to bits/mach/param.h.
16637 * sysdeps/mach/i386/mach/param.h: Move file to ...
16638 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16639 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16640 of <mach/param.h>.
3403cb7d
ST
16641 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16642 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16643 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
16644 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16645 trivial, for C++ conformity.
44c6376c 16646 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
16647 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16648 Process mig output through $(migheadersed).
16649 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
16650 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16651 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16652 headers.
ba89615d
ST
16653 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16654 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16655 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16656 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16657 <bits/types/sigset_t.h>.
16658 [!defined __USE_GNU]: Do not #error out.
16659 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16660 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16661 Include <stddef.h> and <bits/types/sigset_t.h>
16662 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16663 instead of sighandler_t.
974393ea
ST
16664 * stdlib/errno.h (error_t): Move definition to...
16665 * bits/types/error_t.h: ... new header.
16666 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16667 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16668 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16669 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16670 * hurd/hurd.h: Include <bits/types/error_t.h>
16671 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16672 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16673 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16674 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16675 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16676 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 16677 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 16678
eaf6753f
AS
166792018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16680
16681 [BZ #22918]
16682 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16683 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16684 * nscd/gai.c (__nss_hosts_database): Readd definition.
16685 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16686 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16687 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16688
4dc23804
JM
166892018-03-02 Joseph Myers <joseph@codesourcery.com>
16690
16691 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16692 (ifunc_one): Likewise.
16693
1c81d55f
DD
166942018-03-01 DJ Delorie <dj@delorie.com>
16695
16696 [BZ #22342]
16697 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16698 key value.
16699
b717c14f
MR
167002018-03-01 Maciej W. Rozycki <macro@mips.com>
16701
16702 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16703 `match_pid' parameter.
16704 (td_ta_thr_iter): Update accordingly.
16705
1efe1358
FW
167062018-03-01 Florian Weimer <fweimer@redhat.com>
16707
16708 * nptl/Makefile (install-lib-ldscripts): Remove.
16709 (install): Remove rule.
16710 ($(inst_libdir)/libpthread.so): Likewise.
16711
a527f09c
MF
167122018-03-01 Mike FABIAN <mfabian@redhat.com>
16713
16714 [BZ #22896]
16715 * localedata/locales/an_ES: update month and day names,
16716 improve d_fmt, improve postal_fmt, add country_post,
16717 add country_isbn
16718
35d660b0
MF
167192018-03-01 Mike FABIAN <mfabian@redhat.com>
16720
16721 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16722 Ukrainian instead of Bulgarian.
16723
1a2f44a8
FW
167242018-03-01 Florian Weimer <fweimer@redhat.com>
16725
16726 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16727 reference.
16728
bd60ce86
FW
167292018-03-01 Florian Weimer <fweimer@redhat.com>
16730
16731 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16732 * nptl/Makefile (routines): Add pthread_atfork.
16733 (static-only-routines): Set to pthread_atfork.
16734 (libpthread-routines): Remove pthread_atfork.
16735 (libpthread-static-only-routines): Remove.
16736 (install): Update comment.
16737 (libpthread.so): Do not install libpthread_nonshared.a.
16738 (tests): Do not link with libpthread_nonshared.a.
16739 (generated): Remove libpthread_nonshared.a.
16740 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16741 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16742 with libpthread_nonshared.a.
16743
000f290f
JM
167442018-02-28 Joseph Myers <joseph@codesourcery.com>
16745
e2bcf6a8
JM
16746 [BZ #22902]
16747 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16748 (libc_feholdexcept_setroundf128): New macro.
16749 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16750
000f290f
JM
16751 [BZ #15105]
16752 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16753 libc_hidden_def.
16754 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16755 * include/inttypes.h: New file.
16756
02f2fead
JM
167572018-02-27 Joseph Myers <joseph@codesourcery.com>
16758
16759 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16760 -Os in two more places.
16761
874c56d7
MF
167622018-02-27 Mike FABIAN <mfabian@redhat.com>
16763
16764 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16765 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16766 be sorted correctly at the moment because of a bug.
16767
15973854
MF
167682018-02-27 Mike FABIAN <mfabian@redhat.com>
16769
16770 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16771 treat ñ as a primary different character, sync the collation
16772 for Spanish with CLDR.
16773 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16774 * localedata/Makefile: Add new test files.
16775 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16776 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16777 collation order.
16778 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16779 * localedata/am_ET.UTF-8.in: New test file.
16780 * localedata/az_AZ.UTF-8.in: Likewise.
16781 * localedata/be_BY.UTF-8.in: Likewise.
16782 * localedata/ber_DZ.UTF-8.in: Likewise.
16783 * localedata/ber_MA.UTF-8.in: Likewise.
16784 * localedata/bg_BG.UTF-8.in: Likewise.
16785 * localedata/br_FR.UTF-8.in: Likewise.
16786 * localedata/cmn_TW.UTF-8.in: Likewise.
16787 * localedata/crh_UA.UTF-8.in: Likewise.
16788 * localedata/csb_PL.UTF-8.in: Likewise.
16789 * localedata/cv_RU.UTF-8.in: Likewise.
16790 * localedata/cy_GB.UTF-8.in: Likewise.
16791 * localedata/dz_BT.UTF-8.in: Likewise.
16792 * localedata/eo.UTF-8.in: Likewise.
16793 * localedata/es_ES.UTF-8.in: Likewise.
16794 * localedata/fa_IR.UTF-8.in: Likewise.
16795 * localedata/fi_FI.UTF-8.in: Likewise.
16796 * localedata/fil_PH.UTF-8.in: Likewise.
16797 * localedata/fur_IT.UTF-8.in: Likewise.
16798 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16799 * localedata/ha_NG.UTF-8.in: Likewise.
16800 * localedata/ig_NG.UTF-8.in: Likewise.
16801 * localedata/ik_CA.UTF-8.in: Likewise.
16802 * localedata/kk_KZ.UTF-8.in: Likewise.
16803 * localedata/ku_TR.UTF-8.in: Likewise.
16804 * localedata/ky_KG.UTF-8.in: Likewise.
16805 * localedata/ln_CD.UTF-8.in: Likewise.
16806 * localedata/mi_NZ.UTF-8.in: Likewise.
16807 * localedata/ml_IN.UTF-8.in: Likewise.
16808 * localedata/mn_MN.UTF-8.in: Likewise.
16809 * localedata/mr_IN.UTF-8.in: Likewise.
16810 * localedata/mt_MT.UTF-8.in: Likewise.
16811 * localedata/nb_NO.UTF-8.in: Likewise.
16812 * localedata/om_KE.UTF-8.in: Likewise.
16813 * localedata/os_RU.UTF-8.in: Likewise.
16814 * localedata/ps_AF.UTF-8.in: Likewise.
16815 * localedata/ro_RO.UTF-8.in: Likewise.
16816 * localedata/ru_RU.UTF-8.in: Likewise.
16817 * localedata/sc_IT.UTF-8.in: Likewise.
16818 * localedata/se_NO.UTF-8.in: Likewise.
16819 * localedata/sq_AL.UTF-8.in: Likewise.
16820 * localedata/sv_SE.UTF-8.in: Likewise.
16821 * localedata/szl_PL.UTF-8.in: Likewise.
16822 * localedata/tg_TJ.UTF-8.in: Likewise.
16823 * localedata/tk_TM.UTF-8.in: Likewise.
16824 * localedata/tt_RU.UTF-8.in: Likewise.
16825 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
16826 * localedata/ug_CN.UTF-8.in: Likewise.
16827 * localedata/uz_UZ.UTF-8.in: Likewise.
16828 * localedata/vi_VN.UTF-8.in: Likewise.
16829 * localedata/yi_US.UTF-8.in: Likewise.
16830 * localedata/yo_NG.UTF-8.in: Likewise.
16831 * localedata/zh_CN.UTF-8.in: Likewise.
16832 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
16833 file and fix bugs in the collation.
16834 * localedata/locales/az_AZ: Likewise.
16835 * localedata/locales/be_BY: Likewise.
16836 * localedata/locales/ber_DZ: Likewise.
16837 * localedata/locales/ber_MA: Likewise.
16838 * localedata/locales/bg_BG: Likewise.
16839 * localedata/locales/br_FR: Likewise.
16840 * localedata/locales/br_FR@euro: Likewise.
16841 * localedata/locales/ca_ES: Likewise.
16842 * localedata/locales/cns11643_stroke: Likewise.
16843 * localedata/locales/crh_UA: Likewise.
16844 * localedata/locales/cs_CZ: Likewise.
16845 * localedata/locales/csb_PL: Likewise.
16846 * localedata/locales/cv_RU: Likewise.
16847 * localedata/locales/cy_GB: Likewise.
16848 * localedata/locales/da_DK: Likewise.
16849 * localedata/locales/dz_BT: Likewise.
16850 * localedata/locales/en_CA: Likewise.
16851 * localedata/locales/eo: Likewise.
16852 * localedata/locales/es_CU: Likewise.
16853 * localedata/locales/es_EC: Likewise.
16854 * localedata/locales/es_ES: Likewise.
16855 * localedata/locales/es_US: Likewise.
16856 * localedata/locales/et_EE: Likewise.
16857 * localedata/locales/fa_IR: Likewise.
16858 * localedata/locales/fi_FI: Likewise.
16859 * localedata/locales/fil_PH: Likewise.
16860 * localedata/locales/fur_IT: Likewise.
16861 * localedata/locales/gez_ER@abegede: Likewise.
16862 * localedata/locales/ha_NG: Likewise.
16863 * localedata/locales/hr_HR: Likewise.
16864 * localedata/locales/hsb_DE: Likewise.
16865 * localedata/locales/hu_HU: Likewise.
16866 * localedata/locales/ig_NG: Likewise.
16867 * localedata/locales/ik_CA: Likewise.
16868 * localedata/locales/is_IS: Likewise.
16869 * localedata/locales/iso14651_t1_pinyin: Likewise.
16870 * localedata/locales/kk_KZ: Likewise.
16871 * localedata/locales/ku_TR: Likewise.
16872 * localedata/locales/ky_KG: Likewise.
16873 * localedata/locales/ln_CD: Likewise.
16874 * localedata/locales/lt_LT: Likewise.
16875 * localedata/locales/lv_LV: Likewise.
16876 * localedata/locales/mi_NZ: Likewise.
16877 * localedata/locales/ml_IN: Likewise.
16878 * localedata/locales/mn_MN: Likewise.
16879 * localedata/locales/mr_IN: Likewise.
16880 * localedata/locales/mt_MT: Likewise.
16881 * localedata/locales/nb_NO: Likewise.
16882 * localedata/locales/om_KE: Likewise.
16883 * localedata/locales/os_RU: Likewise.
16884 * localedata/locales/pl_PL: Likewise.
16885 * localedata/locales/ps_AF: Likewise.
16886 * localedata/locales/ro_RO: Likewise.
16887 * localedata/locales/ru_RU: Likewise.
16888 * localedata/locales/ru_UA: Likewise.
16889 * localedata/locales/sc_IT: Likewise.
16890 * localedata/locales/se_NO: Likewise.
16891 * localedata/locales/si_LK: Likewise.
16892 * localedata/locales/sq_AL: Likewise.
16893 * localedata/locales/sv_FI: Likewise.
16894 * localedata/locales/sv_FI@euro: Likewise.
16895 * localedata/locales/sv_SE: Likewise.
16896 * localedata/locales/szl_PL: Likewise.
16897 * localedata/locales/tg_TJ: Likewise.
16898 * localedata/locales/ti_ER: Likewise.
16899 * localedata/locales/tk_TM: Likewise.
16900 * localedata/locales/tl_PH: Likewise.
16901 * localedata/locales/tr_TR: Likewise.
16902 * localedata/locales/tt_RU: Likewise.
16903 * localedata/locales/tt_RU@iqtelif: Likewise.
16904 * localedata/locales/ug_CN: Likewise.
16905 * localedata/locales/uk_UA: Likewise.
16906 * localedata/locales/uz_UZ: Likewise.
16907 * localedata/locales/uz_UZ@cyrillic: Likewise.
16908 * localedata/locales/vi_VN: Likewise.
16909 * localedata/locales/yi_US: Likewise.
16910 * localedata/locales/yo_NG: Likewise.
16911
ce6636b0
MF
169122018-02-27 Mike FABIAN <mfabian@redhat.com>
16913
16914 * gen-locales.mk: Make test files which contain @ modifiers in their
16915 name work.
16916 * localedata/gen-locale.sh: Likewise.
16917
ac3a3b4b
MF
169182018-02-27 Mike FABIAN <mfabian@redhat.com>
16919
16920 * posix/tst-fnmatch.input: Fix results for range expressions
16921 for non C locales.
16922 * posix/tst-regexloc.c: Do not use a range expression for
16923 de_DE.ISO-8859-1 locale.
16924
770cbe14
MF
169252018-02-27 Mike FABIAN <mfabian@redhat.com>
16926
16927 * posix/bug-regex5.c: Fix test case because with the new
16928 iso14651_t1_common file, the da_DK locale now has 6 collating elements
16929 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
16930 file.
16931
0fc355d9
MF
169322018-02-27 Mike FABIAN <mfabian@redhat.com>
16933
16934 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
16935 downloaded from ISO, the collation order of @-. and space has changed.
16936 Therefore, this test file needed to be adapted.
16937 * localedata/fr_CA.UTF-8.in: Likewise.
16938 * localedata/fr_FR.UTF-8.in: Likewise.
16939 * localedata/uk_UA.UTF-8.in: Likewise.
16940
43f3893f
MF
169412018-02-27 Mike FABIAN <mfabian@redhat.com>
16942
16943 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16944 order of ȥ in the new iso14651_t1_common file.
16945 * localedata/pl_PL.UTF-8.in: Likewise.
16946
df74ef78
MF
169472018-02-27 Mike FABIAN <mfabian@redhat.com>
16948
16949 * localedata/locales/iso14651_t1_common: Add sections for various
16950 scripts to the iso14651_t1_common file.
16951
d5adfbad
MF
169522018-02-27 Mike FABIAN <mfabian@redhat.com>
16953
16954 * localedata/locales/iso14651_t1_common: Use the code point of a
16955 character in the fourth collation level instead of IGNORE for all
16956 entries which have IGNORE on all 4 levels.
16957
5f5a9610
MF
169582018-02-27 Mike FABIAN <mfabian@redhat.com>
16959
16960 * localedata/locales/iso14651_t1_common: Add some convenient collation
16961 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16962 rules similar to those in CLDR.
16963
8a97e900
MF
169642018-02-27 Mike FABIAN <mfabian@redhat.com>
16965
16966 * localedata/locales/iso14651_t1_common: The new version of this
16967 file downloaded from ISO contained several syntax errors which
16968 are fixed by this patch.
16969
bbdd2fba
MF
169702018-02-27 Mike FABIAN <mfabian@redhat.com>
16971
16972 * localedata/locales/iso14651_t1_common: replace all <U.....>
16973 with <U000.....> because glibc understands only 4 digit or 8 digit
16974
1569e551
MF
169752018-02-27 Mike FABIAN <mfabian@redhat.com>
16976
16977 * localedata/locales/iso14651_t1_common: Necessary changes
16978 to make the file downloaded from ISO usable by glibc.
16979
9479b6d5
MF
169802018-02-27 Mike FABIAN <mfabian@redhat.com>
16981
16982 [BZ #14095]
16983 * localedata/locales/iso14651_t1_common: Update file to
16984 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16985
03b540b3
ST
169862018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16987
16988 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16989 of <nptl/pthreadP.h>
16990 (thread_attr_compare): Move function to...
eb937a52 16991 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 16992 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 16993 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 16994
20602c72
JM
169952018-02-26 Joseph Myers <joseph@codesourcery.com>
16996
f54d8f73
JM
16997 * string/strcoll_l.c: Include <libc-diag.h>.
16998 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16999 declarations of seq1 and seq2.
17000
20602c72
JM
17001 [BZ #15105]
17002 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17003 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17004
f5f473a9
DL
170052018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17006
17007 [BZ #22433]
17008 [BZ #22807]
17009 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17010 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17011 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17012 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17013 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17014 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17015
398c6fdd
TMQMF
170162018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17017
17018 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17019 macros used in __ptrace_request.
17020
f5d1f629
L
170212018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17022
17023 [BZ #22792]
17024 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17025 to $(CC).
17026 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17027 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17028 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17029 <tcb-offsets.h>.
17030
54412d20
JM
170312018-02-23 Joseph Myers <joseph@codesourcery.com>
17032
17033 [BZ #15105]
17034 * ctype/ctype.c (tolower): Use libc_hidden_def.
17035 (toupper): Likewise.
17036 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17037 [!_ISOMAC] (toupper): Likewise.
17038
81be4b5e
MF
170392018-02-23 Mike FABIAN <mfabian@redhat.com>
17040
17041 * localedata/Makefile: Remove --quiet argument when
17042 installing locales
17043
9d5cfd8e
MF
170442018-02-23 Mike FABIAN <mfabian@redhat.com>
17045
17046 [BZ #17438]
17047 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17048 in d_fmt.
17049 * localedata/locales/pt_PT (LC_TIME): likewise
17050
6c7269f3
MF
170512018-02-23 Mike FABIAN <mfabian@redhat.com>
17052
17053 [BZ #22646]
17054 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17055 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17056 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17057
92aabad9
AZ
170582018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17059
4cdc25a4
AZ
17060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17061
27761a10
AZ
17062 * nptl/Makefile (routines): Remove unregister-atfork.
17063 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17064 (fork_handler_alloc): Remove function.
17065 (fork_handlers, fork_handler_init): New variables.
17066 (__fork_lock): Rename to atfork_lock.
17067 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17068 to use a dynamic array to add/remove atfork handlers.
17069 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17070 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17071 Remove declaration.
17072 (fork_handler): Remove next, refcntr, and need_signal member.
17073 (__run_fork_handler_type): New enum.
17074 (__run_fork_handlers): New prototype.
17075 * nptl/register-atfork.c: Remove file.
17076 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17077
92aabad9
AZ
17078 * sysdeps/nptl/nptl-signals.h: Move to ...
17079 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17080 comments.
17081 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17082 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17083 unnecessary check for SIGTIMER.
17084 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17085 remove unnecessary removal of SIGTIMER.
17086 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17087 include-signals.h rename.
17088 * nptl/pthreadP.h: Likewise.
17089 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17090 __is_internal_signal instead of __nptl_is_internal_signal.
17091
6b5c8607 170922018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 17093
7e04eb29 17094 [BZ # 22884]
fdcc6253
AW
17095 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17096 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17097 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17098 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17099
8090720a
DD
171002018-02-22 DJ Delorie <dj@delorie.com>
17101
17102 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17103
6ca24c43
SP
171042018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17105
17106 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17107 do_misaligned, not misaligned8.
17108
e9537ddd
SE
171092018-02-22 Steve Ellcey <sellcey@cavium.com>
17110
17111 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17112 Add memcpy_thunderx2.
17113 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17114 Increment to 4.
17115 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17116 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17117 and IS_THUNDERX2PA checks.
17118 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17119 Use macro to set name appropriately.
17120 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17121 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17122 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17123 New macro.
17124 (IS_THUNDERX2): New macro.
17125
6e336476
SL
171262018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17127
17128 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17129
34957904
ZW
171302018-02-21 Zack Weinberg <zackw@panix.com>
17131
30bfee26
ZW
17132 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17133 Define here, unconditionally.
17134 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17135 * libio/libioP.h: Remove #if 0 blocks.
17136 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17137 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17138 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17139
17140 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17141 Assume weak_alias is always defined.
17142
17143 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17144 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17145 Remove #if 0 and #ifdef TODO blocks.
17146 Assume text_set_element is always defined.
17147
17148 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17149 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17150 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17151
df6c012b
ZW
17152 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17153 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17154 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17155 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17156 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17157 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17158 Reformat bit flags for _flags field to make occupancy clearer.
17159 Update commentary.
17160 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17161 Keep definitions consistent with those in libio/libio.h.
17162
17163 * libio/libio.h (_IO_file_flags): Remove macro.
17164 All uses changed to _flags.
17165
177aad3f
ZW
17166 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17167 (__HAVE_COLUMN, _IO_BE): Don't define.
17168 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17169 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17170 * libio/libioP.h (EOF): Don't define.
17171 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17172 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17173 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17174 testing _IO_UNIFIED_JUMPTABLES.
17175
9964a145
ZW
17176 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17177 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17178 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17179 (_IO_size_t): Delete; all uses changed to size_t.
17180 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17181 (_IO_off_t): Delete; all uses changed to off_t.
17182 (_IO_off64_t): Delete; all uses changed to off64_t.
17183 (_IO_pid_t): Delete; all uses changed to pid_t.
17184 (_IO_uid_t): Delete; all uses changed to uid_t.
17185 (_IO_wint_t): Delete; all uses changed to wint_t.
17186 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17187 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17188 (_IO_cookie_io_functions_t): Delete; all uses changed to
17189 cookie_io_functions_t.
17190 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17191 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17192 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17193 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17194
17195 * libio/iofopncook.c: Remove unnecessary forward declarations.
17196 * libio/iolibio.h: Correct outdated commentary.
17197 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17198 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17199 Remove unnecessary casts.
17200 * stdio-common/getline.c: Use _IO_getdelim directly.
17201 Don't redefine ssize_t.
17202 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17203 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17204 Remove outdated comments.
17205 * stdio-common/vfscanf.c: Don't redefine va_list.
17206
34957904
ZW
17207 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17208 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17209 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17210 which are always true, and __cplusplus, which is always false.
17211
30ac923d
JM
172122018-02-21 Joseph Myers <joseph@codesourcery.com>
17213
039c721a
JM
17214 [BZ #15105]
17215 [BZ #19463]
17216 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17217 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17218 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17219 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17220 libc_hidden_proto.
17221 [!_ISOMAC] (putc_unlocked): Likewise.
17222 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17223 define inline if [__USE_EXTERN_INLINES].
17224 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17225 putc_unlocked.
17226
30ac923d
JM
17227 [BZ #15105]
17228 [BZ #19463]
17229 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17230 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17231 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17232 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17233 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17234 getc_unlocked.
17235 * time/tzfile.c (__tzfile_read): Likewise.
17236
7ec5f946
MF
172372018-02-21 Mike FABIAN <mfabian@redhat.com>
17238
17239 [BZ #22517]
17240 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17241
0d217f40
RJ
172422018-02-21 Rical Jasan <ricaljasan@pacific.net>
17243
17244 * io/fcntl.h: Fix a typo in a comment.
17245
862b4502
RJ
172462018-02-21 Rical Jasan <ricaljasan@pacific.net>
17247
17248 [BZ #22862]
17249 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17250 define _DEFAULT_SOURCE.
17251 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17252
999a6dab
FW
172532018-02-21 Florian Weimer <fweimer@redhat.com>
17254
17255 [BZ #20890]
17256 * elf/cache.c (save_cache): Call fsync on temporary file before
17257 renaming it.
17258 (save_aux_cache): Call fdatasync on temporary file before renaming
17259 it.
17260
52a01100
FW
172612018-02-21 Florian Weimer <fweimer@redhat.com>
17262
17263 [BZ #22787]
17264 * include/caller.h: Remove file.
17265 * elf/dl-caller.c: Likewise.
17266 * elf/Makefile (dl-routines): Remove dl-caller.
17267 (shared-only-routines): Do not add dl-caller.
17268 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17269 __check_caller.
17270 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17271 member.
17272 (dl_open_worker): Do not call __check_caller.
17273 (_dl_open): Do not set caller_dl_open member.
17274 * elf/rtld.c (_rtld_global_ro): Do not initialize
17275 _dl_check_caller member.
17276 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17277 _dl_check_caller member.
17278 (_dl_check_caller): Remove declaration.
17279 * sysdeps/unix/sysv/linux/dl-execstack.c
17280 (_dl_make_stack_executable): Do not call __check_caller.
17281
b5bf62e4
ST
172822018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17283
17284 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 17285 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 17286
e8d190b9
RJ
172872018-02-20 Rical Jasan <ricaljasan@pacific.net>
17288
17289 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17290 description.
17291
6a3962c4
RJ
172922018-02-20 Rical Jasan <ricaljasan@pacific.net>
17293
da81ae64 17294 [BZ #16335]
6a3962c4
RJ
17295 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17296 of 199606L, 200112L, and 200809L.
17297 (_XOPEN_SOURCE): Document special values of 600 and 700.
17298 (_ISOC11_SOURCE): Document macro.
17299 (_ATFILE_SOURCE): Likewise.
17300 (_FORTIFY_SOURCE): Likewise.
17301
ec481ad8
JM
173022018-02-19 Joseph Myers <joseph@codesourcery.com>
17303
17304 [BZ #15105]
17305 [BZ #19463]
17306 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17307 and define as weak alias of __ferror_unlocked. Use
17308 libc_hidden_weak.
17309 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17310 libc_hidden_proto.
17311 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17312 function if [__USE_EXTERN_INLINES].
17313 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17314 ferror_unlocked.
17315
7d15ef84
RJ
173162018-02-19 Rical Jasan <ricaljasan@pacific.net>
17317
17318 [BZ #6889]
17319 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17320
f8d79582
AJ
173212018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17322
17323 [BZ #22818]
17324 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17325 the GLIBC_2.1 version.
17326
56456a2a
AJ
173272018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17328
17329 [BZ #21508]
17330 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17331 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17332 intl/tst-gettext-de.po from po/de.po by removing the
17333 POT-Creation-Date line.
17334 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17335 ../po/de.po.
17336 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17337 ../po/de.po.
17338
13768813
ST
173392018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17340
17341 * mach/Makefile (headers): Add mach/param.h.
17342 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17343 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
17344 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17345 (__ptsname_r): Move implementation to...
17346 (__ptsname_internal): ... new function. Add filling the STP
17347 structure.
13768813 17348
6aca1b61
JDA
173492018-02-17 John David Anglin <danglin@gcc.gnu.org>
17350
17351 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17352 idouble to 1 ULP.
17353
16efad51
RJ
173542018-02-16 Rical Jasan <ricaljasan@pacific.net>
17355
17356 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17357 syntax.
17358
87245073
SL
173592018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17360
17361 * nptl/Makefile (tst-mutex8-ENV): Delete.
17362 * nptl/tst-mutex8.c (check_type):
17363 Add runtime check if mutex will be elided.
17364
7fc03cf3
JM
173652018-02-15 Joseph Myers <joseph@codesourcery.com>
17366
db9881ec
JM
17367 [BZ #20980]
17368 [BZ #21234]
17369 * manual/install.texi (Configuring and compiling): Describe
17370 passing CC and CFLAGS on configure command line, not as
17371 environment variables. Use @code markup on those variables.
17372 Specify what options go in CC and what go in CFLAGS. Note the
17373 requirement to compile with optimization.
17374 * INSTALL: Regenerated.
17375
3785b31c
JM
17376 [BZ #18124]
17377 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17378 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17379 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17380 __sigprocmask instead of sigprocmask.
17381 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17382 Likewise.
17383 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17384 __sigsetjmp and sigprocmask.
17385
055ac2a7
JM
17386 [BZ #15105]
17387 * include/argz.h (argz_next): Use libc_hidden_proto.
17388 (__argz_next): Likewise.
17389 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17390 (argz_next): Use libc_hidden_weak.
17391
e4452a2d
JM
17392 [BZ #15105]
17393 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17394 libc_hidden_proto.
17395 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17396 libc_hidden_def.
17397
499b3153
JM
17398 [BZ #15105]
17399 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17400 libc_hidden_proto.
17401 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17402
7fc03cf3
JM
17403 [BZ #15105]
17404 [BZ #19463]
17405 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17406 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17407 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17408 (__feof_unlocked): New declaration, and inline function if
17409 [__USE_EXTERN_INLINES].
17410 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17411 instead of feof_unlocked.
17412 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17413 * nss/nsswitch.c (nss_parse_file): Likewise.
17414 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17415 Likewise.
17416 * time/getdate.c (__getdate_r): Likewise.
17417 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17418 Define as macro to call __feof_unlocked.
17419
0c8a67a5
WD
174202018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17421
17422 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17423
610ee1fc
WD
174242018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17425
17426 * math/Makefile: Remove mpexp.c and mplog.c
17427 * sysdeps/i386/fpu/mpexp.c: Delete file.
17428 * sysdeps/i386/fpu/mplog.c: Likewise.
17429 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17430 * sysdeps/ia64/fpu/mplog.c: Likewise.
17431 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17432 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17433 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17434 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17435 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17436 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17437 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17438 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17439 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17440 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17441 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17442 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17443 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17444 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17445 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17446 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17447
8e7196c8
SL
174482018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17449
17450 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17451
4f55ad0b
AZ
174522018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17453
17454 * sysdeps/sh/libm-test-ulps: Update.
17455
261a851c
TMQMF
174562018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17457
17458 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17459 idouble to 1 ULP.
17460
e16deca6
ZW
174612018-02-12 Zack Weinberg <zackw@panix.com>
17462
17463 [BZ #19239]
17464 * posix/sys/types.h: Don't include sys/sysmacros.h.
17465 * misc/sys/sysmacros.h: Remove the conditional deprecation
17466 warnings for the macros defined by this header.
17467
de800d83
SN
174682018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17469
17470 * manual/probes.texi: Remove slowexp probes.
17471 * math/Makefile: Remove slowexp.
17472 * sysdeps/generic/math_private.h (__slowexp): Remove.
17473 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17474 document error bounds.
17475 * sysdeps/i386/fpu/slowexp.c: Remove.
17476 * sysdeps/ia64/fpu/slowexp.c: Remove.
17477 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17478 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17479 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17480 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17481 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17482 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17483 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17484 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17485 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17486 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17487 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17488
c3d466cb
WD
174892018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17490
17491 [BZ #13932]
17492 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17493 * benchtests/pow-inputs: Update comment for slow path cases.
17494 * manual/probes.texi (slowpow_p10): Delete removed probe.
17495 (slowpow_p10): Likewise.
17496 * math/Makefile: Remove halfulp.c and slowpow.c.
17497 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17498 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17499 (__halfulp): Remove.
17500 (__slowpow): Remove.
17501 * sysdeps/i386/fpu/halfulp.c: Delete file.
17502 * sysdeps/i386/fpu/slowpow.c: Likewise.
17503 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17504 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17505 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17506 improve comments and add error analysis.
17507 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17508 (power1): Remove function:
17509 (log1): Remove error argument, add error analysis.
17510 (my_log2): Remove function.
17511 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17512 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17513 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17514 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17515 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17516 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17517 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17518 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17519 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17520 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17521 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17522 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17523 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17524 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17525
7bb087bd
ST
175262018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17527
17528 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17529 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17530
2fd4bbaa
DL
175312018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17532
17533 [BZ #22433]
17534 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17535 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17536 and PTRACE_SETHBPREGS.
17537
402ecba4
ZW
175382018-02-10 Zack Weinberg <zackw@panix.com>
17539
17540 [BZ #22830]
17541 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17542 correctly.
17543 * malloc/tst-malloc-stats-cancellation.c: New test case.
17544 * malloc/Makefile: Add new test case.
17545
4f5b921e
WD
175462018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17547
17548 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17549
a85b70db
JM
175502018-02-10 Joseph Myers <joseph@codesourcery.com>
17551
d8742dd8
JM
17552 * math/Makefile (libm-narrow-fns): Add add.
17553 (libm-test-funcs-narrow): Likewise.
17554 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17555 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17556 * math/gen-auto-libm-tests.c (test_functions): Add add.
17557 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17558 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17559 (NARROW_ADD_TRIVIAL): Likewise.
17560 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17561 macro.
17562 (__daddl): Likewise.
17563 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17564 dadd.
17565 (CFLAGS-nldbl-dadd.c): New variable.
17566 (CFLAGS-nldbl-fadd.c): Likewise.
17567 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17568 __nldbl_daddl.
17569 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17570 prototype.
17571 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17572 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17573 * math/auto-libm-test-in: Add tests of add.
17574 * math/auto-libm-test-out-narrow-add: New generated file.
17575 * math/libm-test-narrow-add.inc: New file.
17576 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17577 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17578 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17579 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17580 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17581 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17582 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17583 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17584 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17585 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17586 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17587 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17588 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17589 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17590 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17591 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17592 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17593 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17595 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17596 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17597 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17598 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17599 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17600 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17601 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17602 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17603 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17604 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17605 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17606 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17607 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17612 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17613 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17614 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17615 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17616 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17617 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17618 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17619 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17620 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17621 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17622
a85b70db
JM
17623 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17624 (f128-pairs): New variable.
17625 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17626 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17627 to CFLAGS.
17628 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17629 Also make tests add $(f128-loader-link) to gnulib-tests.
17630
6a1ff640
DD
176312018-02-09 DJ Delorie <dj@redhat.com>
17632
17633 [BZ #22827]
17634 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17635 64-bit ELF type for 64-bit ELF objects.
17636
bfd47587
JM
176372018-02-09 Joseph Myers <joseph@codesourcery.com>
17638
31958338
JM
17639 * math/libm-test-driver.c (snan_tests_arg): New variable.
17640 * math/libm-test-support.h (snan_tests_arg): New declaration.
17641 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17642
8e554659
JM
17643 * math/Makefile (test-type-pairs): New variable.
17644 (test-type-pairs-f64xf128-yes): Likewise.
17645 (tests): Add test-narrow-macros.
17646 (libm-test-funcs-narrow): New variable.
17647 (libm-test-c-narrow): Likewise.
17648 (generated): Add $(libm-test-c-narrow).
17649 (libm-tests-base-narrow): New variable.
17650 (libm-tests-narrow): Likewise.
17651 (libm-tests): Add $(libm-tests-narrow).
17652 (libm-tests-for-type): Handle $(libm-tests-narrow).
17653 (libm-test-c-narrow-obj): New variable.
17654 ($(libm-test-c-narrow-obj)): New rule.
17655 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17656 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17657 $(o-iterator) to set dependencies and CFLAGS.
17658 * math/gen-auto-libm-tests.c: Document use for narrowing
17659 functions.
17660 (output_for_one_input_case): Take argument NARROW.
17661 (generate_output): Likewise. Update call to
17662 output_for_one_input_case.
17663 (main): Take --narrow option. Update call to generate_output.
17664 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17665 (apply_lit): Update call to _apply_lit.
17666 (apply_arglit): New function.
17667 (parse_args): Handle "a" arguments.
17668 (parse_auto_input): Handle format names using ":".
17669 * math/README.libm-test: Document "a" parameter type.
17670 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17671 (ARG_TYPE_TRUE_MIN): Likewise.
17672 (ARG_TYPE_MAX): Likwise.
17673 (ARG_MIN_EXP): Likewise.
17674 (ARG_MAX_EXP): Likewise.
17675 (ARG_MANT_DIG): Likewise.
17676 (TEST_COND_arg_ibm128): Likewise.
17677 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17678 (TEST_COND_arg_fmt): New macro.
17679 (init_max_error): Update prototype.
17680 * math/libm-test-support.c (test_ibm128): New variable.
17681 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17682 instead of using [TEST_COND_ibm128] conditional.
17683 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17684 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17685 [TEST_NARROW] (TEST_MSG): New definition.
17686 (arg_plus_zero): New macro.
17687 (arg_minus_zero): Likewise.
17688 (arg_plus_infty): Likewise.
17689 (arg_minus_infty): Likewise.
17690 (arg_qnan_value_pl): Likewise.
17691 (arg_qnan_value): Likewise.
17692 (arg_snan_value_pl): Likewise.
17693 (arg_snan_value): Likewise.
17694 (arg_max_value): Likewise.
17695 (arg_min_value): Likewise.
17696 (arg_min_subnorm_value): Likewise.
17697 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17698 (RUN_TEST_LOOP_aa_f): New macro.
17699 (TEST_SUFF): New macro.
17700 (TEST_SUFF_STR): Likewise.
17701 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17702 (TEST_COND_any_ibm128): New macro.
17703 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17704 this_func. Update call to init_max_error.
17705 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17706 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17707 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17708 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17709 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17710 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17711 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17712 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17713 * math/test-math-vector.h (TEST_NARROW): Likewise.
17714 * math/test-arg-double.h: New file.
17715 * math/test-arg-float128.h: Likewise.
17716 * math/test-arg-float32x.h: Likewise.
17717 * math/test-arg-float64.h: Likewise.
17718 * math/test-arg-float64x.h: Likewise.
17719 * math/test-arg-ldouble.h: Likewise.
17720 * math/test-math-narrow.h: Likewise.
17721 * math/test-narrow-macros.c: Likewise.
17722 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17723 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17724 test-narrow-macros-ldbl-64.
17725 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17726
63716ab2
JM
17727 * math/bits/mathcalls-narrow.h: New file.
17728 * include/bits/mathcalls-narrow.h: Likewise.
17729 * math/math-narrow.h: Likewise.
17730 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17731 (__MATHCALL_NARROW_ARGS_2): Likewise.
17732 (__MATHCALL_NARROW_ARGS_3): Likewise.
17733 (__MATHCALL_NARROW_NORMAL): Likewise.
17734 (__MATHCALL_NARROW_REDIR): Likewise.
17735 (__MATHCALL_NARROW): Likewise.
17736 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17737 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17738 defined.
17739 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17740 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17741 (libm-narrow-fns): New variable.
17742 (libm-narrow-types-basic): Likewise.
17743 (libm-narrow-types-ldouble-yes): Likewise.
17744 (libm-narrow-types-float128-yes): Likewise.
17745 (libm-narrow-types-float128-alias-yes): Likewise.
17746 (libm-narrow-types): Likewise.
17747 (libm-routines): Add narrowing functions.
17748 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17749 (libc_feholdexcept_setroundf128): New macro.
17750 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17751 * sysdeps/ieee754/float128/float128_private.h: Include
17752 <math/math-narrow.h>.
17753 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17754 Undefine and redefine.
17755 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17756 (libm_alias_float_ldouble): Undefine and redefine.
17757 (libm_alias_double_ldouble): Likewise.
17758
bfd47587
JM
17759 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17760
3f8d9d58
WD
177612018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17762
17763 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17764 FPCR/FPSR.
17765
1f6676d7
RJ
177662018-02-09 Rical Jasan <ricaljasan@pacific.net>
17767
17768 * manual/creature.texi: Convert references to gcc.info to gcc.
17769 * manual/stdio.texi: Likewise.
17770 * manual/string.texi: Likewise.
17771
d80441dd
JM
177722018-02-07 Joseph Myers <joseph@codesourcery.com>
17773
15081be9
JM
17774 [BZ #17979]
17775 * posix/bits/types.h (__int_least8_t): New typedef.
17776 (__uint_least8_t): Likewise.
17777 (__int_least16_t): Likewise.
17778 (__uint_least16_t): Likewise.
17779 (__int_least32_t): Likewise.
17780 (__uint_least32_t): Likewise.
17781 (__int_least64_t): Likewise.
17782 (__uint_least64_t): Likewise.
17783 * sysdeps/generic/stdint.h (int_least8_t): Define using
17784 __int_least8_t.
17785 (int_least16_t): Define using __int_least16_t.
17786 (int_least32_t): Define using __int_least32_t.
17787 (int_least64_t): Define using __int_least64_t.
17788 (uint_least8_t): Define using __uint_least8_t.
17789 (uint_least16_t): Define using __uint_least16_t.
17790 (uint_least32_t): Define using __uint_least32_t.
17791 (uint_least64_t): Define using __uint_least64_t.
17792 * wcsmbs/uchar.h: Include <bits/types.h>.
17793 (char16_t): Define using __uint_least16_t conditional only on
17794 [!__USE_ISOCXX11].
17795 (char32_t): Define using __uint_least32_t conditional only on
17796 [!__USE_ISOCXX11].
17797 * wcsmbs/test-char-types.c: New file.
17798 * wcsmbs/Makefile (tests): Add test-char-types.
17799
d80441dd
JM
17800 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17801 version to 4.0.1.
17802
6c6c962a
ZW
178032018-02-07 Zack Weinberg <zackw@panix.com>
17804
63fb8f9a
ZW
17805 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17806 Delete all contents except for definitions of _G_HAVE_MMAP and
17807 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17808 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17809 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17810 change as above.
17811
17812 * libio/libio.h: Don't include bits/_G_config.h here.
17813 Include stddef.h with __need_wchar_t defined. Include
17814 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17815 Define _IO_iconv_t here, directly.
17816 Don't define _IO_HAVE_ST_BLKSIZE.
17817 * libio/libioP.h: Include _G_config.h here. Move include of
17818 shlib-compat.h up with rest of includes. Simplify conditionals
17819 controlling definition of _IO_JUMPS_OFFSET.
17820
17821 * csu/init.c: Remove always-true #if around entire file.
17822 Don't include stdio.h. Set _IO_stdin_used to hardwired
17823 constant 0x20001, and update commentary.
17824 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
17825 Replace all uses of _G_va_list with __gnuc_va_list.
17826 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
17827 instead of #if _IO_HAVE_ST_BLKSIZE.
17828 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
17829 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
17830 not #ifdef.
17831
6c6c962a
ZW
17832 * libio/bits/libio.h: Move back to libio/libio.h and adjust
17833 multiple-include guard to match.
17834 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
17835 into this file.
17836 Remove preprocessor conditionals that are always true and/or
17837 redundant to other preprocessor conditionals in the same nest.
17838 Include shlib-compat.h unconditionally.
17839 Error out if _LIBC is not defined, or if _ISOMAC is defined,
17840 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
17841 defined after including stdio.h.
17842 Use __BEGIN_DECLS/__END_DECLS.
17843
17844 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
17845 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
17846 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
17847
a4fea3f2
ZW
178482018-02-07 Zack Weinberg <zackw@panix.com>
17849
17850 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
17851 New single-type headers split from _G_config.h.
17852 * libio/bits/types/cookie_io_functions_t.h
17853 * libio/bits/types/struct_FILE.h
17854 New single-type headers split from libio.h.
17855
17856 * libio/Makefile: Install the above new headers. Don't install
17857 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
17858 bits/libio-ldbl.h.
17859 * libio/_G_config.h, libio/libio.h: Delete file.
17860
17861 * libio/bits/libio.h: Remove improper-inclusion guard.
17862 Include stdio.h and don't repeat anything that it does.
17863 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
17864 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
17865 __io_read_fn as cookie_read_function_t,
17866 __io_write_fn as cookie_write_function_t,
17867 __io_seek_fn as cookie_seek_function_t,
17868 __io_close_fn as cookie_close_function_t,
17869 and _IO_cookie_io_functions_t as cookie_io_functions_t.
17870 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
17871 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 17872 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
17873 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
17874 and _IO_ferror_unlocked.
17875 Move prototypes of __uflow and __overflow...
17876
17877 * libio/stdio.h: ...here. Don't include bits/libio.h.
17878 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 17879 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
17880 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
17881 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
17882 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
17883 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
17884 cookie_io_functions_t, not _IO_cookie_io_functions_t;
17885 __ssize_t, not _IO_ssize_t. Unconditionally define
17886 BUFSIZ as 8192 and EOF as (-1).
17887
17888 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
17889 macros from bits/types/struct_FILE.h instead of _IO_* macros
17890 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
17891 instead of _IO_ssize_t.
17892 * libio/bits/stdio2.h: Similarly.
17893
17894 * libio/iolibio.h: Add multiple-include guard.
17895 Include bits/libio.h after stdio.h.
17896 * libio/libioP.h: Add multiple-include guard.
17897 Include stdio.h and bits/libio.h before iolibio.h.
17898
6c6c962a 17899 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
17900 * include/bits/types/cookie_io_functions_t.h
17901 * include/bits/types/struct_FILE.h: New wrappers.
17902
17903 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
17904 Get definitions of _G_fpos_t and _G_fpos64_t from
17905 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
17906 respectively. Remove improper-inclusion guards.
a4fea3f2 17907
6c6c962a 17908 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 17909 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 17910 libio.h and _G_config.h.
a4fea3f2 17911
ce999220
JM
179122018-02-07 Joseph Myers <joseph@codesourcery.com>
17913
8b4a1182
JM
17914 [BZ #15105]
17915 [BZ #19463]
17916 * include/sys/sysmacros.h [!_ISOMAC]
17917 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
17918 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
17919 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
17920 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
17921 libc_hidden_proto.
17922 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
17923 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
17924 Likewise.
17925 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
17926 Undefine and redefine to add use __gnu_dev_ prefix.
17927 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
17928 Likewise.
17929 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
17930 and define as hidden inline function.
17931 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
17932 Likewise.
17933 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
17934 Likewise.
17935 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
17936 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
17937 (gnu_dev_minor): Likewise.
17938 (gnu_dev_makedev): Likewise.
17939 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
17940 makedev.
17941 * posix/wordexp.c (exec_comm_child): Likewise.
17942 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17943 instead of minor and __gnu_dev_major instead of major.
17944 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17945 __gnu_dev_major instead of major.
17946 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17947 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17948 instead of gnu_dev_minor.
17949 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17950 (SLAVE_P): Likewise.
17951 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17952 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17953 instead of major.
17954
ce999220
JM
17955 [BZ #21313]
17956 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17957 in another place.
17958 * locale/weightwc.h (findidx): Likewise.
17959
b7c83ca3
WD
179602018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17961
17962 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17963 (slowlog_inexact): Likewise
17964 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17965 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17966
388ff7bd
IG
179672018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17968
17969 [BZ #22797]
17970 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17971 missing second underscore to parameter name.
17972
663e7d78
JM
179732018-02-06 Joseph Myers <joseph@codesourcery.com>
17974
0d40d0ec
JM
17975 [BZ #14508]
17976 [BZ #15512]
17977 [BZ #17082]
17978 [BZ #20530]
17979 * bits/byteswap.h: Update file comment. Do not include
17980 <bits/byteswap-16.h>.
17981 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17982 constant.
17983 (__bswap_16): Define as inline function.
17984 (__bswap_constant_32): Reformat definition.
17985 (__bswap_32): Always define as inline function, not macro, using
17986 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17987 otherwise __bswap_constant_32.
17988 (__bswap_constant_64): Reformat definition. Do not use
17989 __extension__ here.
17990 (__bswap_64): Always define as inline function, not macro. Use
17991 __extension__ on function definition. Use __builtin_bswap64 if
17992 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17993 * string/test-endian-file-scope.c: New file.
17994 * string/test-endian-sign-conversion.c: Likewise.
17995 * string/Makefile (headers): Remove bits/byteswap-16.h.
17996 (tests): Add test-endian-file-scope and
17997 test-endian-sign-conversion.
17998 (CFLAGS-test-endian-sign-conversion.c): New variable.
17999 * bits/byteswap-16.h: Remove file.
18000 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18001 * sysdeps/ia64/bits/byteswap.h: Likewise.
18002 * sysdeps/m68k/bits/byteswap.h: Likewise.
18003 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18004 * sysdeps/s390/bits/byteswap.h: Likewise.
18005 * sysdeps/tile/bits/byteswap.h: Likewise.
18006 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18007 * sysdeps/x86/bits/byteswap.h: Likewise.
18008
383e87c9
JM
18009 [BZ #17721]
18010 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18011 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18012 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18013 199901L] (__restrict): Define to restrict.
18014
d92c2759
JM
18015 [BZ #19667]
18016 * string/testcopy.c: Include <support/support.h>. Do not include
18017 <malloc.h>. Use <support/test-driver.c>.
18018 (main): Rename to do_test. Make static. Use xmalloc instead of
18019 malloc.
18020
625fb764
JM
18021 [BZ #13575]
18022 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18023 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18024 (SSIZE_MAX): Define to INT_MAX.
18025 * posix/test-ssize-max.c: New file.
18026 * posix/Makefile (tests): Add test-ssize-max.
18027
02325d6c
JM
18028 [BZ #19668]
18029 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18030 <support/support.h>. Do not include <malloc.h>.
18031 (query_auxv): Use xmalloc instead of malloc.
18032
663e7d78
JM
18033 [BZ #14553]
18034 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18035 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18036 instead of loff_t.
18037
6b5c8607 180382018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
18039
18040 [BZ #18023]
18041 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18042 Use scratch_buffer instead of extend_alloca.
18043
de6da571
ZW
180442018-02-06 Zack Weinberg <zackw@panix.com>
18045
26c07172
ZW
18046 * libio/stdio.h: Don't define getc or putc as macros.
18047 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18048 not _IO_getc and _IO_putc.
18049
de6da571
ZW
18050 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18051 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18052
92669d6e
JM
180532018-02-06 Joseph Myers <joseph@codesourcery.com>
18054
c2b84df9
JM
18055 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18056 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18057
41376f8c
JM
18058 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18059
d28bf648
JM
18060 [BZ #14890]
18061 * elf/elf.h (NT_PRFPREG): New macro.
18062 (NT_S390_VXRS_LOW): Likewise.
18063 (NT_S390_VXRS_HIGH): Likewise.
18064 (NT_S390_GS_CB): Likewise.
18065 (NT_S390_GS_BC): Likewise.
18066 (NT_S390_RI_CB): Likewise.
18067
e76def72
JM
18068 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18069 (MAP_SYNC): New macro.
18070 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18071 Likewise.
18072 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18073 (MAP_SYNC): Likewise.
18074 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18075 (MAP_SYNC): Likewise.
18076 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18077 (MAP_SYNC): Likewise.
18078 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18079 (MAP_SYNC): Likewise.
18080 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18081 (MAP_SYNC): Likewise.
18082 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18083 (MAP_SYNC): Likewise.
18084 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18085 Likewise.
18086 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18087 Likewise.
18088
92669d6e
JM
18089 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18090 (MAP_SHARED_VALIDATE): New macro.
18091 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18092 (MAP_SHARED_VALIDATE): Likewise.
18093
6a5cac49
L
180942018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18095
18096 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18097 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18098 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18099
b44e0dfb
L
181002018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18101
18102 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18103 (DT_NUM): Updated to 35.
18104
f886c16c
L
181052018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18106
18107 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18108 __builtin_expect with __glibc_likely and __glibc_unlikely.
18109 (elf_machine_rela): Likewise.
18110 (elf_machine_lazy_rel): Likewise.
18111
06fbebff
L
181122018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18113
18114 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 18115 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
18116 (elf_machine_lazy_rel): Likewise.
18117
371b220f
L
181182018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18119
18120 [BZ #22638]
18121 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18122 SHARED.
65805016 18123 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 18124
f649a1b8
AS
181252018-02-05 Andreas Schwab <schwab@suse.de>
18126
18127 [BZ #22761]
18128 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18129 string.
18130
9fdb340e
ST
181312018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18132
18133 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18134 not check against PTHREAD_STACK_MIN.
18135
09e56b9e
SM
181362018-02-02 Sean McKean <smckean83@gmail.com>
18137
18138 [BZ #22735]
18139 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18140
d4b4a00a
FW
181412018-02-02 Florian Weimer <fweimer@redhat.com>
18142
18143 [BZ #22753]
18144 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18145 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18146 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18147 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18148 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18149 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18150 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18151 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18152 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18153 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18154 * misc/tst-preadvwritev2.c (do_test): Call it.
18155 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18156
3dfcbfa1
SP
181572018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18158
84c94d2f
SP
18159 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18160
96e6a716
SP
18161 * benchtests/bench-memcmp.c: Print json instead of plain text.
18162
3dfcbfa1
SP
18163 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18164 every test run.
18165
049375e2
JM
181662018-02-01 Joseph Myers <joseph@codesourcery.com>
18167
39f898c6
JM
18168 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18169 version to 4.15.
18170 (s390_sthyi): New syscall.
18171
6f9a3dd8
JM
18172 * sysdeps/generic/ldbl-classify-compat.h: New file.
18173 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18174 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18175 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18176 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18177 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18178 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18179 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18180 <ldbl-classify-compat.h>.
18181 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18182 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18183 <ldbl-classify-compat.h>.
18184 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18185 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18186 <ldbl-classify-compat.h>.
18187 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18188 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18189 <ldbl-classify-compat.h>.
18190 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18192 <ldbl-classify-compat.h>.
18193 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18194 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18195 <ldbl-classify-compat.h>.
18196 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18197 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18198 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18199 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18200 * sysdeps/microblaze/math_private.h: Likewise.
18201 * sysdeps/nios2/math_private.h: Likewise.
18202 * sysdeps/sh/math_private.h: Likewise.
18203
eb65a3d5
JM
18204 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18205 * sysdeps/m68k/coldfire/math_private.h: ... here.
18206 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18207 * sysdeps/tile/math_private.h: Likewise.
18208 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18209 Remove macro.
18210 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18211 Likewise.
18212
8a6bb1d0
JM
18213 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18214 Remove macro.
18215 (libc_fetestexcept): Likewise.
18216 (libc_feupdateenv_test): Likewise.
18217 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18218 (libc_fetestexcept): Likewise.
18219 (libc_feupdateenv_test): Likewise.
18220 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18221 (libc_fetestexcept): Likewise.
18222 (libc_feupdateenv_test): Likewise.
18223 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18224 (libc_fetestexcept): Likewise.
18225 (libc_feupdateenv_test): Likewise.
18226
ae1fcb7b
JM
18227 * sysdeps/generic/math_private.h
18228 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18229 New inline function.
18230 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18231 Likewise.
18232
b1c347e2
JM
18233 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18234 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18235 * sysdeps/generic/math_private.h
18236 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18237 inline function.
18238 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18239 Likewise.
18240 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18241 Likewise.
18242 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18243 Likewise.
18244 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18245 Likewise.
18246 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18247 Likewise.
18248 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18249 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18250 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18251 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18252 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18253 (__fegetenv): Likewise.
18254 (fesetenv): Likewise.
18255 (__fesetenv): Likewise.
18256 (feupdateenv): Likewise.
18257 (__feupdateenv): Likewise.
18258 (fegetround): Likewise.
18259 (__fegetround): Likewise.
18260 (fesetround): Likewise.
18261 (__fesetround): Likewise.
18262
d23a4962
JM
18263 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18264 (feraiseexcept): New macro.
18265 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18266 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18267 Remove macro.
18268 (__feraiseexcept): Likewise.
18269 (feclearexcept): Likewise.
18270 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18271 (__feraiseexcept): Likewise.
18272 (feclearexcept): Likewise.
18273 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18274 (__feraiseexcept): Likewise.
18275 (feclearexcept): Likewise.
18276 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18277 (__feraiseexcept): Likewise.
18278 (feclearexcept): Likewise.
18279 (fetestexcept): Likewise.
18280
5f167950
JM
18281 * sysdeps/m68k/coldfire/math-tests.h: New file.
18282
ccc9035a
JM
18283 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18284 * sysdeps/m68k/bits/fenv.h: ... here.
18285 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18286 not define.
18287 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18288 Likewise.
18289 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18290 Likewise.
18291 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18292 Likewise.
18293 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18294 Likewise.
18295 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18296 Define to 0.
18297 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18298 (__FE_UNDEFINED): New enum constant.
18299 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18300 Do not define.
18301 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18302 Likewise.
18303 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18304 Likewise.
18305 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18306 to match generic bits/fenv.h.
18307 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18308 Do not define.
18309
049375e2
JM
18310 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18311 packed on bits.
18312 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18313 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18314 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18315 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18316
f1d73681
CD
183172018-02-01 Carlos O'Donell <carlos@redhat.com>
18318 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18319 Joseph Myers <joseph@codesourcery.com>
18320
18321 [BZ #21314]
18322 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18323 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18324 computation using c.
18325 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18326 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18327 computation using c.
18328
242cbc90
DL
183292018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18330
086ee48e
DL
18331 * version.h (RELEASE): Set to "development".
18332 (VERSION): Set to "2.27.9000".
18333 * NEWS (2.28): New section.
18334
23158b08
DL
18335 * version.h (RELEASE): Set to "stable".
18336 (VERSION): Set to "2.27".
18337 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18338
242cbc90
DL
18339 * NEWS: Add the list of bugs fixed in 2.27.
18340
673e2305
AZ
183412018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18342
18343 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18344 against PTHREAD_STACK_MIN.
18345
ced64e01
DL
183462018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18347
18348 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18349 New entries.
18350 (Rafal Luzynski, Andreas Schwab): Update.
18351
c10c9a5e
RL
183522018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18353
18354 [BZ #10871]
18355 * NEWS: List the languages which actually use the alternative
18356 months feature in this release. Also explain that "alt_mon" and
18357 "ab_alt_mon" are optional.
18358
650ba77a
IM
183592018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18360
18361 [BZ #22765]
18362 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18363
93493119
DL
183642018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18365
18366 * manual/install.texi (Tools for Compilation): Update the newest
18367 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18368 * INSTALL: Regenerated.
18369
363e4519 183702018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
18371
18372 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18373 instead of __builtin_expect.
18374
d7536874
FW
183752018-01-30 Florian Weimer <fweimer@redhat.com>
18376
18377 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18378 data.
18379 * nss/tst-nss-getpwent.c (do_test): Likewise.
18380
9a1b267d
RL
183812018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18382
18383 [BZ #10871]
18384 * localedata/locales/hr_HR (mon): Rename to...
18385 (alt_mon): This.
18386 (mon): Import from CLDR (genitive case).
18387 (d_t_fmt): Update the comment.
18388
9a179328
AS
183892018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18390
18391 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18392 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18393 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18394
e01e0ddc
ST
183952018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18396
18397 * mach/Versions: Fix version when __mach_host_self_ was added.
18398 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18399 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18400 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18401 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18402 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18403 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18404 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18405 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18406 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18407 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18408 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18409 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
18410 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18411 || to respect codestyle.
2aadb705
ST
18412 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18413 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
18414 * malloc/malloc.c: Include <assert.h>.
18415 (assert): Do not define.
18416 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
18417 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18418 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 18419 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 18420 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 18421
521877e1
PD
184222018-01-29 Darius Rad <darius@bluespec.com>
18423
18424 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18425
532cf290
PD
184262018-01-29 Palmer Dabbelt <palmer@sifive.com>
18427
18428 * sysdeps/init_array/crti.S (.section .init_array): Add
18429 PREINIT_FUNCTION when defined.
40ca951b 18430 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 18431 * config.h.in: Regenerate.
ba9e25a6
PD
18432 * manual/platform.texi: Add RISC-V documenation for
18433 __riscv_flush_icache.
c776fa11
PD
18434 * sysdeps/riscv/__longjmp.S: New file.
18435 * sysdeps/riscv/backtrace.c: Likewise.
18436 * sysdeps/riscv/bits/endian.h: Likewise.
18437 * sysdeps/riscv/bits/setjmp.h: Likewise.
18438 * sysdeps/riscv/bits/wordsize.h: Likewise.
18439 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18440 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18441 * sysdeps/riscv/dl-trampoline.S: Likewise.
18442 * sysdeps/riscv/gccframe.h: Likewise.
18443 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18444 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18445 * sysdeps/riscv/machine-gmon.h: Likewise.
18446 * sysdeps/riscv/memusage.h: Likewise.
18447 * sysdeps/riscv/setjmp.S: Likewise.
18448 * sysdeps/riscv/sys/asm.h: Likewise.
18449 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
18450 * sysdeps/riscv/dl-tls.h: New file.
18451 * sysdeps/riscv/libc-tls.c: Likewise.
18452 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18453 * sysdeps/riscv/nptl/tls.h: Likewise.
18454 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
18455 * sysdeps/riscv/bits/fenv.h: New file.
18456 * sysdeps/riscv/e_sqrtl.c: Likewise.
18457 * sysdeps/riscv/fpu_control.h: Likewise.
18458 * sysdeps/riscv/math-tests.h: Likewise.
18459 * sysdeps/riscv/nofpu/Implies: Likewise.
18460 * sysdeps/riscv/sfp-machine.h: Likewise.
18461 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
18462 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18463 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18464 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18465 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18466 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18467 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18468 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18469 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18470 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18471 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18472 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18473 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18474 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18475 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18476 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18477 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18478 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18479 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18480 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18481 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18482 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18483 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18484 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18485 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18486 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18487 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18488 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18489 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18490 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18491 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18492 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18493 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18494 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18495 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18496 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18497 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18498 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18499 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18500 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18501 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18502 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18503 * sysdeps/riscv/rvf/math_private.h: Likewise.
18504 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18505 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18506 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18507 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18508 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18509 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18510 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18511 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18512 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18513 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18514 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18515 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18516 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18517 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18518 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18519 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
18520 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18521 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18522 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18523 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
18524 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18525 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18526 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18527 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18528 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18529 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18530 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18531 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18532 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
18533 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18534 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18535 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18536 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18537 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18538 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18539 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18540 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18541 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18542 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18543 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18544 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18545 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18546 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18547 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18548 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18549 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18550 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18551 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18552 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18553 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18554 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
18555 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18556 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18557 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
18558 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18559 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18560 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18561 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18562 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18563 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18564 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18565 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18566 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18567 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18568 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18569 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18570 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18571 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
18572 * sysdeps/riscv/Implies: New file.
18573 * sysdeps/riscv/Makefile: Likewise.
18574 * sysdeps/riscv/configure: Likewise.
18575 * sysdeps/riscv/configure.ac: Likewise.
18576 * sysdeps/riscv/nptl/Makefile: Likewise.
18577 * sysdeps/riscv/preconfigure: Likewise.
18578 * sysdeps/riscv/rv64/Implies-after: Likewise.
18579 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18580 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18581 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18582 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18583 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18584 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18585 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18586 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18587 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18588 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18589 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
18590 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18591 (Config): Likewise.
532cf290 18592
cdd14619
FW
185932018-01-29 Florian Weimer <fweimer@redhat.com>
18594
18595 [BZ #22701]
18596 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18597 libnsl_hidden_proto.
18598 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18599 libnsl_hidden_proto.
18600 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18601 * nis/Makefile (libnsl-routines): Add nss-default only for
18602 build-obsolete-nsl.
18603 * nis/nis_defaults.c (__nis_default_ttl): Add
18604 libnsl_hidden_nolink_def.
18605 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18606 declaration.
18607 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18608 * nis/ypclnt.c (yp_maplist): Likewise.
18609
b7ccb5de
RN
186102018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18611
18612 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18613 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18614
522623e4
JM
186152018-01-29 Joseph Myers <joseph@codesourcery.com>
18616
e3aa6999
JM
18617 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18618 clean -dxfq for git updates when replacing sources.
18619
088de7d0
JM
18620 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18621 --disable-libcilkrts unconditionally, not just for the final GCC
18622 build for Hurd.
18623
522623e4
JM
18624 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18625 version to 4.15.
18626
8b406f87
RL
186272018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18628
18629 [BZ #10871]
18630 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18631 case).
18632
105e90bd
RL
186332018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18634
18635 [BZ #10871]
18636 * localedata/locales/be_BY (mon): Rename to...
18637 (alt_mon): This, then synchronize with CLDR (nominative case).
18638 (abmon): Rename to...
18639 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18640 (mon): Import from CLDR (genitive case).
18641 (abmon): Likewise.
18642 * localedata/locales/be_BY@latin (mon): Rename to...
18643 (alt_mon): This.
18644 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18645
18646 * localedata/locales/be_BY@latin (lang_name): Reworded to
18647 "biełaruskaja mova".
18648
561cb414
RL
186492018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18650
18651 [BZ #10871]
18652 * localedata/locales/el_CY (mon): Renamed to...
18653 (alt_mon): This.
18654 (mon): Import from CLDR (genitive case).
18655 * localedata/locales/el_GR: Likewise.
18656
f7bdf30d
RL
186572018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18658
18659 [BZ #10871]
18660 * localedata/locales/ru_RU (mon): Rename to...
18661 (alt_mon): This.
18662 (abmon): Rename to...
18663 (ab_alt_mon): This.
18664 (mon): Import from CLDR (genitive case).
18665 (abmon): Copy from the old content except the 5th month which is
18666 now in the genitive case, even when abbreviated.
18667 * localedata/locales/ru_UA: Likewise.
18668 * time/tst-strptime.c (day_tests): Add an actual example of
18669 a difference between %b and %Ob in Russian.
18670
85285a0c
ST
186712018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18672
18673 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
18674 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18675 a `c' variable.
3538a4b6 18676 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
18677 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18678 <sys/wait.h>, <time.h>, <sys/uio.h>.
18679 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 18680 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
18681 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18682 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18683 return 0.
05ebfe87
ST
18684 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18685 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
18686 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18687 instead of void *.
18688 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18689 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
18690 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18691 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
18692 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18693 and make them the default for now.
903d3633
ST
18694 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18695 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
18696 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18697 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18698 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18699 MACH_IPC_COMPAT.
06fac9f5
ST
18700 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18701 __task_terminate would ever return successfully.
f8177753
ST
18702 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18703 to global scope.
41cdb1eb
ST
18704 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18705 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
18706 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18707 critical section to make code simpler and avoid warning.
18708 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18709 critical section to make code simpler and avoid warning.
844bf921
ST
18710 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18711 const char * instead of char *.
f8bee46c
ST
18712 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18713 __hurd_file_name_split, hurd_file_name_split,
18714 __hurd_directory_name_split, hurd_directory_name_split,
18715 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18716 hurd_file_name_path_lookup): Make lookup function parameter take a
18717 const char *name instead of char *name.
18718 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18719 __hurd_directory_name_split): Likewise.
18720 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18721 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
18722 * sysdeps/mach/hurd/check_native.c: New file.
18723 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
18724 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18725 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
18726 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18727 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
18728 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18729 (do_test_bz20181): Rename accordingly.
18730 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
18731 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18732 <sys/mount.h>.
28f6186f
ST
18733 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18734 version only if __USE_EXTERN_INLINES is defined.
18735 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18736 __hurd_sockfail): Likewise.
18737 (_hurd_fd_get): Always declare functions, and provide inline versions
18738 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18739 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18740 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18741 _hurd_port_set): Always declare functions, and provide inline versions
18742 only if __USE_EXTERN_INLINES and _LIBC are defined and
18743 IS_IN(libc).
18744 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18745 _hurd_critical_section_unlock): Likewise.
18746 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18747 * __hurd_threadvar_location): Likewise.
18748 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18749 _hurd_userlink_clear): Likewise.
18750 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18751 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18752 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18753 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18754 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18755 __spin_lock_locked): Likewise.
18756 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18757 __spin_lock_locked): Likewise.
18758 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18759 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18760 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18761 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18762 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
18763 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18764 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
18765 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18766 check size against PTHREAD_STACK_MIN.
625ba81e
ST
18767 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18768 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
18769 * mach/Makefile (user-interfaces): Add mach/gnumach.
18770 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18771 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
18772 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18773 instead of invalid -1.
1f89ac71
ST
18774 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18775 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18776 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18777 <net/ppp_defs.h>.
85285a0c 18778
1fd1e27c 187792018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
18780
18781 * hurd/fcntl-internal.h: New file.
18782
3854c5a8
JC
187832018-01-27 James Clarke <jrtc27@jrtc27.com>
18784
7e23a7dd
JC
18785 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18786
3854c5a8
JC
18787 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18788
5503f413
AS
187892018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18790
18791 [BZ #22701]
18792 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18793 Build only shared objects.
18794
caaf7804
CD
187952018-01-26 Carlos O'Donell <carlos@redhat.com>
18796
18797 * README: Update for hppa.
18798
1cbf818d
PM
187992018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18800
caaf7804
CD
18801 * sysdeps/sparc/fpu/libm-test-ulps: Update
18802 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 18803
caaf7804 188042018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
18805
18806 Revert:
18807
18808 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18809
18810 [BZ #22563]
18811 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18812 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18813 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18814 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18815 to feature_1.
18816
18817 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18818
18819 [BZ #22563]
18820 * bits/types/__cancel_jmp_buf_tag.h: New file.
18821 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18822 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18823 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18824 * nptl/Makefile (headers): Add
18825 bits/types/__cancel_jmp_buf_tag.h.
18826 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18827 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18828 * sysdeps/nptl/pthread.h: Include
18829 <bits/types/__cancel_jmp_buf_tag.h>.
18830 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18831 __cancel_jmp_buf.
18832 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18833
65f6c94e
RL
188342018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
18835
18836 [BZ #10871]
18837 * localedata/locales/uk_UA (mon): Renamed to...
18838 (alt_mon): This.
18839 (alt_digits): "0" removed and then renamed to...
18840 (mon): This.
18841 (date_fmt): Definition changed not to use the alternative
18842 digits hack.
18843
fb58aac5
PD
188442018-01-25 Palmer Dabbelt <palmer@sifive.com>
18845
18846 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
18847 FLAG_RISCV_FLOAT_ABI_DOUBLE.
18848 * elf/elf.h (EF_RISCV_RVC): New define.
18849 (EF_RISCV_FLOAT_ABI): Likewise.
18850 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
18851 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
18852 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18853 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
18854 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
18855 define.
18856 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18857
128c43a2
AS
188582018-01-25 Andreas Schwab <schwab@suse.de>
18859
18860 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
18861 single quotes.
18862 * sysdeps/gnu/configure: Regenerate.
18863 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18864 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18866 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18867 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18868 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
18869 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18870 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18871
f9015003
ST
188722018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18873
48130690 18874 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 18875 URL, and run autoconf, make it the default for now.
f9015003 18876
91b2cffa
JM
188772018-01-24 Joseph Myers <joseph@codesourcery.com>
18878
3005b705
JM
18879 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18880 soft-float ColdFire configuration.
18881
69231fab
JM
18882 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
18883 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
18884 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
18885
d4c7e1d0
JM
18886 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
18887 MicroBlaze file.
18888
0cfe5be5
JM
18889 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
18890 ....
18891 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
18892 ... here.
18893 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
18894 New file.
18895
91b2cffa
JM
18896 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
18897 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
18898 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
18899 file.
18900
c739e191
SN
189012018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18902
18903 [BZ #22742]
18904 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
18905 Rename to __reserved and add comment.
18906 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
18907 Rename to __reserved.
18908
394b5bac
JM
189092018-01-24 Joseph Myers <joseph@codesourcery.com>
18910
18911 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18912 i686-gnu configurations.
18913 (Context.run_builds): Include mig, gnumach and hurd in components
18914 considered.
18915 (Context.checkout): Add mig, gnumach and hurd to components.
18916 (Context.checkout_tar): Add URL mappings for mig, gnumach and
18917 hurd.
18918 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
18919 (Config.build): Install gnumach headers, build mig and install
18920 hurd headers for 'gnu' OS.
18921 (Config.install_gnumach_headers): New function.
18922 (Config.install_hurd_headers): Likewise.
18923 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
18924 when building for 'gnu' OS.
18925
28c3f14f
TK
189262018-01-23 Tobias Klauser <tklauser@distanz.ch>
18927
18928 * manual/tunables.texi (Hardware Capability Tunables): Fix
18929 spelling.
18930
0f5e2da1
RJ
189312018-01-22 Rical Jasan <ricaljasan@pacific.net>
18932
18933 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
18934 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
18935 (ALTMON_11, ALTMON_12): Improve documentation.
18936 * manual/time.texi (strftime): Likewise.
18937
7817b14a
RL
189382018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18939
18940 [BZ #10871]
18941 * localedata/locales/pl_PL: Alternative month names added,
18942 primary month names are genitive now.
18943 * time/tst-strptime.c (day_tests): Actually use a genitive case
18944 of a month name in Polish language.
18945
22390764
RL
189462018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18947
18948 [BZ #10871]
18949 * manual/locale.texi: Document ALTMON_1..12 constants for
18950 nl_langinfo. Specify when to use ALTMON instead of MON.
18951 * manual/time.texi (strftime, strptime): Document GNU extension
18952 permitting O modifier with %B and %b. Specify when to use
18953 %OB instead of %B.
18954
761a585c
RL
189552018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18956
18957 [BZ #10871]
18958 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18959 names, define them as the same as abbreviated month names explicitly.
18960 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18961 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18962 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18963 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18964 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18965 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18966 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18967 _NL_WABALTMON_12): New enum constants.
18968 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18969 wab_alt_mon, and ab_alt_mon_defined members.
18970 (time_output): Output ab_alt_mon and wab_alt_mon members.
18971 (time_read): Read them, initialize them as copies of abmon and wabmon
18972 respectively if they are missing, initialize ab_alt_mon_defined.
18973 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18974 * locale/programs/locfile-kw.h: Regenerate.
18975 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18976 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18977 and ru_RU.UTF-8.
18978 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18979 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18980 (__strftime_internal): Handle %Ob and %Oh formats.
18981 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18982 (__strptime_internal): Handle %Ob and %Oh formats.
18983 * time/tst-strptime.c (day_tests): Add more tests to parse different
18984 forms of month names including the new %Ob format specifier.
18985
95cb863a
RL
189862018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18987
18988 [BZ #10871]
18989 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18990 define them as the same as primary full month names explicitly.
18991 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18992 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18993 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18994 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18995 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18996 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18997 _NL_WALTMON_12): New enum constants.
18998 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18999 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19000 macros.
19001 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19002 walt_mon, and alt_mon_defined members.
19003 (time_output): Output alt_mon and walt_mon members.
19004 (time_read): Read them, initialize them as copies of mon and wmon
19005 respectively if they are missing, initialize alt_mon_defined.
19006 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19007 * locale/programs/locfile-kw.h: Regenerate.
19008 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19009 * localedata/tst-langinfo.c (map): Add tests for the new constants
19010 ALTMON_1 .. ALTMON_12.
19011 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19012 and pl_PL.UTF-8.
19013 * time/strftime_l.c (f_altmonth): New macro.
19014 (__strftime_internal): Handle %OB format.
19015 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19016 (__strptime_internal): Handle %OB format.
19017 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19018 of month names including the new %OB format specifier.
19019
4612268a
TMQMF
190202018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19021
19022 [BZ #22685]
19023 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19024 from ABORT_TRANSACTION.
19025 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19026 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19027 ABORT_TRANSACTION_IMPL): Likewise.
19028 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19029 Linux code, but remove the code that aborts transactions.
19030
64f63cb4
ST
190312018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19032
19033 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19034
32ac6e92
RL
190352018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19036
19037 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19038 in date: "2004-14-09" should be "2004-09-14".
19039 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19040 "2003-15-09" should be "2003-09-15".
19041
8e448310
AS
190422018-01-18 Arjun Shankar <arjun@redhat.com>
19043
19044 [BZ #22343]
71aa429b 19045 [BZ #22774]
4590634f 19046 CVE-2018-6485
71aa429b 19047 CVE-2018-6551
8e448310
AS
19048 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19049 after padding.
19050 (_int_memalign): check for integer overflow before calling
19051 _int_malloc.
19052 * malloc/tst-malloc-too-large.c: New test.
19053 * malloc/Makefile: Add tst-malloc-too-large.
19054
e234d7cb
RL
190552018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19056
19057 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19058 in date: "2017-24-07" should be "2017-07-24".
19059 * localedata/locales/mai_IN: Likewise.
19060 * localedata/locales/mai_NP: Likewise.
19061
48b66019
DL
190622018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19063
19064 * po/ru.po: Update translations.
19065
1eeddc58
JM
190662018-01-17 Joseph Myers <joseph@codesourcery.com>
19067
19068 [BZ #22719]
19069 * sysdeps/hppa/backtrace.c: New file.
19070
207a72e2
L
190712018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19072
19073 [BZ #22715]
19074 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19075 align La_x86_64_retval to VEC_SIZE.
19076
4942c4ea
JM
190772018-01-16 Joseph Myers <joseph@codesourcery.com>
19078
19079 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19080 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19081
10d200db
FW
190822018-01-16 Florian Weimer <fweimer@redhat.com>
19083
19084 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19085 Move tst-thread-exit-clobber ...
19086 [$(CXX)] (tests-unsupported): ... to here.
19087
953c49cc
SN
190882018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19089
19090 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19091 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19092 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19093 (_dl_aarch64_cap_flags): Update.
19094 (_DL_HWCAP_COUNT): Update.
19095
afce1991
SN
190962018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19097
19098 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19099 (_DL_HWCAP_LAST): Remove.
19100 (_DL_HWCAP_COUNT): Move to ...
19101 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19102 (_DL_HWCAP_COUNT): ... here.
19103
b725132d
FW
191042018-01-16 Florian Weimer <fweimer@redhat.com>
19105
19106 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19107 mode with GNU extensions.
19108
c9e613a7
AH
191092018-01-15 Alan Hayward <alan.hayward@arm.com>
19110
19111 * elf/elf.h (NT_ARM_SVE): Define.
19112
860b0240
FW
191132018-01-15 Florian Weimer <fweimer@redhat.com>
19114
19115 [BZ #22636]
19116 * nptl/tst-minstack-throw.cc: New file.
19117 * nptl/Makefile (tests): Add tst-minstack-throw.
19118 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19119 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19120
16d0f6ac
JM
191212018-01-15 Joseph Myers <joseph@codesourcery.com>
19122
19123 * scripts/build-many-glibcs.py (Context.checkout): Default
19124 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19125 version to 1.1.0.
19126
505d3910
CD
191272018-01-13 Carlos O'Donell <carlos@redhat.com>
19128
19129 [BZ #22707]
19130 * elf/elf.h (DF_1_STUB): Define.
19131 (DF_1_PIE): Define.
19132
af1e6be4
TMQMF
191332018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19134
19135 [BZ #22697]
19136 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19137 Do not add 0.5 to integer or out-of-range arguments.
19138
98d13ce0
DL
191392018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19140
19141 * po/bg.po: Update translations.
19142 * po/cs.po: Likewise.
19143 * po/de.po: Likewise.
19144 * po/ko.po: Likewise.
19145 * po/pl.po: Likewise.
19146 * po/sv.po: Likewise.
19147 * po/uk.po: Likewise.
19148 * po/vi.po: Likewise.
19149
3d1d7928
SN
191502018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19151
19152 * aarch64/start.S (_start): Use __wrap_main.
19153 (__wrap_main): New local symbol.
19154
52a713fd
DL
191552018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19156
19157 [BZ #22679]
19158 CVE-2018-1000001
19159 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19160 generic_getcwd if the path returned by getcwd syscall is not absolute.
19161 * io/tst-getcwd-abspath.c: New test.
19162 * io/Makefile (tests): Add tst-getcwd-abspath.
19163
249a5895
IK
191642018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19165
19166 * malloc/malloc.c (malloc_consolidate): Add size check.
19167
1a51e46e
FW
191682018-01-12 Florian Weimer <fweimer@redhat.com>
19169
19170 * support/write_message.c (write_message): Preserve errno.
19171 * support/check.c (print_failure): Likewise.
19172 * support/support_test_verify_impl.c (support_test_verify_impl):
19173 Likewise.
19174 * support/support_test_compare_failure.c
19175 (support_test_compare_failure): Likewise.
19176
9a08a366
FW
191772018-01-12 Florian Weimer <fweimer@redhat.com>
19178
19179 [BZ #22701]
19180 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19181 Prevent installation of libnsl.so.
19182 (libnsl-inhibit-o): Do not build (or install) static libraries.
19183
80647883 191842018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
19185
19186 [BZ #22657]
19187 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19188 before the day number which may produce a double space.
19189 (date_fmt): Likewise.
19190
c8924f1f
JM
191912018-01-12 Joseph Myers <joseph@codesourcery.com>
19192
19193 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19194 instead of fegetenv.
19195
da09e6fa
JM
191962018-01-11 Joseph Myers <joseph@codesourcery.com>
19197
19198 [BZ #22702]
19199 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19200 comment to say exceptions are discarded.
19201 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19202 __fegetenv.
19203 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19204 be enabled.
19205
08c6e952
FW
192062018-01-11 Florian Weimer <fweimer@redhat.com>
19207
19208 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19209 and error message.
19210
d8b77890
FW
192112018-01-11 Florian Weimer <fweimer@redhat.com>
19212
19213 [BZ #22636]
19214 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19215 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19216
b303185d
JM
192172018-01-10 Joseph Myers <joseph@codesourcery.com>
19218
19219 [BZ #22693]
19220 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19221 negative arguments in test for NaN or infinity argument.
19222
ee61d028
DL
192232018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19224
19225 * po/libc.pot: Regenerate.
19226
f993b875
FW
192272018-01-10 Florian Weimer <fweimer@redhat.com>
19228
19229 [BZ #22636]
19230 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19231 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19232
09085ede
ST
192332018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19234
19235 * hurd/hurd/fd.h: Include <fcntl.h>
19236 (__hurd_at_flags): New function.
19237 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19238 with call to __hurd_at_flags.
19239 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19240 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19241 __faccessat
19242 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19243 (__access_noerrno): Use __faccessat_common instead of access_common.
19244 (__access): Likewise.
19245 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19246 with a call to __faccessat.
19247 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19248 (__faccessat_common): ... this. Move implementation of __access into it when
19249 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19250 reauthenticate_cwdir_at helper to implement AT mechanism.
19251 (__faccessat_noerrno): New function, just calls __faccessat_common.
19252 (__faccessat): New function, just calls __faccessat_common.
19253 (faccessat): Define weak alias.
19254
12727488
JM
192552018-01-10 Joseph Myers <joseph@codesourcery.com>
19256
87faac55
JM
19257 [BZ #22691]
19258 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19259 (CFLAGS-s_fmaxmagl.c): New variable.
19260 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19261
12727488
JM
19262 [BZ #22690]
19263 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19264 long int for arguments of possibly overflowing addition or
19265 subtraction.
19266 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19267
e134ca17
JM
192682018-01-09 Joseph Myers <joseph@codesourcery.com>
19269
b2584ac2
JM
19270 [BZ #22688]
19271 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19272 (CFLAGS-e_remainderl.c): New variable.
19273
e134ca17
JM
19274 [BZ #22687]
19275 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19276 variable.
19277 (CFLAGS-s_cacoshl.c): Likewise.
19278 (CFLAGS-s_casinhl.c): Likewise.
19279 (CFLAGS-s_catanl.c): Likewise.
19280 (CFLAGS-s_catanhl.c): Likewise.
19281 (CFLAGS-s_cexpl.c): Likewise.
19282 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19283 (CFLAGS-s_csinhl.c): Likewise.
19284 (CFLAGS-s_clogl.c): Likewise.
19285 (CFLAGS-s_clog10l.c): Likewise.
19286 (CFLAGS-s_csinl.c): Likewise.
19287 (CFLAGS-s_csqrtl.c): Likewise.
19288
d31a4a48
ST
192892017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
192902017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
19291
19292 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19293 (_hurd_exec_paths): New function.
19294 * hurd/hurd.h (_hurd_exec): Deprecate function.
19295 (_hurd_exec_paths): Declare function.
19296 * hurd/Versions: Export _hurd_exec_paths.
19297 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19298 (__execve): Use __getcwd to build absolute path, and use
19299 _hurd_exec_paths instead of _hurd_exec.
19300 * sysdeps/mach/hurd/spawni.c: Likewise.
19301 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19302 _hurd_exec.
19303
d7ff3f11
DL
193042018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19305
19306 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19307 test instead of failing in case of ENOENT returned by posix_openpt.
19308
401311cf
FW
193092018-01-08 Florian Weimer <fweimer@redhat.com>
19310
19311 resolv: Support binary labels in test framework.
19312 * support/resolv_test.c (struct to_be_freed): Remove.
19313 (struct compressed_name): New.
19314 (allocate_compressed_name, ascii_tolower)
19315 (compare_compressed_name): New functions.
19316 (struct resolv_response_builder): Update type of
19317 compression_offsets for use with tsearch. Rempve to_be_freed.
19318 (response_push_pointer_to_free): Remove function.
19319 (resolv_response_add_name): Rewrite using struct compressed_name
19320 and tsearch instead of hsearch_r.
19321 (response_builder_allocate): Remove initialization of
19322 compression_offsets.
19323 (response_builder_free): Update for removal of to_be_freed. Use
19324 tdestroy instead of hdestroy_r.
19325 * resolv/Makefile (tests): Add tst-resolv-binary.
19326 (tst-resolv-binary): Link with -lresolv -lpthread.
19327
2b3aa446
FW
193282018-01-08 Florian Weimer <fweimer@redhat.com>
19329
19330 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19331 time. Pass positive flag instead of negative flag to
19332 support_test_compare_failure.
19333 (support_test_compare_failure): Change negative parameter to
19334 positive.
19335 * support/support_test_compare_failure.c (report)
19336 (support_test_compare_failure): Likewise.
19337 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19338 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19339
630f4cc3
SN
193402018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19341
19342 [BZ #22637]
19343 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19344 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19345 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19346 stacksize.
19347 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19348
c70e4e9c
L
193492018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19350
19351 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19352 Add s_sincosf-sse2 and s_sincosf-fma.
19353 (CFLAGS-s_sincosf-fma.c): New.
19354 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19355 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19356 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19357 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19358 __sincosf is defined.
19359
579396ee
FW
193602018-01-08 Florian Weimer <fweimer@redhat.com>
19361
19362 * nptl/tst-thread-exit-clobber.cc: New file.
19363 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19364 C++11 mode.
19365 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19366 (tests): Add tst-thread-exit-clobber.
19367 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19368
dabd75b6
FW
193692018-01-08 Florian Weimer <fweimer@redhat.com>
19370
19371 * support/check.h (support_static_assert): Define.
19372 (TEST_COMPARE): Use it.
19373
c2e014cc
AJ
193742018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19375
19376 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19377 [!__RLIM_T_MATCHES_RLIM64_T]
19378 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19379 __getrlimit64. Add libc_hidden_weak.
19380
31a98837
PD
193812018-01-06 Palmer Dabbelt <palmer@sifive.com>
19382
19383 * elf/elf.h (R_RISCV_NONE): New define.
19384 (R_RISCV_32): Likewise.
19385 (R_RISCV_64): Likewise.
19386 (R_RISCV_RELATIVE): Likewise.
19387 (R_RISCV_COPY): Likewise.
19388 (R_RISCV_JUMP_SLOT): Likewise.
19389 (R_RISCV_TLS_DTPMOD32): Likewise.
19390 (R_RISCV_TLS_DTPMOD64): Likewise.
19391 (R_RISCV_TLS_DTPREL32): Likewise.
19392 (R_RISCV_TLS_DTPREL64): Likewise.
19393 (R_RISCV_TLS_TPREL32): Likewise.
19394 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
19395 * Makerules (make-link-multidir): Make directories before linking into
19396 them.
150bbac1
PD
19397 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19398 define.
19399 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
19400 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19401 in subdirectories of lib.
8e13c51b
PD
19402 * nptl/Makefile (/librt.so): Always depend on
19403 "$(shared-thread-library)".
31a98837 19404
fad7d57e
ST
194052018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19406
19407 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
19408 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19409 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19410 (___tls_get_addr).
19411 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
19412 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19413 "-O2 -march=i686".
01c7e549 19414 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
19415 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19416 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19417 * sysdeps/gnu/glob-lstat-compat.c: New file.
19418 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 19419 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 19420
3a32b716
TMQMF
194212018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19422
19423 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19424 Reserve 16 chars to reloc_addr before calling _itoa_word.
19425
24731685
AJ
194262018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19427
19428 [BZ #22678]
19429 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19430 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19431
19be56d8
AJ
19432 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19433 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19434
a6d0afb5
AJ
19435 * resource/tst-getrlimit.c: Add copyright header.
19436
8e900969
AJ
194372018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19438 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19439
19440 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19441 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19442 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19443 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19444 instead.
19445 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19446 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19447 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19448 RLIM64_INFINITY): Fix values to match the kernel ones.
19449 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19450 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19451 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19452 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19453 getrlimit64@@GLIBC_2_27.
19454 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19455 and setrlimit64.
19456 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19457 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19458 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19459 setrlimit, getrlimit64 and setrlimit64.
19460
0d0bc784
AJ
194612018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19462
19463 [BZ #22648]
19464 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19465 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19466
ba374b6d
JM
194672018-01-04 Joseph Myers <joseph@codesourcery.com>
19468
19469 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19470 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19471 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19472
4854ddd8
AZ
194732018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19474
b0a4eca2
AZ
19475 [BZ #15479]
19476 [BZ #22666]
19477 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19478 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19479
4854ddd8
AZ
19480 [BZ #15479]
19481 [BZ #22665]
19482 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19483 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19484 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19485 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19486
8a5df95f
FW
194872018-01-04 Florian Weimer <fweimer@redhat.com>
19488
19489 [BZ #22667]
19490 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19491 Align the stack before calling exit.
19492 * stdlib/tst-makecontext-align.c: New file.
19493 * stdlib/Makefile (tests): Add tst-makecontext-align.
19494
82eef55f
FW
194952018-01-04 Florian Weimer <fweimer@redhat.com>
19496
19497 Add support for calling dlvsym from libc.so.
19498 * include/dlfcn.h (__libc_dlvsym): Declare.
19499 * elf/Makefile (tests-static-internal): Add
19500 tst-libc_dlvsym-static.
19501 (tests-internal): Add tst-libc_dlvsym.
19502 (modules-names): Add tst-libc_dlvsym-dso.
19503 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19504 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19505 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19506 object tst-libc_dlvsym-dso.so needs to be built before running
19507 these tests.
19508 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19509 * elf/Versions: Export __libc_dlvsym.
19510 * elf/dl-libc.c (struct do_dlvsym_args): New.
19511 (do_dlvsym, __libc_dlvsym): New functions.
19512 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19513 (_dl_open_hook2): New variable.
19514 (__libc_register_dl_open_hook): Set it.
19515 * elf/tst-libc_dlvsym-dso.c: New file.
19516 * elf/tst-libc_dlvsym-static.c: Likewise.
19517 * elf/tst-libc_dlvsym.c: Likewise.
19518 * elf/tst-libc_dlvsym.h: Likewise.
19519
1714fc06
ST
195202018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19521
19522 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19523 include <sys/mount.h>.
19524
3c7d0312
WD
195252018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19526
19527 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19528 Add __NO_MATH_ERRNO__ check.
19529
7eff0954
JM
195302018-01-02 Joseph Myers <joseph@codesourcery.com>
19531
19532 * sysdeps/mips/mips32/libm-test-ulps: Update.
19533 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19534
77f49956
FW
195352018-01-02 Florian Weimer <fweimer@redhat.com>
19536
19537 * misc/tst-pselect.c: Add copyright header.
19538
363e4519 195392018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
19540
19541 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19542 comment.
19543 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19544 comment.
19545 (settrlimit): Rename into setrlimit.
19546 (__sttrlimit): Rename into __setrlimit.
19547
3e4226ff
AJ
19548 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19549 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19550 never defined in that case.
19551
b9256ab6
JM
195522018-01-02 Joseph Myers <joseph@codesourcery.com>
19553
28fd6a44
JM
19554 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19555
a4933a15
JM
19556 * sysdeps/arm/libm-test-ulps: Update.
19557
b9256ab6
JM
19558 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19559 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19560
4cf82d23
RS
195612018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19562
19563 * NEWS: Add cosf and sincosf to list of optimized functions.
19564
6a9dd7a7
AJ
195652018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19566
19567 [BZ #22660]
19568 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19569 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19570 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19571 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19572
dbba87d5
DL
195732018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19574
b05cb613
DL
19575 [BZ #22433]
19576 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19577
dbba87d5
DL
19578 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19579 making a copy of it.
19580
688903eb
JM
195812018-01-01 Joseph Myers <joseph@codesourcery.com>
19582
66ac23de
JM
19583 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19584 trailing whitespace removed.
19585 * scripts/config.guess: Update to version 2018-01-01.
19586 * scripts/config.sub: Update to version 2018-01-01.
19587 * scripts/move-if-change: Update from gnulib.
19588
09533208
JM
19589 * NEWS: Update copyright dates.
19590 * catgets/gencat.c (print_version): Likewise.
19591 * csu/version.c (banner): Likewise.
19592 * debug/catchsegv.sh: Likewise.
19593 * debug/pcprofiledump.c (print_version): Likewise.
19594 * debug/xtrace.sh (do_version): Likewise.
19595 * elf/ldconfig.c (print_version): Likewise.
19596 * elf/ldd.bash.in: Likewise.
19597 * elf/pldd.c (print_version): Likewise.
19598 * elf/sotruss.sh: Likewise.
19599 * elf/sprof.c (print_version): Likewise.
19600 * iconv/iconv_prog.c (print_version): Likewise.
19601 * iconv/iconvconfig.c (print_version): Likewise.
19602 * locale/programs/locale.c (print_version): Likewise.
19603 * locale/programs/localedef.c (print_version): Likewise.
19604 * login/programs/pt_chown.c (print_version): Likewise.
19605 * malloc/memusage.sh (do_version): Likewise.
19606 * malloc/memusagestat.c (print_version): Likewise.
19607 * malloc/mtrace.pl: Likewise.
19608 * manual/libc.texinfo: Likewise.
19609 * nptl/version.c (banner): Likewise.
19610 * nscd/nscd.c (print_version): Likewise.
19611 * nss/getent.c (print_version): Likewise.
19612 * nss/makedb.c (print_version): Likewise.
19613 * posix/getconf.c (main): Likewise.
19614 * scripts/test-installation.pl: Likewise.
19615 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19616
688903eb
JM
19617 * All files with FSF copyright notices: Update copyright dates
19618 using scripts/update-copyrights.
19619 * locale/programs/charmap-kw.h: Regenerated.
19620 * locale/programs/locfile-kw.h: Likewise.
19621
4f820792
ZW
196222017-12-31 Zack Weinberg <zackw@panix.com>
19623
19624 * libio/bits/libio-ldbl.h: Correct check for improper
19625 inclusion. Add own multiple include guard.
19626
3e3c904d
AJ
196272017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19628 Dmitry V. Levin <ldv@altlinux.org>
19629
19630 [BZ #22625]
31f96325 19631 CVE-2017-16997
3e3c904d
AJ
19632 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19633 string token expansion. Check for NULL pointer or empty string possibly
19634 returned by expand_dynamic_string_token.
19635 (decompose_rpath): Check for empty path after dynamic string
19636 token expansion.
19637
7e21972b
DL
196382017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19639
c48831d0
DL
19640 [BZ #22433]
19641 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19642
ac583f50
DL
19643 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19644 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19645 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19646 and PTRACE_SYSCALL.
19647 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19648 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19649 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19650 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19651 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19652 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19653
7e21972b
DL
19654 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19655 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19656 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19657 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19659 bits/ptrace-shared.h.
19660 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19661 <bits/ptrace-shared.h>.
19662 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19663 __ptrace_peeksiginfo_flags, ptrace): Remove.
19664 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19665 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19666 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19667 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19668 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19669
72f29e3a
AJ
196702017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19671
19672 [BZ #17804]
19673 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19674 end of the loop. Improve comments.
19675
54e4efc2
AJ
196762017-12-29 Zack Weinberg <zackw@panix.com>
19677
19678 [BZ #22615]
19679 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19680 might be set on success.
19681
f8aa69be
AJ
196822017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19683
19684 [BZ #22611]
19685 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19686 is unchanged on success.
19687
97f13188
DL
196882017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19689
2bd86632
DL
19690 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19691 updated.
19692 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19693 expand_dynamic_string_token): Likewise.
19694 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19695 is_path argument.
19696
1c36e1e6
DL
19697 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19698 contains ':'.
19699
97f13188
DL
19700 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19701 is set and name contains ':', and all code depending on these checks.
19702
48a8f832
ZW
197032017-12-24 Zack Weinberg <zackw@panix.com>
19704
19705 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19706 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19707 respectively.
19708 * libio/libio.h: Rename the original version of this file to
19709 libio/bits/libio.h. Error out if not included by stdio.h or the
19710 stub libio.h.
19711 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19712 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19713 if not included by bits/libio.h or the stub _G_config.h.
19714 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19715 sysdeps/unix/sysv/linux/bits. Error out if not included by
19716 bits/libio.h or the stub _G_config.h.
19717 * libio/stdio.h: Include bits/libio.h, not libio.h.
19718 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19719 well as libio.h and _G_config.h.
19720
19721 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19722 * libio/strfile.h, stdio-common/vfscanf.c
19723 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19724 Include stdio.h, not _G_config.h nor libio.h.
19725 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19726 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19727
19728 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19729
a47ad79a
DL
197302017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19731
19732 [BZ #22347]
19733 * stdlib/getrandom.c (getrandom): Fix comment.
19734 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19735
363e4519 197362017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 19737
f5c558f3
AJ
19738 [BZ #21161]
19739 * manual/arith.texi (strtoul): Fix a typo.
19740
e65a5644
AJ
19741 [BZ #22596]
19742 * manual/arith.texi (finite): Fix the description of the return
19743 value.
19744
ed8ae46b
EB
197452017-12-22 Eric Blake <ebb9@byu.net>
19746
19747 Avoid gcc warnings on cygwin
19748 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19749 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19750 Avoid unused variable.
19751
bad7a0c8
FW
197522017-12-22 Florian Weimer <fweimer@redhat.com>
19753
19754 * io/Makefile (routines): Add copy_file_range.
19755 (tests): Add tst-copy_file_range.
19756 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19757 * io/Versions (GLIBC_2.27): Export copy_file_range.
19758 * io/copy_file_range-compat.c: New file.
19759 * io/copy_file_range.c: Likewise.
19760 * io/tst-copy_file_range-compat.c: Likewise.
19761 * io/tst-copy_file_range.c: Likewise.
19762 * manual/llio.texi (Copying File Data): New section.
19763 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19764 * support/Makefile (libsupport-routines): Add support-xfstat,
19765 xftruncate, xlseek.
19766 * support/support-xfstat.c: New file.
19767 * support/xftruncate.c: Likewise.
19768 * support/xlseek.c: Likewise.
19769 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19770 * sysdeps/unix/sysv/linux/**.abilist: Update.
19771 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19772
6cb86fd2
SN
197732017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19774
19775 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19776 disable-multi-arch variant to aarch64-linux-gnu.
19777
41d11b15
JM
197782017-12-20 Joseph Myers <joseph@codesourcery.com>
19779
19780 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19781 trailing whitespace removed.
19782 * scripts/config.guess: Update to version 2017-12-17.
19783 * scripts/config.sub: Update to version 2017-11-23.
19784 * scripts/install-sh: Update to version 2017-09-23.17.
19785 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19786
4735850f
AZ
197872017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19788
8d2d239c
AZ
19789 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19790 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19791 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19792 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19793 * sysdeps/tile/crtn.S: Likewise.
19794 * sysdeps/tile/dl-start.S (_start): Likewise.
19795 * sysdeps/tile/dl-trampoline.S: Likewise.
19796 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19797 * sysdeps/tile/start.S (_start): Likewise.
19798 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19799 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19800 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19801 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19802 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19803 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19804 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19805
24d1d8ec
AZ
19806 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19807 comment.
19808 * sysdeps/tile/preconfigure: Remove tilegx folder.
19809 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19810 * sysdeps/tile/Implies: ... here.
19811 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19812 * sysdeps/tile/Makefile: ... here.
19813 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19814 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19815 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19816 * sysdeps/tile/bits/wordsize.h: ... here.
19817 * sysdeps/tile/tilegx/*: Move to ...
19818 * sysdeps/tile/*: ... here.
19819 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19820 * sysdeps/tile/tilegx32/Implies: ... here.
19821 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19822 * sysdeps/tile/tilegx64/Implies: ... here.
19823 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
19824 to ...
19825 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19826 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
19827 * sysdeps/unix/sysv/linux/tile/*: ... here.
19828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
19829 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
19830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
19831 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
19832
ed95f611
AZ
19833 * README: Remove tilepro-*-linux-gnu from supported architecture.
19834 * scripts/build-many-glibcs.py: Likewise.
19835 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19836 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
19837 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
19838 elf_machine_matches_host, elf_machine_dynamic,
19839 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
19840 howto, elf_machine_rela): Likewise.
19841 * sysdeps/tile/dl-start.S (_start): Likewise.
19842 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
19843 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
19844 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
19845 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
19846 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
19847 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19848 Likewise.
19849 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
19850 * sysdeps/tile/preconfigure: Likewise.
19851 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
19852 POINTER_CHK_GUARD): Likewise.
19853 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
19854 * sysdeps/tile/start.S (_start): Likewise.
19855 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
19856 Likewise.
19857 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
19858 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
19859 CMOVNEZ): Remove.
19860 * sysdeps/unix/sysv/linux/tile/bits/environments.h
19861 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
19862 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
19863 Likewise.
19864 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
19865 * sysdeps/tile/tilepro/Implies: Remove file.
19866 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
19867 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
19868 * sysdeps/tile/tilepro/memchr.c: Likewise.
19869 * sysdeps/tile/tilepro/memcpy.S: Likewise.
19870 * sysdeps/tile/tilepro/memset.c: Likewise.
19871 * sysdeps/tile/tilepro/memusage.h: Likewise.
19872 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
19873 * sysdeps/tile/tilepro/strchr.c: Likewise.
19874 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
19875 * sysdeps/tile/tilepro/strlen.c: Likewise.
19876 * sysdeps/tile/tilepro/strrchr.c: Likewise.
19877 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
19878 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
19879 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19880 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
19881 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
19882 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19883 Likewise.
19884 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
19885 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19886 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
19887 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
19888 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19889 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
19890 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
19891 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
19892 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
19893 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
19894 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
19895 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
19896 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
19897 tilepro mention in comment.
19898
4735850f
AZ
19899 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
19900 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
19901 * nptl/pthread_join_common.c: New file: common function used on
19902 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
19903 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
19904 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
19905 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19906 (cleanup): Move definition to pthread_join_common.c.
19907 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
19908 Remove superflous checks.
19909 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
19910 Likewise.
19911
8bfb461e
SN
199122017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
19913
19914 * sysdeps/aarch64/libm-test-ulps: Update.
19915
4e001969
AZ
199162017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19917
19918 * sysdeps/aarch64/memset.S (MEMSET): Define.
19919
8a26ad2a
FW
199202017-12-20 Florian Weimer <fweimer@redhat.com>
19921
19922 [BZ #22635]
19923 nptl: Provide full implementation of pthread_self in libc.so.
19924 * nptl/Makefile (routines): Add pthread_self.
19925 (libpthread-routines): Replace pthread_self with
19926 compat-pthread_self.
19927 * nptl/forward.c (pthread_self): Remove.
19928 * nptl/nptl-init.c (pthread_functions): Do not initialize
19929 ptr_pthread_self.
19930 * nptl/pthread_self.c (pthread_self): Remove weak alias.
19931 * nptl/compat-pthread_self.c: New file.
19932 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
19933 Remove ptr_pthread_self.
19934
5069ff32
AR
199352017-12-19 Arnold D. Robbins <arnold@skeeve.com>
19936
19937 * posix/regcomp.c: Fix spelling in comments.
19938 * posix/regex.h: Likewise.
19939 * posix/regex_internal.c: Likewise.
19940 * posix/regexec.c: Likewise.
19941
c85e54ac
GG
199422017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19943
19944 [BZ #22377]
19945 * math/Makefile [C++] (tests): Add test for iseqsig.
19946 * math/math.h [C++] (iseqsig): New implementation, which does
19947 not rely on __MATH_TG/__builtin_types_compatible_p.
19948 * math/test-math-iseqsig.cc: New file.
19949 * sysdeps/powerpc/powerpc64le/Makefile
19950 (CFLAGS-test-math-iseqsig.cc): New variable.
19951
10e93d96
DL
199522017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19953
19954 * elf/dl-load.c (is_trusted_path): Remove.
19955 (fillin_rpath): Remove check_trusted argument and its use,
19956 all callers changed.
19957
ce16eb52
L
199582017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19959
19960 [BZ #22630]
19961 * Makeconfig (link-pie-before-libc): Replace -pie with
19962 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19963 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19964 (tst-dlopen-aout-no-pie): New.
19965 (LDFLAGS-tst-prelink): Removed.
19966 (tst-prelink-no-pie): New.
19967 (LDFLAGS-tst-main1): Removed.
19968 (tst-main1-no-pie): New.
19969 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19970 (tst-gmon-no-pie): New.
19971
126adc89
L
199722017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19973
19974 * manual/install.texi: Document that --enable-static-pie
19975 implies PIE.
19976 * INSTALL: Regenerated.
19977
648615e1
BE
199782017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19979
19980 [BZ #21309]
19981 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19982 unsigned.
19983
f1e00502
JM
199842017-12-19 Joseph Myers <joseph@codesourcery.com>
19985
19986 Revert:
19987
19988 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19989
19990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19991
19992 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19993
19994 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19995 <errno.h>. Include "eexp.tbl".
19996 (half): New constant.
19997 (one): Likewise.
19998 (__ieee754_exp): Rewrite.
19999 (__slowexp): Remove prototype.
20000 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20001 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20002 * sysdeps/i386/fpu/slowexp.c: Likewise.
20003 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20004 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20005 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20006 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20007 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20008 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20009 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20010 comment.
20011 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20012 (CPPFLAGS-slowexp.c): Remove variable.
20013 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20014 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20015 (CFLAGS-slowexp-fma.c): Remove variable.
20016 (CFLAGS-slowexp-fma4.c): Likewise.
20017 (CFLAGS-slowexp-avx.c): Likewise.
20018 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20019 define as macro.
20020 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20021 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20022 * math/Makefile (type-double-routines): Remove slowexp.
20023 * manual/probes.texi (slowexp_p6): Remove.
20024 (slowexp_p32): Likewise.
20025
d711a00f
AZ
200262017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20027
e184ac3a
AZ
20028 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20029 arithmetic.
20030
d711a00f
AZ
20031 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20032
6f58c10d
JM
200332017-12-19 Joseph Myers <joseph@codesourcery.com>
20034
20035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20036
6fd0a3c6
PM
200372017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20038
20039 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20040 <errno.h>. Include "eexp.tbl".
20041 (half): New constant.
20042 (one): Likewise.
20043 (__ieee754_exp): Rewrite.
20044 (__slowexp): Remove prototype.
20045 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20046 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20047 * sysdeps/i386/fpu/slowexp.c: Likewise.
20048 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20049 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20050 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20051 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20052 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20053 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20054 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20055 comment.
20056 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20057 (CPPFLAGS-slowexp.c): Remove variable.
20058 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20059 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20060 (CFLAGS-slowexp-fma.c): Remove variable.
20061 (CFLAGS-slowexp-fma4.c): Likewise.
20062 (CFLAGS-slowexp-avx.c): Likewise.
20063 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20064 define as macro.
20065 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20066 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20067 * math/Makefile (type-double-routines): Remove slowexp.
20068 * manual/probes.texi (slowexp_p6): Remove.
20069 (slowexp_p32): Likewise.
20070
3bb1ef58 200712017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 20072 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
20073
20074 [BZ #22603]
20075 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20076 addition.
20077
554e3d51
AZ
200782017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20079
20080 [BZ #22605]
20081 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20082 code.
20083
cba595c3
L
200842017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20085
20086 [BZ #22563]
20087 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20088 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20089 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20090 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20091 to feature_1.
20092
f81ddabf
L
200932017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20094
20095 [BZ #22563]
20096 * bits/types/__cancel_jmp_buf_tag.h: New file.
20097 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20098 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20099 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20100 * nptl/Makefile (headers): Add
20101 bits/types/__cancel_jmp_buf_tag.h.
20102 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20103 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20104 * sysdeps/nptl/pthread.h: Include
20105 <bits/types/__cancel_jmp_buf_tag.h>.
20106 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20107 __cancel_jmp_buf.
20108 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20109
1a49fc59
L
201102017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20111
20112 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20113 --enable-static-pie variants to x86_64, x32 and i686.
20114
8e52f573
JM
201152017-12-19 Joseph Myers <joseph@codesourcery.com>
20116
66425185
JM
20117 [BZ #22631]
20118 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20119 argument for attrubutes. All callers changed.
20120 (__inline_mathop1): Likewise. All callers changed.
20121 (__inline_mathop): Likewise. All callers changed.
20122 [__USE_MISC] (scalbn): Use __inline_forward instead of
20123 __inline_forward_c.
20124 [__USE_ISOC99] (scalbln): Likewise.
20125 [__USE_ISOC99] (nearbyint): Likewise.
20126 [__USE_ISOC99] (lrint): Likewise.
20127 [__USE_MISC] (scalbnf): Likewise.
20128 [__USE_ISOC99] (scalblnf): Likewise.
20129 [__USE_ISOC99] (nearbyintf): Likewise.
20130 [__USE_ISOC99] (lrintf): Likewise.
20131 [__USE_MISC] (scalbnl): Likewise.
20132 [__USE_ISOC99] (scalblnl): Likewise.
20133 [__USE_ISOC99] (nearbyintl): Likewise.
20134 [__USE_ISOC99] (lrintl): Likewise.
20135 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20136 __inline_mathop and __m81_defun changed.
20137
8e52f573
JM
20138 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20139 CPU or FPU for ARM hard-float configurations.
20140
1421f39b
JM
201412017-12-18 Joseph Myers <joseph@codesourcery.com>
20142
40c4162d
JM
20143 * nptl/tst-attr3.c: Include <libc-diag.h>.
20144 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20145
5983df32
JM
20146 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20147
1421f39b
JM
20148 * string/tester.c (test_strncat): Also disable -Warray-bounds
20149 warnings for two tests.
20150
00c714df
L
201512017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20152
20153 [BZ #22614]
20154 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20155 $(cc-pie-default) == yes.
20156 * config.make.in (cc-pie-default): New.
20157 * configure.ac (libc_cv_pie_default): Renamed to ...
20158 (libc_cv_cc_pie_default): This.
20159 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20160 * configure: Regenerated.
20161
8e1472d2
FW
201622017-12-18 Florian Weimer <fweimer@redhat.com>
20163
20164 [BZ #20204]
20165 ld.so: Harden dl-libc/libdl hooks.
20166 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20167 (rtld_active): New function.
20168 * dlfcn/dladdr.c (__dladdr): Call it.
20169 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20170 * dlfcn/dlclose.c (__dlcose): Likewise.
20171 * dlfcn/dlerror.c (__dlerror): Likewise.
20172 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20173 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20174 * dlfcn/dlopen.c (__dlopen): Likewise.
20175 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20176 * dlfcn/dlsym.c (__dlsym): Likewise.
20177 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20178 * libio/vtables.c (_IO_vtable_check): Likewise.
20179 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20180 (__libc_dlclose): Likewise.
20181 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20182 assignment.
20183
49b036bc
JM
201842017-12-18 Joseph Myers <joseph@codesourcery.com>
20185
20186 [BZ #22446]
20187 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20188 buffers for readlink input and output.
20189
368b6c8d
ST
201902017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20191
c85c564d
ST
20192 [BZ #22624]
20193 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20194 inhibit_stack_protector.
20195
368b6c8d
ST
20196 [BZ #22624]
20197 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20198 inhibit_stack_protector.
20199
bb195224
DL
202002017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20201
20202 [BZ #22627]
20203 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20204 code and invocation.
20205
14d886ed
SN
202062017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20207
20208 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20209
7d38eb38
AJ
202102017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20211
20212 [BZ #22505]
20213 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20214
2e77deef
RS
202152017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20216
20217 * sysdeps/s390/fpu/libm-test-ulps: Update.
20218
0b9bef6d
RS
202192017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20220
20221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20222
984ae996
RS
202232017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20224
20225 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20226 constants to s_sincosf.h file.
20227 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20228 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20229 implementation.
20230 * sysdeps/ieee754/flt-32/s_sincosf.h:
20231 New file.
20232
363e4519 202332017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
20234
20235 [BZ #14681]
20236 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20237 before mtrace.
20238
9d7a3741
L
202392017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20240
20241 [BZ #19574]
20242 * INSTALL: Regenerated.
20243 * Makeconfig (real-static-start-installed-name): New.
20244 (pic-default): Updated for --enable-static-pie.
20245 (pie-default): New for --enable-static-pie.
20246 (default-pie-ldflag): Likewise.
20247 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20248 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20249 Replace $(static-start-installed-name) with
20250 $(real-static-start-installed-name).
20251 (+prectorT): Updated for --enable-static-pie.
20252 (+postctorT): Likewise.
20253 (CFLAGS-.o): Add $(pie-default).
20254 (CFLAGS-.op): Likewise.
20255 * NEWS: Mention --enable-static-pie.
20256 * config.h.in (ENABLE_STATIC_PIE): New.
20257 * configure.ac (--enable-static-pie): New configure option.
20258 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20259 (have-static-pie): Likewise.
20260 Enable static PIE if linker supports --no-dynamic-linker.
20261 (ENABLE_STATIC_PIE): New AC_DEFINE.
20262 (enable-static-pie): New LIBC_CONFIG_VAR.
20263 * configure: Regenerated.
20264 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20265 gr$(start-installed-name) for --enable-static-pie.
20266 (extra-objs): Likewise.
20267 (install-lib): Likewise.
20268 (extra-objs): Add static-reloc.o and static-reloc.os
20269 ($(objpfx)$(start-installed-name)): Also depend on
20270 $(objpfx)static-reloc.o.
20271 ($(objpfx)r$(start-installed-name)): New.
20272 ($(objpfx)g$(start-installed-name)): Also depend on
20273 $(objpfx)static-reloc.os.
20274 ($(objpfx)gr$(start-installed-name)): New.
20275 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20276 in libc.a.
20277 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20278 initimage.
20279 * csu/static-reloc.c: New file.
20280 * elf/Makefile (routines): Add dl-reloc-static-pie.
20281 (elide-routines.os): Likewise.
20282 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20283 (tst-tls1-static-non-pie-no-pie): New.
20284 * elf/dl-reloc-static-pie.c: New file.
20285 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20286 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20287 STATIC_PIE_BOOTSTRAP.
20288 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20289 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20290 (tests-static): Likewise.
20291 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20292 (tst-gmon-static-no-pie): New.
20293 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20294 (CRT-tst-gmon-static-pie): Likewise.
20295 (tst-gmon-static-pie-ENV): Likewise.
20296 (tests-special): Likewise.
20297 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20298 (clean-tst-gmon-static-pie-data): Likewise.
20299 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20300 * gmon/tst-gmon-static-pie.c: New file.
20301 * manual/install.texi: Document --enable-static-pie.
20302 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20303 (_dl_get_dl_main_map): Likewise.
20304 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20305 * sysdeps/x86_64/configure.ac: Likewise.
20306 * sysdeps/i386/configure: Regenerated.
20307 * sysdeps/x86_64/configure: Likewise.
20308 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20309 (ASFLAGS-.op): Likewise.
20310
95511aab
JM
203112017-12-15 Joseph Myers <joseph@codesourcery.com>
20312
20313 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20314 * posix/tst-mmap-offset.c (fname): Use /tmp.
20315 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20316
a7e3edf4
SE
203172017-12-15 Steve Ellcey <sellcey@cavium.com>
20318
20319 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20320
d232f2e1
TS
203212017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20322
20323 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20324 errno.
20325
174edbde
JM
203262017-12-15 Joseph Myers <joseph@codesourcery.com>
20327
5170fa49
JM
20328 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20329 --with-float=hard for arm-linux-gnueabihf configurations.
20330
f2da2fd8
JM
20331 [BZ #14121]
20332 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20333 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20334 ($(mo-installed)): Use $(objpfx)%.mo.
20335 (realclean): Remove rule.
20336
0c4fe28d
JM
20337 * po/Makefile (linguas): Remove rule and dependencies.
20338 (linguas.mo): Likewise.
20339 (.PHONY): Do not depend on linguas and linguas.mo.
20340 (podir): Remove variable.
20341 (pofiles): Likewise.
20342 [$(pofiles)] (%.po): Remove rule.
20343
174edbde
JM
20344 * sysdeps/sparc/sparc32/Makefile
20345 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20346 start-of-line whitespace in argument of echo.
20347 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20348 with whitespace. Generate __wrap_.udiv alias.
20349 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20350 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20351 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20352 * sysdeps/sparc/sparc32/urem.S: Likewise.
20353
1e36806f
RS
203542017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20355
20356 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20357 for aligned inputs.
20358
aa6932aa
SP
203592017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20360
5f1603c3
SP
20361 * benchtests/bench-strcmp.c: Print output in JSON format.
20362
aa6932aa
SP
20363 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20364
3ff3dfa5
FW
203652017-12-14 Florian Weimer <fweimer@redhat.com>
20366
20367 [BZ #22607]
20368 CVE-2017-1000409
20369 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20370 the expanded path string.
20371
8a0b17e4
FW
203722017-12-14 Florian Weimer <fweimer@redhat.com>
20373
20374 [BZ #22606]
20375 CVE-2017-1000408
20376 * elf/dl-load.c (system_dirs): Update comment.
20377 (nsystem_dirs_len): Use array_length.
20378 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20379
f58bd7f0
FW
203802017-12-14 Florian Weimer <fweimer@redhat.com>
20381
20382 Simplify compiling most of support/ outside of glibc.
20383 * support/check_addrinfo.c: Include <string.h>.
20384 * support/check_dns_packet.c: Likewise.
20385 * support/check_hostent.c: Likewise.
20386 * support/support_can_chroot.c: Include <support/xunistd.h>.
20387 * support/support_format_addrinfo.c: Include <stdlib.h>
20388 * support/support_format_dns_packet.c: Include <stdbool.h>.
20389 * support/support_format_hostent.c: Include <stdlib.h>.
20390 * support/support_format_netent.c: Likewise.
20391 * support/support_write_string.c: Include <support/xunistd.h>.
20392 * support/xdlfcn.c: Include <stddef.h>.
20393
4ca945e9
L
203942017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20395
20396 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20397
1b6e07f8
PM
203982017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20399 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20400
e6a1c5dc
PM
20401 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20402 (sysdeps_routines): Add memset-niagara7.
20403 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20404 Likewise.
20405 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20406 file.
20407 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20408 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20409 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20410 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20411 Add niagara7 option.
20412 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20413 memset.
20414
1b6e07f8
PM
20415 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20416 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20417 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20418 Likewise.
20419 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20420 New file.
20421 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20422 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20423 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20424 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20425 and __memmove_niagara7.
20426 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20427 Add niagara7 option.
20428 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20429 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20430 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20431 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20432 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20433
bfb7bf22
JM
204342017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20435
767a26d6
JM
20436 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20437 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20438 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20439 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20440
bfb7bf22
JM
20441 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20442 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20443 _dl_sparc_cap_flags array.
20444 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20445
2bce01eb
SP
204462017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20447
20448 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20449 time whenever possible.
20450
363e4519 204512017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
20452
20453 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20454 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20455
6f7c0092
JM
204562017-12-12 Joseph Myers <joseph@codesourcery.com>
20457
20458 * soft-fp/fmadf4.c: Move to ....
20459 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20460 * soft-fp/fmasf4.c: Move to ....
20461 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20462 * soft-fp/fmatf4.c: Move to ....
20463 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20464 * sysdeps/ieee754/soft-fp/Makefile: New file.
20465 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20466 * sysdeps/arm/preconfigure: Regenerated.
20467 * sysdeps/arm/nofpu/Implies: New file.
20468 * sysdeps/arm/s_fma.c: Remove file.
20469 * sysdeps/arm/s_fmaf.c: Likewise.
20470 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20471 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20472 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20473 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20474 * sysdeps/microblaze/s_fma.c: Remove file.
20475 * sysdeps/microblaze/s_fmaf.c: Likewise.
20476 * sysdeps/mips/mips32/nofpu/Implies: New file.
20477 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20478 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20479 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20480 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20481 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20482 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20483 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20484 implementation.
20485 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20486 * sysdeps/nios2/s_fma.c: Remove file.
20487 * sysdeps/nios2/s_fmaf.c: Likewise.
20488 * sysdeps/sh/nofpu/Implies: New file.
20489 * sysdeps/sh/s_fma.c: Remove file.
20490 * sysdeps/sh/s_fmaf.c: Likewise.
20491 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20492 * sysdeps/tile/s_fma.c: Remove file.
20493 * sysdeps/tile/s_fmaf.c: Likewise.
20494
ac817e08
L
204952017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20496
20497 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20498 Add s_cosf-sse2 and s_cosf-fma.
20499 (CFLAGS-s_cosf-fma.c): New.
20500 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20501 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20502 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20503
eb428576
SE
205042017-12-12 Steve Ellcey <sellcey@cavium.com>
20505
20506 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20507
c80acdc3
AZ
205082017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20509
cc683f7e
AZ
20510 * libio/Makefile (tests): Add tst-bz22415.
20511 (tst-bz22415-ENV): New rule.
20512 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20513 (tests-special): Add tst-bz22415-mem.out.
20514 ($(objpfx)tst-bz22415-mem.out): New rule.
20515 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20516 in case of a successful seek operation.
20517 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20518 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20519 buffer is required.
20520 * libio/tst-bz22415.c: New test.
20521
c80acdc3
AZ
20522 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20523
363e4519 205242017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
20525
20526 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20527 __IPC_64 to 0 to avoid IPC_64 being set.
20528
4e0dca54
SN
205292017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20530
20531 [BZ #22593]
20532 * math/bits/mathcalls.h (nextafter): Remove const.
20533 (nexttoward): Likewise.
20534
8df5d347
JM
205352017-12-12 Joseph Myers <joseph@codesourcery.com>
20536
20537 * configure.ac (--with-fp): Remove configure option.
20538 (with_fp_cond): New variable.
20539 (libc_cv_with_fp): New configure test. Use this variable instead
20540 of with_fp.
20541 * configure: Regenerated.
20542 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20543 * manual/install.texi (Configuring and compiling): Remove
20544 --without-fp.
20545 * INSTALL: Regenerated.
20546 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20547 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20548 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20549 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20550 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20551 use --without-fp to configure glibc.
20552
0cee1257
RJ
205532017-12-12 Rical Jasan <ricaljasan@pacific.net>
20554
20555 * manual/locale.texi (nl_langinfo): Fix a typo.
20556
363e4519 205572017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
20558
20559 [BZ #22588]
20560 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20561
36975e8e
L
205622017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20563
20564 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20565 (CFLAGS-argp-parse.c): Likewise.
20566 (CFLAGS-argp-fmtstream.c): Likewise.
20567 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20568 (CPPFLAGS-sha512-crypt.c): Likewise.
20569 (CPPFLAGS-md5-crypt.c): Likewise.
20570 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20571 (CFLAGS-stack_chk_fail_local.c): Likewise.
20572 (CFLAGS-backtrace.c): Likewise.
20573 (CFLAGS-sprintf_chk.c): Likewise.
20574 (CFLAGS-snprintf_chk.c): Likewise.
20575 (CFLAGS-vsprintf_chk.c): Likewise.
20576 (CFLAGS-vsnprintf_chk.c): Likewise.
20577 (CFLAGS-asprintf_chk.c): Likewise.
20578 (CFLAGS-vasprintf_chk.c): Likewise.
20579 (CFLAGS-obprintf_chk.c): Likewise.
20580 (CFLAGS-dprintf_chk.c): Likewise.
20581 (CFLAGS-vdprintf_chk.c): Likewise.
20582 (CFLAGS-printf_chk.c): Likewise.
20583 (CFLAGS-fprintf_chk.c): Likewise.
20584 (CFLAGS-vprintf_chk.c): Likewise.
20585 (CFLAGS-vfprintf_chk.c): Likewise.
20586 (CFLAGS-gets_chk.c): Likewise.
20587 (CFLAGS-fgets_chk.c): Likewise.
20588 (CFLAGS-fgets_u_chk.c): Likewise.
20589 (CFLAGS-fread_chk.c): Likewise.
20590 (CFLAGS-fread_u_chk.c): Likewise.
20591 (CFLAGS-swprintf_chk.c): Likewise.
20592 (CFLAGS-vswprintf_chk.c): Likewise.
20593 (CFLAGS-wprintf_chk.c): Likewise.
20594 (CFLAGS-fwprintf_chk.c): Likewise.
20595 (CFLAGS-vwprintf_chk.c): Likewise.
20596 (CFLAGS-vfwprintf_chk.c): Likewise.
20597 (CFLAGS-fgetws_chk.c): Likewise.
20598 (CFLAGS-fgetws_u_chk.c): Likewise.
20599 (CFLAGS-read_chk.c): Likewise.
20600 (CFLAGS-pread_chk.c): Likewise.
20601 (CFLAGS-pread64_chk.c): Likewise.
20602 (CFLAGS-recv_chk.c): Likewise.
20603 (CFLAGS-recvfrom_chk.c): Likewise.
20604 (CFLAGS-tst-longjmp_chk.c): Likewise.
20605 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20606 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20607 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20608 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20609 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20610 (CFLAGS-tst-chk1.c): Likewise.
20611 (CFLAGS-tst-chk2.c): Likewise.
20612 (CFLAGS-tst-chk3.c): Likewise.
20613 (CFLAGS-tst-chk4.cc): Likewise.
20614 (CFLAGS-tst-chk5.cc): Likewise.
20615 (CFLAGS-tst-chk6.cc): Likewise.
20616 (CFLAGS-tst-lfschk1.c): Likewise.
20617 (CFLAGS-tst-lfschk2.c): Likewise.
20618 (CFLAGS-tst-lfschk3.c): Likewise.
20619 (CFLAGS-tst-lfschk4.cc): Likewise.
20620 (CFLAGS-tst-lfschk5.cc): Likewise.
20621 (CFLAGS-tst-lfschk6.cc): Likewise.
20622 (CFLAGS-tst-ssp-1.c): Likewise.
20623 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20624 (CFLAGS-scandir64.c): Likewise.
20625 (CFLAGS-scandir-tail.c): Likewise.
20626 (CFLAGS-scandir64-tail.c): Likewise.
20627 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20628 (CFLAGS-dl-tunables.c): Likewise.
20629 (CFLAGS-dl-runtime.c): Likewise.
20630 (CFLAGS-dl-lookup.c): Likewise.
20631 (CFLAGS-dl-iterate-phdr.c): Likewise.
20632 (CFLAGS-vismain.c): Likewise.
20633 (CFLAGS-tst-linkall-static.c): Likewise.
20634 (CFLAGS-tst-linkall-static.c): Likewise.
20635 (CPPFLAGS-dl-load.c): Likewise.
20636 (CFLAGS-ldconfig.c): Likewise.
20637 (CFLAGS-dl-cache.c): Likewise.
20638 (CFLAGS-cache.c): Likewise.
20639 (CFLAGS-rtld.c): Likewise.
20640 (CFLAGS-multiload.c): Likewise.
20641 (CFLAGS-filtmod1.c): Likewise.
20642 (CFLAGS-tst-align.c): Likewise.
20643 (CFLAGS-tst-align2.c): Likewise.
20644 (CFLAGS-tst-alignmod.c): Likewise.
20645 (CFLAGS-tst-alignmod2.c): Likewise.
20646 (CPPFLAGS-tst-execstack.c): Likewise.
20647 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20648 (CFLAGS-tst-latepthreadmod.c): Likewise.
20649 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20650 (CFLAGS-getgrnam_r.c): Likewise.
20651 (CFLAGS-getgrent_r.c): Likewise.
20652 (CFLAGS-getgrent.c): Likewise.
20653 (CFLAGS-fgetgrent.c): Likewise.
20654 (CFLAGS-fgetgrent_r.c): Likewise.
20655 (CFLAGS-putgrent.c): Likewise.
20656 (CFLAGS-initgroups.c): Likewise.
20657 (CFLAGS-getgrgid.c): Likewise.
20658 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20659 (CFLAGS-getsgent.c): Likewise.
20660 (CFLAGS-fgetsgent.c): Likewise.
20661 (CFLAGS-fgetsgent_r.c): Likewise.
20662 (CFLAGS-putsgent.c): Likewise.
20663 (CFLAGS-getsgnam.c): Likewise.
20664 (CFLAGS-getsgnam_r.c): Likewise.
20665 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20666 (CFLAGS-iconv_charmap.c): Likewise.
20667 (CFLAGS-dummy-repertoire.c): Likewise.
20668 (CFLAGS-charmap.c): Likewise.
20669 (CFLAGS-linereader.c): Likewise.
20670 (CFLAGS-simple-hash.c): Likewise.
20671 (CFLAGS-gconv_conf.c): Likewise.
20672 (CFLAGS-iconvconfig.c): Likewise.
20673 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20674 (CFLAGS-gethstbyad.c): Likewise.
20675 (CFLAGS-gethstbynm_r.c): Likewise.
20676 (CFLAGS-gethstbynm.c): Likewise.
20677 (CFLAGS-gethstbynm2_r.c): Likewise.
20678 (CFLAGS-gethstbynm2.c): Likewise.
20679 (CFLAGS-gethstent_r.c): Likewise.
20680 (CFLAGS-gethstent.c): Likewise.
20681 (CFLAGS-rcmd.c): Likewise.
20682 (CFLAGS-getnetbynm_r.c): Likewise.
20683 (CFLAGS-getnetbynm.c): Likewise.
20684 (CFLAGS-getnetbyad_r.c): Likewise.
20685 (CFLAGS-getnetbyad.c): Likewise.
20686 (CFLAGS-getnetent_r.c): Likewise.
20687 (CFLAGS-getnetent.c): Likewise.
20688 (CFLAGS-getaliasent_r.c): Likewise.
20689 (CFLAGS-getaliasent.c): Likewise.
20690 (CFLAGS-getrpcent_r.c): Likewise.
20691 (CFLAGS-getrpcent.c): Likewise.
20692 (CFLAGS-getservent_r.c): Likewise.
20693 (CFLAGS-getservent.c): Likewise.
20694 (CFLAGS-getprtent_r.c): Likewise.
20695 (CFLAGS-getprtent.c): Likewise.
20696 (CFLAGS-either_ntoh.c): Likewise.
20697 (CFLAGS-either_hton.c): Likewise.
20698 (CFLAGS-getnetgrent.c): Likewise.
20699 (CFLAGS-getnetgrent_r.c): Likewise.
20700 (CFLAGS-tst-checks-posix.c): Likewise.
20701 (CFLAGS-tst-sockaddr.c): Likewise.
20702 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20703 (CFLAGS-tst-translit.c): Likewise.
20704 (CFLAGS-tst-gettext2.c): Likewise.
20705 (CFLAGS-tst-codeset.c): Likewise.
20706 (CFLAGS-tst-gettext3.c): Likewise.
20707 (CFLAGS-tst-gettext4.c): Likewise.
20708 (CFLAGS-tst-gettext5.c): Likewise.
20709 (CFLAGS-tst-gettext6.c): Likewise.
20710 * io/Makefile (CFLAGS-open.c): Likewise.
20711 (CFLAGS-open64.c): Likewise.
20712 (CFLAGS-creat.c): Likewise.
20713 (CFLAGS-creat64.c): Likewise.
20714 (CFLAGS-fcntl.c): Likewise.
20715 (CFLAGS-poll.c): Likewise.
20716 (CFLAGS-ppoll.c): Likewise.
20717 (CFLAGS-lockf.c): Likewise.
20718 (CFLAGS-statfs.c): Likewise.
20719 (CFLAGS-fstatfs.c): Likewise.
20720 (CFLAGS-statvfs.c): Likewise.
20721 (CFLAGS-fstatvfs.c): Likewise.
20722 (CFLAGS-fts.c): Likewise.
20723 (CFLAGS-fts64.c): Likewise.
20724 (CFLAGS-ftw.c): Likewise.
20725 (CFLAGS-ftw64.c): Likewise.
20726 (CFLAGS-lockf.c): Likewise.
20727 (CFLAGS-posix_fallocate.c): Likewise.
20728 (CFLAGS-posix_fallocate64.c): Likewise.
20729 (CFLAGS-fallocate.c): Likewise.
20730 (CFLAGS-fallocate64.c): Likewise.
20731 (CFLAGS-read.c): Likewise.
20732 (CFLAGS-write.c): Likewise.
20733 (CFLAGS-test-stat.c): Likewise.
20734 (CFLAGS-test-lfs.c): Likewise.
20735 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20736 (CFLAGS-fputc.c): Likewise.
20737 (CFLAGS-fputwc.c): Likewise.
20738 (CFLAGS-freopen64.c): Likewise.
20739 (CFLAGS-freopen.c): Likewise.
20740 (CFLAGS-fseek.c): Likewise.
20741 (CFLAGS-fseeko64.c): Likewise.
20742 (CFLAGS-fseeko.c): Likewise.
20743 (CFLAGS-ftello64.c): Likewise.
20744 (CFLAGS-ftello.c): Likewise.
20745 (CFLAGS-fwide.c): Likewise.
20746 (CFLAGS-genops.c): Likewise.
20747 (CFLAGS-getc.c): Likewise.
20748 (CFLAGS-getchar.c): Likewise.
20749 (CFLAGS-getwc.c): Likewise.
20750 (CFLAGS-getwchar.c): Likewise.
20751 (CFLAGS-iofclose.c): Likewise.
20752 (CFLAGS-iofflush.c): Likewise.
20753 (CFLAGS-iofgetpos64.c): Likewise.
20754 (CFLAGS-iofgetpos.c): Likewise.
20755 (CFLAGS-iofgets.c): Likewise.
20756 (CFLAGS-iofgetws.c): Likewise.
20757 (CFLAGS-iofputs.c): Likewise.
20758 (CFLAGS-iofputws.c): Likewise.
20759 (CFLAGS-iofread.c): Likewise.
20760 (CFLAGS-iofsetpos64.c): Likewise.
20761 (CFLAGS-iofsetpos.c): Likewise.
20762 (CFLAGS-ioftell.c): Likewise.
20763 (CFLAGS-iofwrite.c): Likewise.
20764 (CFLAGS-iogetdelim.c): Likewise.
20765 (CFLAGS-iogetline.c): Likewise.
20766 (CFLAGS-iogets.c): Likewise.
20767 (CFLAGS-iogetwline.c): Likewise.
20768 (CFLAGS-ioputs.c): Likewise.
20769 (CFLAGS-ioseekoff.c): Likewise.
20770 (CFLAGS-ioseekpos.c): Likewise.
20771 (CFLAGS-iosetbuffer.c): Likewise.
20772 (CFLAGS-iosetvbuf.c): Likewise.
20773 (CFLAGS-ioungetc.c): Likewise.
20774 (CFLAGS-ioungetwc.c): Likewise.
20775 (CFLAGS-oldfileops.c): Likewise.
20776 (CFLAGS-oldiofclose.c): Likewise.
20777 (CFLAGS-oldiofgetpos64.c): Likewise.
20778 (CFLAGS-oldiofgetpos.c): Likewise.
20779 (CFLAGS-oldiofsetpos64.c): Likewise.
20780 (CFLAGS-oldiofsetpos.c): Likewise.
20781 (CFLAGS-peekc.c): Likewise.
20782 (CFLAGS-putc.c): Likewise.
20783 (CFLAGS-putchar.c): Likewise.
20784 (CFLAGS-putwc.c): Likewise.
20785 (CFLAGS-putwchar.c): Likewise.
20786 (CFLAGS-rewind.c): Likewise.
20787 (CFLAGS-wfileops.c): Likewise.
20788 (CFLAGS-wgenops.c): Likewise.
20789 (CFLAGS-oldiofopen.c): Likewise.
20790 (CFLAGS-iofopen.c): Likewise.
20791 (CFLAGS-iofopen64.c): Likewise.
20792 (CFLAGS-oldtmpfile.c): Likewise.
20793 (CFLAGS-tst_putwc.c): Likewise.
20794 * locale/Makefile (CFLAGS-md5.c): Likewise.
20795 (CFLAGS-charmap.c): Likewise.
20796 (CFLAGS-locfile.c): Likewise.
20797 (CFLAGS-charmap-dir.c): Likewise.
20798 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20799 (CFLAGS-getpt.c): Likewise.
20800 (CFLAGS-pt_chown.c): Likewise.
20801 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20802 (CFLAGS-obstack.c): Likewise.
20803 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20804 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20805 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20806 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20807 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20808 (CFLAGS-test-tgmath.c): Likewise.
20809 (CFLAGS-test-tgmath2.c): Likewise.
20810 (CFLAGS-test-tgmath-ret.c): Likewise.
20811 (CFLAGS-test-powl.c): Likewise.
20812 (CFLAGS-test-snan.c): Likewise.
20813 (CFLAGS-test-signgam-finite.c): Likewise.
20814 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20815 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20816 (CFLAGS-test-signgam-uchar.c): Likewise.
20817 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20818 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20819 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20820 (CFLAGS-test-signgam-uint.c): Likewise.
20821 (CFLAGS-test-signgam-uint-init.c): Likewise.
20822 (CFLAGS-test-signgam-uint-static.c): Likewise.
20823 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20824 (CFLAGS-test-signgam-ullong.c): Likewise.
20825 (CFLAGS-test-signgam-ullong-init.c): Likewise.
20826 (CFLAGS-test-signgam-ullong-static.c): Likewise.
20827 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20828 (CFLAGS-test-math-cxx11.cc): Likewise.
20829 (CFLAGS-test-math-isinff.cc): Likewise.
20830 (CFLAGS-test-math-iszero.cc): Likewise.
20831 (CFLAGS-test-math-issignaling.cc): Likewise.
20832 (CFLAGS-test-math-iscanonical.cc): Likewise.
20833 (CFLAGS-test-iszero-excess-precision.c): Likewise.
20834 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
20835 (CFLAGS-test-flt-eval-method.c): Likewise.
20836 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
20837 (CFLAGS-test-finite-macros.c): Likewise.
20838 * misc/Makefile (CFLAGS-select.c): Likewise.
20839 (CFLAGS-tsearch.c): Likewise.
20840 (CFLAGS-lsearch.c): Likewise.
20841 (CFLAGS-pselect.c): Likewise.
20842 (CFLAGS-readv.c): Likewise.
20843 (CFLAGS-writev.c): Likewise.
20844 (CFLAGS-preadv.c): Likewise.
20845 (CFLAGS-preadv64.c): Likewise.
20846 (CFLAGS-pwritev.c): Likewise.
20847 (CFLAGS-pwritev64.c): Likewise.
20848 (CFLAGS-preadv2.c): Likewise.
20849 (CFLAGS-preadv64v2.c): Likewise.
20850 (CFLAGS-pwritev2.c): Likewise.
20851 (CFLAGS-pwritev64v2.c): Likewise.
20852 (CFLAGS-usleep.c): Likewise.
20853 (CFLAGS-syslog.c): Likewise.
20854 (CFLAGS-error.c): Likewise.
20855 (CFLAGS-getpass.c): Likewise.
20856 (CFLAGS-mkstemp.c): Likewise.
20857 (CFLAGS-mkstemp64.c): Likewise.
20858 (CFLAGS-getsysstats.c): Likewise.
20859 (CFLAGS-getusershell.c): Likewise.
20860 (CFLAGS-err.c): Likewise.
20861 (CFLAGS-tst-tsearch.c): Likewise.
20862 (CFLAGS-msync.c): Likewise.
20863 (CFLAGS-fdatasync.c): Likewise.
20864 (CFLAGS-fsync.c): Likewise.
20865 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
20866 (CFLAGS-unwind.c): Likewise.
20867 (CFLAGS-unwind-forcedunwind.c): Likewise.
20868 (CFLAGS-pthread_cancel.c): Likewise.
20869 (CFLAGS-pthread_setcancelstate.c): Likewise.
20870 (CFLAGS-pthread_setcanceltype.c): Likewise.
20871 (CFLAGS-cancellation.c): Likewise.
20872 (CFLAGS-libc-cancellation.c): Likewise.
20873 (CFLAGS-pthread_exit.c): Likewise.
20874 (CFLAGS-forward.c): Likewise.
20875 (CFLAGS-pthread_testcancel.c): Likewise.
20876 (CFLAGS-pthread_join.c): Likewise.
20877 (CFLAGS-pthread_timedjoin.c): Likewise.
20878 (CFLAGS-pthread_once.c): Likewise.
20879 (CFLAGS-pthread_cond_wait.c): Likewise.
20880 (CFLAGS-sem_wait.c): Likewise.
20881 (CFLAGS-sem_timedwait.c): Likewise.
20882 (CFLAGS-fcntl.c): Likewise.
20883 (CFLAGS-lockf.c): Likewise.
20884 (CFLAGS-pread.c): Likewise.
20885 (CFLAGS-pread64.c): Likewise.
20886 (CFLAGS-pwrite.c): Likewise.
20887 (CFLAGS-pwrite64.c): Likewise.
20888 (CFLAGS-wait.c): Likewise.
20889 (CFLAGS-waitpid.c): Likewise.
20890 (CFLAGS-sigwait.c): Likewise.
20891 (CFLAGS-msgrcv.c): Likewise.
20892 (CFLAGS-msgsnd.c): Likewise.
20893 (CFLAGS-tcdrain.c): Likewise.
20894 (CFLAGS-open.c): Likewise.
20895 (CFLAGS-open64.c): Likewise.
20896 (CFLAGS-pause.c): Likewise.
20897 (CFLAGS-recv.c): Likewise.
20898 (CFLAGS-send.c): Likewise.
20899 (CFLAGS-accept.c): Likewise.
20900 (CFLAGS-sendto.c): Likewise.
20901 (CFLAGS-connect.c): Likewise.
20902 (CFLAGS-recvfrom.c): Likewise.
20903 (CFLAGS-recvmsg.c): Likewise.
20904 (CFLAGS-sendmsg.c): Likewise.
20905 (CFLAGS-close.c): Likewise.
20906 (CFLAGS-read.c): Likewise.
20907 (CFLAGS-write.c): Likewise.
20908 (CFLAGS-nanosleep.c): Likewise.
20909 (CFLAGS-sigsuspend.c): Likewise.
20910 (CFLAGS-msync.c): Likewise.
20911 (CFLAGS-fdatasync.c): Likewise.
20912 (CFLAGS-fsync.c): Likewise.
20913 (CFLAGS-pt-system.c): Likewise.
20914 (CFLAGS-tst-cleanup2.c): Likewise.
20915 (CFLAGS-tst-cleanupx2.c): Likewise.
20916 (CFLAGS-flockfile.c): Likewise.
20917 (CFLAGS-ftrylockfile.c): Likewise.
20918 (CFLAGS-funlockfile.c): Likewise.
20919 (CFLAGS-tst-initializers1.c): Likewise.
20920 (CFLAGS-tst-initializers1-c89.c): Likewise.
20921 (CFLAGS-tst-initializers1-c99.c): Likewise.
20922 (CFLAGS-tst-initializers1-c11.c): Likewise.
20923 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
20924 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
20925 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20926 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
20927 (CFLAGS-nscd_getgr_r.c): Likewise.
20928 (CFLAGS-nscd_gethst_r.c): Likewise.
20929 (CFLAGS-nscd_getai.c): Likewise.
20930 (CFLAGS-nscd_initgroups.c): Likewise.
20931 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
20932 (CFLAGS-pause.c): Likewise.
20933 (CFLAGS-pread.c): Likewise.
20934 (CFLAGS-pread64.c): Likewise.
20935 (CFLAGS-pwrite.c): Likewise.
20936 (CFLAGS-pwrite64.c): Likewise.
20937 (CFLAGS-sleep.c): Likewise.
20938 (CFLAGS-wait.c): Likewise.
20939 (CFLAGS-waitid.c): Likewise.
20940 (CFLAGS-waitpid.c): Likewise.
20941 (CFLAGS-getopt.c): Likewise.
20942 (CFLAGS-wordexp.c): Likewise.
20943 (CFLAGS-sysconf.c): Likewise.
20944 (CFLAGS-pathconf.c): Likewise.
20945 (CFLAGS-fpathconf.c): Likewise.
20946 (CFLAGS-spawn.c): Likewise.
20947 (CFLAGS-spawnp.c): Likewise.
20948 (CFLAGS-spawni.c): Likewise.
20949 (CFLAGS-glob.c): Likewise.
20950 (CFLAGS-glob64.c): Likewise.
20951 (CFLAGS-getconf.c): Likewise.
20952 (CFLAGS-nanosleep.c): Likewise.
20953 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20954 (CFLAGS-getpwent.c): Likewise.
20955 (CFLAGS-getpw.c): Likewise.
20956 (CFLAGS-fgetpwent_r.c): Likewise.
20957 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20958 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20959 (CFLAGS-mq_timedreceive.c): Likewise.
20960 (CFLAGS-mq_timedsend.c): Likewise.
20961 (CFLAGS-clock_nanosleep.c): Likewise.
20962 (CFLAGS-librt-cancellation.c): Likewise.
20963 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20964 (CFLAGS-getspent.c): Likewise.
20965 (CFLAGS-fgetspent.c): Likewise.
20966 (CFLAGS-fgetspent_r.c): Likewise.
20967 (CFLAGS-putspent.c): Likewise.
20968 (CFLAGS-getspnam.c): Likewise.
20969 (CFLAGS-getspnam_r.c): Likewise.
20970 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20971 (CFLAGS-sigsuspend.c): Likewise.
20972 (CFLAGS-sigtimedwait.c): Likewise.
20973 (CFLAGS-sigwait.c): Likewise.
20974 (CFLAGS-sigwaitinfo.c): Likewise.
20975 (CFLAGS-sigreturn.c): Likewise.
20976 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20977 (CFLAGS-vfwprintf.c): Likewise.
20978 (CFLAGS-tmpfile.c): Likewise.
20979 (CFLAGS-tmpfile64.c): Likewise.
20980 (CFLAGS-tempname.c): Likewise.
20981 (CFLAGS-psignal.c): Likewise.
20982 (CFLAGS-vprintf.c): Likewise.
20983 (CFLAGS-cuserid.c): Likewise.
20984 (CFLAGS-errlist.c): Likewise.
20985 (CFLAGS-siglist.c): Likewise.
20986 (CFLAGS-scanf15.c): Likewise.
20987 (CFLAGS-scanf17.c): Likewise.
20988 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20989 (CFLAGS-msort.c): Likewise.
20990 (CFLAGS-qsort.c): Likewise.
20991 (CFLAGS-system.c): Likewise.
20992 (CFLAGS-fmtmsg.c): Likewise.
20993 (CFLAGS-strfmon.c): Likewise.
20994 (CFLAGS-strfmon_l.c): Likewise.
20995 (CFLAGS-strfromd.c): Likewise.
20996 (CFLAGS-strfromf.c): Likewise.
20997 (CFLAGS-strfroml.c): Likewise.
20998 (CFLAGS-tst-bsearch.c): Likewise.
20999 (CFLAGS-tst-qsort.c): Likewise.
21000 (CFLAGS-tst-makecontext2.c): Likewise.
21001 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21002 (CFLAGS-xnlm_prot.c): Likewise.
21003 (CFLAGS-xrstat.c): Likewise.
21004 (CFLAGS-xyppasswd.c): Likewise.
21005 (CFLAGS-xklm_prot.c): Likewise.
21006 (CFLAGS-xrex.c): Likewise.
21007 (CFLAGS-xsm_inter.c): Likewise.
21008 (CFLAGS-xmount.c): Likewise.
21009 (CFLAGS-xrusers.c): Likewise.
21010 (CFLAGS-xspray.c): Likewise.
21011 (CFLAGS-xnfs_prot.c): Likewise.
21012 (CFLAGS-xrquota.c): Likewise.
21013 (CFLAGS-xkey_prot.c): Likewise.
21014 (CFLAGS-auth_unix.c): Likewise.
21015 (CFLAGS-key_call.c): Likewise.
21016 (CFLAGS-pmap_rmt.c): Likewise.
21017 (CFLAGS-clnt_perr.c): Likewise.
21018 (CFLAGS-openchild.c): Likewise.
21019 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21020 (CFLAGS-msgsnd.c): Likewise.
21021 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21022 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21023 (CFLAGS-tzset.c): Likewise.
21024 (CFLAGS-getdate.c): Likewise.
21025 (CFLAGS-test_time.c): Likewise.
21026 (CPPFLAGS-tst-tzname.c): Likewise.
21027 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21028 (CFLAGS-zic.c): Likewise.
21029 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21030 (CFLAGS-wcswidth.c): Likewise.
21031 (CFLAGS-wcstol.c): Likewise.
21032 (CFLAGS-wcstoul.c): Likewise.
21033 (CFLAGS-wcstoll.c): Likewise.
21034 (CFLAGS-wcstoull.c): Likewise.
21035 (CFLAGS-wcstod.c): Likewise.
21036 (CFLAGS-wcstold.c): Likewise.
21037 (CFLAGS-wcstof128.c): Likewise.
21038 (CFLAGS-wcstof.c): Likewise.
21039 (CFLAGS-wcstol_l.c): Likewise.
21040 (CFLAGS-wcstoul_l.c): Likewise.
21041 (CFLAGS-wcstoll_l.c): Likewise.
21042 (CFLAGS-wcstoull_l.c): Likewise.
21043 (CFLAGS-wcstod_l.c): Likewise.
21044 (CFLAGS-wcstold_l.c): Likewise.
21045 (CFLAGS-wcstof128_l.c): Likewise.
21046 (CFLAGS-wcstof_l.c): Likewise.
21047 (CPPFLAGS-tst-wchar-h.c): Likewise.
21048 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 21049
f4b2aea6
PC
210502017-12-11 Paul A. Clarke <pc@us.ibm.com>
21051
21052 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21053
c9cd7b0c
AZ
210542017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21055 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21056
21057 * manual/tunables.texi (Hardware Capability Tunables): Document
21058 glibc.tune.cached_memopt.
21059 * sysdeps/powerpc/cpu-features.c: New file.
21060 * sysdeps/powerpc/cpu-features.h: New file.
21061 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21062 _dl_powerpc_cpu_features.
21063 * sysdeps/powerpc/dl-tunables.list: New file.
21064 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21065 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21066 (INIT_ARCH): Initialize use_aligned_memopt.
21067 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21068 IS_IN(rtld))]: Restrict dl_platform_init availability and
21069 initialize CPU features used by tunables.
21070 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21071 Add memcpy-power8-cached.
21072 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21073 __memcpy_power8_cached.
21074 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21075 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21076 New file.
21077
e70c6fee
L
210782017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21079
21080 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21081 (CFLAGS-noinl-tester.c): Likewise.
21082 (CFLAGS-tst-strlen.c): Likewise.
21083 (CFLAGS-stratcliff.c): Likewise.
21084 (CFLAGS-test-ffs.c): Likewise.
21085 (CFLAGS-tst-inlcall.c): Likewise.
21086 (CFLAGS-tst-xbzero-opt.c): Likewise.
21087 (CFLAGS-memcpy.c): Likewise.
21088 (CFLAGS-wordcopy.c): Likewise.
21089
dee94366
SL
210902017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21091
21092 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21093 Store r15 on stack and add cfi rule.
21094 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21095 Likewise.
21096
363e4519 210972017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
21098
21099 [BZ #22577]
21100 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21101 call.
21102
9d0ffa60
L
211032017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21104
21105 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21106 Add s_sinf-sse2 and s_sinf-fma.
21107 (CFLAGS-s_sinf-fma.c): New.
21108 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21109 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21110 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21111
9574c7b6
L
211122017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21113
21114 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21115
d15e83c5
JM
211162017-12-07 Joseph Myers <joseph@codesourcery.com>
21117
21118 [BZ #22568]
21119 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21120 part of result to imaginary part of argument if it is zero and the
21121 real part of the argument is not finite.
21122 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21123 of result to real part of argument if it is zero and the imaginary
21124 part of the argument is not finite.
21125
d89756eb
MF
211262017-12-07 Mike FABIAN <mfabian@redhat.com>
21127
21128 [BZ #22524]
21129 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21130 and to the list of locales to be built for testing.
21131 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21132 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21133 and build the collation rules upon that.
21134
1f9055ce
JM
211352017-12-07 Joseph Myers <joseph@codesourcery.com>
21136
21137 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21138 * manual/math.texi (Mathematics): Document support for _Float32.
21139 * math/Makefile (test-types): Add float32.
21140 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21141 * stdlib/Versions (GLIBC_2.27): Likewise.
21142 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21143 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21144 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21145 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21146 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21147 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21148 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21149 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21150 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21151 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21152 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21153 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21154 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21155 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21156 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21157 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21158 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21159 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21160 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21161 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21162 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21163 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21164 Likewise.
21165 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21166 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21167 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21168 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21169 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21171 Likewise.
21172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21173 Likewise.
21174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21175 Likewise.
21176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21177 Likewise.
21178
21179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21180 Likewise.
21181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21182 Likewise.
21183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21184 Likewise.
21185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21186 Likewise.
21187 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21188 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21189 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21190 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21191 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21192 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21193 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21194 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21195 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21196 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21198 Likewise.
21199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21200 Likewise.
21201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21202 Likewise.
21203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21204 Likewise.
21205 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21206 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21207 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21208 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21209 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21210 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21211 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21212 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21213
5244527d
JM
212142017-12-06 Joseph Myers <joseph@codesourcery.com>
21215
fb1ca2aa
JM
21216 * stdlib/strtof.c: Include <bits/floatn.h>
21217 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21218 and later undefine as macro. Define as weak alias if
21219 [!USE_WIDE_CHAR].
21220 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21221 and later undefine as macro. Define as weak alias if
21222 [USE_WIDE_CHAR].
21223 * stdlib/strtof_l.c: Include <bits/floatn.h>
21224 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21225 and later undefine as macro. Define as weak alias if
21226 [!USE_WIDE_CHAR].
21227 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21228 and later undefine as macro. Define as weak alias if
21229 [USE_WIDE_CHAR].
21230
fc10cc3f
JM
21231 * stdlib/strfromf.c: Include <bits/floatn.h>.
21232 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21233 and later undefine as macro and define as weak alias.
21234
e420d228
JM
21235 * math/test-float32.h: New file.
21236
26007a2f
JM
21237 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21238 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21239 (libm_alias_float_other_r): Create f32 alias.
21240 (libm_alias_float_r): Use semicolon before call to
21241 libm_alias_float_other_r.
21242
c191f64c
JM
21243 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21244 second argument to libm_alias_float_other.
21245 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21246 second argument to libm_alias_float_other.
21247 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21248 argument to libm_alias_float_other.
21249
5244527d
JM
21250 [BZ #22561]
21251 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21252 real part of result for argument 0 + i * NaN.
21253 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21254 results for tests of 0 + i * NaN.
21255
d73fac82
AZ
212562017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21257
21258 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21259
7ec094e8
DM
212602017-12-06 David S. Miller <davem@davemloft.net>
21261
21262 * sysdeps/sparc/fpu/libm-test-ulps: Update
21263 exp_{downward,towardzero,upward} ulps.
21264
53994f12
JM
212652017-12-06 Joseph Myers <joseph@codesourcery.com>
21266
1dbe6f64
JM
21267 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21268 variables static.
21269
53994f12
JM
21270 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21271 (Y0_2D): Likewise.
21272 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21273 (Y0_2D): Likewise.
21274 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21275 (Y0_2D): Likewise.
21276 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21277 (Y0_2D): Likewise.
21278
62ea2193
MF
212792017-12-06 Mike FABIAN <mfabian@redhat.com>
21280
21281 [BZ #22515]
21282 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21283 and to the list of locales to be built for testing.
21284 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21285 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21286 and build the collation rules upon that.
21287
87235d70
RS
212882017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21289
21290 * NEWS: Add sinf to list of optimized functions.
21291
0d93b7fd
JM
212922017-12-06 Joseph Myers <joseph@codesourcery.com>
21293
21294 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21295 (__HAVE_FLOAT32X): Likewise.
21296 * manual/math.texi (Mathematics): Document support for _Float64
21297 and _Float32x.
21298 * math/Makefile (test-types): Add float64 and float32x.
21299 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21300 functions.
21301 * stdlib/Versions (GLIBC_2.27): Likewise.
21302 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21303 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21304 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21305 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21306 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21307 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21308 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21309 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21310 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21311 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21312 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21313 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21314 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21315 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21316 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21317 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21318 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21319 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21320 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21321 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21322 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21323 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21324 Likewise.
21325 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21326 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21327 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21328 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21329 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21331 Likewise.
21332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21333 Likewise.
21334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21335 Likewise.
21336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21337 Likewise.
21338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21339 Likewise.
21340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21341 Likewise.
21342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21343 Likewise.
21344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21345 Likewise.
21346 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21347 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21348 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21349 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21350 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21351 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21352 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21353 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21354 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21355 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21357 Likewise.
21358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21359 Likewise.
21360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21361 Likewise.
21362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21363 Likewise.
21364 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21365 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21366 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21367 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21368 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21369 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21370 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21371 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21372
f7787234
JM
213732017-12-05 Joseph Myers <joseph@codesourcery.com>
21374
21375 * bits/floatn-common.h: Include <bits/long-double.h>.
21376 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21377 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21378 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21379 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21380 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21381 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21382 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21383 (__builtin_huge_valf64): Use __builtin_huge_vall.
21384 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21385 (__builtin_inff64): Use __builtin_infl.
21386 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21387 (__builtin_nanf64): Use __builtin_nanl.
21388 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21389 (__builtin_nansf64): Use __builtin_nansl.
21390
363e4519
DL
213912017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21392 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 21393 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
21394
21395 * elf/dl-tunables.list: Add elision parameters.
21396 * manual/tunables.texi: Add entries about elision tunable.
21397 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21398 Add callback functions to dynamically enable/disable elision.
21399 Add multiple callbacks functions to set elision parameters.
21400 Deleted __libc_enable_secure check.
21401 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21402 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21403 * configure: Regenerated.
21404 * configure.ac: Option enable_lock_elision was deleted.
21405 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21406 * config.make.in: Remove references to enable_lock_elision.
21407 * manual/install.texi: Elision configure option was removed.
21408 * INSTALL: Regenerated to remove enable_lock_elision.
21409 * nptl/Makefile:
21410 Disable elision so it can verify error case for destroying a mutex.
21411 * sysdeps/powerpc/nptl/elide.h:
21412 Cleanup ENABLE_LOCK_ELISION check.
21413 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21414 * sysdeps/s390/configure: Regenerated.
21415 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21416 * nptl/tst-mutex8.c:
21417 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21418 * sysdeps/powerpc/powerpc32/sysdep.h:
21419 Deleted all ENABLE_LOCK_ELISION checks.
21420 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21421 * sysdeps/powerpc/sysdep.h: Likewise.
21422 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21423 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21424 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21425 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21426 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21427 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21428 enable-lock-elision.
21429
a5a2a76b
JM
214302017-12-05 Joseph Myers <joseph@codesourcery.com>
21431
21432 * stdlib/strtod.c: Include <bits/floatn.h>.
21433 (BUILD_DOUBLE): New macro.
21434 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21435 (strtof64): Define and later undefine as macro. Define as weak
21436 alias if [!USE_WIDE_CHAR].
21437 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21438 (wcstof64): Define and later undefine as macro. Define as weak
21439 alias if [USE_WIDE_CHAR].
21440 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21441 (strtof32x): Define and later undefine as macro. Define as weak
21442 alias if [!USE_WIDE_CHAR].
21443 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21444 (wcstof32x): Define and later undefine as macro. Define as weak
21445 alias if [USE_WIDE_CHAR].
21446 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21447 (BUILD_DOUBLE): New macro.
21448 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21449 (strtof64_l): Define and later undefine as macro. Define as weak
21450 alias if [!USE_WIDE_CHAR].
21451 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21452 (wcstof64_l): Define and later undefine as macro. Define as weak
21453 alias if [USE_WIDE_CHAR].
21454 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21455 (strtof32x_l): Define and later undefine as macro. Define as weak
21456 alias if [!USE_WIDE_CHAR].
21457 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21458 (wcstof32x_l): Define and later undefine as macro. Define as weak
21459 alias if [USE_WIDE_CHAR].
21460
94d80dfc
AZ
214612017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21462
21463 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21464 (reduced): Use ones as double instead of integer.
21465
00d54af7
SN
214662017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21467
21468 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21469
f2d64d62
JM
214702017-12-05 Joseph Myers <joseph@codesourcery.com>
21471
1f70eae4
JM
21472 * stdlib/strfromd.c: Include <bits/floatn.h>.
21473 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21474 and later undefine as macro and define as weak alias.
21475 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21476 Likewise.
21477
e2c4dce5
JM
21478 * math/test-float32x.h: New file.
21479 * math/test-float64.h: Likewise.
21480
f2d64d62
JM
21481 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21482 (libm_alias_double_other_r_f64): New macro.
21483 (libm_alias_double_other_r_f32x): Likewise.
21484 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21485 libm_alias_double_other_r_f32x.
21486 (libm_alias_double_r): Use semicolon before call to
21487 libm_alias_double_other_r.
21488 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21489 <bits/floatn.h>.
21490 (libm_alias_double_other_r_f64): New macro.
21491 (libm_alias_double_other_r_f32x): Likewise.
21492 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21493 libm_alias_double_other_r_f32x.
21494
91c318e7
L
214952017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21496
21497 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21498 int.
21499 (SINF_FUNC): Likewise. Replace floor with simple casts.
21500
de9661d6
MF
215012017-12-05 Mike FABIAN <mfabian@redhat.com>
21502
21503 [BZ #22517]
21504 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21505 and to the list of locales to be built for testing.
21506 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21507 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21508 and build the collation rules upon that.
21509
f18b8dc7
CM
215102017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21511
21512 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21513 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21514 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21515 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21516 instead of __insn__xxx.
21517 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21518 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21519 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21520 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21521 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21522 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21523
446d22e9
FW
215242017-12-05 Florian Weimer <fweimer@redhat.com>
21525
21526 Linux: Implement interfaces for memory protection keys
21527 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21528 xsignal, xsysconf.
21529 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21530 * support/xunistd.h (xsysconf): Declare.
21531 * support/xraise.c: New file.
21532 * support/xsigaction.c: Likewise.
21533 * support/xsignal.c: Likewise.
21534 * support/xsysconf.c: Likewise.
21535 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21536 pkey_set, pkey_get, pkey_mprotect.
21537 [misc] (tests): Add tst-pkey.
21538 (tst-pkey): Link with -lpthread.
21539 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21540 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21541 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21542 (PKEY_DISABLE_WRITE): Define.
21543 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21544 Declare.
21545 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21546 (SEGV_PKUERR): Add.
21547 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21548 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21549 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21550 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21551 Add.
21552 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21553 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21554 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21555 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21556 * sysdeps/unix/sysv/linux/**.abilist: Update.
21557
da616c14
FW
215582017-12-05 Florian Weimer <fweimer@redhat.com>
21559
21560 * support/tst-test_compare.c (subprocess): Use long long instead
21561 of long argument for consistent type width across 32-bit and
21562 64-bit architectures.
21563 (do_test): Adjust expected output.
21564
216933b2
JM
215652017-12-05 Joseph Myers <joseph@codesourcery.com>
21566
21567 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21568 (cosf): Define using libm_alias_float.
21569 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21570 (fabsf): Define using libm_alias_float.
21571 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21572 (fmaf): Define using libm_alias_float.
21573 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21574 (rintf): Define using libm_alias_float.
21575 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21576 (sinf): Define using libm_alias_float.
21577 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21578 <libm-alias-float.h>.
21579 (modff): Define using libm_alias_float.
21580 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21581 <libm-alias-float.h>.
21582 (logbf): Define using libm_alias_float.
21583 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21584 <libm-alias-float.h>.
21585 (ceilf): Define using libm_alias_float.
21586 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21587 <libm-alias-float.h>.
21588 (copysignf): Define using libm_alias_float.
21589 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21590 <libm-alias-float.h>.
21591 (floorf): Define using libm_alias_float.
21592 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21593 <libm-alias-float.h>.
21594 (llrintf): Define using libm_alias_float.
21595 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21596 <libm-alias-float.h>.
21597 (llroundf): Define using libm_alias_float.
21598 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21599 <libm-alias-float.h>.
21600 (lrintf): Define using libm_alias_float.
21601 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21602 <libm-alias-float.h>.
21603 (lroundf): Define using libm_alias_float.
21604 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21605 <libm-alias-float.h>.
21606 (nearbyintf): Define using libm_alias_float.
21607 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21608 <libm-alias-float.h>.
21609 (rintf): Define using libm_alias_float.
21610 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21611 <libm-alias-float.h>.
21612 (roundf): Define using libm_alias_float.
21613 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21614 <libm-alias-float.h>.
21615 (truncf): Define using libm_alias_float.
21616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21617 Include <libm-alias-float.h>.
21618 (ceilf): Define using libm_alias_float.
21619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21620 Include <libm-alias-float.h>.
21621 (copysignf): Define using libm_alias_float.
21622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21623 Include <libm-alias-float.h>.
21624 (floorf): Define using libm_alias_float.
21625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21626 Include <libm-alias-float.h>.
21627 (llrintf): Define using libm_alias_float.
21628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21629 Include <libm-alias-float.h>.
21630 (llroundf): Define using libm_alias_float.
21631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21632 Include <libm-alias-float.h>.
21633 (logbf): Define using libm_alias_float.
21634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21635 Include <libm-alias-float.h>.
21636 (lrintf): Define using libm_alias_float.
21637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21638 Include <libm-alias-float.h>.
21639 (lroundf): Define using libm_alias_float.
21640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21641 Include <libm-alias-float.h>.
21642 (modff): Define using libm_alias_float.
21643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21644 Include <libm-alias-float.h>.
21645 (roundf): Define using libm_alias_float.
21646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21647 Include <libm-alias-float.h>.
21648 (truncf): Define using libm_alias_float.
21649 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21650 <libm-alias-float.h>.
21651 (llrintf): Define using libm_alias_float.
21652 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21653 <libm-alias-float.h>.
21654 (llroundf): Define using libm_alias_float.
21655 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21656 <libm-alias-float.h>.
21657 (ceilf): Define using libm_alias_float.
21658 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21659 <libm-alias-float.h>.
21660 (floorf): Define using libm_alias_float.
21661 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21662 <libm-alias-float.h>.
21663 (llroundf): Define using libm_alias_float.
21664 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21665 <libm-alias-float.h>.
21666 (lroundf): Define using libm_alias_float.
21667 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21668 <libm-alias-float.h>.
21669 (roundf): Define using libm_alias_float.
21670 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21671 <libm-alias-float.h>.
21672 (truncf): Define using libm_alias_float.
21673 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21674 <libm-alias-float.h>.
21675 (copysignf): Define using libm_alias_float.
21676 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21677 <libm-alias-float.h>.
21678 (llrintf): Define using libm_alias_float.
21679 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21680 <libm-alias-float.h>.
21681 (llroundf): Define using libm_alias_float.
21682 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21683 <libm-alias-float.h>.
21684 (lrintf): Define using libm_alias_float.
21685 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21686 <libm-alias-float.h>.
21687 (lroundf): Define using libm_alias_float.
21688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21689 <libm-alias-float.h>.
21690 (ceilf): Define using libm_alias_float.
21691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21692 <libm-alias-float.h>.
21693 (copysignf): Define using libm_alias_float.
21694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21695 <libm-alias-float.h>.
21696 (cosf): Define using libm_alias_float.
21697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21698 <libm-alias-float.h>.
21699 (floorf): Define using libm_alias_float.
21700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21701 <libm-alias-float.h>.
21702 (llrintf): Define using libm_alias_float.
21703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21704 <libm-alias-float.h>.
21705 (llroundf): Define using libm_alias_float.
21706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21707 <libm-alias-float.h>.
21708 (logbf): Define using libm_alias_float.
21709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21710 <libm-alias-float.h>.
21711 (modff): Define using libm_alias_float.
21712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21713 <libm-alias-float.h>.
21714 (roundf): Define using libm_alias_float.
21715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21716 <libm-alias-float.h>.
21717 (sinf): Define using libm_alias_float.
21718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21719 <libm-alias-float.h>.
21720 (truncf): Define using libm_alias_float.
21721 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21722 <libm-alias-float.h>.
21723 (ceilf): Define using libm_alias_float.
21724 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21725 <libm-alias-float.h>.
21726 (copysignf): Define using libm_alias_float.
21727 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21728 <libm-alias-float.h>.
21729 (floorf): Define using libm_alias_float.
21730 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21731 <libm-alias-float.h>.
21732 (llrintf): Define using libm_alias_float.
21733 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21734 <libm-alias-float.h>.
21735 (llroundf): Define using libm_alias_float.
21736 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21737 <libm-alias-float.h>.
21738 (nearbyintf): Define using libm_alias_float.
21739 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21740 <libm-alias-float.h>.
21741 (rintf): Define using libm_alias_float.
21742 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21743 <libm-alias-float.h>.
21744 (roundf): Define using libm_alias_float.
21745 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21746 <libm-alias-float.h>.
21747 (truncf): Define using libm_alias_float.
21748 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21749 <libm-alias-float.h>.
21750 (ceilf): Define using libm_alias_float.
21751 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21752 <libm-alias-float.h>.
21753 (floorf): Define using libm_alias_float.
21754 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21755 <libm-alias-float.h>.
21756 (llroundf): Define using libm_alias_float.
21757 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21758 <libm-alias-float.h>.
21759 (roundf): Define using libm_alias_float.
21760 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21761 <libm-alias-float.h>.
21762 (truncf): Define using libm_alias_float.
21763 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21764 <libm-alias-float.h>.
21765 (copysignf): Define using libm_alias_float.
21766 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21767 <libm-alias-float.h>.
21768 (llrintf): Define using libm_alias_float.
21769 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21770 <libm-alias-float.h>.
21771 (llroundf): Define using libm_alias_float.
21772 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21773 <libm-alias-float.h>.
21774 (cosf): Define using libm_alias_float.
21775 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21776 <libm-alias-float.h>.
21777 (llrintf): Define using libm_alias_float.
21778 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21779 <libm-alias-float.h>.
21780 (llroundf): Define using libm_alias_float.
21781 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21782 <libm-alias-float.h>.
21783 (sinf): Define using libm_alias_float.
21784
93485524
FW
217852017-12-04 Florian Weimer <fweimer@redhat.com>
21786
21787 * support/check.h (TEST_COMPARE): Define.
21788 (support_test_compare_failure): Declare.
21789 * support/Makefile (libsupport-routines): Add
21790 support_test_compare_failure.
21791 (tests): Add tst-test_compare.
21792 * support /support_test_compare_failure.c: New file.
21793 * support/tst-test_compare.c: Likewise.
21794
96b06a19
MF
217952017-12-04 Mike FABIAN <mfabian@redhat.com>
21796
21797 [BZ #22527]
21798 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21799 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21800 available, this rewrite of the collation rules does reproduce
21801 the test file in the same order.
21802
1f6d91f3
MF
218032017-12-04 Mike FABIAN <mfabian@redhat.com>
21804
21805 [BZ #10580]
21806 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21807 digraphs in the month and day names. Using single code points for
21808 digraphs is deprecated. While there are dedicated Unicode
21809 codepoints, for the digraphs, these are included for backwards
21810 compatibility and modern texts use a sequence of Basic Latin
21811 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21812 This makes the month and day names agree exactly with CLDR now,
21813 CLDR does not use the single code points for the digraphs either.
21814
2e49fed8
CM
218152017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21816
21817 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21818
73895b49
JM
218192017-12-04 Joseph Myers <joseph@codesourcery.com>
21820
21821 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
21822 of floor.
21823
4c1d801a
SP
218242017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
21825
21826 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
21827 Define only for libc.so.
21828
478593e6
SL
218292017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
21830
21831 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21832 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 21833 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
21834 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
21835 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21836
7863a711
RS
218372017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21838
21839 [BZ #5997]
21840 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
21841
800a496a
JDA
218422017-12-02 John David Anglin <danglin@gcc.gnu.org>
21843
b3f7fb12
JDA
21844 [BZ libc/19170]
21845 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
21846 PREINIT_FUNCTION_WEAK is nonzero.
21847 (gmon_initializer): New function. Put procedure label for it in
21848 .init_array section.
21849 (_init): Don't call PREINIT_FUNCTION.
21850 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
21851 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
21852 value when map argument is null.
21853
800a496a
JDA
21854 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
21855 depi instruction from PIC pc-relative sequence.
21856 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
21857 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
21858 (elf_machine_load_address): Likewise.
21859 (elf_machine_runtime_setup): Likewise.
21860
d17542d2
JM
218612017-12-02 Joseph Myers <joseph@codesourcery.com>
21862
21863 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
21864 <libm-alias-double.h>.
21865 (logb): Define using libm_alias_double.
21866 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21867 <libm-alias-double.h>.
21868 (copysign): Define using libm_alias_double.
21869 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
21870 <libm-alias-double.h>.
21871 (llrint): Define using libm_alias_double.
21872 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
21873 <libm-alias-double.h>.
21874 (llround): Define using libm_alias_double.
21875 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21876 <libm-alias-double.h>.
21877 (lrint): Define using libm_alias_double.
21878 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21879 <libm-alias-double.h>.
21880 (lround): Define using libm_alias_double.
21881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21882 Include <libm-alias-double.h>.
21883 (copysign): Define using libm_alias_double.
21884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
21885 Include <libm-alias-double.h>.
21886 (llrint): Define using libm_alias_double.
21887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
21888 Include <libm-alias-double.h>.
21889 (llround): Define using libm_alias_double.
21890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
21891 <libm-alias-double.h>.
21892 (logb): Define using libm_alias_double.
21893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
21894 Include <libm-alias-double.h>.
21895 (lrint): Define using libm_alias_double.
21896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
21897 Include <libm-alias-double.h>.
21898 (lround): Define using libm_alias_double.
21899 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
21900 <libm-alias-double.h>.
21901 (llrint): Define using libm_alias_double.
21902 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21903 <libm-alias-double.h>.
21904 (llround): Define using libm_alias_double.
21905 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21906 <libm-alias-double.h>.
21907 (llround): Define using libm_alias_double.
21908 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21909 <libm-alias-double.h>.
21910 (lround): Define using libm_alias_double.
21911 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21912 <libm-alias-double.h>.
21913 (copysign): Define using libm_alias_double.
21914 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
21915 <libm-alias-double.h>.
21916 (llrint): Define using libm_alias_double.
21917 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21918 <libm-alias-double.h>.
21919 (llround): Define using libm_alias_double.
21920 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21921 <libm-alias-double.h>.
21922 (lrint): Define using libm_alias_double.
21923 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21924 <libm-alias-double.h>.
21925 (lround): Define using libm_alias_double.
21926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
21927 <libm-alias-double.h>.
21928 (copysign): Define using libm_alias_double.
21929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
21930 <libm-alias-double.h>.
21931 (llrint): Define using libm_alias_double.
21932 (lrint): Likewise.
21933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
21934 <libm-alias-double.h>.
21935 (llround): Define using libm_alias_double.
21936 (lround): Likewise.
21937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
21938 <libm-alias-double.h>.
21939 (logb): Define using libm_alias_double.
21940 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21941 <libm-alias-double.h>.
21942 (copysign): Define using libm_alias_double.
21943 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21944 <libm-alias-double.h>.
21945 (llrint): Define using libm_alias_double.
21946 (lrint): Likewise.
21947 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21948 <libm-alias-double.h>.
21949 (llround): Define using libm_alias_double.
21950 (lround): Likewise.
21951 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21952 <libm-alias-double.h>.
21953 (llround): Define using libm_alias_double.
21954 (lround): Likewise.
21955 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21956 <libm-alias-double.h>.
21957 (copysign): Define using libm_alias_double.
21958 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21959 <libm-alias-double.h>.
21960 (llrint): Define using libm_alias_double.
21961 (lrint): Likewise.
21962 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21963 <libm-alias-double.h>.
21964 (llround): Define using libm_alias_double.
21965 (lround): Likewise.
21966 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21967 <libm-alias-double.h>.
21968 (llrint): Define using libm_alias_double.
21969 (lrint): Likewise.
21970 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21971 <libm-alias-double.h>.
21972 (llround): Define using libm_alias_double.
21973 (lround): Likewise.
21974
ec2cf3f4
JM
219752017-12-01 Joseph Myers <joseph@codesourcery.com>
21976
0ddde474
JM
21977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21978 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21979 compat symbol based on llround.
21980
0d5ba561
JM
21981 * sysdeps/powerpc/power7/fpu/s_logb.c
21982 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21983 symbol based on __logb, not on logb.
21984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21985 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21987 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21988
51ea3b20
JM
21989 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21990 (rint): Define using libm_alias_double.
21991 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21992 <libm-alias-double.h>.
21993 (modf): Define using libm_alias_double.
21994 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21995 <libm-alias-double.h>.
21996 (ceil): Define using libm_alias_double.
21997 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21998 <libm-alias-double.h>.
21999 (floor): Define using libm_alias_double.
22000 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22001 <libm-alias-double.h>.
22002 (nearbyint): Define using libm_alias_double.
22003 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22004 <libm-alias-double.h>.
22005 (rint): Define using libm_alias_double.
22006 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22007 <libm-alias-double.h>.
22008 (round): Define using libm_alias_double.
22009 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22010 <libm-alias-double.h>.
22011 (trunc): Define using libm_alias_double.
22012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22013 <libm-alias-double.h>.
22014 (ceil): Define using libm_alias_double.
22015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22016 Include <libm-alias-double.h>.
22017 (floor): Define using libm_alias_double.
22018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22019 <libm-alias-double.h>.
22020 (modf): Define using libm_alias_double.
22021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22022 Include <libm-alias-double.h>.
22023 (round): Define using libm_alias_double.
22024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22025 Include <libm-alias-double.h>.
22026 (trunc): Define using libm_alias_double.
22027 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22028 <libm-alias-double.h>.
22029 (ceil): Define using libm_alias_double.
22030 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22031 <libm-alias-double.h>.
22032 (floor): Define using libm_alias_double.
22033 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22034 <libm-alias-double.h>.
22035 (round): Define using libm_alias_double.
22036 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22037 <libm-alias-double.h>.
22038 (trunc): Define using libm_alias_double.
22039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22040 <libm-alias-double.h>.
22041 (ceil): Define using libm_alias_double.
22042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22043 <libm-alias-double.h>.
22044 (floor): Define using libm_alias_double.
22045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22046 <libm-alias-double.h>.
22047 (modf): Define using libm_alias_double.
22048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22049 <libm-alias-double.h>.
22050 (round): Define using libm_alias_double.
22051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22052 <libm-alias-double.h>.
22053 (trunc): Define using libm_alias_double.
22054 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22055 <libm-alias-double.h>.
22056 (ceil): Define using libm_alias_double.
22057 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22058 <libm-alias-double.h>.
22059 (floor): Define using libm_alias_double.
22060 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22061 <libm-alias-double.h>.
22062 (nearbyint): Define using libm_alias_double.
22063 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22064 <libm-alias-double.h>.
22065 (rint): Define using libm_alias_double.
22066 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22067 <libm-alias-double.h>.
22068 (round): Define using libm_alias_double.
22069 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22070 <libm-alias-double.h>.
22071 (trunc): Define using libm_alias_double.
22072 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22073 <libm-alias-double.h>.
22074 (ceil): Define using libm_alias_double.
22075 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22076 <libm-alias-double.h>.
22077 (floor): Define using libm_alias_double.
22078 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22079 <libm-alias-double.h>.
22080 (round): Define using libm_alias_double.
22081 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22082 <libm-alias-double.h>.
22083 (trunc): Define using libm_alias_double.
22084
ec2cf3f4
JM
22085 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22086 (fabs): Define using libm_alias_double.
22087 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22088 (fma): Define using libm_alias_double.
22089 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22090 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22091 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22092 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22093
5b7bd975
AZ
220942017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22095
0594b13f
AZ
22096 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22097
dbdfcf3b
AZ
22098 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22099 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22100 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22101
5b7bd975
AZ
22102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22103 due redirect macro.
22104
ef9ecfa6
AS
221052017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22106
22107 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22108
5b4e5e78
AZ
221092017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22110
2a14526b
AZ
22111 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22112 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22113 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22114 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22115
dbeb74ef 22116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
22117 (libm-sysdep_routines): Add s_nearbyintf-generic and
22118 s_nearbyint-generic.
22119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22120 New file.
22121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22123 Likewise.
22124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22125 Likewise.
22126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22127 file.
22128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22129 Likewise.
22130
22131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
22132 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22134 file.
22135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22137 Likewise.
22138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22141
fa7ded96
AZ
22142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22143 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22145 file.
22146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22148 Likewise.
22149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22152
e240cf0e
AZ
22153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22154 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22156 file.
22157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22159 Likewise.
22160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22163
5b4e5e78
AZ
22164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22165 (sysdep_calls): New rule.
22166 (sysdep_routines): Use sysdep_calls as base.
22167 (libm-sysdep_routines): Add generic rule for symbols shared with
22168 libc. Add s_copysign-generic and s_copysign-generic objects.
22169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22170 New file.
22171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22173 Likewise.
22174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22177
d985adae
MF
221782017-12-01 Mike FABIAN <mfabian@redhat.com>
22179
22180 [BZ #22519]
22181 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22182 the list of locales to be built for testing.
22183 * localedata/is_IS.UTF-8.in: New file.
22184 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22185 on iso14651_t1.
22186
ff84a0e0
JM
221872017-12-01 Joseph Myers <joseph@codesourcery.com>
22188
22189 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22190 <libm-alias-float.h>.
22191 (fabsf): Define using libm_alias_float.
22192
ef5d8b43
L
221932017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22194
22195 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22196
c0535adf
JM
221972017-11-30 Joseph Myers <joseph@codesourcery.com>
22198
f938b397
JM
22199 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22200 <libm-alias-float.h>.
22201 (fabsf): Define using libm_alias_float.
22202 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22203 <libm-alias-float.h>.
22204 (lrintf): Define using libm_alias_float.
22205 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22206 <libm-alias-float.h>.
22207 (rintf): Define using libm_alias_float.
22208
2251fad0
JM
22209 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22210 <libm-alias-double.h>.
22211 (fabs): Define using libm_alias_double.
22212 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22213 <libm-alias-double.h>.
22214 (lrint): Define using libm_alias_double.
22215 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22216 <libm-alias-double.h>.
22217 (rint): Define using libm_alias_double.
22218
e53df1de
JM
22219 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22220 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22221 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22222 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22223 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22224 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22225 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22226 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22227 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22228 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22229 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22230 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22231 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22232 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22233 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22234 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22235 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22236 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22237 s_atan_template.c.
22238 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22239 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22240 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22241 s_ceil_template.c.
22242 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22243 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22244 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22245 s_cos_template.c.
22246 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22247 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22248 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22249 s_expm1_template.c.
22250 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22251 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22252 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22253 s_fabs_template.c.
22254 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22255 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22256 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22257 s_floor_template.c.
22258 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22259 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22260 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22261 s_frexp_template.c.
22262 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22263 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22264 s_lrint_template.c.
22265 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22266 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22267 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22268 s_modf_template.c.
22269 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22270 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22271 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22272 s_nearbyint_template.c.
22273 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22274 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22275 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22276 s_remquo_template.c.
22277 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22278 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22279 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22280 s_rint_template.c.
22281 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22282 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22283 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22284 s_sin_template.c.
22285 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22286 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22287 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22288 s_sincos_template.c.
22289 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22290 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22291 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22292 s_tan_template.c.
22293 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22294 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22295 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22296 s_tanh_template.c.
22297 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22298 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22299 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22300 s_trunc_template.c.
22301 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22302 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22303 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22304 s_atan.c instead of including s_atan.c.
22305 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22306 s_atanf.c instead of including s_atanf.c.
22307 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22308 s_atanl.c instead of including s_atanl.c.
22309 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22310 instead of s_atan.c.
22311 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22312 instead of s_atanf.c.
22313 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22314 instead of s_atanl.c.
22315
c0535adf
JM
22316 * scripts/update-copyrights: Do not handle intl/plural.c
22317 specially.
22318
1faaf703
JB
223192017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22320
22321 [BZ #22432]
22322 * configure.ac (BISON): Require to be present.
22323 * configure: Regenerated.
22324 * intl/Makefile (generated): Add plural.c.
22325 [$(BISON) != no]: Make code unconditional.
22326 (plural.c): Change rule to $(objpfx)plural.c.
22327 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22328 * intl/plural.c: Remove.
22329 * manual/install.texi (Tools for Compilation): Document bison as
22330 required.
22331 * INSTALL: Regenerated.
22332
faec6323
JM
223332017-11-30 Joseph Myers <joseph@codesourcery.com>
22334
bd6ea9ed
JM
22335 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22336 <libm-alias-double.h>.
22337 (llrint): Define using libm_alias_double.
22338 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22339 <libm-alias-float.h>.
22340 (llrintf): Define using libm_alias_float.
22341 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22342 <libm-alias-ldouble.h>.
22343 (llrintl): Define using libm_alias_ldouble.
22344
faec6323
JM
22345 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22346 declare_mgen_alias instead of weak_alias.
22347 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22348 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22349 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22350
023cade3
AZ
223512017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22352
9e2279a0
AZ
22353 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22354 Add add_n-generic.
22355 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22356 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22357 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22358
75f37c71
AZ
22359 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22360 Add submul_1-generic.
22361 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22362 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22363 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22364
b70cbbfc 22365 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
22366 Add addmul_1-generic.
22367 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22368 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22369 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22370
22371 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
22372 Add sub_n-generic.
22373 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22374 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22375 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22376
023cade3
AZ
22377 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22378 Add mul_1-generic.
22379 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22380 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22381 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22382
fbb5fd03
MF
223832017-11-30 Mike FABIAN <mfabian@redhat.com>
22384
22385 According to CLDR, collation rules for Serbian and Bosnian
22386 should be the same as for Croatian.
22387
22388 [BZ #22534]
22389 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22390 and to the list of locales to be built for testing.
22391 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22392 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22393 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22394 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22395
5e56e937
MF
223962017-11-30 Mike FABIAN <mfabian@redhat.com>
22397
22398 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22399 to make test case pass.
22400 * localedata/hr_HR.UTF-8.in: Add more test strings.
22401
cf4341ca
MF
224022017-11-30 Mike FABIAN <mfabian@redhat.com>
22403
22404 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22405
363e4519 224062017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
22407
22408 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22409 the list of locales to built for testing.
22410 * localedata/hr_HR.UTF-8.in: New file.
22411
363e4519 224122017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
22413
22414 [BZ #10580]
22415 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22416 iso14651_t1.
22417 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22418 CLDR (except use ligatures for the digraphs, CLDR does not use
22419 the ligatures), add first_workday, some fixes in the date and time
22420 formats.
22421 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22422 for Đ and đ.
22423 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22424 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22425 Add int_p_cs_precedes and int_n_cs_precedes.
22426 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22427 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22428 LC_MONETARY now).
22429 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22430 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22431 name_miss.
22432 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22433 and lang_lib. Change postal_fmt.
22434
f33632cc
L
224352017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22436
22437 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22438 <setjmp.h>.
22439 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22440 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22441 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22442 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22443 * sysdeps/generic/setjmpP.h: New file.
22444 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22445 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22446 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22447 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22448 Add jmp_buf-ssp.sym.
22449 (tests): Add tst-saved_mask-1.
22450
34697694
AS
224512017-11-30 Arjun Shankar <arjun@redhat.com>
22452
22453 [BZ #22375]
37ac8e63 22454 CVE-2017-17426
34697694
AS
22455 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22456 instead of request2size.
22457
3e5efdbd
JM
224582017-11-30 Joseph Myers <joseph@codesourcery.com>
22459
18305fba
JM
22460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22461 (__lllrint): Remove alias.
22462 (lllrint): Likewise.
22463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22464 (__lllrintf): Likewise.
22465 (lllrintf): Likewise.
22466
3e5efdbd
JM
22467 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22468 <libm-alias-float.h>.
22469 (copysignf): Define using libm_alias_float.
22470 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22471 <libm-alias-float.h>.
22472 (fabsf): Define using libm_alias_float.
22473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22474 Include <libm-alias-float.h>.
22475 (copysignf): Define using libm_alias_float.
22476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22477 <libm-alias-float.h>.
22478 (fabsf): Define using libm_alias_float.
22479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22480 <libm-alias-float.h>.
22481 (fdimf): Define using libm_alias_float.
22482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22483 <libm-alias-float.h>.
22484 (fmaf): Define using libm_alias_float.
22485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22486 <libm-alias-float.h>.
22487 (llrintf): Define using libm_alias_float.
22488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22489 Include <libm-alias-float.h>.
22490 (nearbyintf): Define using libm_alias_float.
22491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22492 <libm-alias-float.h>.
22493 (rintf): Define using libm_alias_float.
22494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22495 <libm-alias-float.h>.
22496 (llrintf): Define using libm_alias_float.
22497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22498 <libm-alias-float.h>.
22499 (lrintf): Define using libm_alias_float.
22500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22501 <libm-alias-float.h>.
22502 (nearbyintf): Define using libm_alias_float.
22503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22504 <libm-alias-float.h>.
22505 (rintf): Define using libm_alias_float.
22506 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22507 <libm-alias-float.h>.
22508 (ceilf): Define using libm_alias_float.
22509 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22510 <libm-alias-float.h>.
22511 (floorf): Define using libm_alias_float.
22512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22513 <libm-alias-float.h>.
22514 (fmaf): Define using libm_alias_float.
22515 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22516 <libm-alias-float.h>.
22517 (lrintf): Define using libm_alias_float.
22518 (llrintf): Likewise.
22519 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22520 <libm-alias-float.h>.
22521 (nearbyintf): Define using libm_alias_float.
22522 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22523 <libm-alias-float.h>.
22524 (rintf): Define using libm_alias_float.
22525 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22526 <libm-alias-float.h>.
22527 (truncf): Define using libm_alias_float.
22528 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22529 <libm-alias-float.h>.
22530 (copysignf): Define using libm_alias_float.
22531 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22532 <libm-alias-float.h>.
22533 (fabsf): Define using libm_alias_float.
22534 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22535 <libm-alias-float.h>.
22536 (lrintf): Define using libm_alias_float.
22537 (llrintf): Likewise.
22538 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22539 <libm-alias-float.h>.
22540 (nearbyintf): Define using libm_alias_float.
22541 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22542 <libm-alias-float.h>.
22543 (rintf): Define using libm_alias_float.
22544
011fba7e
JM
225452017-11-29 Joseph Myers <joseph@codesourcery.com>
22546
875cd548
JM
22547 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22548 <libm-alias-double.h>.
22549 (copysign): Define using libm_alias_double.
22550 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22551 <libm-alias-double.h>.
22552 (fabs): Define using libm_alias_double.
22553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22554 Include <libm-alias-double.h>.
22555 (copysign): Define using libm_alias_double.
22556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22557 <libm-alias-double.h>.
22558 (fabs): Define using libm_alias_double.
22559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22560 <libm-alias-double.h>.
22561 (fdim): Define using libm_alias_double.
22562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22563 <libm-alias-double.h>.
22564 (fma): Define using libm_alias_double.
22565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22566 <libm-alias-double.h>.
22567 (llrint): Define using libm_alias_double.
22568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22569 Include <libm-alias-double.h>.
22570 (nearbyint): Define using libm_alias_double.
22571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22572 <libm-alias-double.h>.
22573 (rint): Define using libm_alias_double.
22574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22575 <libm-alias-double.h>.
22576 (fabs): Define using libm_alias_double.
22577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22578 <libm-alias-double.h>.
22579 (llrint): Define using libm_alias_double.
22580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22581 <libm-alias-double.h>.
22582 (nearbyint): Define using libm_alias_double.
22583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22584 <libm-alias-double.h>.
22585 (rint): Define using libm_alias_double.
22586 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22587 <libm-alias-double.h>.
22588 (ceil): Define using libm_alias_double.
22589 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22590 <libm-alias-double.h>.
22591 (floor): Define using libm_alias_double.
22592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22593 <libm-alias-double.h>.
22594 (fma): Define using libm_alias_double.
22595 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22596 <libm-alias-double.h>.
22597 (lrint): Define using libm_alias_double.
22598 (llrint): Likewise.
22599 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22600 <libm-alias-double.h>.
22601 (nearbyint): Define using libm_alias_double.
22602 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22603 <libm-alias-double.h>.
22604 (rint): Define using libm_alias_double.
22605 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22606 <libm-alias-double.h>.
22607 (trunc): Define using libm_alias_double.
22608 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22609 <libm-alias-double.h>.
22610 (copysign): Define using libm_alias_double.
22611 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22612 <libm-alias-double.h>.
22613 (fabs): Define using libm_alias_double.
22614 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22615 <libm-alias-double.h>.
22616 (lrint): Define using libm_alias_double.
22617 (llrint): Likewise.
22618 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22619 <libm-alias-double.h>.
22620 (nearbyint): Define using libm_alias_double.
22621 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22622 <libm-alias-double.h>.
22623 (rint): Define using libm_alias_double.
22624
cf4ebc27
JM
22625 [BZ #22229]
22626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22627 <math_ldbl_opt.h>.
22628 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22629
0c097378
JM
22630 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22631 SPARC --disable-multi-arch glibc variants.
22632
34bb10aa
JM
22633 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22634 <libm-alias-float.h>.
22635 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22636 if [SHARED].
22637 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22638 <libm-alias-float.h>.
22639 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22640 if [SHARED].
22641 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22642 <libm-alias-float.h>.
22643 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22644 if [SHARED].
22645 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22646 <libm-alias-float.h>.
22647 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22648 if [SHARED].
22649 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22650 <libm-alias-float.h>.
22651 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22652 if [SHARED].
22653 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22654 <libm-alias-float.h>.
22655 (ceilf): Define using libm_alias_float.
22656 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22657 <libm-alias-float.h>.
22658 (floorf): Define using libm_alias_float.
22659 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22660 <libm-alias-float.h>.
22661 (fmaf): Define using libm_alias_float.
22662 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22663 <libm-alias-float.h>.
22664 (nearbyintf): Define using libm_alias_float.
22665 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22666 <libm-alias-float.h>.
22667 (rintf): Define using libm_alias_float.
22668 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22669 <libm-alias-float.h>.
22670 (truncf): Define using libm_alias_float.
22671 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22672 (copysignf): Define using libm_alias_float.
22673 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22674 (cosf): Define using libm_alias_float.
22675 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22676 (fabsf): Define using libm_alias_float.
22677 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22678 (fmaxf): Define using libm_alias_float.
22679 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22680 (fminf): Define using libm_alias_float.
22681 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22682 (llrintf): Define using libm_alias_float.
22683 [!__ILP32__] (lrintf): Likewise.
22684 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22685 (sincosf): Define using libm_alias_float.
22686 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22687 (sinf): Define using libm_alias_float.
22688 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22689 (lrintf): Define using libm_alias_float.
22690
011fba7e
JM
22691 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22692 <libm-alias-double.h>.
22693 (atan): Define using libm_alias_double.
22694 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22695 <libm-alias-double.h>.
22696 (ceil): Define using libm_alias_double.
22697 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22698 <libm-alias-double.h>.
22699 (floor): Define using libm_alias_double.
22700 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22701 <libm-alias-double.h>.
22702 (fma): Define using libm_alias_double.
22703 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22704 <libm-alias-double.h>.
22705 (nearbyint): Define using libm_alias_double.
22706 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22707 <libm-alias-double.h>.
22708 (rint): Define using libm_alias_double.
22709 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22710 <libm-alias-double.h>.
22711 (sin): Define using libm_alias_double.
22712 (cos): Likewise.
22713 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22714 <libm-alias-double.h>.
22715 (tan): Define using libm_alias_double.
22716 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22717 <libm-alias-double.h>.
22718 (trunc): Define using libm_alias_double.
22719 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22720 (copysign): Define using libm_alias_double.
22721 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22722 (fabs): Define using libm_alias_double.
22723 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22724 (fmax): Define using libm_alias_double.
22725 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22726 (fmin): Define using libm_alias_double.
22727 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22728 (llrint): Define using libm_alias_double.
22729 [!__ILP32__] (lrint): Likewise.
22730 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22731 (lrint): Define using libm_alias_double.
22732
1cbd7bfe
AZ
227332017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22734
21bfcc3d
AZ
22735 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22736 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22737 objects.
22738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22741 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22742 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22743 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22744
522228dd
AZ
22745 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22746 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22747 objects.
22748 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22749 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22750 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22751 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22752 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22753 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22754
2a6f4fab
AZ
22755 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22756 (libm-sysdep_routines): Add s_nearbyint-generic and
22757 s_nearbyintf-generic objects.
22758 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22759 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22760 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22761 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22762 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22763 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22764
712b5b83
AZ
22765 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22766 Add s_finitef-generic and s_finite-generic objects.
22767 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22768 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22769 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22770 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22771 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22772 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22773
c96d3335
AZ
22774 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22775 Add s_isinff-generic and s_isinf-generic objects.
22776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22778 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22779 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22780 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22782
c6862a23
AZ
22783 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22784 Add s_isnanf-generic and s_isnan-generic objects.
22785 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22791
1cbd7bfe
AZ
22792 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22793 macro.
22794 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22795 rule.
22796 (sysdep_routines): Use sysdep_calls as base.
22797 (libm-sysdep_routines): Add generic rule for symbols shared with
22798 libc. Add s_signbit-generic and s_signbitf-generic objects.
22799 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22800 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22801 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22802 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22803 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22804 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22805
aa1142c5
JM
228062017-11-29 Joseph Myers <joseph@codesourcery.com>
22807
22808 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22809 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22810 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22811 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22812 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22813 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22814 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22815 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22816 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22817 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22818 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22819 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22820 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22821 libm_alias_float_r.
22822 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22823 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
22824 (logf): Likewise.
22825 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
22826 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
22827 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
22828 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
22829 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
22830 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
22831 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
22832 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
22833 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
22834 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
22835 libm_alias_float.
22836 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
22837 (cosf): Likewise.
22838 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
22839 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
22840 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
22841 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
22842 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
22843 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
22844 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
22845 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
22846 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
22847 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
22848 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
22849 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
22850 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
22851 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
22852 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
22853 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
22854 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
22855 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
22856 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
22857 libm_alias_float.
22858 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
22859 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
22860 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
22861 * sysdeps/ia64/fpu/w_lgammaf_main.c
22862 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
22863 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
22864
363e4519
DL
228652017-11-28 Mike FABIAN <mfabian@redhat.com>
22866 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
22867
22868 [BZ #17750]
22869 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
22870 * localedata/fr_CA.UTF-8.in: New file with test data for backward
22871 accents sorting.
22872 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
22873 sorting.
22874 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
22875 * localedata/locales/de_DE (LC_COLLATE): Likewise.
22876 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
22877 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
22878 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
22879 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
22880 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
22881 instead of “ifdef DIACRIT_BACKWARD”.
22882
a55430cb
AZ
228832017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22884
22885 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
22886 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
22887 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
22888 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
22889 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
22890 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
22891 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
22892 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
22893 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
22894 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
22895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
22896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
22897 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
22898 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
22899 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
22900 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22901 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
22902 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
22903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22904 ($(have-as-vis3) == yes): Remove conditional.
22905 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
22906 Likewise.
22907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
22908 file.
22909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
22910 file.
22911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
22912 file.
22913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
22914 file.
22915 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
22916 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
22917 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
22918 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
22919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
22920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
22921 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
22922 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
22923
0609ec0a
JM
229242017-11-29 Joseph Myers <joseph@codesourcery.com>
22925
22926 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
22927 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
22928 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
22929 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
22930 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
22931 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
22932 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
22933 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
22934 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
22935 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
22936 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
22937 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
22938 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
22939 libm_alias_double_r.
22940 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22941 (log): Likewise.
22942 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22943 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22944 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22945 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22946 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22947 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22948 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22949 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22950 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22951 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22952 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22953 libm_alias_double.
22954 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22955 (cos): Likewise.
22956 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22957 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22958 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22959 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22960 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22961 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22962 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22963 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22964 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22965 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22966 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22967 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22968 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22969 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22970 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22971 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22972 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22973 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22974 libm_alias_double.
22975 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22976 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22977 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22978 * sysdeps/ia64/fpu/w_lgamma_main.c
22979 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22980 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22981
d5bfa34a
JDA
229822017-11-28 John David Anglin <danglin@gcc.gnu.org>
22983
22984 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22985 address of $global$ into %dp register earlier. Use pc-relative
22986 instruction sequence for PIC case.
22987
bc4e8f9b
JM
229882017-11-28 Joseph Myers <joseph@codesourcery.com>
22989
e4602cba
JM
22990 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22991 (asinhf): Define using libm_alias_float.
22992 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22993 (atanf): Define using libm_alias_float.
22994 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22995 (cbrtf): Define using libm_alias_float.
22996 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22997 (ceilf): Define using libm_alias_float.
22998 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22999 (copysignf): Define using libm_alias_float.
23000 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23001 (expm1f): Define using libm_alias_float.
23002 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23003 (fabsf): Define using libm_alias_float.
23004 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23005 (floorf): Define using libm_alias_float.
23006 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23007 (fmaxf): Define using libm_alias_float.
23008 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23009 (fminf): Define using libm_alias_float.
23010 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23011 (frexpf): Define using libm_alias_float.
23012 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23013 (llrintf): Define using libm_alias_float.
23014 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23015 (logbf): Define using libm_alias_float.
23016 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23017 (lrintf): Define using libm_alias_float.
23018 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23019 (nearbyintf): Define using libm_alias_float.
23020 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23021 (remquof): Define using libm_alias_float.
23022 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23023 (rintf): Define using libm_alias_float.
23024 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23025 (truncf): Define using libm_alias_float.
23026 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23027 <libm-alias-float.h>.
23028 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23029 if [SHARED].
23030 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23031 <libm-alias-float.h>.
23032 (expf): Define using libm_alias_float, or libm_alias_float_other
23033 if [SHARED].
23034 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23035 <libm-alias-float.h>.
23036 (log2f): Define using libm_alias_float, or libm_alias_float_other
23037 if [SHARED].
23038 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23039 <libm-alias-float.h>.
23040 (logf): Define using libm_alias_float, or libm_alias_float_other
23041 if [SHARED].
23042 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23043 <libm-alias-float.h>.
23044 (powf): Define using libm_alias_float, or libm_alias_float_other
23045 if [SHARED].
23046 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23047 <libm-alias-float.h>.
23048 (cosf): Define using libm_alias_float.
23049 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23050 <libm-alias-float.h>.
23051 (sincosf): Define using libm_alias_float.
23052 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23053 <libm-alias-float.h>.
23054 (sinf): Define using libm_alias_float.
23055 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23056 (fmaxf): Define using libm_alias_float.
23057 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23058 (fminf): Define using libm_alias_float.
23059 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23060 <libm-alias-float.h>.
23061 (fmaf): Define using libm_alias_float.
23062
bc4e8f9b
JM
23063 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23064 (asinh): Define using libm_alias_double.
23065 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23066 (atan): Define using libm_alias_double.
23067 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23068 (cbrt): Define using libm_alias_double.
23069 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23070 (ceil): Define using libm_alias_double.
23071 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23072 (copysign): Define using libm_alias_double.
23073 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23074 (expm1): Define using libm_alias_double.
23075 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23076 (fabs): Define using libm_alias_double.
23077 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23078 (fdim): Define using libm_alias_double.
23079 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23080 (floor): Define using libm_alias_double.
23081 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23082 (fmax): Define using libm_alias_double.
23083 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23084 (fmin): Define using libm_alias_double.
23085 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23086 (frexp): Define using libm_alias_double.
23087 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23088 (llrint): Define using libm_alias_double.
23089 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23090 (logb): Define using libm_alias_double.
23091 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23092 (lrint): Define using libm_alias_double.
23093 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23094 (nearbyint): Define using libm_alias_double.
23095 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23096 (remquo): Define using libm_alias_double.
23097 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23098 (rint): Define using libm_alias_double.
23099 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23100 (trunc): Define using libm_alias_double.
23101 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23102 (fmax): Define using libm_alias_double.
23103 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23104 (fmin): Define using libm_alias_double.
23105 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23106 (fma): Define using libm_alias_double.
23107
8d81ce0c
L
231082017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23109
23110 [BZ #22370]
23111 * elf/dl-hwcaps.c (ROUND): Removed.
23112 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23113 and ELF_NOTE_NEXT_OFFSET.
23114 * elf/dl-load.c (ROUND): Removed.
23115 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23116 * elf/readelflib.c (ROUND): Removed.
23117 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23118 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23119 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23120 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23121
6940bd96
JM
231222017-11-28 Joseph Myers <joseph@codesourcery.com>
23123
313ba463
JM
23124 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23125 [!__fmaf] (fmaf): Define using libm_alias_float.
23126
6940bd96
JM
23127 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23128 [!__fma] (fma): Define using libm_alias_double.
23129 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23130
22c69b6a
MF
231312017-11-28 Mike FABIAN <mfabian@redhat.com>
23132
23133 [BZ #22336]
23134 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23135 and implement the collation rules for cs from CLDR on top of that.
23136 * Makefile: Add cs_CZ.UTF-8 to test-input.
23137 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23138
8d7d3ba8
SP
231392017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23140
23141 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23142
0422ed1e
VR
231432017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23144 Icarus Sparry <icarus.w.sparry@intel.com>
23145
23146 * benchtests/Makefile:Add BENCHSET to allow subsets of
23147 benchmarks to be run.
23148 * benchtests/README: Add documentation for: Running subsets of
23149 benchmarks.
23150
0595e360
VR
231512017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23152
d5090db3
VR
23153 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23154 range of tests names.
23155
0595e360
VR
23156 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23157 result from property and remove "max", min" and "mean" from
23158 required properties based on benchtests/bench-skeleton.c.
23159
b4c645c2
FW
231602017-11-28 Florian Weimer <fweimer@redhat.com>
23161
23162 [BZ #20826]
23163 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23164 due to Internet requirement.
23165 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23166 tst-getaddrinfo5.
23167 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23168
88684de7
AZ
231692017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23170
69056564
AZ
23171 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23172 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23173 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23174 (sysdep_routines): Add memset-ultra1.
23175 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23176 file.
23177 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23178 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23179 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23180 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23181 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23182 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23183 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23184 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23185
88684de7
AZ
23186 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23187 file.
23188 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23189 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23190 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23191 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23192 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23193 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23194 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23195 macro.
23196 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23197 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23198 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23199 (sysdep_routines): Add memcpy-ultra1.
23200 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23201 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23202
d8124864
JM
232032017-11-28 Joseph Myers <joseph@codesourcery.com>
23204
f433d0b3
JM
23205 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23206 (cfloat_versions): Take function argument without trailing 'f'.
23207 Call libm_alias_float_other.
23208 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23209 * sysdeps/alpha/fpu/cargf.c: Likewise.
23210 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23211 * sysdeps/alpha/fpu/conjf.c: Likewise.
23212 * sysdeps/alpha/fpu/crealf.c: Likewise.
23213 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23214 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23215 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23216 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23217 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23218 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23219 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23220 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23221 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23222 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23223 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23224 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23225 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23226 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23227 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23228 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23229 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23230 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23231 (clog10f): Use libm_alias_float_other.
23232 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23233 (ceilf): Define using libm_alias_float.
23234 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23235 (copysignf): Define using libm_alias_float.
23236 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23237 (fabsf): Define using libm_alias_float.
23238 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23239 (floorf): Define using libm_alias_float.
23240 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23241 (fmaxf): Define using libm_alias_float.
23242 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23243 (fminf): Define using libm_alias_float.
23244 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23245 (lrintf): Define using libm_alias_float.
23246 (llrintf): Likewise.
23247 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23248 (lroundf): Define using libm_alias_float.
23249 (llroundf): Likewise.
23250 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23251 (rintf): Define using libm_alias_float.
23252 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23253 (truncf): Define using libm_alias_float.
23254
15ff4900
JM
23255 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23256 (ceilf): Define using libm_alias_float.
23257 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23258 (floorf): Define using libm_alias_float.
23259 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23260 (fmaf): Define using libm_alias_float.
23261 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23262 (fmaxf): Define using libm_alias_float.
23263 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23264 (fminf): Define using libm_alias_float.
23265 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23266 (llrintf): Define using libm_alias_float.
23267 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23268 (llroundf): Define using libm_alias_float.
23269 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23270 (lrintf): Define using libm_alias_float.
23271 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23272 (lroundf): Define using libm_alias_float.
23273 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23274 <libm-alias-float.h>.
23275 (nearbyintf): Define using libm_alias_float.
23276 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23277 (rintf): Define using libm_alias_float.
23278 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23279 (roundf): Define using libm_alias_float.
23280 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23281 (truncf): Define using libm_alias_float.
23282
5de60638
JM
23283 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23284 (ceil): Define using libm_alias_double.
23285 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23286 (copysign): Define using libm_alias_double.
23287 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23288 (fabs): Define using libm_alias_double.
23289 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23290 (floor): Define using libm_alias_double.
23291 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23292 (fmax): Define using libm_alias_double.
23293 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23294 (fmin): Define using libm_alias_double.
23295 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23296 (lrint): Define using libm_alias_double.
23297 (llrint): Likewise.
23298 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23299 (lround): Define using libm_alias_double.
23300 (llround): Likewise.
23301 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23302 (rint): Define using libm_alias_double.
23303 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23304 (trunc): Define using libm_alias_double.
23305
d8124864
JM
23306 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23307 (libm_alias_double_r): Add semicolon after weak_alias call.
23308
f07d2ec8
JM
233092017-11-27 Joseph Myers <joseph@codesourcery.com>
23310
23311 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23312 (ceil): Define using libm_alias_double.
23313 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23314 (floor): Define using libm_alias_double.
23315 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23316 (fma): Define using libm_alias_double.
23317 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23318 (fmax): Define using libm_alias_double.
23319 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23320 (fmin): Define using libm_alias_double.
23321 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23322 (llrint): Define using libm_alias_double.
23323 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23324 (llround): Define using libm_alias_double.
23325 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23326 (lrint): Define using libm_alias_double.
23327 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23328 (lround): Define using libm_alias_double.
23329 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23330 (nearbyint): Define using libm_alias_double.
23331 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23332 (rint): Define using libm_alias_double.
23333 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23334 (round): Define using libm_alias_double.
23335 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23336 (trunc): Define using libm_alias_double.
23337
4bab0224
FW
233382017-11-27 Florian Weimer <fweimer@redhat.com>
23339
23340 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23341 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23342 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23343 (tests): Add tst-mlock2.
23344 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23345 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23346 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23347 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23348 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23349 for mlock. Document mlock2.
23350
a23aa5b7
JM
233512017-11-27 Joseph Myers <joseph@codesourcery.com>
23352
23353 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23354 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23355 Likewise.
23356 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23357 Likewise.
23358 * sysdeps/x86/Makeconfig: New file.
23359 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23360 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23361 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23362 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23363 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23364 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23365 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23366 Likewise.
23367 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23368 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23369 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23370 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23371 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23372 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23373 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23374 * manual/math.texi (Mathematics): Document support for _Float64x.
23375 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23376 * stdlib/Versions (GLIBC_2.27): Likewise.
23377 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23378 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23379 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23380 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23381 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23382 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23383 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23384 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23385 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23386 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23387 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23388 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23390 Likewise.
23391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23392 Likewise.
23393 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23394 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23395 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23396 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23397 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23398 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23399 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23400 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23401 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23402 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23403 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23404 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23405 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23406 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23407
c2c299fd
AS
234082017-11-27 Andreas Schwab <schwab@suse.de>
23409
23410 * elf/Makefile (dl-routines): Add dl-sort-maps.
23411 * elf/dl-sort-maps.c: New file.
23412 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23413 (_dl_sort_maps): Declare.
23414 * elf/dl-fini.c (_dl_sort_fini): Remove.
23415 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23416 * elf/dl-close.c (_dl_close_worker): Likewise.
23417 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23418 open-coding it.
23419 * elf/dl-open.c (dl_open_worker): Likewise.
23420
9d4b0117
JM
234212017-11-24 Joseph Myers <joseph@codesourcery.com>
23422
de61465c
JM
23423 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23424 using libm_alias_float128.
23425 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23426 Likewise.
23427 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23428 Likewise.
23429 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23430 (setpayloadsigf128): Likewise.
23431 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23432 Likewise.
23433 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23434 Likewise.
23435
9ae6d171
JM
23436 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23437 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23438 -mfloat128 to CFLAGS.
23439 ($(foreach
23440 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23441 Likewise.
23442 (CFLAGS-libm-test-support-float64x.c): New variable.
23443 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23444 $(f128-loader-link) to gnulib-tests.
23445
6e70d156
JM
23446 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23447 (libm_alias_float128_other_r): If
23448 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23449 alias.
23450 (libm_alias_float128_r): Add semicolon after weak_alias call.
23451 * sysdeps/generic/libm-alias-ldouble.h
23452 (libm_alias_ldouble_other_r_f128): New macro.
23453 (libm_alias_ldouble_other_r_f64x): Likewise.
23454 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23455 and libm_alias_ldouble_other_r_f64x.
23456 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23457 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23458 (libm_alias_ldouble_other_r_f128): New macro.
23459 (libm_alias_ldouble_other_r_f64x): Likewise.
23460 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23461 and libm_alias_ldouble_other_r_f64x.
23462
df2806cd
JM
23463 * stdlib/strfroml.c: Always include <stdlib.h>.
23464 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23465 undefine as macro and define as weak alias.
23466 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23467 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23468 <stdlib.h>.
23469 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23470 Define and later undefine as macro and define as weak alias.
23471
0df4fe35
JM
23472 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23473 Define and later undefine as macro. Define as weak alias if
23474 [!USE_WIDE_CHAR].
23475 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23476 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23477 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23478 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23479 Define and later undefine as macro. Define as weak alias if
23480 [!USE_WIDE_CHAR].
23481 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23482 Define and later undefine as macro. Define as weak alias if
23483 [USE_WIDE_CHAR].
23484 * sysdeps/ieee754/float128/strtof128_l.c
23485 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23486 Define and later undefine as macro. Define as weak alias if
23487 [!USE_WIDE_CHAR].
23488 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23489 Define and later undefine as macro. Define as weak alias if
23490 [USE_WIDE_CHAR].
23491 * sysdeps/ieee754/ldbl-128/strtold_l.c
23492 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23493 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23494 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23495 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23496 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23497 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23498 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23499 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23500 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23501 * sysdeps/ieee754/ldbl-96/strtold_l.c
23502 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23503 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23504 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23505 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23506
ae7207d0
JM
23507 * math/test-float64x.h: New file.
23508 * math/Makefile (type-float64x-yes): New variable.
23509 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23510
9596fc69
JM
23511 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23512 function-like macro.
23513 (min_of_type_): Likewise.
23514 (min_of_type_l): Likewise.
23515 (min_of_type_f128): Likewise.
23516 (min_of_type): Pass () as last argument of __MATH_TG.
23517
46453c3c
JM
23518 * stdlib/tst-strtod-round-skeleton.c
23519 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23520 headers.
23521
01e659e7
JM
23522 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23523 for combinations of long double with _Float64 and _Float64x.
23524
5c60afdd
JM
23525 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23526 (__DECL_SIMD_cosf32): Likewise.
23527 (__DECL_SIMD_cosf64): Likewise.
23528 (__DECL_SIMD_cosf32x): Likewise.
23529 (__DECL_SIMD_cosf64x): Likewise.
23530 (__DECL_SIMD_cosf128x): Likewise.
23531 (__DECL_SIMD_sinf16): Likewise.
23532 (__DECL_SIMD_sinf32): Likewise.
23533 (__DECL_SIMD_sinf64): Likewise.
23534 (__DECL_SIMD_sinf32x): Likewise.
23535 (__DECL_SIMD_sinf64x): Likewise.
23536 (__DECL_SIMD_sinf128x): Likewise.
23537 (__DECL_SIMD_sincosf16): Likewise.
23538 (__DECL_SIMD_sincosf32): Likewise.
23539 (__DECL_SIMD_sincosf64): Likewise.
23540 (__DECL_SIMD_sincosf32x): Likewise.
23541 (__DECL_SIMD_sincosf64x): Likewise.
23542 (__DECL_SIMD_sincosf128x): Likewise.
23543 (__DECL_SIMD_logf16): Likewise.
23544 (__DECL_SIMD_logf32): Likewise.
23545 (__DECL_SIMD_logf64): Likewise.
23546 (__DECL_SIMD_logf32x): Likewise.
23547 (__DECL_SIMD_logf64x): Likewise.
23548 (__DECL_SIMD_logf128x): Likewise.
23549 (__DECL_SIMD_expf16): Likewise.
23550 (__DECL_SIMD_expf32): Likewise.
23551 (__DECL_SIMD_expf64): Likewise.
23552 (__DECL_SIMD_expf32x): Likewise.
23553 (__DECL_SIMD_expf64x): Likewise.
23554 (__DECL_SIMD_expf128x): Likewise.
23555 (__DECL_SIMD_powf16): Likewise.
23556 (__DECL_SIMD_powf32): Likewise.
23557 (__DECL_SIMD_powf64): Likewise.
23558 (__DECL_SIMD_powf32x): Likewise.
23559 (__DECL_SIMD_powf64x): Likewise.
23560 (__DECL_SIMD_powf128x): Likewise.
23561
9d4b0117
JM
23562 * stdlib/Versions (libc): Move entries for wcstof128 and
23563 wcstof128_l to ....
23564 * wcsmbs/Versions (libc): ... here.
23565 Include <float128-abi.h>.
23566
7911dd47
FW
235672017-11-24 Florian Weimer <fweimer@redhat.com>
23568
23569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23570 bits/mman-shared.h.
23571 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23572 <bits/mman-shared.h>.
23573 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23574 to ...
23575 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23576 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23577 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23578 <bits/mman-shared.h>.
23579
c45d78aa
AZ
235802017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23581
23582 [BZ #22457]
23583 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23584 posix_memalign/free.
23585 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23586
3ffc4cc1
MF
235872017-11-22 Mike FABIAN <mfabian@redhat.com>
23588
23589 [BZ #22469]
23590 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23591 and implement the collation rules for pl from CLDR on top of that.
23592 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23593 of locales to be built for testing.
23594 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23595
3a327316
JM
235962017-11-23 Joseph Myers <joseph@codesourcery.com>
23597
23598 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23599 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23600 libm_alias_ldouble_other.
23601 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23602 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23603 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23604 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23605 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23606 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23607 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23608 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23609 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23610 libm_alias_ldouble_r.
23611 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23612 libm_alias_ldouble_other.
23613 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23614 (log10l): Likewise.
23615 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23616 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23617 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23618 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23619 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23620 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23621 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23622 (atan2l): Likewise.
23623 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23624 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23625 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23626 libm_alias_ldouble.
23627 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23628 (cosl): Likewise.
23629 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23630 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23631 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23632 (expl): Likewise.
23633 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23634 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23635 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23636 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23637 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23638 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23639 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23640 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23641 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23642 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23643 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23644 libm_alias_ldouble.
23645 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23646 libm_alias_ldouble_other.
23647 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23648 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23649 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23650 libm_alias_ldouble.
23651 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23652 libm_alias_ldouble_other.
23653 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23654 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23655 * sysdeps/ia64/fpu/w_lgammal_main.c
23656 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23657 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23658
0a947e06
FW
236592017-11-23 Florian Weimer <fweimer@redhat.com>
23660
23661 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23662 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23663 alike. Remove freeres marker.
23664 * malloc/arena.c (arena_thread_freeres): Call
23665 tcache_thread_shutdown.
23666
67f36c79
FW
236672017-11-23 Florian Weimer <fweimer@redhat.com>
23668
23669 [BZ #22459]
23670 Export nscd hash function as __nss_hash.
23671 * include/nss.h (__nss_hash): Declare.
23672 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23673 symbol.
23674 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23675 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23676 of __nscd_hash.
23677 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23678 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23679 * nss/Makefiles (routines): Add nss_hash.
23680 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23681 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23682 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23683 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23684
cccb6d4e
FW
236852017-11-23 Florian Weimer <fweimer@redhat.com>
23686
23687 [BZ #22478]
23688 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23689 Return error code, not -1.
23690 * signal/tst-sigwait-eintr.c: New file.
23691 * signal/Makefile (tests): Add tst-sigwait-eintr.
23692
59d2cbb1
FW
236932017-11-23 Florian Weimer <fweimer@redhat.com>
23694
23695 Linux: Add memfd_create system call wrapper
23696 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23697 tst-memfd_create.
23698 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23699 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23700 [__USE_GNU] (memfd_create): Declare.
23701 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23702 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23703 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23704 * sysdeps/unix/sysv/linux/**.abilist: Update.
23705 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23706
a90d1ac2
JM
237072017-11-22 Joseph Myers <joseph@codesourcery.com>
23708
0a9d1d62
JM
23709 * localedata/gen-locale.sh: Fix typo in variable name.
23710
754034c4
JM
23711 * resolv/res_debug.c (p_secstodate): Condition definition on
23712 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23713 directly as __p_secstodate, and as a compat symbol. Do not use
23714 libresolv_hidden_def.
23715 * resolv/resolv.h (p_secstodate): Remove macro and function
23716 declaration.
23717 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23718 using p_secstodate.
23719 * include/resolv.h (__p_secstodate): Do not use
23720 libresolv_hidden_proto.
23721 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23722 (tests-internal): ... here.
23723 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23724 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23725 and declare and use __p_secstodate and use compat_symbol_reference
23726 in that case.
23727 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23728 implementation returning 77.
23729
f120cda6
JM
23730 [BZ #22463]
23731 * resolv/res_debug.c: Include <libc-diag.h>.
23732 (p_secstodate): Assert time_t at least as wide as u_long. On
23733 overflow, use integer seconds since the epoch as output, or use
23734 "<overflow>" as output and set errno to EOVERFLOW if integer
23735 seconds since the epoch would be 14 or more characters.
23736 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23737 for sprintf call.
23738 * resolv/tst-p_secstodate.c: New file.
23739 * resolv/Makefile (tests): Add tst-p_secstodate.
23740 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23741
a90d1ac2
JM
23742 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23743 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23744 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23745
0285e6bd
PE
237462017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23747
23748 * posix/regcomp.c (init_word_char): Add comments.
23749
4bae6150
JM
237502017-11-22 Joseph Myers <joseph@codesourcery.com>
23751
23752 [BZ #22447]
23753 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23754 strlen to compute length of ut_user and set trailing NUL byte of
23755 result explicitly.
23756
4b7af5fc
MF
237572017-11-21 Mike FABIAN <mfabian@redhat.com>
23758
23759 [BZ #15537]
23760 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23761 using “copy "iso14651_t1"” and then implementing the
23762 collation rules for lv from CLDR on top of that.
23763 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23764 of locales to be built for testing.
23765 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23766 sorting.
23767
922bb78c
JM
237682017-11-21 Joseph Myers <joseph@codesourcery.com>
23769
23770 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23771 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23772 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23773 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23774 [__USE_MISC] (MADV_HWPOISON): New macro.
23775 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23776
a3aaa598
AZ
237772017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23778
23779 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23780 -Wmissing-braces on GCC 4.9.
23781
8beba15d
SL
237822017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23783
23784 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23785 * sysdeps/s390/s390-32/start.S (_start): Likewise
23786 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23787 (thread_start): Likewise.
23788 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23789 (thread_start): Likewise.
23790 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23791 (__makecontext_ret): Likewise.
23792 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23793 (__makecontext_ret): Likewise.
23794
80eb52e3
SL
237952017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23796
23797 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23798 __wcschrnul): Remove attribute_hidden.
23799
567d8c1f
PE
238002017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23801
23802 regex: don't assume uint64_t or uint32_t
23803 This avoids -Werror=overflow errors for 32-bit systems in
23804 the 64-bit case. Problem reported by Joseph Myers in:
23805 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23806 Also, when this code is used in Gnulib it ports to platforms
23807 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23808 them, and on some 32-bit compilers there is no uint64_t.
23809 Problem reported by Gianluigi Tiesi in:
23810 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23811 * posix/regcomp.c (init_word_char): Don't assume that the types
23812 uint64_t and uint32_t exist. Adapted from Gnulib patch
23813 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23814 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23815
4d7632ff
SP
238162017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23817
5a67c4fa
SP
23818 * sysdeps/aarch64/memset-reg.h: New file.
23819 * sysdeps/aarch64/memset.S: Use it.
23820 (__memset): Rename to MEMSET macro.
23821 [ZVA_MACRO]: Use zva_macro.
23822 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23823 Add memset_generic and memset_falkor.
23824 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23825 (__libc_ifunc_impl_list): Add memset ifuncs.
23826 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
23827 local variable zva_size.
23828 * sysdeps/aarch64/multiarch/memset.c: New file.
23829 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
23830 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
23831 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
23832 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
23833 (DCZID_DZP_MASK): New macro.
23834 (DCZID_BS_MASK): Likewise.
23835 (init_cpu_features): Read and set zva_size.
23836 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
23837 (struct cpu_features): New member zva_size.
23838
eb332f9f
SP
23839 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
23840 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
23841 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
23842
4d7632ff
SP
23843 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
23844 backwards. Fix timing computation.
23845 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
23846 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
23847 on memset by N at a time. Fix timing computation.
23848
a465b89e
FW
238492017-11-20 Florian Weimer <fweimer@redhat.com>
23850
23851 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
23852 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
23853
0f74bbf5
FW
238542017-11-19 Florian Weimer <fweimer@redhat.com>
23855
23856 manual: Document mprotect
23857 * manual/memory.texi (Memory Protection): New section.
23858 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
23859 documentation of PROT_* flags and reference the Memory Protection
23860 section instead.
23861
f6e965ee
FW
238622017-11-19 Florian Weimer <fweimer@redhat.com>
23863
23864 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
23865 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
23866 (Scatter-Gather): ... to here. Remove misleading comment.
23867
363e4519 238682017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 23869
5f9d1949
CB
23870 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
23871 style.
23872
ea69a5c8
CB
23873 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
23874 when /proc/<pid>/setgroups does not exist.
23875
8db7f48c
FW
238762017-11-18 Florian Weimer <fweimer@redhat.com>
23877
23878 * sysdeps/unix/sysv/linux/tst-ttyname.c
23879 (become_root_in_mount_ns): Remove.
23880 (do_in_chroot_1): Call support_enter_mount_namespace.
23881 (do_in_chroot_2): Likewise.
23882 (do_test): Call support_become_root early.
23883
273a0c49
FW
238842017-11-18 Florian Weimer <fweimer@redhat.com>
23885
23886 * support/namespace.h (support_enter_mount_namespace): Declare.
23887 * support/support_enter_mount_namespace.c: New file.
23888 * support/Makefile (libsupport-routines): Add
23889 support_enter_mount_namespace.
23890
8adfb0ee
FW
238912017-11-18 Florian Weimer <fweimer@redhat.com>
23892
23893 * support/temp_file.c (support_create_temp_directory): Use
23894 test_dir and do not rely on the presence of the XXXXXX suffix.
23895 * support/temp_file.h (support_create_temp_directory): Update
23896 comment.
23897 * support/tst-xreadlink.c (do_test): Adjust.
23898 * support/support_chroot.c (support_chroot_create): Likewise.
23899
df0c40ee
TMQMF
239002017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23901
23902 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
23903 macro.
23904 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
23905 htm-no-suspend.
23906
015c6dc2
JM
239072017-11-17 Joseph Myers <joseph@codesourcery.com>
23908
f58e5f48
JM
23909 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23910 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23911 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23912 (ceill): Define using libm_alias_ldouble.
23913 * sysdeps/x86_64/fpu/s_copysignl.S: Include
23914 <libm-alias-ldouble.h>.
23915 (copysignl): Define using libm_alias_ldouble.
23916 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23917 (fabsl): Define using libm_alias_ldouble.
23918 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23919 (floorl): Define using libm_alias_ldouble.
23920 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23921 (fmaxl): Define using libm_alias_ldouble.
23922 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23923 (fminl): Define using libm_alias_ldouble.
23924 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23925 (llrintl): Define using libm_alias_ldouble.
23926 (lrintl): Likewise.
23927 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
23928 <libm-alias-ldouble.h>.
23929 (nearbyintl): Define using libm_alias_ldouble.
23930 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23931 (truncl): Define using libm_alias_ldouble.
23932 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
23933 <libm-alias-ldouble.h>.
23934 (lrintl): Define using libm_alias_ldouble.
23935
2ce30701
JM
23936 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23937 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23938 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
23939 (asinhl): Define using libm_alias_ldouble.
23940 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23941 (atanl): Define using libm_alias_ldouble.
23942 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23943 (cbrtl): Define using libm_alias_ldouble.
23944 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23945 (ceill): Define using libm_alias_ldouble.
23946 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23947 (copysignl): Define using libm_alias_ldouble.
23948 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23949 (fabsl): Define using libm_alias_ldouble.
23950 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23951 (floorl): Define using libm_alias_ldouble.
23952 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23953 (fmaxl): Define using libm_alias_ldouble.
23954 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23955 (fminl): Define using libm_alias_ldouble.
23956 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23957 (frexpl): Define using libm_alias_ldouble.
23958 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23959 (llrintl): Define using libm_alias_ldouble.
23960 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23961 (logbl): Define using libm_alias_ldouble.
23962 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23963 (lrintl): Define using libm_alias_ldouble.
23964 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23965 (nearbyintl): Define using libm_alias_ldouble.
23966 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23967 (nextafterl): Define using libm_alias_ldouble.
23968 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23969 (remquol): Define using libm_alias_ldouble.
23970 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23971 (rintl): Define using libm_alias_ldouble.
23972 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23973 (truncl): Define using libm_alias_ldouble.
23974 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23975 (fmaxl): Define using libm_alias_ldouble.
23976 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23977 (fminl): Define using libm_alias_ldouble.
23978
015c6dc2
JM
23979 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23980 to C syntax instead of availability and properties of types.
23981 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23982 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23983 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23984 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23985 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23986 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23987
ce003e5d
FW
239882017-11-17 Florian Weimer <fweimer@redhat.com>
23989
23990 support_become_root: Enable file creation in namespaces.
23991 * support/support_become_root.c (setup_mapping): New function.
23992 (support_become_root): Call it.
23993
e7df6c5c
JM
239942017-11-17 Joseph Myers <joseph@codesourcery.com>
23995
23996 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23997 macro.
23998
58a813bf
AZ
239992017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24000
24001 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24002 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24003
f97773d1
JM
240042017-11-16 Joseph Myers <joseph@codesourcery.com>
24005
6a6aa1f3
JM
24006 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24007
f97773d1
JM
24008 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24009 version to 4.14.
24010
a306c790
SP
240112017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24012
7b0fb870
SP
24013 * INSTALL: Fix botched up regeneration.
24014
24015 * NEWS: Update sourceare link to https.
a306c790
SP
24016 * configure.ac: Likewise.
24017 * crypt/md5test-giant.c: Likewise.
24018 * dlfcn/bug-atexit1.c: Likewise.
24019 * dlfcn/bug-atexit2.c: Likewise.
24020 * localedata/README: Likewise.
24021 * malloc/tst-mallocfork.c: Likewise.
24022 * manual/install.texi: Likewise.
24023 * nptl/tst-pthread-getattr.c: Likewise.
24024 * stdio-common/tst-fgets.c: Likewise.
24025 * stdio-common/tst-fwrite.c: Likewise.
24026 * sunrpc/Makefile: Likewise.
24027 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24028 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
24029 * configure: Regenerate.
24030 * INSTALL: Regenerate.
a306c790 24031
7532837d
MS
240322017-11-15 Martin Sebor <msebor@redhat.com>
24033
24034 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24035 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24036 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24037
495a56fd
LS
240382017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24039
d9611e30
LS
24040 [BZ #22145]
24041 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24042 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24043
a09dfc19
LS
24044 [BZ #22145]
24045 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24046 Defer is_pty check until end of the function.
24047 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24048
2fbce9c2
LS
24049 [BZ #22145]
24050 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24051 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24052 (ttyname): Likewise.
24053 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24054 (__ttyname_r): Likewise.
24055
d10d6cab
LS
24056 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24057 int to bool.
24058
9b5a8750
LS
24059 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24060
495a56fd
LS
24061 * manual/terminal.texi (Is It a Terminal):
24062 Mention ENODEV for ttyname and ttyname_r.
24063
fa680dc6
JM
240642017-11-15 Joseph Myers <joseph@codesourcery.com>
24065
78cde19f
JM
24066 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24067 constant and macro.
24068
fa680dc6
JM
24069 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24070 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24071 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24072 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24073 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24074 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24075
ad4f43a2
AZ
240762017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24077
1ba1d8a4
AZ
24078 * signal/sigrelse.c (sigrelse): Optimize implementation.
24079
ad4f43a2
AZ
24080 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24081 (__sigpause): Rely on __sigsuspend to implement single thread
24082 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24083
d0212d42
JM
240842017-11-15 Joseph Myers <joseph@codesourcery.com>
24085
24086 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24087 kernel version to 4.14.
24088
2180fee1
SE
240892017-11-15 Steve Ellcey <sellcey@cavium.com>
24090
24091 [BZ #22442]
24092 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24093 Check if ifname is too long.
24094
cad7ca39
LS
240952017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24096
24097 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24098
58c9f659
MF
240992017-11-15 Mike FABIAN <mfabian@redhat.com>
24100
24101 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24102 was accidentally lost.
24103
0fa87c01
MF
241042017-11-15 Mike FABIAN <mfabian@redhat.com>
24105
24106 * localedata/locales/az_IR: Add standard copyright header.
24107
34eb4157
FW
241082017-11-15 Florian Weimer <fweimer@redhat.com>
24109
24110 [BZ #22439]
24111 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24112 not just the top one. Output a new "subheaps" statistic.
24113
7a9368a1
FW
241142017-11-15 Florian Weimer <fweimer@redhat.com>
24115
24116 [BZ #22408]
24117 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24118 under the per-arena lock.
24119 * malloc/Makefile (tests): Add tst-malloc_info.
24120 (tst-malloc_info): Link with libpthread.
24121 * malloc/tst-malloc_info.c: New file.
24122
be3a79a3
JM
241232017-11-15 Joseph Myers <joseph@codesourcery.com>
24124
24125 [BZ #21660]
24126 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24127 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24128 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24129 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24130 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24131 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24132 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24133 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24134 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24135 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24136 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24137 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24138 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24139 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24140 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24141 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24142 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24143 (__floating_type): Likewise.
24144 (__real_integer_type): Likewise.
24145 (__complex_integer_type): Likewise.
24146 (__expr_is_real): Likewise.
24147 (__tgmath_real_type_sub): Likewise.
24148 (__tgmath_real_type): Likewise.
24149 (__tgmath_complex_type_sub): Likewise.
24150 (__tgmath_complex_type): Likewise.
24151 (__TGMATH_F128): Likewise.
24152 (__TGMATH_CF128): Likewise.
24153 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24154 new macros.
24155 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24156 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24157 Likewise.
24158 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24159 Likewise.
24160 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24161 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24162 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24163 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24164 Likewise.
24165 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24166 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24167 Likewise.
24168 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24169 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24170 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24171 Likewise.
24172 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24173 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24174 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24175 (cimag): Likewise.
24176 (creal): Likewise.
24177
ec72135e
JM
241782017-11-14 Joseph Myers <joseph@codesourcery.com>
24179
2e64ec9c
JM
24180 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24181 for stpncpy calls for GCC 8.
24182 (test_strncat): Disable -Wstringop-truncation warning for strncat
24183 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24184 strncat call for GCC 7.
24185 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24186 calls for GCC 8.
24187 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24188 trailing NUL.
24189
ec72135e
JM
24190 * string/bug-strncat1.c: Include <libc-diag.h>.
24191 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24192
363e4519 241932017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
24194
24195 [BZ #22387]
24196 * localedata/locales/aa_DJ: Improved readibility by replacing
24197 <Uxxxx> sequences in the ASCII printable range by their ASCII
24198 character equivalents.
24199 * localedata/locales/aa_ER: Likewise.
24200 * localedata/locales/aa_ER@saaho: Likewise.
24201 * localedata/locales/aa_ET: Likewise.
24202 * localedata/locales/af_ZA: Likewise.
24203 * localedata/locales/agr_PE: Likewise.
24204 * localedata/locales/ak_GH: Likewise.
24205 * localedata/locales/am_ET: Likewise.
24206 * localedata/locales/anp_IN: Likewise.
24207 * localedata/locales/ar_AE: Likewise.
24208 * localedata/locales/ar_BH: Likewise.
24209 * localedata/locales/ar_DZ: Likewise.
24210 * localedata/locales/ar_EG: Likewise.
24211 * localedata/locales/ar_IN: Likewise.
24212 * localedata/locales/ar_IQ: Likewise.
24213 * localedata/locales/ar_JO: Likewise.
24214 * localedata/locales/ar_KW: Likewise.
24215 * localedata/locales/ar_LB: Likewise.
24216 * localedata/locales/ar_LY: Likewise.
24217 * localedata/locales/ar_MA: Likewise.
24218 * localedata/locales/ar_OM: Likewise.
24219 * localedata/locales/ar_QA: Likewise.
24220 * localedata/locales/ar_SA: Likewise.
24221 * localedata/locales/ar_SD: Likewise.
24222 * localedata/locales/ar_SS: Likewise.
24223 * localedata/locales/ar_SY: Likewise.
24224 * localedata/locales/ar_TN: Likewise.
24225 * localedata/locales/ar_YE: Likewise.
24226 * localedata/locales/as_IN: Likewise.
24227 * localedata/locales/ast_ES: Likewise.
24228 * localedata/locales/ayc_PE: Likewise.
24229 * localedata/locales/az_AZ: Likewise.
24230 * localedata/locales/az_IR: Likewise.
24231 * localedata/locales/be_BY: Likewise.
24232 * localedata/locales/be_BY@latin: Likewise.
24233 * localedata/locales/bem_ZM: Likewise.
24234 * localedata/locales/ber_DZ: Likewise.
24235 * localedata/locales/ber_MA: Likewise.
24236 * localedata/locales/bg_BG: Likewise.
24237 * localedata/locales/bhb_IN: Likewise.
24238 * localedata/locales/bho_IN: Likewise.
24239 * localedata/locales/bi_VU: Likewise.
24240 * localedata/locales/bn_BD: Likewise.
24241 * localedata/locales/bn_IN: Likewise.
24242 * localedata/locales/bo_CN: Likewise.
24243 * localedata/locales/bo_IN: Likewise.
24244 * localedata/locales/br_FR: Likewise.
24245 * localedata/locales/brx_IN: Likewise.
24246 * localedata/locales/bs_BA: Likewise.
24247 * localedata/locales/byn_ER: Likewise.
24248 * localedata/locales/ca_AD: Likewise.
24249 * localedata/locales/ca_ES: Likewise.
24250 * localedata/locales/ca_FR: Likewise.
24251 * localedata/locales/ca_IT: Likewise.
24252 * localedata/locales/ce_RU: Likewise.
24253 * localedata/locales/chr_US: Likewise.
24254 * localedata/locales/cmn_TW: Likewise.
24255 * localedata/locales/crh_UA: Likewise.
24256 * localedata/locales/cs_CZ: Likewise.
24257 * localedata/locales/csb_PL: Likewise.
24258 * localedata/locales/cv_RU: Likewise.
24259 * localedata/locales/cy_GB: Likewise.
24260 * localedata/locales/da_DK: Likewise.
24261 * localedata/locales/de_AT: Likewise.
24262 * localedata/locales/de_BE: Likewise.
24263 * localedata/locales/de_CH: Likewise.
24264 * localedata/locales/de_DE: Likewise.
24265 * localedata/locales/de_IT: Likewise.
24266 * localedata/locales/de_LI: Likewise.
24267 * localedata/locales/de_LU: Likewise.
24268 * localedata/locales/doi_IN: Likewise.
24269 * localedata/locales/dv_MV: Likewise.
24270 * localedata/locales/dz_BT: Likewise.
24271 * localedata/locales/el_CY: Likewise.
24272 * localedata/locales/el_GR: Likewise.
24273 * localedata/locales/en_AG: Likewise.
24274 * localedata/locales/en_AU: Likewise.
24275 * localedata/locales/en_BW: Likewise.
24276 * localedata/locales/en_CA: Likewise.
24277 * localedata/locales/en_DK: Likewise.
24278 * localedata/locales/en_GB: Likewise.
24279 * localedata/locales/en_HK: Likewise.
24280 * localedata/locales/en_IE: Likewise.
24281 * localedata/locales/en_IL: Likewise.
24282 * localedata/locales/en_IN: Likewise.
24283 * localedata/locales/en_NG: Likewise.
24284 * localedata/locales/en_NZ: Likewise.
24285 * localedata/locales/en_PH: Likewise.
24286 * localedata/locales/en_SG: Likewise.
24287 * localedata/locales/en_US: Likewise.
24288 * localedata/locales/en_ZA: Likewise.
24289 * localedata/locales/en_ZM: Likewise.
24290 * localedata/locales/en_ZW: Likewise.
24291 * localedata/locales/eo: Likewise.
24292 * localedata/locales/es_AR: Likewise.
24293 * localedata/locales/es_BO: Likewise.
24294 * localedata/locales/es_CL: Likewise.
24295 * localedata/locales/es_CO: Likewise.
24296 * localedata/locales/es_CR: Likewise.
24297 * localedata/locales/es_CU: Likewise.
24298 * localedata/locales/es_DO: Likewise.
24299 * localedata/locales/es_EC: Likewise.
24300 * localedata/locales/es_ES: Likewise.
24301 * localedata/locales/es_GT: Likewise.
24302 * localedata/locales/es_HN: Likewise.
24303 * localedata/locales/es_MX: Likewise.
24304 * localedata/locales/es_NI: Likewise.
24305 * localedata/locales/es_PA: Likewise.
24306 * localedata/locales/es_PE: Likewise.
24307 * localedata/locales/es_PR: Likewise.
24308 * localedata/locales/es_PY: Likewise.
24309 * localedata/locales/es_SV: Likewise.
24310 * localedata/locales/es_US: Likewise.
24311 * localedata/locales/es_UY: Likewise.
24312 * localedata/locales/es_VE: Likewise.
24313 * localedata/locales/et_EE: Likewise.
24314 * localedata/locales/eu_ES: Likewise.
24315 * localedata/locales/eu_ES@euro: Likewise.
24316 * localedata/locales/fa_IR: Likewise.
24317 * localedata/locales/ff_SN: Likewise.
24318 * localedata/locales/fi_FI: Likewise.
24319 * localedata/locales/fil_PH: Likewise.
24320 * localedata/locales/fo_FO: Likewise.
24321 * localedata/locales/fr_BE: Likewise.
24322 * localedata/locales/fr_CA: Likewise.
24323 * localedata/locales/fr_CH: Likewise.
24324 * localedata/locales/fr_FR: Likewise.
24325 * localedata/locales/fr_LU: Likewise.
24326 * localedata/locales/fur_IT: Likewise.
24327 * localedata/locales/fy_DE: Likewise.
24328 * localedata/locales/fy_NL: Likewise.
24329 * localedata/locales/ga_IE: Likewise.
24330 * localedata/locales/gd_GB: Likewise.
24331 * localedata/locales/gez_ER: Likewise.
24332 * localedata/locales/gez_ET: Likewise.
24333 * localedata/locales/gl_ES: Likewise.
24334 * localedata/locales/gu_IN: Likewise.
24335 * localedata/locales/gv_GB: Likewise.
24336 * localedata/locales/ha_NG: Likewise.
24337 * localedata/locales/hak_TW: Likewise.
24338 * localedata/locales/he_IL: Likewise.
24339 * localedata/locales/hi_IN: Likewise.
24340 * localedata/locales/hif_FJ: Likewise.
24341 * localedata/locales/hne_IN: Likewise.
24342 * localedata/locales/hr_HR: Likewise.
24343 * localedata/locales/hsb_DE: Likewise.
24344 * localedata/locales/ht_HT: Likewise.
24345 * localedata/locales/hu_HU: Likewise.
24346 * localedata/locales/hy_AM: Likewise.
24347 * localedata/locales/i18n: Likewise.
24348 * localedata/locales/ia_FR: Likewise.
24349 * localedata/locales/id_ID: Likewise.
24350 * localedata/locales/ig_NG: Likewise.
24351 * localedata/locales/ik_CA: Likewise.
24352 * localedata/locales/is_IS: Likewise.
24353 * localedata/locales/it_CH: Likewise.
24354 * localedata/locales/it_IT: Likewise.
24355 * localedata/locales/iu_CA: Likewise.
24356 * localedata/locales/ja_JP: Likewise.
24357 * localedata/locales/ka_GE: Likewise.
24358 * localedata/locales/kk_KZ: Likewise.
24359 * localedata/locales/kl_GL: Likewise.
24360 * localedata/locales/kn_IN: Likewise.
24361 * localedata/locales/ko_KR: Likewise.
24362 * localedata/locales/kok_IN: Likewise.
24363 * localedata/locales/ks_IN: Likewise.
24364 * localedata/locales/ks_IN@devanagari: Likewise.
24365 * localedata/locales/ku_TR: Likewise.
24366 * localedata/locales/kw_GB: Likewise.
24367 * localedata/locales/ky_KG: Likewise.
24368 * localedata/locales/lb_LU: Likewise.
24369 * localedata/locales/lg_UG: Likewise.
24370 * localedata/locales/li_BE: Likewise.
24371 * localedata/locales/li_NL: Likewise.
24372 * localedata/locales/lij_IT: Likewise.
24373 * localedata/locales/ln_CD: Likewise.
24374 * localedata/locales/lo_LA: Likewise.
24375 * localedata/locales/lt_LT: Likewise.
24376 * localedata/locales/lv_LV: Likewise.
24377 * localedata/locales/lzh_TW: Likewise.
24378 * localedata/locales/mag_IN: Likewise.
24379 * localedata/locales/mai_IN: Likewise.
24380 * localedata/locales/mg_MG: Likewise.
24381 * localedata/locales/mhr_RU: Likewise.
24382 * localedata/locales/mi_NZ: Likewise.
24383 * localedata/locales/mk_MK: Likewise.
24384 * localedata/locales/ml_IN: Likewise.
24385 * localedata/locales/mn_MN: Likewise.
24386 * localedata/locales/mni_IN: Likewise.
24387 * localedata/locales/mr_IN: Likewise.
24388 * localedata/locales/ms_MY: Likewise.
24389 * localedata/locales/mt_MT: Likewise.
24390 * localedata/locales/my_MM: Likewise.
24391 * localedata/locales/nan_TW: Likewise.
24392 * localedata/locales/nan_TW@latin: Likewise.
24393 * localedata/locales/nb_NO: Likewise.
24394 * localedata/locales/nds_DE: Likewise.
24395 * localedata/locales/nds_NL: Likewise.
24396 * localedata/locales/ne_NP: Likewise.
24397 * localedata/locales/nhn_MX: Likewise.
24398 * localedata/locales/niu_NU: Likewise.
24399 * localedata/locales/niu_NZ: Likewise.
24400 * localedata/locales/nl_AW: Likewise.
24401 * localedata/locales/nl_BE: Likewise.
24402 * localedata/locales/nl_NL: Likewise.
24403 * localedata/locales/nn_NO: Likewise.
24404 * localedata/locales/nr_ZA: Likewise.
24405 * localedata/locales/nso_ZA: Likewise.
24406 * localedata/locales/oc_FR: Likewise.
24407 * localedata/locales/om_ET: Likewise.
24408 * localedata/locales/om_KE: Likewise.
24409 * localedata/locales/or_IN: Likewise.
24410 * localedata/locales/os_RU: Likewise.
24411 * localedata/locales/pa_IN: Likewise.
24412 * localedata/locales/pa_PK: Likewise.
24413 * localedata/locales/pap_AW: Likewise.
24414 * localedata/locales/pap_CW: Likewise.
24415 * localedata/locales/pl_PL: Likewise.
24416 * localedata/locales/ps_AF: Likewise.
24417 * localedata/locales/pt_BR: Likewise.
24418 * localedata/locales/pt_PT: Likewise.
24419 * localedata/locales/quz_PE: Likewise.
24420 * localedata/locales/raj_IN: Likewise.
24421 * localedata/locales/ro_RO: Likewise.
24422 * localedata/locales/ru_RU: Likewise.
24423 * localedata/locales/ru_UA: Likewise.
24424 * localedata/locales/rw_RW: Likewise.
24425 * localedata/locales/sa_IN: Likewise.
24426 * localedata/locales/sat_IN: Likewise.
24427 * localedata/locales/sc_IT: Likewise.
24428 * localedata/locales/sd_IN: Likewise.
24429 * localedata/locales/sd_IN@devanagari: Likewise.
24430 * localedata/locales/se_NO: Likewise.
24431 * localedata/locales/sgs_LT: Likewise.
24432 * localedata/locales/shs_CA: Likewise.
24433 * localedata/locales/si_LK: Likewise.
24434 * localedata/locales/sid_ET: Likewise.
24435 * localedata/locales/sk_SK: Likewise.
24436 * localedata/locales/sl_SI: Likewise.
24437 * localedata/locales/sm_WS: Likewise.
24438 * localedata/locales/so_DJ: Likewise.
24439 * localedata/locales/so_ET: Likewise.
24440 * localedata/locales/so_KE: Likewise.
24441 * localedata/locales/so_SO: Likewise.
24442 * localedata/locales/sq_AL: Likewise.
24443 * localedata/locales/sq_MK: Likewise.
24444 * localedata/locales/sr_ME: Likewise.
24445 * localedata/locales/sr_RS: Likewise.
24446 * localedata/locales/sr_RS@latin: Likewise.
24447 * localedata/locales/ss_ZA: Likewise.
24448 * localedata/locales/st_ZA: Likewise.
24449 * localedata/locales/sv_FI: Likewise.
24450 * localedata/locales/sv_SE: Likewise.
24451 * localedata/locales/sw_KE: Likewise.
24452 * localedata/locales/sw_TZ: Likewise.
24453 * localedata/locales/szl_PL: Likewise.
24454 * localedata/locales/ta_IN: Likewise.
24455 * localedata/locales/ta_LK: Likewise.
24456 * localedata/locales/tcy_IN: Likewise.
24457 * localedata/locales/te_IN: Likewise.
24458 * localedata/locales/tg_TJ: Likewise.
24459 * localedata/locales/th_TH: Likewise.
24460 * localedata/locales/the_NP: Likewise.
24461 * localedata/locales/ti_ER: Likewise.
24462 * localedata/locales/ti_ET: Likewise.
24463 * localedata/locales/tig_ER: Likewise.
24464 * localedata/locales/tk_TM: Likewise.
24465 * localedata/locales/tl_PH: Likewise.
24466 * localedata/locales/tn_ZA: Likewise.
24467 * localedata/locales/to_TO: Likewise.
24468 * localedata/locales/tpi_PG: Likewise.
24469 * localedata/locales/tr_CY: Likewise.
24470 * localedata/locales/tr_TR: Likewise.
24471 * localedata/locales/ts_ZA: Likewise.
24472 * localedata/locales/tt_RU: Likewise.
24473 * localedata/locales/tt_RU@iqtelif: Likewise.
24474 * localedata/locales/ug_CN: Likewise.
24475 * localedata/locales/uk_UA: Likewise.
24476 * localedata/locales/unm_US: Likewise.
24477 * localedata/locales/ur_IN: Likewise.
24478 * localedata/locales/ur_PK: Likewise.
24479 * localedata/locales/uz_UZ: Likewise.
24480 * localedata/locales/uz_UZ@cyrillic: Likewise.
24481 * localedata/locales/ve_ZA: Likewise.
24482 * localedata/locales/vi_VN: Likewise.
24483 * localedata/locales/wa_BE: Likewise.
24484 * localedata/locales/wae_CH: Likewise.
24485 * localedata/locales/wal_ET: Likewise.
24486 * localedata/locales/wo_SN: Likewise.
24487 * localedata/locales/xh_ZA: Likewise.
24488 * localedata/locales/yi_US: Likewise.
24489 * localedata/locales/yo_NG: Likewise.
24490 * localedata/locales/yue_HK: Likewise.
24491 * localedata/locales/yuw_PG: Likewise.
24492 * localedata/locales/zh_CN: Likewise.
24493 * localedata/locales/zh_HK: Likewise.
24494 * localedata/locales/zh_SG: Likewise.
24495 * localedata/locales/zh_TW: Likewise.
24496 * localedata/locales/zu_ZA: Likewise.
24497
cae87e64
FW
244982017-11-13 Florian Weimer <fweimer@redhat.com>
24499
24500 * support/next_to_fault.h, support/next_to_fault.c: New files.
24501 * support/Makefile (libsupport-routines): Add next_to_fault.
24502 * resolv/tst-inet_pton.c (struct next_to_fault)
24503 (next_to_fault_allocate, next_to_fault_free): Remove.
24504 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24505
4a306ef1
L
245062017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24507
24508 * elf/dl-support.c: Include <dl-procruntime.c>.
24509 * include/link.h: Include <link_map.h>.
24510 * sysdeps/generic/dl-procruntime.c: New file.
24511 * sysdeps/generic/link_map.h: Likewise.
24512 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24513 the writable ld.so namespace.
24514
e69897bf
PE
245152017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24516
24517 timezone: pacify GCC -Wstringop-truncation
24518 Problem reported by Martin Sebor in:
24519 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24520 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24521
1ffe1ccb
FW
245222017-11-12 Florian Weimer <fweimer@redhat.com>
24523
eceed671
FW
24524 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24525 tst-xreadlink.
24526 (tests): Add tst-xreadlink.
1ffe1ccb
FW
24527 * support/support.h (xstrndup): Declare.
24528 * support/xunistd.h (xunlink, xreadlink): Declare.
24529 * support/temp_file.h (support_create_temp_directory): Declare.
24530 * support/temp_file.c (support_create_temp_directory): New function.
24531 * support/support_chroot.c (support_chroot_create): Use it.
24532 * support/xreadlink.c: New file.
24533 * support/xstrndup.c: Likewise.
24534 * support/xunlink.c: Likewise.
24535 * support/tst-xreadlink.c: Likewise.
24536
456b40a9
JDA
245372017-11-11 John David Anglin <danglin@gcc.gnu.org>
24538
24539 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24540
c0a25aa9
FW
245412017-11-11 Florian Weimer <fweimer@redhat.com>
24542
24543 [BZ #22409]
24544 [BZ #22412]
24545 * resolv/res_comp.c (printable_string, binary_hnok)
24546 (binary_leading_dash): New functions.
24547 (res_hnok): Reimplement using these functions and ns_name_pton.
24548 (res_ownok): Likewise.
24549 (res_mailok): Reimplement using printable_string, ns_name_pton and
24550 binary_hnok.
24551 (res_dnok): Reimplement using printable_string and ns_name_pton.
24552 * resolv/tst-res_hnok.c (tests): Add additional tests.
24553 (LETTERDIGITS, PRINTABLE): Define.
24554 (do_test): Adjust one_char results.
24555
9e0ad304
FW
245562017-11-11 Florian Weimer <fweimer@redhat.com>
24557
24558 [BZ #22413]
24559 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24560 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24561
e2a9fca8
FW
245622017-11-11 Florian Weimer <fweimer@redhat.com>
24563
24564 * resolv/tst-ns_name_pton.c: New file.
24565 * resolv/Makefile (tests): Add tst-ns_name_pton.
24566 (tst-ns_name_pton): Link against libresolv.
24567
5c1a6923
FW
245682017-11-11 Florian Weimer <fweimer@redhat.com>
24569
24570 * resolv/tst-res_hnok.c: New file.
24571 * resolv/Makefile (tests): Add tst-res_hnok.
24572 (tst-res_hnok): Link against libresolv.
24573
a19c0a1d
FW
245742017-11-11 Florian Weimer <fweimer@redhat.com>
24575
24576 * resolv/tst-resolv-network.c: Use test framework instead explicit
24577 main function.
24578
8cb5295d
L
245792017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24580
24581 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24582 <jmp_buf-macros.h>.
24583 [!_ISOMAC] (STR_HELPER): New.
24584 [!_ISOMAC] (STR): Likewise.
24585 [!_ISOMAC] (TEST_SIZE): Likewise.
24586 [!_ISOMAC] (TEST_ALIGN): Likewise.
24587 [!_ISOMAC] (TEST_OFFSET): Likewise.
24588 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24589 field offsets of jmp_buf as well as sigjmp_buf.
24590 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24591 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24592 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24593 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24594 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24595 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24596 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24597 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24598 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24599 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24600 Likewise.
24601 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24602 Likewise.
24603 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24605 Likewise.
24606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24607 Likewise.
24608 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24609 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24610 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24611 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24612 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24614 Likewise.
24615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24616 Likewise.
24617 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24618 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24619 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24620
58c4a161
JM
246212017-11-07 Joseph Myers <joseph@codesourcery.com>
24622
3683b423
JM
24623 * include/float.h
24624 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24625 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24626 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24627 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24628 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24629 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24630 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24631 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24632 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24633 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24634 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24635 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24636 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24637 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24638 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24639 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24640 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24641 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24642 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24643 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24644 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24645 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24646 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24647 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24648 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24649 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24650 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24651 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24652 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24653 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24654 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24655 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24656 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24657 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24658 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24659 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24660 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24661 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24662 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24663 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24664 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24665 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24666 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24667 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24668 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24669 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24670 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24671 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24672 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24673 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24674 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24675 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24676 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24677 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24678 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24679 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24680 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24681 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24682 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24683 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24684 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24685 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24686 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24687 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24688 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24689 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24690 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24691 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24692 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24693 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24694 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24695 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24696 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24697 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24698 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24699 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24700 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24701 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24702 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24703 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24704 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24705 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24706 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24707 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24708 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24709 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24710 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24711 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24712
58c4a161
JM
24713 * stdlib/tst-strtod.h (F16): New macro.
24714 (F32): Likewise.
24715 (F64): Likewise.
24716 (F32X): Likewise.
24717 (F64X): Likewise.
24718 (F128X): Likewise.
24719 (IF_FLOAT16): Likewise.
24720 (IF_FLOAT32): Likewise.
24721 (IF_FLOAT64): Likewise.
24722 (IF_FLOAT32X): Likewise.
24723 (IF_FLOAT64X): Likewise.
24724 (IF_FLOAT128X): Likewise.
24725 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24726 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24727 (STRTOD_TEST_FOREACH): Likewise.
24728 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24729 (CHOOSE_f64): Likewise.
24730 (CHOOSE_f32x): Likewise.
24731 (CHOOSE_f64x): Likewise.
24732
feda96a1
AS
247332017-11-07 Andreas Schwab <schwab@suse.de>
24734
24735 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24736
1bd0cbb8
MF
247372017-11-07 Mike FABIAN <mfabian@redhat.com>
24738
24739 [BZ #22403]
24740 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24741 to be escaped.
24742 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24743 to be escaped.
24744
363e4519 247452017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
24746
24747 [BZ #22403]
24748 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24749 to be escaped.
24750 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24751 to be escaped.
24752 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24753 to be escaped.
24754
dff91cd4
AZ
247552017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24756
06be6368
AZ
24757 [BZ #22298]
24758 * nptl/allocatestack.c (allocate_stack): Check if
24759 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24760 __PTHREAD_MUTEX_HAVE_PREV is defined.
24761 * nptl/descr.h (pthread): Likewise.
24762 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24763 Likewise.
24764 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24765 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24766 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24767 * sysdeps/nptl/bits/thread-shared-types.h
24768 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24769 defines.
24770 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24771 of __WORDSIZE for internal layout.
24772 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24773 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24774 instead of __WORDSIZE whether to use an union for __spins and __list
24775 fields.
24776 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24777 case.
24778 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24779 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24780 defines.
24781 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24782 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24783 Likewise.
24784 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24785 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24786 Likewise.
24787 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24788 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24789 Likewise.
24790 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24791 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24792 Likewise.
24793 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24794 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24795 Likewise.
24796 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24797 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24798 Likewise.
24799 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24800 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24801 Likewise.
24802 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24803 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24804 Likewise.
24805 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24806 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24807 Likewise.
24808 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24809 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24810 Likewise.
24811 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24812 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24813 Likewise.
24814 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24815 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24816 Likewise.
24817 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24818 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24819 Likewise.
24820 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24821 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24822 Likewise.
24823
72b3c6ee
AZ
24824 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
24825 New macros.
24826 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
24827 checks for expected input type size.
24828 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24829 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24830 Likewise.
24831 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24832 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
24833 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24834 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
24835 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24836 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
24837 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
24838 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
24839 superflous runtime assert check.
24840 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
24841 Likewise.
24842 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
24843 Likewise.
24844 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24845 Likewise.
24846 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
24847 Likewise.
24848 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
24849 Likewise.
24850 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
24851 Likewise.
24852 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
24853 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
24854 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24855 Likewise.
24856 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24857 Likewise.
24858 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24859 Likewise.
24860 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
24861 Likewise.
24862 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24863 Likewise.
24864 * nptl/pthread_attr_setinheritsched.c
24865 (__pthread_attr_setinheritsched): Likewise.
24866 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
24867 Likewise.
24868 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
24869 Likewise.
24870 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
24871 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
24872 __old_pthread_attr_setstack): Likewise.
24873 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24874 Likewise.
24875 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24876 Likewise.
24877 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
24878 Likewise.
24879 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24880 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24881 Likewise.
24882 * nptl/tst-typesizes.c: Remove file.
24883
dff91cd4
AZ
24884 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
24885 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
24886 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
24887 checks for internal pthread_mutex_t offsets.
24888 * sysdeps/aarch64/nptl/pthread-offsets.h
24889 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
24890 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
24891 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
24892 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
24893 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
24894 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
24895 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
24896 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
24897 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
24898 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
24899 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
24900 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
24901 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
24902 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
24903 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
24904 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
24905 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
24906 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
24907
b7fc95f8
FW
249082017-11-07 Florian Weimer <fweimer@redhat.com>
24909
24910 * bits/mman-linux.h: Move ...
24911 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
24912 comment.
24913 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
24914 outdated comment.
24915
6b860364
RS
249162017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24917
24918 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
24919 Redefine STRNLEN as __strnlen_power8.
24920
802c1f16
AZ
249212017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24922
d83da3a4
AZ
24923 * signal/sighold.c (sighold): Optimize implementation.
24924
6a4235f1
AZ
24925 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
24926 __NR_rt_sigqueueinfo.
24927
8b0e795a
AZ
24928 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
24929 __sigtimedwait.
24930 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
24931 assume __NR_rt_sigtimedwait.
24932 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
24933 and add LIBC_CANCEL_HANDLED for cancellation marking.
24934 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24935
a1a638dd
AZ
24936 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24937 (sysdeps_routines): Add memchr_noneon.
24938 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
24939 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
24940 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24941 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24942 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24943 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24944 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24945
802c1f16
AZ
24946 * sysdeps/arm/arm-ifunc.h: New file.
24947 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24948 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24949 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24950 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24951 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24952 (__memcpy_neon): Avoid create hidden alias.
24953 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24954 (__memcpy_vfp): Likewise.
24955 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24956 (sysdep_routines): Add memcpy_arm.
24957 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24958
abcb584d
L
249592017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24960
24961 [BZ #22362]
24962 * Makerules (make-link-multidir): New.
24963 * config.make.in (multidir): New.
24964 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24965 * configure: Regenerated.
24966 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24967 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24968 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24969 New target.
24970
4e2dff67
JM
249712017-11-06 Joseph Myers <joseph@codesourcery.com>
24972
24973 [BZ #22402]
24974 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24975 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24976
a1c7cd3c
MF
249772017-11-04 Mike FABIAN <mfabian@redhat.com>
24978
24979 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24980 to be escaped.
24981
b9af29c0
FW
249822017-11-04 Florian Weimer <fweimer@redhat.com>
24983
24984 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24985
4ca70e1a
JM
249862017-11-03 Joseph Myers <joseph@codesourcery.com>
24987
24988 * math/math.h [__HAVE_DISTINCT_FLOAT16
24989 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24990 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24991 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24992 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24993 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24994 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24995 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24996 (__MATH_TG_F32): New macro.
24997 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24998 (__MATH_TG_F64X): Likewise.
24999 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25000 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25001
ba0e6668
DL
250022017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25003
25004 * po/de.po: Update translations.
25005 * po/ru.po: Likewise.
25006
bc18a6d3
FW
250072017-11-03 Florian Weimer <fweimer@redhat.com>
25008
25009 * manual/filesys.texi (Hard Links): Document linkat.
25010
97255170
JM
250112017-11-03 Joseph Myers <joseph@codesourcery.com>
25012
86ec4865
JM
25013 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25014 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25015 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25016 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25017 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25018 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25019 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25020 the same as _Float128.
25021 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25022 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25023 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25024
97255170
JM
25025 * stdlib/stdlib.h
25026 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25027 Declare.
25028 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25029 Likewise.
25030 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25031 Likewise.
25032 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25033 (strtof32x): Likewise.
25034 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25035 (strtof64x): Likewise.
25036 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25037 (strtof128x): Likewise.
25038 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25039 (strfromf16): Likewise.
25040 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25041 (strfromf32): Likewise.
25042 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25043 (strfromf64): Likewise.
25044 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25045 (strfromf32x): Likewise.
25046 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25047 (strfromf64x): Likewise.
25048 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25049 (strfromf128x): Likewise.
25050 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25051 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25052 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25053 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25054 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25055 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25056
6d58ce5e
RH
250572017-11-03 Richard Henderson <rth@twiddle.net>
25058
25059 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25060
659ca267
SN
250612017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25062
25063 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25064
94d2f0af
SN
250652017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25066
25067 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25068 DT_TLSDESC_GOT initialization.
25069 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25070 (_dl_tlsdesc_resolve_hold): Likewise.
25071 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25072 (_dl_tlsdesc_resolve_hold): Likewise.
25073 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25074 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25075
28e1ddf3
SN
250762017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25077
25078 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25079
0ca3d1d6
SN
250802017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25081
25082 [BZ #18572]
25083 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25084 non-lazily for R_ARM_TLS_DESC.
25085
2c1d4e5f
SN
250862017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25087
25088 [BZ #17078]
25089 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25090 R_ARM_TLS_DESC case.
25091 (elf_machine_lazy_rel): Remove the prelink check.
25092
91c5a366
SN
250932017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25094
25095 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25096 DT_TLSDESC_GOT initialization.
25097 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25098 (_dl_tlsdesc_resolve_rela): Likewise.
25099 (_dl_tlsdesc_resolve_hold): Likewise.
25100 (_dl_tlsdesc_undefweak): Remove ldar.
25101 (_dl_tlsdesc_dynamic): Likewise.
25102 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25103 (_dl_tlsdesc_resolve_rela): Likewise.
25104 (_dl_tlsdesc_resolve_hold): Likewise.
25105 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25106 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25107 (_dl_tlsdesc_resolve_rela): Likewise.
25108 (_dl_tlsdesc_resolve_hold): Likewise.
25109
b7cf203b
SN
251102017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25111
25112 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25113 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25114
0cc5b022
SN
251152017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25116
25117 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25118 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25119
43ddff2e
JM
251202017-11-02 Joseph Myers <joseph@codesourcery.com>
25121
25122 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25123 Declare.
25124 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25125 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25126 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25127 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25128 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25129 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25130 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25131 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25132 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25133 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25134 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25135
5baac970
MF
251362017-11-02 Mike FABIAN <mfabian@redhat.com>
25137
25138 [BZ #22382]
25139 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25140 * localedata/locales/tpi_PG: Add standard header.
25141
ef11081f
FW
251422017-11-02 Florian Weimer <fweimer@redhat.com>
25143
25144 test-errno-linux: quotactl can fail with EPERM in containers.
25145 * sysdeps/unix/sysv/linux/test-errno-linux.c
25146 (LIST, LIST_FORWARD): New macros.
25147 (check_error_in_list): New function.
25148 (test_wrp_rv): Accept list of permitted error codes.
25149 (test_wrp_rv2): Remove.
25150 (test_wrp): Call test_wrp_rv with list of error codes.
25151 (test_wrp2): Accept list of error codes.
25152 (do_test): Adjust. Allow EPERM for quotactl.
25153
d10b132b
FW
251542017-11-02 Florian Weimer <fweimer@redhat.com>
25155
25156 * stdio-common/bug16.c (do_test): Use array_length.
25157 * stdio-common/errlist.c (_sys_nerr): Likewise.
25158 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25159 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25160 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25161 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25162 (do_test): Use array_length.
25163 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25164 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25165 * stdio-common/tst-printf-round.c (do_test): Likewise.
25166 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25167 (CHECK): Use array_length.
25168 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25169 * stdio-common/tstscanf.c (main): Likewise.
25170 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25171
c94a5688
FW
251722017-11-02 Florian Weimer <fweimer@redhat.com>
25173
25174 Add array_length and array_end macros.
25175 * include/array_length.h: New file.
25176
2fac6a6c
FW
251772017-11-02 Florian Weimer <fweimer@redhat.com>
25178
25179 [BZ #22332]
25180 * posix/tst-glob-tilde.c (do_noescape): New variable.
25181 (one_test): Process it.
25182 (do_test): Set do_noescape. Add unescaping test case.
25183
2f1b212e
JM
251842017-11-01 Joseph Myers <joseph@codesourcery.com>
25185
260fbd0a
JM
25186 * math/complex.h
25187 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25188 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25189 with appropriate macros defined and undefined.
25190 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25191 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25192 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25193 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25194 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25195 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25196 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25197 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25198 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25199 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25200
2f1b212e
JM
25201 * math/complex.h
25202 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25203 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25204 that for long double. Do not condition define and undefine of
25205 _Mdouble_complex_ on [__CFLOAT128].
25206
95b93c6e
L
252072017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25208
25209 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25210 of <sysdeps/generic/sysdep.h>.
25211 (ALIGNARG): Removed.
25212 (ASM_SIZE_DIRECTIVE): Likewise.
25213 (ENTRY): Likewise.
25214 (END): Likewise.
25215 (ENTRY_CHK): Likewise.
25216 (END_CHK): Likewise.
25217 (syscall_error): Likewise.
25218 (mcount): Likewise.
25219 (PSEUDO_END): Likewise.
25220 (L): Likewise.
25221 (atom_text_section): Likewise.
25222 * sysdeps/x86/sysdep.h: New file.
25223 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25224 of <sysdeps/generic/sysdep.h>.
25225 (ALIGNARG): Removed.
25226 (ASM_SIZE_DIRECTIVE): Likewise.
25227 (ENTRY): Likewise.
25228 (END): Likewise.
25229 (ENTRY_CHK): Likewise.
25230 (END_CHK): Likewise.
25231 (syscall_error): Likewise.
25232 (mcount): Likewise.
25233 (PSEUDO_END): Likewise.
25234 (L): Likewise.
25235 (atom_text_section): Likewise.
25236
1bb36539
RL
252372017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25238
25239 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25240 category of LC_CTYPE set to "i18n:2012".
25241 * localedata/locales/i18n_ctype: Regenerate.
25242
067f5d97 252432017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 25244
87bbc4cf
YN
25245 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25246 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25247 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25248 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25249
e8681faa
YN
25250 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25251 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25252 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25253 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25254
540af6e2
JM
252552017-10-31 Joseph Myers <joseph@codesourcery.com>
25256
43e66283
JM
25257 * math/complex.h
25258 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25259 New macro.
25260 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25261 Likewise.
25262 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25263 Likewise.
25264 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25265 (CMPLXF32X): Likewise.
25266 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25267 (CMPLXF64X): Likewise.
25268 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25269 (CMPLXF128X): Likewise.
25270
540af6e2
JM
25271 * math/math.h
25272 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25273 (__MATH_EVAL_FMT2): Define to add 0.0f.
25274
58af72b4
AM
252752017-10-31 Alan Modra <amodra@gmail.com>
25276
25277 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25278 include sysdep.h.
25279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25293 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25294 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25295 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25296 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25297 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25298 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25299 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25300 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25301 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25302 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25303 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25304 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25305 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25306 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25307 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25308 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25309 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25310 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25311 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25312 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25313 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25314 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25315 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25316 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25317 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25318 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25319 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25320 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25321 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25322 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25323 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25324 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25325 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25326 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25327 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25328 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25329 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25330 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25331 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25332 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25333 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25334 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25335 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25336 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25337 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25338 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25339 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25340 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25341 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25342 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25343 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25344 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25345 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25346 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25347 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25348
25349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25350 include sysdep.h and math_ldbl_opt.h.
25351
25352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25353 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25378
112f30b3
AM
253792017-10-31 Alan Modra <amodra@gmail.com>
25380
25381 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25382 string/strncase_l.c, not string/strncase.c.
25383 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25384 (libc_hidden_def): Redefine.
25385
e9e7eced
AM
253862017-10-31 Alan Modra <amodra@gmail.com>
25387
25388 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25389 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25390 (__strcasecmp): Don't define.
25391
f7b465cf
AM
253922017-10-31 Alan Modra <amodra@gmail.com>
25393
25394 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25395 IS_IN (libc).
25396 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25397 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25398 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25399
d46b09f9
AM
254002017-10-31 Alan Modra <amodra@gmail.com>
25401
25402 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25403 USE_AS_STPNCPY.
25404
e9b8e194
AM
254052017-10-31 Alan Modra <amodra@gmail.com>
25406
25407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25408 Redefine only when SHARED.
25409
eda162dd
JM
254102017-10-30 Joseph Myers <joseph@codesourcery.com>
25411
b61afe8c
JM
25412 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25413 Include <bits/math-finite.h> with appropriate macros defined and
25414 undefined.
25415 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25416 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25417 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25418 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25419 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25420
eda162dd
JM
25421 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25422 [!_Mlong_double_] (_Mlong_double_): Likewise.
25423 [!_Mfloat16_] (_Mfloat16_): Likewise.
25424 [!_Mfloat32_] (_Mfloat32_): Likewise.
25425 [!_Mfloat64_] (_Mfloat64_): Likewise.
25426 [!_Mfloat128_] (_Mfloat128_): Likewise.
25427 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25428 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25429 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25430 (_Mdouble_): Define without indirection through those macros.
25431 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25432 [!_Mfloat128_] (_Mfloat128_): Likewise.
25433 [_Mlong_double_] (_Mlong_double_): Likewise.
25434 (_Mdouble_): Define without indirection through those macros.
25435 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25436 not add -D_Mlong_double_=double.
25437 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25438 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25439
4ad5106e
L
254402017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25441
25442 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25443
fe326df7
L
254442017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25445
25446 * sysdeps/x86/libc-start.c: Reformat.
25447
c5cc4514
L
254482017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25449
25450 [BZ #22353]
25451 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25452 (1): Renamed to ...
25453 (L(Src0)): This.
25454 (L(Src1)): New.
25455 (L(Src2)): Likewise.
25456 (L(1)): Renamed to ...
25457 (L(Src3)): This.
25458
ce12269f
JM
254592017-10-30 Joseph Myers <joseph@codesourcery.com>
25460
25461 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25462 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25463 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25464 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25465 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25466 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25467 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25468 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25469 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25470 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25471 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25472 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25473 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25474 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25475 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25476 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25477 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25478 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25479 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25480 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25481 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25482 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25483 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25484 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25485 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25486 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25487 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25488 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25489 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25490 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25491 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25492 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25493 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25494 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25495 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25496 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25497 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25498 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25499 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25500 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25501 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25502 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25503 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25504 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25505 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25506 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25507 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25508 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25509 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25510 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25511 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25512 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25513 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25514 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25515 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25516 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25517 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25518 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25519 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25520 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25521 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25522 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25523 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25524 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25525 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25526 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25527
4484b9e2
FW
255282017-10-30 Florian Weimer <fweimer@redhat.com>
25529
25530 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25531 always defined.
25532 * io/tst-mkdirat.c (do_test): Likewise.
25533 * io/tst-mkfifoat.c (do_test): Likewise.
25534 * io/tst-mknodat.c (do_test): Likewise.
25535 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25536 * locale/programs/locale.c (select_dirs): Likewise.
25537 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25538 * posix/bug-glob2.c (my_readdir): Likewise.
25539 * posix/tst-dir.c (main): Likewise.
25540 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25541 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25542
68fe16dd
FW
255432017-10-30 Florian Weimer <fweimer@redhat.com>
25544
25545 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25546 just __USE_GNU.
25547
dadf23f0
FW
255482017-10-30 Florian Weimer <fweimer@redhat.com>
25549
25550 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25551 Convert to support/test-driver.c.
25552 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25553 New macro parameters.
25554 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25555 * posix/tst-gnuglob.c: New file.
25556 * posix/tst-gnuglob64.c: Likewise.
25557 * posix/Makefile (tests): Add tst-gnuglob64.
25558
363e4519 255592017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
25560
25561 [BZ #19485]
25562 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25563 and use a better translation for March in “mon”.
25564 * localedata/locales/csb_PL: Use more ASCII to improve the
25565 readability of the source.
25566
b110af82
MF
255672017-10-30 Mike FABIAN <mfabian@redhat.com>
25568
25569 [BZ #13953]
25570 * localedata/locales/km_KH: Use ASCII as much
25571 as possible for better readability of the source and
25572 remove useless comments.
25573 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25574 was commented out and apparently wrong anyway because it was
25575 using Lao characters. If Buddhist era should be used
25576 for km_KH, a native speaker should write the correct formaat
25577 for Khmer.
25578 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25579 (According to CLDR, the first weekday for Cambodia is Sunday).
25580 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25581 (These were using Lao characters which must be wrong. If we get
25582 the correct data from a native speaker, we could add it back, until
25583 then it is better not to have name_mr and name_mrs at all than
25584 having it wrong).
25585
f301e533
RL
255862017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25587
25588 * locale/loadlocale.c: Correct size of
25589 _nl_value_type_LC_<category> arrays.
25590
7e9d7073
JM
255912017-10-27 Joseph Myers <joseph@codesourcery.com>
25592
25593 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25594 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25595 with appropriate macros defined and undefined.
25596 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25597 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25598 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25599 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25600 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25601
63d3b468
L
256022017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25603
25604 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25605 "-O2 -march=i586".
25606
a4cc02c7
MF
256072017-10-27 Mike FABIAN <mfabian@redhat.com>
25608
25609 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25610 with lowercase letters to make it agree with CLDR.
25611
1e5971ec
MF
256122017-10-27 Mike FABIAN <mfabian@redhat.com>
25613
25614 [BZ #15260]
25615 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25616 first letters of yesstr and nostr in yesexpr and noexpr,
25617 not for the full words.
25618 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25619 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25620 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25621 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25622 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25623 first letters of yesstr and nostr in yesexpr and noexpr,
25624 until now only English was matched in yesexpr and noexpr.
25625 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25626 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25627 fil but not for tl. As tl and fil are very similar, using fil
25628 is probably better than using English.
25629
363e4519 256302017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
25631
25632 [BZ #21706]
25633 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25634 in yesstr and nostr.
25635
5d220788
JM
256362017-10-26 Joseph Myers <joseph@codesourcery.com>
25637
ecc7da5b
JM
25638 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25639 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25640 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25641 Likewise.
25642 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25643 Likewise.
25644 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25645 Likewise.
25646 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25647 Likewise.
25648 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25649 (SNANF128X): Likewise.
25650
5d220788
JM
25651 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25652 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25653 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25654 (HUGE_VAL_F32): Likewise.
25655 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25656 (HUGE_VAL_F64): Likewise.
25657 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25658 (HUGE_VAL_F32X): Likewise.
25659 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25660 (HUGE_VAL_F64X): Likewise.
25661 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25662 (HUGE_VAL_F128X): Likewise.
25663
363e4519 256642017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
25665
25666 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25667 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25668 for the br_FR locale.
25669
363e4519 256702017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
25671
25672 [BZ #21706]
25673 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25674
337ff3c5
CD
256752017-10-25 Carlos O'Donell <carlos@redhat.com>
25676
02eec681
CD
25677 * locale/programs/record-status.h: Define globals, and function
25678 prototypes. Move function bodies...
25679 * locale/programs/record-status.c: ... to here. New file.
25680 * iconv/Makefile (iconv_prog-modules): Add record-status.
25681 * locale/Makefile (lib-modules): Likewise.
25682 * iconv/iconv_prog.c: Remove verbose.
25683 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25684 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25685 record a warning about ASCII compatibility.
25686 * locale/programs/ld-monetary.c (monetary_finish): If
25687 warn_int_curr_symbol is true then record a warning about the symbol
25688 not being in our ISO 4217 list.
25689 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25690 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25691 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25692 (OPT_NO_WARN): Define.
25693 (OPT_WARN): Define.
25694 (options): Add entry for --no-warnings, and --warnings.
25695 (set_warnings): New function to enable/disable warnings.
25696 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25697 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25698 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25699 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25700 Pass flags to generate_locale.
25701 (generate_locale): Accept new flag argument and pass it to localedef
25702 invocation.
25703 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25704 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25705
56fa555a
CD
25706 * localedata/Makefile (test-input-data): Use full file name.
25707 * localedata/da_DK.in: Rename to...
25708 * localedata/da_DK.ISO-8859-1.in: ...this.
25709 * localedata/de_DE.in: Rename to...
25710 * localedata/de_DE.ISO-8859-1.in: ...this.
25711 * localedata/en_US.in: Rename to...
25712 * localedata/en_US.ISO-8859-1.in: ...this.
25713 * localedata/fr_FR.in: Rename to...
25714 * localedata/fr_FR.UTF-8.in: ... this.
25715 * localedata/hr_HR.in: Rename to...
25716 * localedata/hr_HR.ISO-8859-2.in: ...this.
25717 * localedata/hu_HU.in: Rename to...
25718 * localedata/hu_HU.UTF-8.in: ...this.
25719 * localedata/si_LK.in: Rename to...
25720 * localedata/si_LK.UTF-8.in: ...this.
25721 * localedata/sv_SE.in: Rename to...
25722 * localedata/sv_SE.ISO-8859-1.in: ...this.
25723 * localedata/tr_TR.in: Rename to...
25724 * localedata/tr_TR.UTF-8.in: ...this.
25725 * localedata/uk_UA.in: Rename to...
25726 * localedata/uk_UA.UTF-8.in: ...this.
25727 * localedata/sort-test.sh: Test file is locale name with the
25728 suffix.
25729
337ff3c5
CD
25730 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25731 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25732 file.
25733 * localedata/locales/i18n_ctype: Regenerate.
25734 * localedata/locales/tr_TR: Likewise.
25735 * localedata/locales/translit_circle: Likewise.
25736 * localedata/locales/translit_cjk_compat: Likewise.
25737 * localedata/locales/translit_combining: Likewise.
25738 * localedata/locales/translit_compat: Likewise.
25739 * localedata/locales/translit_font: Likewise.
25740 * localedata/locales/translit_fraction: Likewise.
25741
63da5cd4
RS
257422017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25743
25744 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25745 lxvd2x/stxvd2x with lvx/stvx.
25746 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25747
a122dbfb
L
257482017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25749
25750 * include/alloc_buffer.h: Replace "if if " with "if " in
25751 comments.
25752 * sysdeps/mips/memcpy.S: Likkewise.
25753 * sysdeps/mips/memset.S: Likewise.
25754 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25755 Likewise.
25756 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25757 Likewise.
25758 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25759 Likewise.
25760
9be7530c
MF
257612017-10-25 Mike FABIAN <mfabian@redhat.com>
25762
25763 [BZ #15261]
25764 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25765 yesexpr and noexpr.
25766 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25767 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25768 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25769 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25770 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25771 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25772 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25773
6ccbf6ff
MF
257742017-10-25 Mike FABIAN <mfabian@redhat.com>
25775
25776 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25777 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25778 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25779 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25780 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25781 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25782 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25783 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25784 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25785 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25786 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25787 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25788
58b1a7ea
MF
257892017-10-25 Mike FABIAN <mfabian@redhat.com>
25790
25791 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25792 as possible for better readability of the source.
25793 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25794 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25795 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25796 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25797 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25798 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25799 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25800 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25801 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25802 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25803 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25804 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25805 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25806 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25807 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25808 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25809 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25810 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25811 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25812 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25813 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25814 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25815 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25816 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25817 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25818 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25819 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25820 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25821 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25822 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25823 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
25824 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25825 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
25826 * localedata/locales/en_US (LC_MESSAGES): Likewise.
25827 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
25828 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
25829 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
25830 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
25831 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
25832 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
25833 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
25834 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
25835 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
25836 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
25837 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
25838 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
25839 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
25840 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
25841 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
25842 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
25843 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
25844 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
25845 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
25846 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25847 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25848 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
25849 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
25850 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25851 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
25852 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
25853 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
25854 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
25855 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
25856 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
25857 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
25858 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
25859 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
25860 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
25861 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
25862 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
25863 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
25864 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
25865 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
25866 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
25867 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25868 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
25869 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
25870 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
25871 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
25872 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
25873 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
25874 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
25875 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
25876 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25877 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
25878 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
25879 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
25880 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25881 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
25882 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
25883 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
25884 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
25885 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25886 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
25887 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
25888 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25889 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
25890 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25891 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
25892 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
25893 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
25894 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
25895 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
25896 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
25897 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
25898 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
25899 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
25900 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
25901 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
25902 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
25903 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
25904 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
25905 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25906 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
25907 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
25908 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
25909 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
25910 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
25911 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
25912 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
25913 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
25914 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
25915 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
25916 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
25917 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
25918 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
25919 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
25920 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
25921 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
25922 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
25923 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
25924 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
25925 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
25926 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
25927 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
25928 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
25929 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
25930 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
25931 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
25932 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
25933 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
25934 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
25935 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
25936 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
25937 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
25938 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25939 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
25940 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25941 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25942 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25943 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25944 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25945 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25946 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25947 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25948 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25949 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25950 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25951 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25952 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25953 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25954 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25955 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25956 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25957 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25958 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25959 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25960 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25961 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25962 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25963 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25964 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25965 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25966 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25967
17e78edb
MF
259682017-10-25 Mike FABIAN <mfabian@redhat.com>
25969
25970 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25971 (Use first letters of yesstr and nostr correctly instead of using
25972 full words).
25973
74e7284f
MF
259742017-10-25 Mike FABIAN <mfabian@redhat.com>
25975
25976 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25977 (Use first letters of yesstr and nostr correctly).
25978
b41a0ff1
MF
259792017-10-25 Mike FABIAN <mfabian@redhat.com>
25980
25981 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25982 also check for the first characters of yesstr and nostr.
25983 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25984 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25985
d971f380
MF
259862017-10-25 Mike FABIAN <mfabian@redhat.com>
25987
25988 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25989 also check for Chinese characters.
25990
effc9e1d
MF
259912017-10-25 Mike FABIAN <mfabian@redhat.com>
25992
25993 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25994 match also for the contents of yesstr and nostr. As the first letter
25995 of yesstr and nostr is equal, checking only for the first letter
25996 is not enough.
25997
10320881
MF
259982017-10-25 Mike FABIAN <mfabian@redhat.com>
25999
26000 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26001 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26002
d8682a15
MF
260032017-10-25 Mike FABIAN <mfabian@redhat.com>
26004
26005 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26006 of main contributor.
26007
1bfb86ae
MF
260082017-10-25 Mike FABIAN <mfabian@redhat.com>
26009
26010 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26011 instead of using English.
26012
da33d60b
MF
260132017-10-25 Mike FABIAN <mfabian@redhat.com>
26014
26015 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26016 by including the first letters of nostr and yesexpr in the regexp.
26017 Also make it more readable by using ASCII where possible.
26018
725bbb3e
MF
260192017-10-25 Mike FABIAN <mfabian@redhat.com>
26020
26021 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26022 the first letter of nostr in the regexp. It agrees with CLDR now.
26023 Also make it more readable by using ASCII where possible.
26024
fe043d8a
MF
260252017-10-24 Mike FABIAN <mfabian@redhat.com>
26026
26027 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26028 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26029 these strings contain a U+17D6 (which somewhat looks like a colon)
26030 instead of a real colon to separate the full words for “yes”
26031 and “no” from the single letter responses.
26032
360a8df3
MF
260332017-10-24 Mike FABIAN <mfabian@redhat.com>
26034
26035 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26036 it agree with CLDR (include the first letter of yesstr).
26037 Also make it more readable by using ASCII where possible.
26038
bab7b6b0
MF
260392017-10-24 Mike FABIAN <mfabian@redhat.com>
26040
26041 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26042 and improve yesexpr and noexpr. The yesstr and nostr apparently
26043 came from CLDR. And CLDR has a bug there: these strings contain
26044 a U+0903 (which looks like a colon) instead of a real colon
26045 to separate the full words for “yes” and “no” from the single
26046 letter responses.
26047
3e79f758
MF
260482017-10-24 Mike FABIAN <mfabian@redhat.com>
26049
26050 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26051 letters of the full yesstr and nostr in yesexpr and noexpr.
26052
4960c879
MF
260532017-10-24 Mike FABIAN <mfabian@redhat.com>
26054
26055 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26056 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26057 * localedata/locales/an_ES: Make source more readable by using ASCII
26058 where possible.
26059
b06a054f
MF
260602017-10-24 Mike FABIAN <mfabian@redhat.com>
26061
26062 [BZ #20952]
26063 * localedata/locales/yuw_PG: New file.
26064 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26065 * locale/iso-639.def: Add Yau (Uruwa).
26066
905a7725
WD
260672017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26068
26069 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26070
3f6bb8a3
WD
260712017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26072
26073 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26074 (__libc_realloc): Likewise.
26075 (_mid_memalign): Likewise.
26076 (__libc_calloc): Likewise.
26077
1d479c8c
MF
260782017-10-23 Mike FABIAN <mfabian@redhat.com>
26079
26080 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26081 by adding the generic +1 and -0 as in all other locales.
26082 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26083 day names and make it more readable by using ASCII where possible.
26084
91c3985c
JM
260852017-10-24 Joseph Myers <joseph@codesourcery.com>
26086
26087 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26088 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26089
aa95a241
AZ
260902017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26091
26092 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26093 WNOHANG in waitpid call.
26094
db9bab09
SP
260952017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26096
a2e0a7f1
SP
26097 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26098 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26099
db9bab09
SP
26100 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26101 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26102 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26103 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26104 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26105 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26106 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26107 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26108 variables.
26109
5062680c
MC
261102017-10-23 Michael Collison <michael.collison@arm.com>
26111
26112 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26113 with __builtin_sqrt.
26114 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26115 with __builtin_sqrtf.
26116 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26117 with __builtin_ceil.
26118 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26119 with __builtin_ceilf.
26120 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26121 with __builtin_floor.
26122 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26123 with __builtin_floorf.
26124 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26125 with __builtin_fma.
26126 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26127 with __builtin_fmaf.
26128 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26129 with __builtin_fmax.
26130 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26131 with __builtin_fmaxf.
26132 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26133 with __builtin_fmin.
26134 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26135 with __builtin_fminf.
26136 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26137 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26138 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26139 with builtin_rint and conversion to int.
26140 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26141 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26142 with builtin_llround.
26143 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26144 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26145 with builtin_rint and conversion to long int.
26146 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26147 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26148 with builtin_lround.
26149 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26150 with builtin_lroundf.
26151 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26152 statements with __builtin_nearbyint.
26153 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26154 statements with __builtin_nearbyintf.
26155 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26156 with __builtin_rint.
26157 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26158 with __builtin_rintf.
26159 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26160 with __builtin_round.
26161 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26162 with __builtin_roundf.
26163 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26164 with __builtin_trunc.
26165 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26166 with __builtin_truncf.
be080b6c
SN
26167 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26168 and s_l[l]round[f].c too.
5062680c 26169
174935af
AM
261702017-10-23 Alan Modra <amodra@gmail.com>
26171
26172 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26173 Adjust stack after restoring regs. Add missing LR cfi_restore.
26174
750a0e49
AM
261752017-10-23 Alan Modra <amodra@gmail.com>
26176
26177 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26178 Move LR save and frame setup/teardown and LR restore to
26179 immediately around memset call. Provide cfi.
26180
5313581c
L
261812017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26182
26183 * sysdeps/i386/fpu/e_powf.S: Removed.
26184 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26185 * sysdeps/i386/fpu/w_powf.c: Likewise.
26186 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26187 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26188 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26189 Add e_powf-sse2.
26190 (CFLAGS-e_powf-sse2.c): New.
26191 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26192 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26193
6089a3ee
L
261942017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26195
26196 * sysdeps/i386/fpu/e_log2f.S: Removed.
26197 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26198 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26199 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26200 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26201 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26202 Add e_log2f-sse2.
26203 (CFLAGS-e_log2f-sse2.c): New.
26204 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26205 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26206
80bb5935
L
262072017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26208
26209 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26210 Add e_powf-fma.
26211 (CFLAGS-e_powf-fma.c): New.
26212 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26213 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26214
5c7adbd8
L
262152017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26216
26217 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26218 Add e_log2f-fma.
26219 (CFLAGS-e_log2f-fma.c): New.
26220 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26221 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26222
0ccc7153
L
262232017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26224
26225 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26226 Add e_logf-fma.
26227 (CFLAGS-e_logf-fma.c): New.
26228 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26229 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26230
fe596486
L
262312017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26232
26233 * sysdeps/i386/fpu/e_logf.S: Removed.
26234 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26235 * sysdeps/i386/fpu/w_logf.c: Likewise.
26236 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26237 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26238 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26239 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26240 Add e_logf-sse2.
26241 (CFLAGS-e_logf-sse2.c): New.
26242 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26243 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26244
7eda65f6
L
262452017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26246
26247 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26248 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26249 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26250 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26251 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26252 Add e_exp2f-sse2.
26253 (CFLAGS-e_exp2f-sse2.c): New.
26254 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26255 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26256
5d15c969
L
262572017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26258
26259 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26260 Add e_exp2f-fma.
26261 (CFLAGS-e_exp2f-fma.c): New.
26262 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26263 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26264
b2f6137e
L
262652017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26266
26267 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26268 * sysdeps/i386/fpu/e_expf.S: Likewise.
26269 * sysdeps/i386/fpu/math_errf.c: Likewise.
26270 * sysdeps/i386/fpu/w_expf.c: Likewise.
26271 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26272 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26273 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26274 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26275 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26276 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26277 Remove e_expf-ia32.
26278 (CFLAGS-e_expf-sse2.c): New.
26279 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26280 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26281
e1f59beb
L
262822017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26283
26284 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26285 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26286 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26287 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26288 e_expf.c.
26289 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26290 New.
26291 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26292 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26293 Renamed to ...
26294 (__redirect_expf): This.
26295 (SYMBOL_NAME): Changed to expf.
26296 (__ieee754_expf): Renamed to ...
26297 (__expf): This.
26298 (__GI___expf): This.
26299 (__ieee754_expf): Add strong_alias.
26300 (__expf_finite): Likewise.
26301 (__expf): New.
26302 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26303
363e4519 263042017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
26305
26306 [BZ #22332]
26307 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26308 unescaping.
26309
e80fc1fc
FW
263102017-10-21 Florian Weimer <fweimer@redhat.com>
26311
26312 * posix/Makefile (tests): Add tst-glob-tilde.
26313 (tests-special): Add tst-glob-tilde-mem.out
26314 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26315 (tst-glob-tilde-mem.out): Add mtrace check.
26316 * posix/tst-glob-tilde.c: New file.
26317
797ba44b
JM
263182017-10-20 Joseph Myers <joseph@codesourcery.com>
26319
26320 * bits/floatn-common.h: New file.
26321 * math/Makefile (headers): Add bits/floatn-common.h.
26322 * bits/floatn.h: Include <bits/floatn-common.h>.
26323 * sysdeps/ia64/bits/floatn.h: Likewise.
26324 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26325 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26326 * sysdeps/powerpc/bits/floatn.h: Likewise.
26327 * sysdeps/x86/bits/floatn.h: Likewise.
26328
fe05e1cb
AZ
263292017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26330
8f6f5362
AZ
26331 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26332 indicates whether compiler emits an warning for alias for
26333 functions with incompatible types.
26334
fe05e1cb
AZ
26335 [BZ #22273]
26336 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26337 the auxiliary process is terminated by a signal before calling _exit
26338 or execve.
26339
b52b0d79
L
263402017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26341
26342 [BZ #21265]
26343 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26344 New.
26345 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26346 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26347 and bit_arch_XSAVEC_Usable if needed.
26348 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26349 and bit_arch_Use_dl_runtime_resolve_opt.
26350 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26351 Removed.
26352 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26353 (bit_arch_Prefer_No_AVX512): Updated.
26354 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26355 (bit_arch_XSAVEC_Usable): New.
26356 (STATE_SAVE_OFFSET): Likewise.
26357 (STATE_SAVE_MASK): Likewise.
26358 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26359 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26360 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26361 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26362 (index_arch_XSAVEC_Usable): New.
26363 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26364 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26365 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26366 is enabled.
26367 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26368 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26369 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26370 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26371 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26372 _dl_runtime_resolve_xsavec.
26373 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26374 Removed.
26375 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26376 instead of VEC_SIZE.
26377 (REGISTER_SAVE_BND0): Removed.
26378 (REGISTER_SAVE_BND1): Likewise.
26379 (REGISTER_SAVE_BND3): Likewise.
26380 (REGISTER_SAVE_RAX): Always defined to 0.
26381 (VMOV): Removed.
26382 (_dl_runtime_resolve_avx): Likewise.
26383 (_dl_runtime_resolve_avx_slow): Likewise.
26384 (_dl_runtime_resolve_avx_opt): Likewise.
26385 (_dl_runtime_resolve_avx512): Likewise.
26386 (_dl_runtime_resolve_avx512_opt): Likewise.
26387 (_dl_runtime_resolve_sse): Likewise.
26388 (_dl_runtime_resolve_sse_vex): Likewise.
26389 (USE_FXSAVE): New.
26390 (_dl_runtime_resolve_fxsave): Likewise.
26391 (USE_XSAVE): Likewise.
26392 (_dl_runtime_resolve_xsave): Likewise.
26393 (USE_XSAVEC): Likewise.
26394 (_dl_runtime_resolve_xsavec): Likewise.
26395 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26396 Removed.
26397 (_dl_runtime_resolve_avx512_opt): Likewise.
26398 (_dl_runtime_resolve_avx): Likewise.
26399 (_dl_runtime_resolve_avx_opt): Likewise.
26400 (_dl_runtime_resolve_sse): Likewise.
26401 (_dl_runtime_resolve_sse_vex): Likewise.
26402 (_dl_runtime_resolve_fxsave): New.
26403 (_dl_runtime_resolve_xsave): Likewise.
26404 (_dl_runtime_resolve_xsavec): Likewise.
26405
363e4519 264062017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
26407
26408 [BZ #22320]
26409 CVE-2017-15670
26410 * posix/glob.c (__glob): Fix one-byte overflow.
26411
6d43de4b
WD
264122017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26413
26414 * malloc/malloc.c (sysdep-cancel.h): Add include.
26415
a15d53e2
WD
264162017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26417
26418 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26419
b9a558e7
WH
264202017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26421
26422 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26423 (tests): Remove $(objpfx)ga_test depdendency.
26424 * resolv/ga_test.c: Remove file.
26425
b6b08b8e
MF
264262017-10-20 Mike FABIAN <mfabian@redhat.com>
26427
26428 [BZ #18812]
26429 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26430 * localedata/locales/kab_DZ: New file.
26431
9ba7e810
L
264322017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26433
26434 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26435 _dl_relocate_static_pie instead of _dl_start to compute load
26436 address in static PIE.
26437
4027a4fd
L
264382017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26439
26440 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26441
2f9314b4
MF
264422017-10-20 Mike FABIAN <mfabian@redhat.com>
26443
26444 [BZ #13605]
26445 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26446 * localedata/locales/shn_MM: New file.
26447
63b4baa4
FW
264482017-10-20 Florian Weimer <fweimer@redhat.com>
26449
26450 [BZ #22321]
26451 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26452 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26453 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26454 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26455 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26456 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26457
95ccb619
L
264582017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26459
26460 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26461
37bb78cb
JM
264622017-10-19 Joseph Myers <joseph@codesourcery.com>
26463
76f2ed92
JM
26464 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26465
37bb78cb
JM
26466 [BZ #22322]
26467 * sysdeps/mips/bits/long-double.h: Move to ....
26468 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26469
d74e6f6c
WD
264702017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26471
26472 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26473
363e4519 264742017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
26475 H.J. Lu <hongjiu.lu@intel.com>
26476
26477 [BZ #22299]
26478 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26479 GLRO(dl_platform) to NULL.
26480 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26481 (modules-names): Add tst-platformmod-1 and
26482 x86_64/tst-platformmod-2.
26483 (CFLAGS-tst-platform-1.c): New.
26484 (CFLAGS-tst-platformmod-1.c): Likewise.
26485 (CFLAGS-tst-platformmod-2.c): Likewise.
26486 (LDFLAGS-tst-platformmod-2.so): Likewise.
26487 ($(objpfx)tst-platform-1): Likewise.
26488 ($(objpfx)tst-platform-1.out): Likewise.
26489 (tst-platform-1-ENV): Likewise.
26490 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26491 * sysdeps/x86_64/tst-platform-1.c: New file.
26492 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26493 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26494
4b0fa403
MF
264952017-10-19 Mike FABIAN <mfabian@redhat.com>
26496
26497 [BZ #13994]
26498 * locale/iso-639.def: Add Karbi.
26499 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26500 * localedata/locales/mjw_IN: New file.
26501
81325b12
JM
265022017-10-18 Joseph Myers <joseph@codesourcery.com>
26503
26504 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26505 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26506 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26507 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26508 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26509 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26510 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26511 <bits/floatn.h>.
26512 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26513 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26514 * manual/math.texi (Mathematics): Document additional architecture
26515 support for _Float128.
26516 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26517 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26518 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26519 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26520 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26521 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26522 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26523 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26524 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26525 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26526 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26527 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26528 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26529 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26530 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26531
a68ba2f3
SN
265322017-10-18 Renlin Li <renlin.li@arm.com>
26533
26534 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26535 _DYNAMIC symbol to calculate load address.
26536
346729f6
PC
265372017-10-18 Paul A. Clarke <pc@us.ibm.com>
26538
26539 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26540 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26541 summary bits.
26542 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26543 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26544
508b1e71
MF
265452017-10-18 Mike FABIAN <mfabian@redhat.com>
26546
26547 [BZ #16777]
26548 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26549 and improve readability by using more ASCII.
26550 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26551 and improve readability by using more ASCII.
26552
2c2245b9
WD
265532017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26554
26555 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26556 not all targets support atomics on bool.
26557
13c92696
JM
265582017-10-17 Joseph Myers <joseph@codesourcery.com>
26559
26560 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26561 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26562 __f128.
26563 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26564 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26565 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26566 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26567 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26568 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26569
71d85045
AZ
265702017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26571
26572 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26573 defines.
26574
3381be5c
WD
265752017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26576
26577 [BZ #22159]
26578 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26579 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26580 (do_check_remalloced_chunk): Fix build bug.
26581 (do_check_malloc_state): Add assert that checks arena->top.
26582 (malloc_consolidate): Remove initialization.
26583 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 26584 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 26585
e956075a
WD
265862017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26587
26588 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26589 (have_fastchunks): Remove.
26590 (clear_fastchunks): Remove.
26591 (set_fastchunks): Remove.
26592 (malloc_state): Add have_fastchunks.
26593 (malloc_init_state): Use have_fastchunks.
26594 (do_check_malloc_state): Remove incorrect invariant checks.
26595 (_int_malloc): Use have_fastchunks.
26596 (_int_free): Likewise.
26597 (malloc_consolidate): Likewise.
26598
e4dd4ace
WD
265992017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26600
26601 * malloc/malloc.c (tcache_put): Inline.
26602 (tcache_get): Inline.
26603
5bf58bc7
AJ
266042017-10-17 Jordi Mallach <jordi@gnu.org>
26605
26606 Aurelien Jarno <aurelien@aurel32.net>
26607 [BZ #2522]
26608 * localedata/locales/ca_ES@valencia: New file.
26609 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26610
386e1c26
RN
266112017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26612
26613 [BZ #22296]
26614 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26615 < 6.x
26616
4e17c78e
AZ
266172017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26618
3d265601
AZ
26619 * scripts/build-many-glibcs.py (Context.add_all_configs):
26620 Add arm-linux-gnueabihf multiarch extra_glibcs.
26621
4e17c78e
AZ
26622 * sysdeps/generic/ifunc-init.h: New file.
26623 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26624
56a752ab
MF
266252017-10-17 Mike FABIAN <mfabian@redhat.com>
26626
26627 [BZ #22019]
26628 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26629 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26630 * stdlib/tst-strfmon_l.c: adapt test case.
26631
c38a4bfd
JM
266322017-10-16 Joseph Myers <joseph@codesourcery.com>
26633
26634 * sysdeps/generic/float128-abi.h: New file.
26635 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26636 non-__prefixed symbols to ....
26637 * math/Versions: ... here. Include <float128-abi.h>.
26638 * stdlib/Versions ... and here. Include <float128-abi.h>
26639
76009b26
FW
266402017-10-16 Florian Weimer <fweimer@redhat.com>
26641
26642 * version.h (VERSION): Switch to ".9000" as the development
26643 version suffix.
26644
7ece6cd5
FW
266452017-10-16 Florian Weimer <fweimer@redhat.com>
26646
26647 [BZ #22050]
26648 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26649 compat_symbol_reference to access non-default version.
26650
d8287b36
FW
266512017-10-16 Florian Weimer <fweimer@redhat.com>
26652
26653 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26654
3480ddc4
CD
266552017-10-16 Carlos O'Donell <carlos@redhat.com>
26656
26657 * include/shlib-compat.h (compat_symbol_reference): Update
26658 comment.
26659
02010e79
JM
266602017-10-16 Joseph Myers <joseph@codesourcery.com>
26661
596f7013
JM
26662 * math/Makefile (test-types): Add
26663 $(type-float128-$(float128-alias-fcts)).
26664 * math/test-float128.h (TYPE_STR): Define conditional on
26665 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26666 (ULP_IDX): Likewise.
26667 (ULP_I_IDX): Likewise.
26668
02010e79
JM
26669 * stdlib/strtold.c: Include <bits/floatn.h>
26670 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26671 and later undefine as macro. Define as weak alias if
26672 [!USE_WIDE_CHAR].
26673 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26674 and later undefine as macro. Define as weak alias if
26675 [USE_WIDE_CHAR].
26676 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26677 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26678 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26679 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26680 Define and later undefine as macro. Define as weak alias if
26681 [USE_WIDE_CHAR].
26682 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26683 <bits/floatn.h>.
26684 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26685 Define and later undefine as macro. Define as weak alias if
26686 [!USE_WIDE_CHAR].
26687 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26688 Define and later undefine as macro. Define as weak alias if
26689 [USE_WIDE_CHAR].
26690
ea91c315
CD
266912017-10-15 Carlos O'Donell <carlos@redhat.com>
26692
26693 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26694 record_verbose messages.
26695
8e57c943
L
266962017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26697
26698 [BZ #22052]
26699 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26700 to silence -O3 -Wall warning with GCC 7.
26701
a4777c46
L
267022017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26703
26704 * Makeconfig (+link-static-before-libc): Use the first of
26705 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26706 * gmon/Makefile (tests): Add tst-gmon-static.
26707 (tests-static): Likewise.
26708 (CFLAGS-tst-gmon-static.c): New.
26709 (CRT-tst-gmon-static): Likewise.
26710 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26711 (tst-gmon-static-ENV): Likewise.
26712 (tests-special): Likewise.
26713 ($(objpfx)tst-gmon-static.out): Likewise.
26714 (clean-tst-gmon-static-data): Likewise.
26715 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26716 * gmon/tst-gmon-static-gprof.sh: New file.
26717 * gmon/tst-gmon-static.c: Likewise.
26718
bc3821bb
CD
267192017-10-13 Carlos O'Donell <carlos@redhat.com>
26720
26721 [BZ #22295]
26722 * locale/programs/linereader.c (get_string): Don't warn on
26723 non-symbolic character.
26724
a3e23a2c
CD
26725 [BZ #22294]
26726 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26727 int_curr_symbol.
26728
f16491eb
CD
26729 [BZ #22292]
26730 * locale/programs/record-status.h: New file
26731 * locale/programs/locale.c: Add comment.
26732 * locale/programs/charmap-dir.c: Don't include error.h.
26733 (charmap_opendir): Use record_error.
26734 * locale/programs/charmap.c: Don't include error.h.
26735 (charmap_read): Use record_error, and record_warning.
26736 (parse_charmap): Likewise.
26737 * locale/programs/ld-address.c: Don't include error.h.
26738 (address_finish): Use record_error, and record_warning.
26739 * locale/programs/ld-collate.c: Don't include error.h.
26740 (collate_finish): Use record_error, and record_error_at_line.
26741 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26742 (ctype_class_new): Likewise.
26743 (ctype_map_new): Likewise.
26744 (set_one_default): Likewise.
26745 (set_class_defaults): Likewise.
26746 (translit_flatten): Likewise.
26747 (allocate_arrays): Use record_error, and record_verbose.
26748 * locale/programs/ld-identification.c: Don't include error.h.
26749 (indentation_finish): Use record_error and record_warning.
26750 * locale/programs/ld-measurement.c: Don't include error.h.
26751 (measurement_finish): Use record_error.
26752 * locale/programs/ld-messages.c
26753 (message_finish): Likewise.
26754 * locale/programs/ld-monetary.c
26755 (monetary_finish): Likewise.
26756 * locale/programs/ld-name.c (name_finish): Use record_error
26757 and record_warning.
26758 * locale/programs/ld-numeric.c
26759 (numeric_finish): Use record_error.
26760 * locale/programs/ld-paper.c: Don't include error.h.
26761 (paper_finish): Use record_error.
26762 * locale/programs/ld-telephone.c: Don't include error.h.
26763 (telephone_finish): Use record_error.
26764 * locale/programs/ld-time.c (time_finish): Likewise.
26765 * locale/programs/linereader.h (lr_error): Make inline func.
26766 * locale/programs/localedef.c: Define recorded_warning_count,
26767 and recorded_error_count.
26768 (main): Use record_error. Use recorded_error_count and
26769 recorded_warning_count to issue correct error returns.
26770 (add_to_readlist): Use record_error.
26771 (find_locale): Likewise.
26772 (load_locale): Likewise.
26773 * locale/programs/localedef.h: Remove be_quiet
26774 and WITH_CUR_LOCALE.
26775 * locale/programs/locarchive.c (compare_from_file): Use
26776 record_error.
26777 * locale/programs/locfile.c (write_locale_data): Use
26778 record_error.
26779 * locale/programs/repertoire.c: Dont include error.h.
26780 (repertoire_complain): Use record_error.
26781 * localedata/tst-fmon.sh: Expect failures from localedef.
26782 * localedata/tst-locale.sh: Likewise.
26783 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26784
8dc8be75
CD
26785 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26786 (REPORTS): Likewise.
26787 (check): Likewise.
26788 (i18n): Rename to...
26789 (i18n_ctype): ...this.
26790 (i18n-report): Rename to...
26791 (i18n_ctype-report): ...this.
26792 * localedata/locales/i18n_ctype: Regenerate.
26793 * localedata/locales/i18n: copy i18n_ctype.
26794
f8718a9e
JM
267952017-10-13 Joseph Myers <joseph@codesourcery.com>
26796
18c08b96
JM
26797 * stdlib/strfroml.c: Include <bits/floatn.h>.
26798 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26799 Define before include of <stdlib.h> and undefine afterwards, then
26800 define as weak alias.
26801
f8718a9e
JM
26802 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26803 Undefine and restore default definition. Use
26804 libm_alias_ldouble_other.
26805
e4f530da
PZ
268062017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26807
26808 [BZ #22153]
26809 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26810 in coredumps.
26811
86445888
JC
268122017-10-13 James Clarke <jrtc27@jrtc27.com>
26813
26814 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26815 Assign sym_map to be map for local symbols, as TLS relocations
26816 use sym_map to determine whether the symbol is defined and to
26817 extract the TLS information.
26818 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26819 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26820
179dcdb7
TMQMF
268212017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26822
e8dbd6a3
TMQMF
26823 [BZ #22189]
26824 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
26825 (math_force_eval): Add powerpc version.
26826
179dcdb7
TMQMF
26827 [BZ #22142]
26828 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
26829 -DBL_MAX.
26830 (do_test): Likewise.
26831 * stdio-common/tst-printf.sh: Likewise.
26832 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
26833 ifdef clause in order to set the carry bit right. Replace r0 by
26834 0 without changing the behavior.
26835
7d25d410
JM
268362017-10-13 Joseph Myers <joseph@codesourcery.com>
26837
006e7664
JM
26838 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
26839 <libm-alias-ldouble.h>.
26840 (fabsl): Define using libm_alias_ldouble.
26841 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
26842 <libm-alias-ldouble.h>.
26843 (fabsl): Define using libm_alias_ldouble.
26844
1def91b3
JM
26845 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
26846 Remove conditional code.
26847
7d25d410
JM
26848 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
26849 Rename to __clog10_internal_l.
26850 (__clog10_internal_l): Define aliases using
26851 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
26852 with __clog10.
26853
077ee129
RS
268542017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26855
26856 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
26857 * benchtests/sincosf-inputs: New file.
26858 * benchtests/cosf-inputs: New file.
26859 * benchtests/sinf-inputs: New file.
26860
5ba41de9
SN
268612017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
26862
26863 * posix/tst-spawn.c (do_test): Wait for both children.
26864
d165ca64
L
268652017-10-12 H.J. Lu <hongjiu.lu@intel.com>
26866
26867 [BZ #22284]
26868 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
26869 tests-pie): Add tst-gmon-pie.
26870 (CFLAGS-tst-gmon-pie.c): New.
26871 (CRT-tst-gmon-pie): Likewise.
26872 (tst-gmon-pie-ENV): Likewise.
26873 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
26874 ($(objpfx)tst-gmon-pie.out): Likewise.
26875 (clean-tst-gmon-pie-data): Likewise.
26876 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
26877 * gmon/gmon.c [PIC]: Include <link.h>.
26878 [PIC] (callback): New function.
26879 (write_hist): Add an argument for load address. Subtract load
26880 address from PCs.
26881 (write_call_graph): Likewise.
26882 (write_gmon): Call __dl_iterate_phdr to get load address, pass
26883 it to write_hist and write_call_graph.
7bacdcfc 26884 * gmon/tst-gmon-pie.c: New file.
d165ca64 26885
bc9620d0
JM
268862017-10-11 Joseph Myers <joseph@codesourcery.com>
26887
26888 * math/Makefile (test-types-basic): New variable.
26889 (test-types): Likewise.
26890 (libm-test-support): Use $(test-types) instead of $(types).
26891 (libm-tests-base-normal): Likewise.
26892 (libm-tests-base-finite): Likewise.
26893 (libm-tests-base-inline): Likewise.
26894 (generated): Likewise.
26895 ($(objpfx)libm-test-support-$(t).c): Likewise.
26896 (libm-tests-for-type iterator): Likewise.
26897 (libm-test-support iterator): Likewise.
26898 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
26899 (ulp_idx): Use ULP_IDX.
26900 * math/test-ldouble.h: Include <float.h>.
26901 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
26902 (ULP_IDX): New macro.
26903 (ULP_I_IDX): Likewise.
26904 * math/test-double.h (ULP_IDX): Likewise.
26905 (ULP_I_IDX): Likewise.
26906 * math/test-float.h (ULP_IDX): Likewise.
26907 (ULP_I_IDX): Likewise.
26908 * math/test-float128.h (ULP_IDX): Likewise.
26909 (ULP_I_IDX): Likewise.
26910
09c76a74
AZ
269112017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26912
26913 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
26914 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26915 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26916 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
26917 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26918 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
26919 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
26920 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26921 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26922 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26923 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
26924 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26925 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26926 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26927 (SINGLE_THREAD_BY_GLOBAL): Define.
26928 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26929 Likewise.
26930 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26931 Likewise.
26932 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26933 Likewise.
26934 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26935 Likewise.
26936 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
26937 (SINGLE_THREAD_BY_GLOBAL): Likewise.
26938 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26939 Likewise.
26940
2faa42da
AS
269412017-10-11 Andreas Schwab <schwab@suse.de>
26942
26943 * nis/Makefile (aux): Remove.
26944 * nscd/Makefile (aux): Add nscd_hash.
26945 (nscd-modules): Likewise.
26946 ($(objpfx)nscd): Don't depend on libnsl.
26947 * nscd/nscd_hash.c: New file.
26948 * nscd/nscd_hash.h: Likewise.
26949 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26950 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26951 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26952 instead of <nis/rpcsvc/nis.h>.
26953 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26954
d8425e11
FW
269552017-10-11 Florian Weimer <fweimer@redhat.com>
26956
26957 [BZ #22078]
26958 Avoid large NSS buffers with many addresses, aliases.
26959 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26960 using dynarrays and struct alloc_buffer.
26961 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26962 (tst-nss-files-hosts-multi): Link with -ldl.
26963 * nss/tst-nss-files-hosts-multi.c: New file.
26964
78e806fd
FW
269652017-10-11 Florian Weimer <fweimer@redhat.com>
26966
26967 [BZ #18023]
26968 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26969 scratch_buffer. Eliminate gotos.
26970
541f19ba
JM
269712017-10-11 Joseph Myers <joseph@codesourcery.com>
26972
0ff64d3a
JM
26973 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26974 libm_alias_ldouble_other.
26975 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26976 undefine and redefine.
26977 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26978 (exp10l): Do not define here.
26979 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26980 (weak_alias): Undefine and redefine.
26981 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26982 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26983 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26984 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26985
541f19ba
JM
26986 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26987 [!__fma] (fma): Define using libm_alias_double.
26988 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26989 [!__fmaf] (fmaf): Define using libm_alias_float.
26990 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26991 (fmal): Define using libm_alias_ldouble.
26992
24b6515d
JM
269932017-10-10 Joseph Myers <joseph@codesourcery.com>
26994
26995 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26996 New macro.
26997 (libm_alias_double_other): Likewise.
26998 (libm_alias_double_r): Use libm_alias_double_other_r.
26999 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27000 New macro.
27001 (libm_alias_float_other): Likewise.
27002 (libm_alias_float_r): Use libm_alias_float_other_r.
27003 * sysdeps/generic/libm-alias-float128.h
27004 (libm_alias_float128_other_r): New macro.
27005 (libm_alias_float128_other): Likewise.
27006 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27007 * sysdeps/generic/libm-alias-ldouble.h
27008 (libm_alias_ldouble_other_r): New macro.
27009 (libm_alias_ldouble_other): Likewise.
27010 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27011 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27012 (libm_alias_double_other_r): New macro.
27013 (libm_alias_double_other): Likewise.
27014 (libm_alias_double_r): Use libm_alias_double_other_r.
27015 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27016 (libm_alias_ldouble_other_r): New macro.
27017 (libm_alias_ldouble_other): Likewise.
27018 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27019 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27020 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27021 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27022 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27023 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27024 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27025 * math/w_exp2f.c: Use libm_alias_float_other.
27026 * math/w_expf.c: Likewise.
27027 * math/w_log2f.c: Likewise.
27028 * math/w_logf.c: Likewise.
27029 * math/w_powf.c: Likewise.
27030 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27031 [!__exp2f]: Use libm_alias_float_other.
27032 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27033 [!__expf]: Use libm_alias_float_other.
27034 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27035 [!__log2f]: Use libm_alias_float_other.
27036 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27037 [!__logf]: Use libm_alias_float_other.
27038 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27039 [!__powf]: Use libm_alias_float_other.
27040
8ed70de2
FW
270412017-10-10 Florian Weimer <fweimer@redhat.com>
27042
27043 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27044 function.
27045 (_nss_files_gethostbyname3_r): Call it.
27046
a8dce619
JM
270472017-10-09 Joseph Myers <joseph@codesourcery.com>
27048
27049 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27050 error. Remove default definition of declare_mgen_alias.
27051 [!declare_mgen_alias_r]: Likewise.
27052 * sysdeps/generic/math-type-macros-double.h
27053 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27054 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27055 (declare_mgen_alias_r): Likewise.
27056 * sysdeps/generic/math-type-macros-float128.h
27057 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27058 * sysdeps/generic/math-type-macros-ldouble.h
27059 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27060 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27061 macro.
27062 (declare_mgen_alias_r_s): Likewise.
27063 (declare_mgen_alias_r): Likewise.
27064 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27065 (lgamma_r): Define using libm_alias_double_r.
27066 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27067 (lgammaf_r): Define using libm_alias_float_r.
27068 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27069 (lgammal_r): Define using libm_alias_ldouble_r.
27070 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27071 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27072
bedac136
AZ
270732017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27074
27075 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27076 extern declaration.
27077
c7509db2
JM
270782017-10-09 Joseph Myers <joseph@codesourcery.com>
27079
27080 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27081
d6c064e9
JW
270822017-10-09 Jonathan Wakely <jwakely@redhat.com>
27083
27084 [BZ #21326]
27085 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27086 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27087 * math/Makefile (test-math-cxx11): New test.
27088 * math/test-math-cxx11.cc: New file.
27089
98e07420
CB
270902017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27091
27092 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27093
645ac9aa
CB
27094 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27095 call to allocate the slave pty file descriptor.
27096
fd3b4e7c
JM
270972017-10-06 Joseph Myers <joseph@codesourcery.com>
27098
f85a176f
JM
27099 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27100 [!__fma] (fma): Define using libm_alias_double.
27101 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27102 [!__fma] (fma): Define using libm_alias_double.
27103
fd3b4e7c
JM
27104 * sysdeps/ieee754/float128/float128_private.h: Include
27105 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27106 (libm_alias_ldouble_r): Undefine and redefine.
27107 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27108 <libm-alias-ldouble.h>.
27109 (asinhl): Define using libm_alias_ldouble.
27110 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27111 <libm-alias-ldouble.h>.
27112 (atanl): Define using libm_alias_ldouble.
27113 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27114 <libm-alias-ldouble.h>.
27115 (cbrtl): Define using libm_alias_ldouble.
27116 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27117 <libm-alias-ldouble.h>.
27118 (ceill): Define using libm_alias_ldouble.
27119 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27120 <libm-alias-ldouble.h>.
27121 (copysignl): Define using libm_alias_ldouble.
27122 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27123 <libm-alias-ldouble.h>.
27124 (cosl): Define using libm_alias_ldouble.
27125 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27126 <libm-alias-ldouble.h>.
27127 (erfl): Define using libm_alias_ldouble.
27128 (erfcl): Likewise.
27129 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27130 <libm-alias-ldouble.h>.
27131 (expm1l): Define using libm_alias_ldouble.
27132 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27133 <libm-alias-ldouble.h>.
27134 (fabsl): Define using libm_alias_ldouble.
27135 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27136 <libm-alias-ldouble.h>.
27137 (floorl): Define using libm_alias_ldouble.
27138 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27139 <libm-alias-ldouble.h>.
27140 (fmal): Define using libm_alias_ldouble.
27141 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27142 <libm-alias-ldouble.h>.
27143 (frexpl): Define using libm_alias_ldouble.
27144 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27145 libm_alias_ldouble.
27146 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27147 <libm-alias-ldouble.h>.
27148 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27149 libm_alias_ldouble.
27150 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27151 <libm-alias-ldouble.h>.
27152 (getpayloadl): Define using libm_alias_ldouble.
27153 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27154 <libm-alias-ldouble.h>.
27155 (llrintl): Define using libm_alias_ldouble.
27156 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27157 <libm-alias-ldouble.h>.
27158 (llroundl): Define using libm_alias_ldouble.
27159 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27160 <libm-alias-ldouble.h>.
27161 (logbl): Define using libm_alias_ldouble.
27162 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27163 <libm-alias-ldouble.h>.
27164 (lrintl): Define using libm_alias_ldouble.
27165 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27166 <libm-alias-ldouble.h>.
27167 (lroundl): Define using libm_alias_ldouble.
27168 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27169 <libm-alias-ldouble.h>.
27170 (modfl): Define using libm_alias_ldouble.
27171 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27172 <libm-alias-ldouble.h>.
27173 (nearbyintl): Define using libm_alias_ldouble.
27174 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27175 <libm-alias-ldouble.h>.
27176 (nextafterl): Define using libm_alias_ldouble.
27177 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27178 <libm-alias-ldouble.h>.
27179 (nextupl): Define using libm_alias_ldouble.
27180 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27181 <libm-alias-ldouble.h>.
27182 (remquol): Define using libm_alias_ldouble.
27183 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27184 <libm-alias-ldouble.h>.
27185 (rintl): Define using libm_alias_ldouble.
27186 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27187 <libm-alias-ldouble.h>.
27188 (roundevenl): Define using libm_alias_ldouble.
27189 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27190 <libm-alias-ldouble.h>.
27191 (roundl): Define using libm_alias_ldouble.
27192 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27193 using libm_alias_ldouble.
27194 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27195 <libm-alias-ldouble.h>.
27196 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27197 Define using libm_alias_ldouble.
27198 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27199 <libm-alias-ldouble.h>.
27200 (sincosl): Define using libm_alias_ldouble.
27201 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27202 <libm-alias-ldouble.h>.
27203 (sinl): Define using libm_alias_ldouble.
27204 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27205 <libm-alias-ldouble.h>.
27206 (tanhl): Define using libm_alias_ldouble.
27207 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27208 <libm-alias-ldouble.h>.
27209 (tanl): Define using libm_alias_ldouble.
27210 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27211 <libm-alias-ldouble.h>.
27212 (totalorderl): Define using libm_alias_ldouble.
27213 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27214 <libm-alias-ldouble.h>.
27215 (totalordermagl): Define using libm_alias_ldouble.
27216 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27217 <libm-alias-ldouble.h>.
27218 (truncl): Define using libm_alias_ldouble.
27219 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27220 libm_alias_ldouble.
27221 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27222 libm_alias_ldouble.
27223 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27224 <libm-alias-ldouble.h>.
27225 (weak_alias): Do not undefine and redefine.
27226 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27227 (copysignl): Define with long_double_symbol only if [IS_IN
27228 (libc)].
27229 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27230 <libm-alias-ldouble.h>.
27231 (weak_alias): Do not undefine and redefine.
27232 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27233 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27234 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27235 <libm-alias-ldouble.h>.
27236 (weak_alias): Do not undefine and redefine.
27237 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27238 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27239 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27240 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27241 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27242 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27243 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27244 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27245 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27246 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27247 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27248 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27249 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27250 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27251 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27252 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27253 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27254 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27255 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27256 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27257 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27258 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27259 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27260 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27261 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27262 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27263
1e26d351
CD
272642017-10-06 Carlos O'Donell <carlos@redhat.com>
27265
27266 [BZ #22111]
27267 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27268 (tcache_thread_freeres): Set tcache_shutting_down before
27269 freeing the tcache.
27270 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27271 * malloc/tst-malloc-tcache-leak.c: New file.
27272
d1386762
RS
272732017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27274
27275 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27276 back to powerpc32 file.
27277 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27278 (memrchr): Add __memrchr_power8 to ifunc list.
27279 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27280 extra bytes for unaligned inputs.
27281
6dff1983
JM
272822017-10-06 Joseph Myers <joseph@codesourcery.com>
27283
27284 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27285 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27286 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27287 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27288 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27289
86f9568a
JM
272902017-10-05 Joseph Myers <joseph@codesourcery.com>
27291
0db0b931
JM
27292 * sysdeps/arm/libm-test-ulps: Update.
27293
86f9568a
JM
27294 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27295 <libm-alias-ldouble.h>.
27296 (asinhl): Define using libm_alias_ldouble.
27297 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27298 <libm-alias-ldouble.h>.
27299 (cbrtl): Define using libm_alias_ldouble.
27300 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27301 <libm-alias-ldouble.h>.
27302 (copysignl): Define using libm_alias_ldouble.
27303 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27304 <libm-alias-ldouble.h>.
27305 (cosl): Define using libm_alias_ldouble.
27306 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27307 <libm-alias-ldouble.h>.
27308 (erfl): Define using libm_alias_ldouble.
27309 (erfcl): Likewise.
27310 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27311 <libm-alias-ldouble.h>.
27312 (fmal): Define using libm_alias_ldouble.
27313 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27314 <libm-alias-ldouble.h>.
27315 (frexpl): Define using libm_alias_ldouble.
27316 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27317 libm_alias_ldouble.
27318 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27319 <libm-alias-ldouble.h>.
27320 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27321 libm_alias_ldouble.
27322 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27323 <libm-alias-ldouble.h>.
27324 (getpayloadl): Define using libm_alias_ldouble.
27325 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27326 <libm-alias-ldouble.h>.
27327 (llrintl): Define using libm_alias_ldouble.
27328 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27329 <libm-alias-ldouble.h>.
27330 (llroundl): Define using libm_alias_ldouble.
27331 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27332 <libm-alias-ldouble.h>.
27333 (lrintl): Define using libm_alias_ldouble.
27334 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27335 <libm-alias-ldouble.h>.
27336 (lroundl): Define using libm_alias_ldouble.
27337 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27338 <libm-alias-ldouble.h>.
27339 (modfl): Define using libm_alias_ldouble.
27340 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27341 <libm-alias-ldouble.h>.
27342 (nextupl): Define using libm_alias_ldouble.
27343 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27344 <libm-alias-ldouble.h>.
27345 (remquol): Define using libm_alias_ldouble.
27346 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27347 <libm-alias-ldouble.h>.
27348 (roundevenl): Define using libm_alias_ldouble.
27349 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27350 <libm-alias-ldouble.h>.
27351 (roundl): Define using libm_alias_ldouble.
27352 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27353 using libm_alias_ldouble.
27354 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27355 <libm-alias-ldouble.h>.
27356 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27357 <libm-alias-ldouble.h>.
27358 (setpayloadsigl): Define using libm_alias_ldouble.
27359 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27360 <libm-alias-ldouble.h>.
27361 (sincosl): Define using libm_alias_ldouble.
27362 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27363 <libm-alias-ldouble.h>.
27364 (sinl): Define using libm_alias_ldouble.
27365 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27366 <libm-alias-ldouble.h>.
27367 (tanhl): Define using libm_alias_ldouble.
27368 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27369 <libm-alias-ldouble.h>.
27370 (tanl): Define using libm_alias_ldouble.
27371 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27372 <libm-alias-ldouble.h>.
27373 (totalorderl): Define using libm_alias_ldouble.
27374 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27375 <libm-alias-ldouble.h>.
27376 (totalordermagl): Define using libm_alias_ldouble.
27377 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27378 libm_alias_ldouble.
27379 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27380 libm_alias_ldouble.
27381
9ec87fd2
SP
273822017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27383
dd5bc7f1
SP
27384 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27385 memmove_falkor.
27386 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27387 (__libc_ifunc_impl_list): Likewise.
27388 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27389 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27390
5bfb0404
SP
27391 * benchtests/bench-memmove-walk.c: New file.
27392 * benchtests/Makefile (string-benchset): Add it.
27393
36bb8edf
SP
27394 * benchtests/bench-memset-walk.c: New file.
27395 * benchtests/Makefile (string-benchset): Add it.
27396
9ec87fd2
SP
27397 * benchtests/bench-memcpy-walk.c: New file.
27398 * benchtests/Makefile (string-benchset): Add it.
27399
1e9522c6
FW
274002017-10-05 Florian Weimer <fweimer@redhat.com>
27401
27402 nscd: Eliminate compilation time dependency in the build output.
27403 * nscd/nscd_stat.c (STATDATA_VERSION)
27404 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27405 (STATDATA_VERSION_FULL): New macro definitions.
27406 (compilation): Remove.
27407 (struct statdata): Adjust version member.
27408 (send_stats): Set version from STATDATA_VERSION_FULL.
27409 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27410
644d3857
JM
274112017-10-05 Joseph Myers <joseph@codesourcery.com>
27412
27413 * configure.ac (--enable-add-ons): Remove option.
27414 (machine): Do not mention add-ons in comment.
27415 (LIBC_PRECONFIGURE): Likewise.
27416 (add_ons): Remove variable and sanity checks and logic to locate
27417 add-ons.
27418 (add_ons_automatic): Remove variable.
27419 (configured_add_ons): Likewise.
27420 (add_ons_sfx): Likewise.
27421 (add_ons_pfx): Likewise.
27422 (add_on_subdirs): Likewise.
27423 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27424 consideration of add-ons in Implies handling.
27425 (sysdeps_add_ons): Likewise.
27426 * configure: Regenerated.
27427 * libidn/configure.ac: Remove.
27428 * libidn/configure: Likewise.
27429 * sysdeps/unix/inet/configure.ac: New file.
27430 * sysdeps/unix/inet/configure: New generated file.
27431 * sysdeps/unix/inet/Subdirs: Add libidn.
27432 * Makeconfig (sysdeps-srcdirs): Remove variable.
27433 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27434 ($(common-objpfx)config.status): Do not depend on add-on files.
27435 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27436 comment.
27437 (all-subdirs): Do not include $(add-on-subdirs).
27438 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27439 * config.make.in (add-ons): Remove variable.
27440 (add-on-subdirs): Likewise.
27441 (sysdeps-add-ons): Likewise.
27442 * manual/Makefile (add-chapters): Remove.
27443 ($(objpfx)texis): Do not depend on $(add-chapters).
27444 (nonexamples): Do not handle $(add-chapters).
27445 (examples): Do not handle $(add-ons).
27446 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27447 libc-texinfo.sh.
27448 * manual/install.texi (Installation): Do not mention add-ons.
27449 (--enable-add-ons): Do not document configure option.
27450 * INSTALL: Regenerated.
27451 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27452 * manual/maint.texi (Hierarchy Conventions): Do not mention
27453 add-ons.
27454 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27455 --enable-add-ons.
27456 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27457 add-ons.
27458 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27459 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27460
19f82f35
AS
274612017-10-05 Andreas Schwab <schwab@suse.de>
27462
27463 [BZ #15142]
27464 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27465 (_IO_flush_all_lockp): Always lock list_all_lock.
27466 (_IO_flush_all_linebuffered): Likewise.
27467 (_IO_unbuffer_all): Likewise.
27468
91e7cf98
FW
274692017-10-05 Florian Weimer <fweimer@redhat.com>
27470
27471 [BZ #15436]
27472 Do not flush stdio streams on abort.
27473 * stdlib/abort.c (fflush): Remove macro definition.
27474 (abort): Remove stages related to stdio flushing.
27475
0c251257
FW
274762017-10-05 Florian Weimer <fweimer@redhat.com>
27477
27478 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27479
7ea59e3e
SL
274802017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27481
27482 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27483
84d0e6f0
FW
274842017-10-05 Florian Weimer <fweimer@redhat.com>
27485
27486 * support/support_format_hostent.c (support_format_hostent): Add
27487 more error information for NETDB_INTERNAL.
27488
ee417882
L
274892017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27490
27491 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27492 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27493 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27494 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27495 AC_DEFINE if multi-arch is enabled.
27496 * sysdeps/i386/configure: Regenerated.
27497
a67029ff
L
274982017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27499
27500 * Makeconfig (+link-static-before-libc): Use
27501 $(DEFAULT-LDFLAGS-$(@F)).
27502 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27503 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27504 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27505
5dba84b3
L
275062017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27507
27508 * elf/Makefile (tests): Add tst-main1.
27509 (modules-names): Add tst-main1mod.
27510 ($(objpfx)tst-main1): New.
27511 (CRT-tst-main1): Likewise.
27512 (LDFLAGS-tst-main1): Likewise.
27513 (LDLIBS-tst-main1): Likewise.
27514 (tst-main1mod.so-no-z-defs): Likewise.
27515 * elf/tst-main1.c: New file.
27516 * elf/tst-main1mod.c: Likewise.
27517
758f1bfa
L
275182017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27519
27520 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27521
7e16a5d1
JM
275222017-10-04 Joseph Myers <joseph@codesourcery.com>
27523
27524 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27525 (fma): Define using libm_alias_double.
27526 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27527 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27528 <math_ldbl_opt.h>.
27529 (fmal): Do not define as compat symbol here.
27530 * sysdeps/alpha/fpu/s_fma.c: New file.
27531
db4f87ba
SN
275322017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27533
27534 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27535
72d13ed1
JM
275362017-10-04 Joseph Myers <joseph@codesourcery.com>
27537
32d372d5
JM
27538 [BZ #22229]
27539 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27540 <math_ldbl_opt.h>
27541 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27542 and libc.
27543 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27544 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27545 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27546 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27548 Include <math_ldbl_opt.h>
27549 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27550 and libc.
27551 (compat_symbol): Undefine and redefine.
27552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27553 <math_ldbl_opt.h>
27554 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27555 (compat_symbol): Undefine and redefine.
27556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27557 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27558 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27559 GLIBC_2_1 for libm.
27560 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27561 GLIBC_2.0 copysignl symbol.
27562 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27563 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27564
72d13ed1
JM
27565 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27566
11c4f501
FW
275672017-10-04 Florian Weimer <fweimer@redhat.com>
27568
27569 * scripts/check-local-headers.sh: Ignore nspr4 header file
27570 directory in addition to nspr.
27571
57b4af19
GT
275722017-10-04 Guido Trentalancia <guido@trentalancia.net>
27573
27574 [BZ #17956]
27575 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27576 * configure: Regenerate.
27577 * crypt/Makefile (nss-cpp-flags): New variable.
27578 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27579 (CPPFLAGS-md5-crypt.c): Use it.
27580 * scripts/check-local-headers.sh: Ignore nspr header file
27581 directory.
27582
64d1e08e
AS
275832017-10-04 Andreas Schwab <schwab@suse.de>
27584
27585 * nis/Makefile (services): Remove compat.
27586 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27587 ($(objpfx)libnss_compat.so): Remove rule.
27588 * nis/Versions (libnss_compat): Remove.
27589 * nss/Makefile (services): Add compat.
27590 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27591 * nss/Versions (libnss_compat): Define.
27592 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27593 Don't include <rpc/types.h>. Replace bool_t by bool.
27594 * nss/nss_compat/compat-initgroups.c: Likewise.
27595 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27596 instead of <rpcsrv/ypclnt.h>.
27597 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27598 yp_get_default_domain.
27599 * nss/nss_compat/compat-pwd.c: Likewise.
27600 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27601 yp_get_default_domain.
27602 * nss/nss_compat/nisdomain.c: New file.
27603 * nss/nss_compat/nisdomain.h: Likewise.
27604
86c27ade
SN
276052017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27606
27607 [BZ #22244]
27608 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27609 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27610
8f8f8ef7
SN
276112017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27612
27613 [BZ #22243]
27614 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27615 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27616
95577475
L
276172017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27618
27619 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27620 "movl main@GOTOFF(%ebx), %eax".
27621
02d2d892
L
276222017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27623
27624 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27625 allow undefined _DYNAMIC in PIE libc.a.
27626 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27627 Likewse.
27628
0c609d19
L
276292017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27630
27631 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27632 check _DYNAMIC.
27633
c34a19ed
L
276342017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27635
27636 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27637 check _DYNAMIC.
27638
cdd4155d
L
276392017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27640
27641 * math/test-math-iscanonical.cc (error): Replace bool with int.
27642
4699cb8b
JM
276432017-10-03 Joseph Myers <joseph@codesourcery.com>
27644
d8f619b3
JM
27645 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27646 (modf): Define using libm_alias_double, only if [!__modf].
27647 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27648 <libm-alias-double.h>.
27649 (modf): Define using libm_alias_double, only if [!__modf].
27650 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27651 compat symbol here.
27652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27653 (weak_alias): Do not undefine and redefine.
27654 (strong_alias): Likewise.
27655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27656 (weak_alias): Likewise.
27657 (strong_alias): Likewise.
27658
4699cb8b
JM
27659 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27660 (logb): Define using libm_alias_double, only if [!__logb].
27661 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27662 <libm-alias-double.h>.
27663 (logb): Define using libm_alias_double, only if [!__logb].
27664 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27666 (weak_alias): Do not undefine and redefine.
27667 (strong_alias): Likewise.
27668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27669 (weak_alias): Likewise.
27670 (strong_alias): Likewise.
27671
bcc4e4bb
L
276722017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27673
27674 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27675 Check SHARED instead PIC.
27676
39793865
JM
276772017-10-03 Joseph Myers <joseph@codesourcery.com>
27678
7f1cbdf8
JM
27679 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27680 [!__fmaf] (fmaf): Define using libm_alias_float.
27681
39793865
JM
27682 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27683 (frexp): Define using libm_alias_double.
27684 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27685 <libm-alias-double.h>.
27686 (frexp): Define using libm_alias_double.
27687 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27688 compat symbol here.
27689
aa0235df
GG
276902017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27691
27692 [BZ #22235]
27693 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27694 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27695 (CFLAGS-test-math-iscanonical.cc): New variable.
27696 * math/test-math-iscanonical.cc: New file.
27697 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27698 Provide a C++ implementation based on function overloading,
27699 rather than using __MATH_TG, which uses C-only builtins.
27700 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27701 Likewise.
27702 * sysdeps/powerpc/powerpc64le/Makefile
27703 (CFLAGS-test-math-iscanonical.cc): New variable.
27704
a1132b5e
JM
277052017-10-03 Joseph Myers <joseph@codesourcery.com>
27706
27707 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27708 (ceil): Define using libm_alias_double.
27709 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27710 (floor): Define using libm_alias_double.
27711 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27712 <libm-alias-double.h>.
27713 (llround): Define using libm_alias_double.
27714 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27715 <libm-alias-double.h>.
27716 (lround): Define using libm_alias_double.
27717 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27718 <libm-alias-double.h>.
27719 (nearbyint): Define using libm_alias_double.
27720 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27721 <libm-alias-double.h>.
27722 (remquo): Define using libm_alias_double.
27723 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27724 (rint): Define using libm_alias_double.
27725 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27726 (round): Define using libm_alias_double.
27727 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27728 (trunc): Define using libm_alias_double.
27729 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27730 <libm-alias-double.h>.
27731 (ceil): Define using libm_alias_double.
27732 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27733 <libm-alias-double.h>.
27734 (floor): Define using libm_alias_double.
27735 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27736 <libm-alias-double.h>.
27737 (llround): Define using libm_alias_double.
27738 [_LP64] (lround): Likewise.
27739 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27740 <libm-alias-double.h>.
27741 [!_LP64] (lround): Define using libm_alias_double.
27742 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27743 <libm-alias-double.h>.
27744 (nearbyint): Define using libm_alias_double.
27745 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27746 <libm-alias-double.h>.
27747 (remquo): Define using libm_alias_double.
27748 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27749 <libm-alias-double.h>.
27750 (rint): Define using libm_alias_double.
27751 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27752 <libm-alias-double.h>.
27753 (round): Define using libm_alias_double.
27754 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27755 <libm-alias-double.h>.
27756 (trunc): Define using libm_alias_double.
27757 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27758 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27759 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27760 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27761 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27762 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27763 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27764 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27765 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27766
f275f64e
SN
277672017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27768
27769 * math/w_remainder.c: New file.
27770 * math/w_remainderf.c: New file.
27771 * math/w_remainderl.c: New file.
27772
b8818ab5
L
277732017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27774
27775 * elf/rtld.c (BOOTSTRAP_MAP): New.
27776 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27777 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27778 Likewise.
27779 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27780 Likewise.
27781 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27782 Likewise.
27783
3d1870fa
ST
277842017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27785
27786 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27787 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27788 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27789 rtld_hidden_data_ver): Define to empty.
27790 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27791 __assert_perror_fail): Likewise.
27792 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27793 (__rewinddir): Likewise.
27794 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27795 (__profile_frequency): Likewise.
27796 * include/setjmp.h (__sigsetjmp): Likewise.
27797 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27798 __libc_sigaction): Likewise.
27799 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27800 not set hidden attribute.
27801 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27802 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27803 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27804 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27805 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27806 __fxstatat64): Likewise.
27807 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27808 (__uname): Likewise.
27809 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27810 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27811 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27812 (NO_RTLD_HIDDEN): Set.
27813 * sysdeps/mach/hurd/configure: Refresh.
27814 * config.h.in: Refresh.
27815
527cd19c
JM
278162017-10-02 Joseph Myers <joseph@codesourcery.com>
27817
38722448
JM
27818 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27819 (atan): Define using libm_alias_double.
27820 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27821 (tan): Define using libm_alias_double.
27822 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27823 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
27824
527cd19c
JM
27825 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
27826 define as weak alias of __atan. Do not define any aliases if
27827 [__atan].
27828 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
27829 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
27830 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
27831 as weak alias of __tan. Do not define any aliases if [__tan].
27832 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
27833 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
27834 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
27835 __atan.
27836 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
27837 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
27838 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
27839 and define as weak alias of __atan.
27840 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
27841 __atan.
27842 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
27843 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
27844 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
27845 define as weak alias of __tan.
27846
bdc5c592
SN
278472017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27848
27849 * math/w_lgamma.c: New file.
27850 * math/w_lgammaf.c: New file.
27851 * math/w_lgammal.c: New file.
27852
bd4430c2
SN
278532017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27854
27855 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
27856 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
27857 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
27858 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
27859 * sysdeps/ieee754/flt-32/w_logf.c: New file.
27860 * sysdeps/ieee754/flt-32/w_powf.c: New file.
27861 * sysdeps/i386/fpu/w_log2f.c: New file.
27862 * sysdeps/i386/fpu/w_logf.c: New file.
27863 * sysdeps/i386/fpu/w_powf.c: New file.
27864 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
27865 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
27866 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
27867
f7a0b063
SN
278682017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27869 H.J. Lu <hongjiu.lu@intel.com>
27870
27871 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
27872 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
27873 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
27874 * sysdeps/ieee754/flt-32/w_expf.c: New file.
27875 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
27876 the new expf code.
27877 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
27878 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
27879 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
27880 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
27881 * sysdeps/i386/fpu/w_exp2f.c: New file.
27882 * sysdeps/i386/fpu/w_expf.c: New file.
27883 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
27884 * sysdeps/x86_64/fpu/w_expf.c: New file.
27885
72d3d281
SN
278862017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27887
27888 * math/Versions (logf): New libm symbol at GLIBC_2.27.
27889 (log2f): Likewise.
27890 (powf): Likewise.
27891 * math/w_log2f.c: New file.
27892 * math/w_logf.c: New file.
27893 * math/w_powf.c: New file.
27894 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
27895 * math/w_logf_compat.c (__logf_compat): Likewise.
27896 * math/w_powf_compat.c (__powf_compat): Likewise.
27897 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
27898 * sysdeps/ia64/fpu/e_logf.S: Likewise.
27899 * sysdeps/ia64/fpu/e_powf.S: Likewise.
27900 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27901 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27902 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27903 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27904 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27905 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27906 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27907 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27908 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27909 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27910 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27911 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27913 Likewise.
27914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27915 Likewise.
27916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27917 Likewise.
27918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27919 Likewise.
27920 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27921 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27922 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27923 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27924 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27926 Likewise.
27927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27928 Likewise.
27929 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27930 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27931 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27932
59ba2d2b
RS
279332017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27934
27935 * sysdeps/powerpc/powerpc64/multiarch/Makefile
27936 (sysdep_routines): Add memrchr_power8.
27937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27938 (memrchr): Add __memrchr_power8 to list of memrchr functions.
27939 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
27940 New file.
27941 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27942 (memrchr): Add __memrchr_power8 to ifunc list.
27943 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27944
397286ea
L
279452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27946
27947 [BZ #18822]
27948 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27949 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27950 libc_hidden_def.
27951 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27952 (__posix_fallocate64_l64): Likewise.
27953
d0a4512b
L
279542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27955
27956 [BZ #18822]
27957 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27958 (__sched_setaffinity_new): Add libc_hidden_proto and
27959 libc_hidden_def.
27960
c0769f70
L
279612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27962
27963 [BZ #18822]
27964 * include/glob.h (__glob64): Add libc_hidden_proto.
27965 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27966 libc_hidden_def.
27967
0e7d5b6e
L
279682017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27969
27970 [BZ #18822]
27971 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27972 attribute_hidden.
27973
bde06c87
L
279742017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27975
27976 [BZ #18822]
27977 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27978
fa426590
L
279792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27980
27981 [BZ #18822]
27982 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27983 libc_hidden_def.
27984
2f8a05d8
L
279852017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27986
27987 [BZ #18822]
27988 * csu/version.c (__libc_print_version): Add attribute_hidden.
27989
7bfd08ac
L
279902017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27991
27992 [BZ #18822]
27993 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27994
0e1fd06c
L
279952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27996
27997 [BZ #18822]
27998 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27999
36e7ae1e
L
280002017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28001
28002 [BZ #18822]
28003 * nscd/nscd_helper.c (__nis_hash): New prototype.
28004
87078544
L
280052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28006
28007 [BZ #18822]
28008 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28009 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28010 libc_hidden_def.
28011 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28012 * termios/tcgetattr.c (__tcgetattr): Likewise.
28013
dd3121df
L
280142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28015
28016 [BZ #18822]
28017 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28018 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28019 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28020 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28021 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28022
047d1a81
L
280232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28024
28025 [BZ #18822]
28026 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28027
fd331b11
L
280282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28029
28030 [BZ #18822]
28031 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28032 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28033
57f859bd
L
280342017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28035
28036 [BZ #18822]
28037 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28038
d1903329
L
280392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28040
28041 [BZ #18822]
28042 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28043 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28044
b4744101
L
280452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28046
28047 [BZ #18822]
28048 * include/ifreq.h: New file.
28049 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28050 (__ifreq): Likewise.
28051 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28052 (__ifreq): Likewise.
28053
43b7dfd1
L
280542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28055
28056 [BZ #18822]
28057 * include/idna.h: New file.
28058 * inet/getnameinfo.c: Include <idna.h> instead of
28059 <libidn/idna.h>.
28060 (__idna_to_unicode_lzlz): Removed.
28061 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28062 <libidn/idna.h>.
28063 (__idna_to_ascii_lz): Removed.
28064 (__idna_to_unicode_lzlz): Likewise.
28065
2c0cd8f8
L
280662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28067
28068 [BZ #18822]
28069 * include/plural-exp.h: New file.
28070 * intl/plural-exp.c: Include <plural-exp.h> instead of
28071 "plural-exp.h".
28072
8369d216
L
280732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28074
28075 [BZ #18822]
28076 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28077 "getsourcefilter.h".
28078 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28079 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28080 "getsourcefilter.h".
28081 (__get_sol): Removed.
28082
a0aef783
L
280832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28084
28085 [BZ #18822]
28086 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28087 to ...
28088 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28089
3ee8209b
L
280902017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28091
28092 [BZ #18822]
28093 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28094 attribute_hidden.
28095
6036fc38
L
280962017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28097
28098 [BZ #18822]
28099 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28100
fe84fed0
L
281012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28102
28103 [BZ #18822]
28104 * include/search.h (__tdestroy): Add libc_hidden_proto.
28105 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28106
048dd681
L
281072017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28108
28109 [BZ #18822]
28110 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28111
6e342af6
L
281122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28113
28114 [BZ #18822]
28115 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28116 attribute_hidden.
28117
6a088436
L
281182017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28119
28120 [BZ #18822]
28121 * include/signal.h (__kill): Add libc_hidden_proto.
28122 (__sigblock): Likewise.
28123 (__sigprocmask): Likewise.
28124 (__sigaltstack): Likewise.
28125 * signal/kill.c (__kill): Add libc_hidden_def.
28126 * signal/sigblock.c (__sigblock): Likewise.
28127 * signal/sigprocmask.c (__sigprocmask): Likewise.
28128 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28129 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28130 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28131 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28132 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28133 Likewise.
28134 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28135 Likewise.
28136 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28137 (__sigprocmask): Likewise.
28138 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28139 Likewise.
28140 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28141 (__sigprocmask): Likewise.
28142 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28143 Likewise.
28144
78cf1d74
L
281452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28146
28147 [BZ #18822]
28148 * include/string.h (__strsep): Add libc_hidden_proto.
28149 * string/strsep.c (__strsep): Add libc_hidden_def.
28150
85b35894
L
281512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28152
28153 [BZ #18822]
28154 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28155 attribute_hidden.
28156 (__spawni): Likewise.
28157
225f7eec
L
281582017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28159
28160 [BZ #18822]
28161 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28162 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28163 libc_hidden_def.
28164
372fe247
L
281652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28166
28167 [BZ #18822]
28168 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28169
9e5ee8b8
L
281702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28171
28172 [BZ #18822]
28173 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28174 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28175 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28176 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28177 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28178 Likewise.
28179 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28180 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28181
2ff16592
L
281822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28183
28184 [BZ #18822]
28185 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28186 (__dcigettext): Likewise.
28187
b5648377
L
281882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28189
28190 [BZ #18822]
28191 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28192 libc_hidden_proto.
28193 (__get_nprocs): Likewise.
28194 (__get_phys_pages): Likewise.
28195 (__get_avphys_pages): Likewise.
28196 (__get_child_max): Add attribute_hidden.
28197 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28198 (__get_nprocs): Likewise.
28199 (__get_phys_pages): Likewise.
28200 (__get_avphys_pages): Likewise.
28201 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28202 libc_hidden_def.
28203 (__get_nprocs): Likewise.
28204 (__get_phys_pages): Likewise.
28205 (__get_avphys_pages): Likewise.
28206 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28207 libc_hidden_def.
28208 (__get_nprocs_conf): Likewise.
28209 (__get_phys_pages): Likewise.
28210 (__get_avphys_pages): Likewise.
28211
0389a6aa
L
282122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28213
28214 [BZ #18822]
28215 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28216 attribute_hidden.
28217 (__netlink_close): Likewise.
28218 (__netlink_free_handle): Likewise.
28219 (__netlink_request): Likewise.
28220
d48354d8
L
282212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28222
28223 [BZ #18822]
28224 * include/rpc/rpc.h (__rpc_thread_variables): Add
28225 attribute_hidden.
28226 (__rpc_thread_svc_cleanup): Likewise.
28227 (__rpc_thread_clnt_cleanup): Likewise.
28228 (__rpc_thread_key_cleanup): Likewise.
28229
d6daff12
L
282302017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28231
28232 [BZ #18822]
28233 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28234 (__writev): Likewise.
28235 * misc/readv.c (__readv): Add libc_hidden_def.
28236 * misc/writev.c (__writev): Likewise.
28237 * sysdeps/posix/readv.c (__readv): Likewise.
28238 * sysdeps/posix/writev.c (__writev): Likewise.
28239 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28240 (__readv): Likewise.
28241 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28242 (__writev): Likewise.
28243
b68f8620
L
282442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28245
28246 [BZ #18822]
28247 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28248 (__regcomp): Add libc_hidden_proto.
28249 (__regexec): Likewise.
28250 (__regfree): Likewise.
28251 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28252 (__regfree): Likewise.
28253 * posix/regexec.c (__regexec): Likewise.
28254
59c04e67
L
282552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28256
28257 [BZ #18822]
28258 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28259 (__getutent): Likewise.
28260 (__getutid): Likewise.
28261 (__getutline): Likewise.
28262 (__pututline): Likewise.
28263 (__getutent_r): Likewise.
28264 (__getutid_r): Likewise.
28265 (__getutline_r): Likewise.
28266 (__utmpname): Add attribute_hidden.
28267 (__setutent): Likewise.
28268 (__endutent): Likewise.
28269 * login/getutent.c (__getutent): Add libc_hidden_def.
28270 * login/getutent_r.c (__getutent_r): Likewise.
28271 (__pututline): Likewise.
28272 * login/getutid.c (__getutid): Likewise.
28273 * login/getutid_r.c (__getutid_r): Likewise.
28274 * login/getutline.c (__getutline): Likewise.
28275 * login/getutline_r.c (__getutline_r): Likewise.
28276 * login/updwtmp.c (__updwtmp): Likewise.
28277
4587a421
L
282782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28279
28280 [BZ #18822]
28281 * include/dirent.h (__opendir): Always add attribute_hidden.
28282 (__fdopendir): Likewise.
28283 (__closedir): Likewise.
28284 (__readdir): Likewise.
28285 (__readdir64): Add libc_hidden_proto.
28286 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28287 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28288 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28289 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28290 New alias.
28291
9635ce69
L
282922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28293
28294 [BZ #18822]
28295 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28296 * include/netdb.h (__gethostbyaddr_r): Likewise.
28297 (__gethostbyname_r): Likewise.
28298 (__gethostbyname2_r): Likewise.
28299 (__getnetbyaddr_r): Likewise.
28300 (__getnetbyname_r): Likewise.
28301 (__getservbyname_r): Likewise.
28302 (__getservbyport_r): Likewise.
28303 (__getprotobyname_r): Likewise.
28304 (__getprotobynumber_r): Likewise.
28305 (__getnetgrent_r): Likewise.
28306 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28307 (__getrpcbynumber_r): Likewise.
28308 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28309
2e0a6909
L
283102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28311
28312 [BZ #18822]
28313 * include/stdio.h (__fcloseall): Add attribute_hidden.
28314 (__getline): Likewise.
28315 (__path_search): Likewise.
28316 (__gen_tempname): Likewise.
28317 (__libc_message): Likewise.
28318 (__flockfile): Likewise.
28319 (__funlockfile): Likewise.
28320 (__fxprintf): Likewise.
28321 (__fxprintf_nocancel): Likewise.
28322
94fd682c
L
283232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28324
28325 [BZ #18822]
28326 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28327 (__sgetsgent_r): Likewise.
28328
e1b33bba
L
283292017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28330
28331 [BZ #18822]
28332 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28333 (__statfs64): Likewise.
28334 (__fstatfs64): Likewise.
28335 * include/sys/statvfs.h (__statvfs64): Likewise.
28336 (__fstatvfs64): Likewise.
28337 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28338 (__statfs_filesize_max): Likewise.
28339 (__statfs_symlinks): Likewise.
28340 (__statfs_chown_restricted): Likewise.
28341
b0f56784
L
283422017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28343
28344 [BZ #18822]
28345 * include/time.h (__tzstring): Add attribute_hidden.
28346 (__tzfile_read): Likewise.
28347 (__tzfile_compute): Likewise.
28348 (__tzfile_default): Likewise.
28349 (__tzset_parse_tz): Likewise.
28350 (__offtime): Likewise.
28351 (__asctime_r): Likewise.
28352 (__tzset): Likewise.
28353 (__tz_convert): Likewise.
28354 (__getdate_r): Likewise.
28355 (__getclktck): Likewise.
28356
a4338d99
L
283572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28358
28359 [BZ #18822]
28360 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28361 (__nscd_unmap): Likewise.
28362 (__nscd_cache_search): Likewise.
28363 (__nscd_get_nl_timestamp): Likewise.
28364 (__nscd_getpwnam_r): Likewise.
28365 (__nscd_getpwuid_r): Likewise.
28366 (__nscd_getgrnam_r): Likewise.
28367 (__nscd_getgrgid_r): Likewise.
28368 (__nscd_gethostbyname_r): Likewise.
28369 (__nscd_gethostbyname2_r): Likewise.
28370 (__nscd_gethostbyaddr_r): Likewise.
28371 (__nscd_getai): Likewise.
28372 (__nscd_getgrouplist): Likewise.
28373 (__nscd_getservbyname_r): Likewise.
28374 (__nscd_getservbyport_r): Likewise.
28375 (__nscd_innetgr): Likewise.
28376 (__nscd_setnetgrent): Likewise.
28377
a2ca1652
L
283782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28379
28380 [BZ #18822]
28381 * include/gmp.h: Declare internal functions only if _ISOMAC is
28382 undefined.
28383 (__mpn_extract_double): Add attribute_hidden.
28384 (__mpn_extract_long_double): Likewise.
28385 (__mpn_extract_float128): Likewise.
28386 (__mpn_construct_float): Likewise.
28387 (__mpn_construct_double): Likewise.
28388 (__mpn_construct_long_double): Likewise.
28389 (__mpn_construct_float128): Likewise.
28390 (mpn_add_1): Likewise.
28391 (mpn_addmul_1): Likewise.
28392 (mpn_add_n): Likewise.
28393 (mpn_cmp): Likewise.
28394 (mpn_divrem): Likewise.
28395 (mpn_lshift): Likewise.
28396 (mpn_mul): Likewise.
28397 (mpn_mul_1): Likewise.
28398 (mpn_rshift): Likewise.
28399 (mpn_sub_1): Likewise.
28400 (mpn_submul_1): Likewise.
28401 (mpn_sub_n): Likewise.
28402
44af8a32
L
284032017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28404
28405 [BZ #18822]
28406 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28407 (__wcscat): Likewise.
28408 (__btowc): Likewise.
28409 (__wcrtomb): Likewise.
28410 (__mbsrtowcs): Likewise.
28411 (__wcsrtombs): Likewise.
28412 (__mbsnrtowcs): Likewise.
28413 (__wcsnrtombs): Likewise.
28414 (__wcsncpy): Likewise.
28415 (__wcpncpy): Likewise.
28416 (__wmemcpy): Likewise.
28417 (__wmempcpy): Likewise.
28418 (__wmemmove): Likewise.
28419 (__wcschrnul): Likewise.
28420 (__vfwscanf): Likewise.
28421 (__vswprintf): Likewise.
28422 (__fwprintf): Likewise.
28423 (__vfwprintf): Likewise.
28424
783cd767
L
284252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28426
28427 [BZ #18822]
28428 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28429 (__getgrgid_r): Likewise.
28430 (__getgrnam_r): Likewise.
28431 * include/pwd.h (__getpwuid_r): Likewise.
28432 (__getpwnam_r): Likewise.
28433 (__fgetpwent_r): Likewise.
28434 * include/shadow.h (__getspnam_r): Likewise.
28435 (__sgetspent_r): Likewise.
28436 (__fgetspent_r): Likewise.
28437
7ec4b39a
L
284382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28439
28440 [BZ #18822]
28441 * include/unistd.h (__access): Add attribute_hidden.
28442 (__lseek64): Likewise.
28443 (__libc_pread64): Likewise.
28444 (__pipe2): Likewise.
28445 (__sleep): Likewise.
28446 (__chdir): Likewise.
28447 (__fchdir): Likewise.
28448 (__getcwd): Likewise.
28449 (__rmdir): Likewise.
28450 (__execvpe): Likewise.
28451 (__execve): Likewise.
28452 (__setsid): Likewise.
28453 (__getuid): Likewise.
28454 (__geteuid): Likewise.
28455 (__getgid): Likewise.
28456 (__getegid): Likewise.
28457 (__getgroups): Likewise.
28458 (__group_member): Likewise.
28459 (__ttyname_r): Likewise.
28460 (__isatty): Likewise.
28461 (__readlink): Likewise.
28462 (__unlink): Likewise.
28463 (__gethostname): Likewise.
28464 (__profil): Likewise.
28465 (__getdtablesize): Likewise.
28466 (__brk): Likewise.
28467 (__ftruncate): Likewise.
28468 (__ftruncate64): Likewise.
28469
8345a760
L
284702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28471
28472 [BZ #18822]
28473 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28474 * argp/argp-fs-xinl.c: Likewise.
28475 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28476 * argp/argp-parse.c: Include <argp.h>.
28477 * argp/argp-xinl.c: Likewise.
28478 * include/argp-fmtstream.h: New file.
28479 * include/argp.h (__argp_error): Add attribute_hidden.
28480 (__argp_failure): Likewise.
28481 (__argp_input): Likewise.
28482 (__argp_state_help): Likewise.
28483
c26dd7c6
L
284842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28485
28486 [BZ #18822]
28487 * include/wchar.h (____wcstof_l_internal): New prototype.
28488 (____wcstod_l_internal): Likewise.
28489 (____wcstold_l_internal): Likewise.
28490 (____wcstol_l_internal): Likewise.
28491 (____wcstoul_l_internal): Likewise.
28492 (____wcstoll_l_internal): Likewise.
28493 (____wcstoull_l_internal): Likewise.
28494 (____wcstof128_l_internal): Likewise.
28495 * sysdeps/ieee754/float128/wcstof128.c
28496 (____wcstof128_l_internal): Removed.
28497 * sysdeps/ieee754/float128/wcstof128_l.c
28498 (____wcstof128_l_internal): Likewise.
28499 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28500 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28501 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28502 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28503 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28504 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28505 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28506 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28507 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28508 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28509
3aff5644
L
285102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28511
28512 [BZ #18822]
28513 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28514 instead of <sys/statvfs.h>.
28515 (__internal_statvfs): Removed.
28516 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28517 instead of <sys/statvfs.h>.
28518 (__internal_statvfs64): Removed.
28519 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28520 "internal_statvfs.h" instead of <sys/statvfs.h>.
28521 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28522 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28523 instead of <sys/statvfs.h>.
28524 (__internal_statvfs): Removed.
28525 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28526 instead of <sys/statvfs.h>.
28527 (__internal_statvfs64): Removed.
28528
8bcdb7e0
L
285292017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28530
28531 [BZ #18822]
28532 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28533 (__gconv_close): Likewise.
28534 (__gconv): Likewise.
28535 (__gconv_find_transform): Likewise.
28536 (__gconv_lookup_cache): Likewise.
28537 (__gconv_compare_alias_cache): Likewise.
28538 (__gconv_load_cache): Likewise.
28539 (__gconv_get_path): Likewise.
28540 (__gconv_close_transform): Likewise.
28541 (__gconv_release_cache): Likewise.
28542 (__gconv_find_shlib): Likewise.
28543 (__gconv_release_shlib): Likewise.
28544 (__gconv_get_builtin_trans): Likewise.
28545 (__gconv_compare_alias): Likewise.
28546 * include/dlfcn.h (_dlerror_run): Likewise.
28547 * include/stdio.h (__fortify_fail_abort): Likewise.
28548 * include/time.h (__tz_compute): Likewise.
28549 (__strptime_internal): Likewise.
28550 * intl/gettextP.h (_nl_find_domain): Likewise.
28551 (_nl_load_domain): Likewise.
28552 (_nl_find_msg): Likewise.
28553 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28554 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28555 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28556 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28557 (__gai_find_request): Likewise.
28558 (__gai_remove_request): Likewise.
28559 (__gai_notify): Likewise.
28560 (__gai_notify_only): Likewise.
28561 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28562 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28563 (_dl_non_dynamic_init): Likewise.
28564 (_dl_aux_init): Likewise.
28565 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28566 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28567 Likewise.
28568 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28569 (__wcsmbs_clone_conv): Likewise.
28570 (__wcsmbs_named_conv): Likewise.
28571
8ed3b643
L
285722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28573
28574 [BZ #18822]
28575 * include/stdlib.h (__random): Add attribute_hidden.
28576 (__random_r): Likewise.
28577 (__srandom_r): Likewise.
28578 (__initstate_r): Likewise.
28579 (__setstate_r): Likewise.
28580 (__erand48_r): Likewise.
28581 (__nrand48_r): Likewise.
28582 (__jrand48_r): Likewise.
28583 (__srand48_r): Likewise.
28584 (__seed48_r): Likewise.
28585 (__lcong48_r): Likewise.
28586 (__drand48_iterate): Likewise.
28587 (__setenv): Likewise.
28588 (__unsetenv): Likewise.
28589 (__clearenv): Likewise.
28590 (__ptsname_r): Likewise.
28591 (__posix_openpt): Likewise.
28592 (__add_to_environ): Likewise.
28593 (__realpath): Add libc_hidden_proto.
28594 (__ecvt_r): Likewise.
28595 (__fcvt_r): Likewise.
28596 (__qecvt_r): Likewise.
28597 (__qfcvt_r): Likewise.
28598 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28599 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28600
ef9b6f73
L
286012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28602
28603 [BZ #18822]
28604 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28605 * include/time.h (__mktime_internal): Likewise.
28606 * libio/iolibio.h (__fopen_internal): Likewise.
28607
8da92e72
JDA
286082017-10-01 John David Anglin <danglin@gcc.gnu.org>
28609
28610 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28611 pointer in frame.
28612 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28613 Correct offset used to restore PIC register.
28614
388784cf
JDA
286152017-09-30 John David Anglin <danglin@gcc.gnu.org>
28616
28617 [BZ libc/22165]
28618 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28619 code to load address of __getcontext_ret when generating PIC code.
28620
2000067a
L
286212017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28622
28623 * elf/Makefile (tests-static-internal): Add
28624 tst-tls1-static-non-pie.
28625 (LDFLAGS-tst-tls1-static-non-pie): New.
28626 * elf/tst-tls1-static-non-pie.c: New file.
28627
1e2bffd0
JM
286282017-09-29 Joseph Myers <joseph@codesourcery.com>
28629
28630 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28631 (asinh): Define using libm_alias_double.
28632 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28633 (cbrt): Define using libm_alias_double.
28634 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28635 <libm-alias-double.h>.
28636 (copysign): Define using libm_alias_double.
28637 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28638 (erf): Define using libm_alias_double.
28639 (erfc): Likewise.
28640 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28641 (expm1): Define using libm_alias_double.
28642 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28643 (fabs): Define using libm_alias_double.
28644 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28645 libm_alias_double.
28646 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28647 <libm-alias-double.h>.
28648 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28649 libm_alias_double.
28650 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28651 <libm-alias-double.h>.
28652 (getpayload): Define using libm_alias_double.
28653 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28654 <libm-alias-double.h>.
28655 (llrint): Define using libm_alias_double.
28656 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28657 (lrint): Define using libm_alias_double.
28658 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28659 <libm-alias-double.h>.
28660 (nextup): Define using libm_alias_double.
28661 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28662 <libm-alias-double.h>.
28663 (roundeven): Define using libm_alias_double.
28664 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28665 libm_alias_double.
28666 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28667 <libm-alias-double.h>.
28668 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28669 using libm_alias_double.
28670 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28671 (cos): Define using libm_alias_double.
28672 (sin): Likewise.
28673 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28674 <libm-alias-double.h>.
28675 (sincos): Define using libm_alias_double.
28676 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28677 (tanh): Define using libm_alias_double.
28678 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28679 <libm-alias-double.h>.
28680 (totalorder): Define using libm_alias_double.
28681 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28682 <libm-alias-double.h>.
28683 (totalordermag): Define using libm_alias_double.
28684 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28685 libm_alias_double.
28686 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28687 libm_alias_double.
28688 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28689 <libm-alias-double.h>.
28690 (getpayload): Define using libm_alias_double.
28691 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28692 <libm-alias-double.h>.
28693 (roundeven): Define using libm_alias_double.
28694 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28695 <libm-alias-double.h>.
28696 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28697 <libm-alias-double.h>.
28698 (totalorder): Define using libm_alias_double.
28699 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28700 <libm-alias-double.h>.
28701 (totalordermag): Define using libm_alias_double.
28702 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28703 libc compat symbol here.
28704 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28705 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28706 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28707 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28708 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28709 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28710 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28711 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28712 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28713 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28714
8172aad9
L
287152017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28716
28717 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28718 _dl_relocate_static_pie instead of _dl_start to compute load
28719 address in static PIE. Return 0 if _DYNAMIC is undefined for
28720 static executable.
28721
54464e74
L
287222017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28723
28724 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28725 _DYNAMIC is undefined for static executable.
28726
f6c5e5bc
L
287272017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28728
28729 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28730
2f92505d
JM
287312017-09-29 Joseph Myers <joseph@codesourcery.com>
28732
28733 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28734
bd8d53bb
WD
287352017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28736
28737 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28738 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28739 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28740 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28741 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28742 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28743 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28744 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28745 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28746 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28747 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28748 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28749 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28750 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28751 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28752 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28753 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28754
fffb1507
WD
287552017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28756
28757 * math/bits/cmathcalls.h (cimag): Remove inline.
28758 (creal): Remove inline.
28759 (conj): Remove inline.
28760
4ea49f4c
SN
287612017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28762
28763 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28764 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28765 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28766 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28767 (issignalingf_inline): Likewise.
28768 (POWF_LOG2_TABLE_BITS): Likewise.
28769 (POWF_LOG2_POLY_ORDER): Likewise.
28770 (POWF_SCALE_BITS): Likewise.
28771 (POWF_SCALE): Likewise.
28772 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28773 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28774 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28775
875c76c7
SN
287762017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28777
28778 * math/Makefile (type-float-routines): Add e_log2f_data.
28779 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28780 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28781 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28782 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28783 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28784 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28785 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28786
90c42e40
SN
287872017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28788
28789 * math/Makefile (type-float-routines): Add e_logf_data.
28790 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28791 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28792 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28793 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28794 * sysdeps/i386/fpu/e_logf_data.c: New file.
28795 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28796 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28797
4088d8dd
L
287982017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28799
28800 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28801 undefined _DYNAMIC in PIE libc.a.
28802 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28803 Likewse.
28804
4d3693ec
WD
288052017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28806
28807 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28808 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28809 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28810 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28811 (__signbit): Remove.
28812 (__signbitl): Remove.
28813 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28814 (__signbit): Remove.
28815 (__signbitl): Remove.
28816 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28817 (__signbit): Remove.
28818 (__signbitl): Remove.
28819 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28820 (__signbit): Remove.
28821 (__signbitl): Remove.
28822 * sysdeps/tile/bits/mathinline.h: Delete file.
28823 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
28824 (__signbit): Remove.
28825 (__signbitl): Remove.
28826
1e6d0723
WD
288272017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28828
28829 * math/math.h: Improve handling of C99 isgreater macros.
28830 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
28831 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28832 * sysdeps/powerpc/bits/mathinline.h: Likewise.
28833 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28834 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
28835
b2f03cf3
SN
288362017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
28837
28838 * sysdeps/aarch64/libm-test-ulps: Update.
28839
f124cb38
JM
288402017-09-28 Joseph Myers <joseph@codesourcery.com>
28841
28842 [BZ #22225]
28843 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28844 math_opt_barrier on argument when doing arithmetic on it.
28845 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28846 Likewise. Use math_force_eval not math_opt_barrier after
28847 arithmetic.
28848 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
28849 math_opt_barrier on argument when doing arithmetic on it.
28850 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28851 Likewise.
28852
7edd0691
L
288532017-09-27 H.J. Lu <hongjiu.lu@intel.com>
28854
28855 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
28856 libc_hidden_def.
28857 (__freeifaddrs): Likewise.
28858
2c7bbfaf
ST
288592017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28860
28861 * include/dirent.h (__dirfd): New declaration.
28862 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
28863 alias.
28864 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
28865 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
28866 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
28867 * include/unistd.h (__revoke): New declaration.
28868 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
28869 alias.
28870 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28871 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
28872 revoke.
64a4af28
ST
28873 * include/dirent.h (__seekdir): New declaration.
28874 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
28875 redefine as weak alias.
28876 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
28877 of seekdir.
4009ddc6
ST
28878 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
28879 and use libc_hidden_def on them.
28880 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
28881 them.
28882 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
28883 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
28884 instead of getifaddrs and freeifaddrs.
2c7bbfaf 28885
825adeee
L
288862017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28887
28888 [BZ #18822]
28889 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
28890 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
28891 (__dso_handle): Remove declaration.
28892 * dlfcn/tstatexit.c (__dso_handle): Removed.
28893 (main): Don't check __dso_handle.
28894 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
28895 (main): Don't check __dso_handle.
28896 * include/dso_handle.h: New file.
28897 * malloc/mtrace.c: Include <dso_handle.h>.
28898 (mtrace): Pass __dso_handle directly.
28899 * nptl/pthread_atfork.c: Include <dso_handle.h>.
28900 (__dso_handle): Remove declaration.
28901 (__pthread_atfork): Pass __dso_handle directly.
28902 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
28903 (__dso_handle): Removed.
28904 * posix/wordexp-test.c: Include <dso_handle.h>.
28905 (__dso_handle): Remove declaration.
28906 (__app_register_atfork): Pass __dso_handle directly.
28907 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
28908 (__dso_handle): Remove declaration.
28909 (at_quick_exit): Pass __dso_handle directly.
28910 * stdlib/atexit.c: Include <dso_handle.h>.
28911 (__dso_handle): Remove declaration.
28912 (atexit): Pass __dso_handle directly.
28913 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
28914 (__dso_handle): Removed.
28915
bfb0deb3
JM
289162017-09-26 Joseph Myers <joseph@codesourcery.com>
28917
28918 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
28919 using VDSO.
28920
cebcb9f8
AM
289212017-09-26 Alexey Makhalov <amakhalov@vmware.com>
28922
28923 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
28924 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
28925 values to correct default value for given type.
28926
592d5c75
L
289272017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28928
28929 [BZ #22101]
28930 * elf/Makefile (tests): Add tst-debug1.
28931 ($(objpfx)tst-debug1): New.
28932 ($(objpfx)tst-debug1.out): Likewise.
28933 ($(objpfx)tst-debug1mod1.so): Likewise.
28934 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
28935 with p_filesz == 0.
28936 * elf/tst-debug1.c: New file.
28937
2d9193f2
JM
289382017-09-26 Joseph Myers <joseph@codesourcery.com>
28939
28940 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28941 Define using __ifunc.
28942
4c5a7a02
TMQMF
289432017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28944
28945 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28946 exp2f() values.
28947
12ef66c4
JM
289482017-09-26 Joseph Myers <joseph@codesourcery.com>
28949
28950 [BZ #22156]
28951 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28952
44dade71
FW
289532017-09-26 Florian Weimer <fweimer@redhat.com>
28954
28955 * resolv/Makefile (tests-internal): Fix typo in comment.
28956
eaca16f1
FW
289572017-09-26 Florian Weimer <fweimer@redhat.com>
28958
28959 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28960
ccf970c7
AZ
289612017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28962
5f9f31ad
AZ
28963 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28964 Use an union instead of a max_align_t array for __space,
28965 so that __space is the same size on all platforms.
28966 * malloc/scratch_buffer_grow_preserve.c
28967 (__libc_scratch_buffer_grow_preserve): Likewise.
28968
ccf970c7
AZ
28969 [BZ #22183]
28970 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28971 version to 2.
28972 * posix/Makefile (routines): Add glob-lstat-compat and
28973 glob64-lstat-compat.
28974 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28975 * posix/glob-lstat-compat.c: New file.
28976 * posix/glob64-lstat-compat.c: Likewise.
28977 * posix/tst-glob_lstat_compat.c: Likewise.
28978 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28979 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28980 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28981 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28982 Likewise.
28983 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28984 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28985 * posix/glob.c (glob_lstat): New function.
28986 (glob): Rename to __glob and add versioned symbol to 2.27.
28987 (glob_in_dir): Use glob_lstat.
28988 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28989 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28990 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28991 2.27.
28992 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28993 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28994 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28995 gl_lstat on glob call.
28996 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28997 and glob64 symbols.
28998 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28999 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29000 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29001 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29002 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29003 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29004 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29005 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29006 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29007 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29008 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29009 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29011 Likewise.
29012 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29014 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29015 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29016 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29017 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29018 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29021 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29022 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29023 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29024
b4396163
L
290252017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29026
29027 * configure.ac (AS): Require binutils 2.25 or later.
29028 * configure: Regenerated.
29029
8f834987
PP
290302017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29031
29032 [BZ #22207]
29033 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29034 VM size.
29035
3de93d19
DD
290362017-09-25 DJ Delorie <dj@redhat.com>
29037
29038 [BZ #22161]
29039 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29040 resetting timeout.
29041
9947638d
SL
290422017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29043
29044 * sysdeps/ieee754/dbl-64/sincos32.h
29045 [SINCCOS32_H]: Remove define.
29046 [SINCOS32_H]: Define.
29047
f5f0f526
SN
290482017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29049
29050 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29051 (exp2f): Likewise.
29052 * math/w_exp2f.c: New file.
29053 * math/w_expf.c: New file.
29054 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29055 * math/w_expf_compat.c (__expf_compat): Likewise.
29056 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29057 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29058 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29059 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29060 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29061 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29062 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29063 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29064 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29065 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29066 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29067 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29068 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29069 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29071 Likewise.
29072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29073 Likewise.
29074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29075 Likewise.
29076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29077 Likewise.
29078 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29079 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29080 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29081 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29082 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29084 Likewise.
29085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29086 Likewise.
29087 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29088 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29089 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29090
72aa6233
SN
290912017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29092
29093 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29094 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29095 (roundtoint, converttoint): Likewise.
29096 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29097 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29098 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29099 * sysdeps/ieee754/flt-32/math_config.h: New file.
29100 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29101 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29102 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29103 * sysdeps/i386/fpu/math_errf.c: New file.
29104 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29105 * sysdeps/ia64/fpu/math_errf.c: New file.
29106 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29107 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29108
5e6f3253
ST
291092017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29110
29111 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29112 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29113 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29114 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29115 to make sure that these symbols are defined.
b38a42a0
ST
29116 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29117 of <limits.h>
29118 (__need_NULL): Do not define.
29119 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29120 alignment.
29121 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29122 CMGROUP_MAX, cmsgcred): Do not define.
29123 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29124 NULL.
29125 * bits/socket.h: Likewise.
fcafcd16
ST
29126 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29127 __gettimeofday instead of gettimeofday.
29128 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29129 instead of settimeofday.
5e6f3253 29130
2f49ce7d
JM
291312017-09-22 Joseph Myers <joseph@codesourcery.com>
29132
29133 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29134 (asinhf): Define using libm_alias_float.
29135 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29136 (atanf): Define using libm_alias_float.
29137 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29138 (cbrtf): Define using libm_alias_float.
29139 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29140 (ceilf): Define using libm_alias_float.
29141 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29142 <libm-alias-float.h>.
29143 (copysignf): Define using libm_alias_float.
29144 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29145 (cosf): Define using libm_alias_float.
29146 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29147 (erff): Define using libm_alias_float.
29148 (erfcf): Likewise.
29149 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29150 (expm1f): Define using libm_alias_float.
29151 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29152 (fabsf): Define using libm_alias_float.
29153 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29154 (floorf): Define using libm_alias_float.
29155 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29156 (frexpf): Define using libm_alias_float.
29157 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29158 libm_alias_float.
29159 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29160 <libm-alias-float.h>.
29161 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29162 libm_alias_float.
29163 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29164 <libm-alias-float.h>.
29165 (getpayloadf): Define using libm_alias_float.
29166 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29167 <libm-alias-float.h>.
29168 (llrintf): Define using libm_alias_float.
29169 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29170 <libm-alias-float.h>.
29171 (llroundf): Define using libm_alias_float.
29172 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29173 (logbf): Define using libm_alias_float.
29174 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29175 (lrintf): Define using libm_alias_float.
29176 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29177 (lroundf): Define using libm_alias_float.
29178 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29179 (modff): Define using libm_alias_float.
29180 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29181 <libm-alias-float.h>.
29182 (nearbyintf): Define using libm_alias_float.
29183 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29184 <libm-alias-float.h>.
29185 (nextafterf): Define using libm_alias_float.
29186 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29187 <libm-alias-float.h>.
29188 (nextupf): Define using libm_alias_float.
29189 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29190 <libm-alias-float.h>.
29191 (remquof): Define using libm_alias_float.
29192 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29193 (rintf): Define using libm_alias_float.
29194 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29195 <libm-alias-float.h>.
29196 (roundevenf): Define using libm_alias_float.
29197 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29198 (roundf): Define using libm_alias_float.
29199 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29200 using libm_alias_float.
29201 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29202 <libm-alias-float.h>.
29203 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29204 Define using libm_alias_float.
29205 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29206 <libm-alias-float.h>.
29207 (sincosf): Define using libm_alias_float.
29208 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29209 (sinf): Define using libm_alias_float.
29210 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29211 (tanf): Define using libm_alias_float.
29212 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29213 (tanhf): Define using libm_alias_float.
29214 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29215 <libm-alias-float.h>.
29216 (totalorderf): Define using libm_alias_float.
29217 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29218 <libm-alias-float.h>.
29219 (totalordermagf): Define using libm_alias_float.
29220 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29221 (truncf): Define using libm_alias_float.
29222 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29223 libm_alias_float.
29224 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29225 libm_alias_float.
29226
c5c4a626
GG
292272017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29228
29229 [BZ #22146]
29230 math/math.h: Let fpclassify use the builtin in C++ mode, even
29231 when optimazing for size.
29232
23947846
JM
292332017-09-22 Joseph Myers <joseph@codesourcery.com>
29234
29235 * csu/Makefile (generated): Do not add version-info.h.
29236 (before-compile): Likewise.
29237 (all-Banner-files): Remove variable.
29238 ($(objpfx)version-info.h): Remove rule.
29239 * csu/version.c (banner): Do not include "version-info.h".
29240 * libidn/Banner: Remove.
29241 * manual/contrib.texi (Simon Josefsson): New entry.
29242
9ac3c682
GG
292432017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29244
29245 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29246 Remove conditionals on LDBL_MANT_DIG.
29247 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29248 (__ieee754_lgammal_r): Likewise.
29249
d2f0ed09
GG
292502017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29251
29252 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29253 _Float128 and L().
29254 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29255 _Float128 and L(). Replace _Float128 with long double and L(x)
29256 with xL, throughout the file.
29257 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29258 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29259 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29260 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29261
c5c2e667
GG
292622017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29263
29264 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29265 sysdeps/ieee754/ldbl-128ibm.
29266 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29267 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29268 of including it. Keep _Float128 and L() intact. These will be
29269 reviewed by a separate patch.
29270 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29271 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29272 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29273 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29274
e010deb2
GG
292752017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29276
29277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29278 (__finitef128): Define to __redirect___finitef128.
29279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29280 (__isinff128): Define to __redirect___isinff128.
29281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29282 (__isnanf128): Define to __redirect___isnanf128.
29283
ffa44804
GG
292842017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29285
29286 * sysdeps/powerpc/powerpc64le/Makefile
29287 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29288 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29289
e5e4d7cc
PP
292902017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29291 Carlos O'Donell <carlos@redhat.com>
29292
29293 [BZ #22180]
29294 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29295 * stdlib/test-dlclose-exit-race.c: New file.
29296 * stdlib/test-dlclose-exit-race-helper.c: New file.
29297 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29298
c10c5267
JM
292992017-09-21 Joseph Myers <joseph@codesourcery.com>
29300
29301 * crypt/Banner: Remove file.
29302 * nptl/Banner: Likewise.
29303 * resolv/Banner: Likewise.
29304 * soft-fp/Banner: Likewise.
29305 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29306 ($(objpfx)version.d): Remove dependency on banner.h.
29307 ($(objpfx)version.os): Likewise.
29308 * nptl/version.c (banner): Do not include banner.h.
29309 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29310 Jelinek and BIND code.
29311
1cc9e59a
PP
293122017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29313 Carlos O'Donell <carlos@redhat.com>
29314
29315 * support/xdlfcn.h: New file.
29316 * support/xdlfcn.c: New file.
29317 * support/Makefile (libsupport-routines): Add xdlfcn.
29318 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29319
ae8372d7
JM
293202017-09-20 Joseph Myers <joseph@codesourcery.com>
29321
29322 [BZ #20142]
29323 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29324 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29325 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29326 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29327 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29328 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29329 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29330 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29331
26e70aec 293322017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
29333 Ricky Zhou <rickyz@google.com>
29334 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
29335
29336 [BZ #14333]
29337 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29338 Remove atomics.
29339 (__new_exitfn): Fail registration when we finished at_exit processing.
29340 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29341 * stdlib/on_exit.c (__on_exit): Likewise.
29342 * stdlib/exit.c (__exit_funcs_done): New variable.
29343 (__run_exit_handlers): Use __exit_funcs_lock.
29344 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29345 declarations.
29346 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29347 (test-cxa_atexit-race, test-on_exit-race): New tests.
29348 * stdlib/test-atexit-race-common.c: New file.
29349 * stdlib/test-atexit-race.c: New file.
29350 * stdlib/test-at_quick_exit-race.c: New file.
29351 * stdlib/test-cxa_atexit-race.c: New file.
29352 * stdlib/test-on_exit-race.c: New file.
29353
0525ce48
SN
293542017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29355
29356 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29357 * benchtests/exp2f-inputs: Copy of expf-inputs.
29358 * benchtests/log2f-inputs: Copy of logf-inputs.
29359
d82468d1
JM
293602017-09-19 Joseph Myers <joseph@codesourcery.com>
29361
29362 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29363 Explicitly take address of first element of array arguments in
29364 call to INLINE_SYSCALL.
29365
43ffc53a
AS
293662017-09-19 Andreas Schwab <schwab@suse.de>
29367
29368 [BZ #22134]
29369 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29370 execveat first.
29371 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29372 unimplemented.
29373 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29374 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29375 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29376 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29377 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29378 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29379 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29380 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29381 * posix/Makefile (tests): Add tst-fexecve.
29382 * posix/tst-fexecve.c: New file.
29383
a5dcc87e
WD
293842017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29385
29386 * benchtests/Makefile: Add logf benchmark.
29387 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29388
7024d544
WD
293892017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29390
29391 * benchtests/Makefile: Add expf benchmark.
29392 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29393
ca3a382e
WD
293942017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29395
29396 * csu/Makefile: Add -funwind-tables to libc-start.c.
29397 * debug/Makefile: Add -funwind-tables to backtrace.c.
29398 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29399 * sysdeps/arm/Makefile: Likewise.
29400 * sysdeps/i386/Makefile: Likewise.
29401 * sysdeps/m68k/Makefile: Likewise.
29402 * sysdeps/mips/Makefile: Likewise.
29403 * sysdeps/nios2/Makefile: Likewise.
29404 * sysdeps/sh/Makefile: Likewise.
29405 * sysdeps/sparc/Makefile: Likewise.
29406
eb375def
JM
294072017-09-19 Joseph Myers <joseph@codesourcery.com>
29408
29409 * benchtests/Makefile (bench-math): Add trunc and truncf.
29410 (CFLAGS-bench-trunc.c): New variable.
29411 (CFLAGS-bench-truncf.c): Likewise.
29412 * benchtests/trunc-inputs: New file.
29413 * benchtests/truncf-inputs: Likewise.
29414
bd17ba29
RS
294152017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29416
29417 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29418
92892fdb
JM
294192017-09-18 Joseph Myers <joseph@codesourcery.com>
29420
6d9b0b5a
JM
29421 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29422 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29423 redefine.
29424 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29425 (exp10l): Define as weak alias.
29426 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29427 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29428 and redefine.
29429 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29430 (remainderl): Define as weak alias.
29431
92892fdb
JM
29432 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29433 (fmal): Define using libm_alias_ldouble.
29434 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29435 (acoshl): Define using libm_alias_ldouble.
29436 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29437 (acosl): Define using libm_alias_ldouble.
29438 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29439 (asinl): Define using libm_alias_ldouble.
29440 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29441 (atan2l): Define using libm_alias_ldouble.
29442 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29443 (atanhl): Define using libm_alias_ldouble.
29444 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29445 (coshl): Define using libm_alias_ldouble.
29446 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29447 (exp10l): Define using libm_alias_ldouble.
29448 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29449 (exp2l): Define using libm_alias_ldouble.
29450 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29451 (expl): Define using libm_alias_ldouble.
29452 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29453 (fmodl): Define using libm_alias_ldouble.
29454 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29455 (hypotl): Define using libm_alias_ldouble.
29456 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29457 (j0l): Define using libm_alias_ldouble.
29458 (y0l): Likewise.
29459 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29460 (j1l): Define using libm_alias_ldouble.
29461 (y1l): Likewise.
29462 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29463 (jnl): Define using libm_alias_ldouble.
29464 (ynl): Likewise.
29465 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29466 (log10l): Define using libm_alias_ldouble.
29467 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29468 (log2l): Define using libm_alias_ldouble.
29469 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29470 (logl): Define using libm_alias_ldouble.
29471 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29472 (powl): Define using libm_alias_ldouble.
29473 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29474 (remainderl): Define using libm_alias_ldouble.
29475 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29476 (sinhl): Define using libm_alias_ldouble.
29477 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29478 (sqrtl): Define using libm_alias_ldouble.
29479 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29480 (tgammal): Define using libm_alias_ldouble.
29481 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29482 (exp10l): Do not use long_double_symbol here.
29483 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29484 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29485 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29486 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29487 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29488 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29489 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29490 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29491 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29492 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29493 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29494 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29495 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29496 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29497 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29498 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29499 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29500 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29501 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29502 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29503 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29504 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29505
6cd380dd
WB
295062017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29507
29508 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29509 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29510
1c6d89e9
ST
295112017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29512
29513 * io/read.c (read): Add libc_hidden_weak.
29514 * sysdeps/mach/hurd/read.c (read): Likewise.
29515 * io/write.c (write): Likewise.
29516 * sysdeps/mach/hurd/write.c (write): Likewise.
29517 * io/pread64.c (__pread64): Likewise.
29518 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29519 * posix/pread64.c (__pread64): Add libc_hidden_def.
29520
06b1de23
SP
295212017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29522
140647ea
SP
29523 * benchtests/scripts/compare_strings.py: New option -g.
29524 (draw_graph): Print a message that a graph is being generated.
29525 (process_results): Generate graph only if -g is passed.
29526 (main): Process option -g.
29527
5a6547b7
SP
29528 * benchtests/scripts/compare_strings.py (process_results):
29529 Better spacing for output.
29530
06b1de23
SP
29531 * benchtests/scripts/compare_strings.py: Use argparse.
29532 * benchtests/README: Document existence of compare_strings.py.
29533
c67a2328
JM
295342017-09-15 Joseph Myers <joseph@codesourcery.com>
29535
9ac44708
JM
29536 * math/s_fma.c: Include <libm-alias-double.h>.
29537 (fma): Define using libm_alias_double.
29538 * math/s_nextafter.c: Include <libm-alias-double.h>.
29539 (nextafter): Define using libm_alias_double.
29540 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29541 (acos): Define using libm_alias_double.
29542 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29543 (aocsh): Define using libm_alias_double.
29544 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29545 (asin): Define using libm_alias_double.
29546 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29547 (atan2): Define using libm_alias_double.
29548 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29549 (atanh): Define using libm_alias_double.
29550 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29551 (cosh): Define using libm_alias_double.
29552 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29553 (exp10): Define using libm_alias_double.
29554 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29555 (exp2): Define using libm_alias_double.
29556 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29557 (exp): Define using libm_alias_double.
29558 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29559 (fmod): Define using libm_alias_double.
29560 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29561 (hypot): Define using libm_alias_double.
29562 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29563 (j0): Define using libm_alias_double.
29564 (y0): Likewise.
29565 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29566 (j1): Define using libm_alias_double.
29567 (y1): Likewise.
29568 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29569 (jn): Define using libm_alias_double.
29570 (yn): Likewise.
29571 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29572 (log10): Define using libm_alias_double.
29573 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29574 (log2): Define using libm_alias_double.
29575 * math/w_log_compat.c: Include <libm-alias-double.h>.
29576 (log): Define using libm_alias_double.
29577 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29578 (pow): Define using libm_alias_double.
29579 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29580 (remainder): Define using libm_alias_double.
29581 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29582 (sinh): Define using libm_alias_double.
29583 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29584 (sqrt): Define using libm_alias_double.
29585 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29586 (tgamma): Define using libm_alias_double.
29587 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29588 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29589 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29590 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29591 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29592 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29593 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29594 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29595 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29596 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29597 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29598 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29599 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29600 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29601 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29602 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29603 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29604 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29605 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29606 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29607 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29608 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29609 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29610 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29611 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29612
c67a2328
JM
29613 * math/e_acoshl.c: Remove.
29614 * math/e_acosl.c: Likewise.
29615 * math/e_asinl.c: Likewise.
29616 * math/e_atan2l.c: Likewise.
29617 * math/e_atanhl.c: Likewise.
29618 * math/e_coshl.c: Likewise.
29619 * math/e_expl.c: Likewise.
29620 * math/e_fmodl.c: Likewise.
29621 * math/e_gammal_r.c: Likewise.
29622 * math/e_hypotl.c: Likewise.
29623 * math/e_j0l.c: Likewise.
29624 * math/e_j1l.c: Likewise.
29625 * math/e_jnl.c: Likewise.
29626 * math/e_lgammal_r.c: Likewise.
29627 * math/e_log10l.c: Likewise.
29628 * math/e_log2l.c: Likewise.
29629 * math/e_logl.c: Likewise.
29630 * math/e_powl.c: Likewise.
29631 * math/e_rem_pio2l.c: Likewise.
29632 * math/e_sinhl.c: Likewise.
29633 * math/e_sqrtf128.c: Likewise.
29634 * math/e_sqrtl.c: Likewise.
29635 * math/k_cosl.c: Likewise.
29636 * math/k_sinl.c: Likewise.
29637 * math/k_tanl.c: Likewise.
29638 * math/s_asinhl.c: Likewise.
29639 * math/s_atanl.c: Likewise.
29640 * math/s_cbrtl.c: Likewise.
29641 * math/s_erfl.c: Likewise.
29642 * math/s_expm1l.c: Likewise.
29643 * math/s_log1pl.c: Likewise.
29644 * math/s_tanhl.c: Likewise.
29645
61c45f25
TMQMF
296462017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29647
29648 [BZ #21745]
29649 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29650 [$(subdir) = math] (sysdep_calls): New variable. Has the
29651 previous contents of sysdep_routines, but re-sorted..
29652 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29653 sysdep_calls.
29654 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29655 defined in sysdep_calls and replace by the respective m_* names.
29656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29657 (compat_symbol): Undefine to avoid duplicated compat symbols in
29658 libc.
29659
5bcdb315
JM
296602017-09-15 Joseph Myers <joseph@codesourcery.com>
29661
29662 * math/s_fmaf.c: Include <libm-alias-float.h>.
29663 (fmaf): Define using libm_alias_float.
29664 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29665 (acosf): Define using libm_alias_float.
29666 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29667 (acoshf): Define using libm_alias_float.
29668 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29669 (asinf): Define using libm_alias_float.
29670 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29671 (atan2f): Define using libm_alias_float.
29672 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29673 (atanhf): Define using libm_alias_float.
29674 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29675 (coshf): Define using libm_alias_float.
29676 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29677 (exp10f): Define using libm_alias_float.
29678 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29679 (fmodf): Define using libm_alias_float.
29680 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29681 (hypotf): Define using libm_alias_float.
29682 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29683 (j0f): Define using libm_alias_float.
29684 (y0f): Likewise.
29685 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29686 (j1f): Define using libm_alias_float.
29687 (y1f): Likewise.
29688 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29689 (jnf): Define using libm_alias_float.
29690 (ynf): Likewise.
29691 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29692 (log10f): Define using libm_alias_float.
29693 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29694 (log2f): Define using libm_alias_float.
29695 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29696 (logf): Define using libm_alias_float.
29697 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29698 (powf): Define using libm_alias_float.
29699 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29700 (remainderf): Define using libm_alias_float.
29701 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29702 (sinhf): Define using libm_alias_float.
29703 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29704 (sqrtf): Define using libm_alias_float.
29705 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29706 (tgammaf): Define using libm_alias_float.
29707
01f28812
JM
297082017-09-14 Joseph Myers <joseph@codesourcery.com>
29709
29710 * include/math.h (roundeven): Change hidden_proto call to
29711 __roundeven.
29712 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29713 alias.
29714 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29715 (y0): Rename to __y0 and define as weak alias.
29716 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29717 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29718 alias.
29719 (y0f): Rename to __y0f and define as weak alias.
29720 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29721 alias.
29722 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29723 (y1): Rename to __y1 and define as weak alias.
29724 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29725 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29726 alias.
29727 (y1f): Rename to __y1f and define as weak alias.
29728 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29729 alias.
29730 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29731 (yn): Rename to __yn and define as weak alias.
29732 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29733 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29734 alias.
29735 (ynf): Rename to __ynf and define as weak alias.
29736 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29737 (fromfp): Define as weak alias.
29738 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29739 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29740 (fromfpx): Define as weak alias.
29741 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29742 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29743 __getpayload and define as weak alias.
29744 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29745 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29746 __roundeven and define as weak alias.
29747 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29748 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29749 __setpayload.
29750 (setpayload): Define as weak alias.
29751 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29752 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29753 __setpayloadsig.
29754 (setpayloadsig): Define as weak alias.
29755 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29756 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29757 __totalorder and define as weak alias.
29758 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29759 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29760 to __totalordermag and define as weak alias.
29761 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29762 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29763 (ufromfp): Define as weak alias.
29764 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29765 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29766 __ufromfpx.
29767 (ufromfpx): Define as weak alias.
29768 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29769 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29770 Rename to __getpayload and define as weak alias.
29771 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29772 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29773 Rename to __roundeven and define as weak alias.
29774 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29775 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29776 Rename to __totalorder and define as weak alias.
29777 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29778 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29779 (totalordermag): Rename to __totalordermag and define as weak
29780 alias.
29781 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29782 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29783 macro.
29784 (__roundevenl): Likewise.
29785 (__totalorderl): Likewise.
29786 (__totalordermagl): Likewise
29787 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29788 __fromfpf128.
29789 (fromfpf128): Define as weak alias.
29790 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29791 __fromfpxf128.
29792 (fromfpxf128): Define as weak alias.
29793 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29794 __setpayloadf128.
29795 (setpayloadf128): Define as weak alias.
29796 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29797 __setpayloadsigf128.
29798 (setpayloadsigf128): Define as weak alias.
29799 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29800 __ufromfpf128.
29801 (ufromfpf128): Define as weak alias.
29802 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29803 __ufromfpxf128.
29804 (ufromfpxf128): Define as weak alias.
29805 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29806 (fromfpf): Define as weak alias.
29807 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29808 __fromfpxf.
29809 (fromfpxf): Define as weak alias.
29810 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29811 __getpayloadf and define as weak alias.
29812 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29813 __roundevenf and define as weak alias.
29814 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29815 __setpayloadf.
29816 (setpayloadf): Define as weak alias.
29817 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29818 __setpayloadsigf.
29819 (setpayloadsigf): Define as weak alias.
29820 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29821 __totalorderf and define as weak alias.
29822 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29823 Rename to __totalordermagf and define as weak alias.
29824 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
29825 __ufromfpf.
29826 (ufromfpf): Define as weak alias.
29827 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
29828 __ufromfpxf.
29829 (ufromfpxf): Define as weak alias.
29830 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
29831 __fromfpl.
29832 (fromfpl): Define as weak alias.
29833 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
29834 __fromfpxl.
29835 (fromfpxl): Define as weak alias.
29836 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
29837 to __getpayloadl and define as weak alias.
29838 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
29839 __roundevenl and define as weak alias.
29840 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
29841 __setpayloadl.
29842 (setpayloadl): Define as weak alias.
29843 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
29844 __setpayloadsigl.
29845 (setpayloadsigl): Define as weak alias.
29846 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
29847 to __totalorderl and define as weak alias.
29848 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
29849 Rename to __totalordermagl and define as weak alias.
29850 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
29851 __ufromfpl.
29852 (ufromfpl): Define as weak alias.
29853 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
29854 __ufromfpxl.
29855 (ufromfpxl): Define as weak alias.
29856 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
29857 __fromfpl.
29858 (fromfpl): Define as weak alias.
29859 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
29860 __fromfpxl.
29861 (fromfpxl): Define as weak alias.
29862 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
29863 Rename to __getpayloadl and define as weak alias.
29864 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
29865 to __roundevenl and define as weak alias. Call __roundeven
29866 instead of roundeven.
29867 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
29868 __setpayloadl.
29869 (setpayloadl): Define as weak alias.
29870 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
29871 __setpayloadsigl.
29872 (setpayloadsigl): Define as weak alias.
29873 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
29874 Rename to __totalorderl and define as weak alias.
29875 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
29876 Rename to __totalordermagl and define as weak alias.
29877 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
29878 __ufromfpl.
29879 (ufromfpl): Define as weak alias.
29880 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
29881 __ufromfpxl.
29882 (ufromfpxl): Define as weak alias.
29883 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
29884 __fromfpl.
29885 (fromfpl): Define as weak alias.
29886 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
29887 __fromfpxl.
29888 (fromfpxl): Define as weak alias.
29889 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
29890 __getpayloadl and define as weak alias.
29891 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
29892 __roundevenl and define as weak alias.
29893 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
29894 __setpayloadl.
29895 (setpayloadl): Define as weak alias.
29896 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
29897 __setpayloadsigl.
29898 (setpayloadsigl): Define as weak alias.
29899 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
29900 __totalorderl and define as weak alias.
29901 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
29902 Rename to __totalordermagl and define as weak alias.
29903 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
29904 __ufromfpl.
29905 (ufromfpl): Define as weak alias.
29906 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
29907 __ufromfpxl.
29908 (ufromfpxl): Define as weak alias.
29909
29c933fb
SP
299102017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
29911
503c92c3
SP
29912 * benchtests/bench-string.h (realloc_bufs): New function.
29913 (test_init): Call it.
29914 * benchtests/bench-memset-large.c (do_test): Likewise.
29915 * benchtests/bench-memset.c (do_test): Likewise.
29916
29c933fb
SP
29917 * benchtests/bench-memset-large.c: Print output in JSON
29918 format.
29919 * benchtests/bench-memset.c: Likewise.
29920
799c8d69
MF
299212017-09-14 Mike FABIAN <mfabian@redhat.com>
29922
29923 [BZ #21084]
29924 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
29925 * iconvdata/Makefile: Add IBM858.
29926 * iconvdata/gconv-modules: Likewise.
29927 * iconvdata/tst-tables.sh: Likewise.
29928 * iconvdata/ibm858.c: New file.
29929 * localedata/charmaps/IBM858: Likewise.
29930
c207f7ce 299312017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
29932
29933 [BZ #22023]
29934 * locales/niu_NZ (LC_TIME): copy "niu_NU".
29935 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
29936
f28a0926
AK
299372017-09-14 Mike FABIAN <mfabian@redhat.com>
29938
29939 [BZ #22112]
29940 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29941 and add tel_int_fmt.
29942
02093e62
JM
299432017-09-14 Joseph Myers <joseph@codesourcery.com>
29944
29945 * sysdeps/generic/libm-alias-float128.h: New file.
29946 * sysdeps/generic/math-type-macros-float128.h: Include
29947 <libm-alias-float128.h>.
29948 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29949
1aae75ef
JM
299502017-09-13 Joseph Myers <joseph@codesourcery.com>
29951
29952 * sysdeps/generic/libm-alias-ldouble.h: New file.
29953 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29954 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29955 * sysdeps/generic/math-type-macros-ldouble.h: Include
29956 <libm-alias-ldouble.h>.
29957 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29958 libm_alias_ldouble.
29959
bcea7ad6
SN
299602017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29961
29962 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29963 * math/w_exp_compat.c: ... here.
29964 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29965 * math/w_expf_compat.c: ... here.
29966 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29967 * math/w_expl_compat.c: ... here.
29968 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29969 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29970 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29971 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29972
0fc56478
JM
299732017-09-13 Joseph Myers <joseph@codesourcery.com>
29974
29975 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29976 redefine.
29977 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29978 macro.
29979 (ldexpl): Only define as compat symbol for libc, not libm.
29980 (scalbnl): Define as compat symbol for libc here.
29981 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29982 define for [IS_IN (libc)].
29983 (__ldexpl_2): Remove alias.
29984 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29985 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29986 name in long_double_symbol call.
29987 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29988 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29989 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29990 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29991 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29992 Remove macro.
29993 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29994 Define as compat symbol.
29995
3ca622e4
AZ
299962017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29997
29998 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29999 * sysdeps/unix/sysv/linux/alpha/Makefile
30000 [$(subdir) = csu] (sysdep_routines): Remove rule.
30001
620ff9ee
JM
300022017-09-13 Joseph Myers <joseph@codesourcery.com>
30003
30004 * sysdeps/generic/libm-alias-double.h: New file.
30005 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30006 * sysdeps/generic/math-type-macros-double.h: Include
30007 <libm-alias-double.h>.
30008 [declare_mgen_alias] (declare_mgen_alias): Define to use
30009 libm_alias_double.
30010 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30011 (M_LIBM_NEED_COMPAT): Remove macro.
30012 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30013 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30014 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30015 code.
30016 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30017 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30018 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30019 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30020 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30021 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30022 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30023 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30024 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30025 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30026 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30027 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30028 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30029 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30030 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30031 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30032 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30033 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30034 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30035 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30036 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30037 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30038 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30039 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30040 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30041 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30042 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30043 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30044 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30045 macro.
30046 (declare_mgen_alias): New macro.
30047 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30048 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30050 (M_LIBM_NEED_COMPAT): Remove macro.
30051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30052 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30053 <first-versions.h>.
30054 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30055 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30056
a891caff
JM
300572017-09-12 Joseph Myers <joseph@codesourcery.com>
30058
30059 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30060 (declare_mgen_alias_2): Remove.
30061 * sysdeps/generic/math-type-macros-double.h
30062 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30063 Likewise.
30064 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30065 alias.
30066 (ldexp): Define with declare_mgen_alias.
30067 (scalbn): Likewise.
30068
a1a78204
SE
300692017-09-12 Steve Ellcey <sellcey@cavium.com>
30070
30071 * grp/initgroups.c: Include config.h.
30072 (DEFAULT_CONFIG): New macro.
30073 (internal_getgrouplist): Use DEFAULT_CONFIG.
30074 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30075 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30076 (DEFAULT_DEFCONFIG): New macro.
30077 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30078 * nss/grp-lookup.c: Include config.h
30079 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30080 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30081 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30082 * manual/nss.texi: Update default values section.
30083
ef8adeb0
L
300842017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30085
30086 [BZ #21967]
30087 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30088 New.
30089 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30090 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30091 Handle MathVec_Prefer_No_AVX512.
30092 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30093 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30094 is set.
30095
a166531f
ST
300962017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30097
30098 * posix/sched_primax.c (__sched_get_priority_max): Add
30099 libc_hidden_def.
30100 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30101 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30102 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30103 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30104 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30105 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30106 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30107 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30108 Add aliases.
30109
4b7d1efb
JM
301102017-09-11 Joseph Myers <joseph@codesourcery.com>
30111
30112 * sysdeps/generic/libm-alias-float.h: New file.
30113 * sysdeps/generic/math-type-macros-float.h: Include
30114 <libm-alias-float.h>.
30115 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30116
45ff3463
L
301172017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30118
30119 [BZ #22093]
30120 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30121 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30122 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30123 (HWCAP_IMPORTANT): Likewise.
30124 (HWCAP_X86_64): New enum.
30125 (HWCAP_X86_AVX512_1): Updated.
30126 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30127 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30128 (modules-names): Add x86_64/tst-x86_64mod-1.
30129 (LDFLAGS-tst-x86_64mod-1.so): New.
30130 ($(objpfx)tst-x86_64-1): Likewise.
30131 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30132 (tst-x86_64-1-clean): Likewise.
30133 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30134 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30135
891abfd3
SP
301362017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30137
30138 * po/sv.po: Update translations.
30139 * po/fr.po: Likewise.
30140
00c3da43
ST
301412017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30142
30143 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30144 seconds.
3bdfd9fb
ST
30145 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30146 seconds.
65b22ebc 30147 * elf/rtld-Rules: Fix $(error) use.
00c3da43 30148
96480903
MF
301492017-09-09 Mike FABIAN <mfabian@redhat.com>
30150
30151 [BZ #14925]
30152 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30153 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30154 * localedata/locales/bn_BD: “Bengali” was still used in some
30155 comments. Change it to “Bangla”.
30156
4c03a696
MT
301572017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30158
30159 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30160
9c9ec581
SE
301612017-09-08 Steve Ellcey <sellcey@cavium.com>
30162
30163 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30164 thunderx2t99p1 to list of cpu names.
30165 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30166 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30167
f00bce74
SE
301682017-09-08 Steve Ellcey <sellcey@cavium.com>
30169
30170 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30171 Use strcmp instead of tunable_is_name.
30172
27342d17
JM
301732017-09-08 Joseph Myers <joseph@codesourcery.com>
30174
af1b7c8c
JM
30175 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30176 (F_GET_RW_HINT): New macro.
30177 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30178 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30179 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30180 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30181 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30182 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30183 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30184 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30185 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30186
27342d17
JM
30187 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30188 (F_ADD_SEALS): New macro.
30189 [__USE_GNU] (F_GET_SEALS): Likewise.
30190 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30191 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30192 [__USE_GNU] (F_SEAL_GROW): Likewise.
30193 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30194
c66c9082
AZ
301952017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30196
07b4f49d
AZ
30197 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30198 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30199 * posix/glob_internal.h (__glob_pattern_type):
30200 * posix/glob.c (glob):
30201 * posix/glob_pattern_p.c (__glob_pattern_p):
30202 Use them.
30203
116f1c64
AZ
30204 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30205 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30206 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30207 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30208 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30210 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30211 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30212 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30213 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30214 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30215 * sysdeps/wordsize-64/glob.c: Likewise.
30216 * sysdeps/wordsize-64/glob64.c: Likewise.
30217 * sysdeps/wordsize-64/globfree.c: Likewise.
30218 * sysdeps/wordsize-64/globfree64.c: Likewise.
30219 * sysdeps/unix/sysv/linux/glob.c: New file.
30220 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30221 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30222 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30223 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30224 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30225 adds !GLOB_NO_OLD_VERSION as an extra condition.
30226 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30227 using relative path instead of absolute one.
30228 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30229 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30230 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30231 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30232 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30233 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30234
ffca8901
AZ
30235 [BZ #1062]
30236 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30237 (glob): Use the same scratch buffer for both getlogin_r and
30238 getpwnam_r. Don’t require preallocation of the login name. This
30239 simplifies storage allocation, and corrects the handling of
30240 long login names.
30241
5a79f975
AZ
30242 [BZ #1062]
30243 * posix/glob.c (glob): Port recent patches to platforms
30244 lacking getpwnam_r.
30245 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30246 returns an error number rather than setting errno.
30247
e00f2425
AZ
30248 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30249 instead of GCC extension.
30250 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30251 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30252 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30253
5554304f
AZ
30254 [BZ #866]
30255 [BZ #1062]
30256 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30257 * posix/bug-glob1.c: Remove file.
30258 * posix/tst-glob_symlinks.c: New file.
30259 * posix/glob.c (__lstat64): New macro.
30260 (is_dir): New function.
30261 (glob, glob_in_dir): Match symlinks even if they are dangling.
30262 (link_stat, link_exists_p): Remove. All uses removed.
30263
686f2ea1
AZ
30264 [BZ #1062]
30265 [BZ #19971]
30266 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30267 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30268 All uses removed.
30269
c66c9082 30270 [BZ #1062]
914c9994 30271 CVE-2017-15671
c66c9082
AZ
30272 * posix/Makefile (routines): Add globfree, globfree64, and
30273 glob_pattern_p.
30274 * posix/flexmember.h: New file.
30275 * posix/glob_internal.h: Likewise.
30276 * posix/glob_pattern_p.c: Likewise.
30277 * posix/globfree.c: Likewise.
30278 * posix/globfree64.c: Likewise.
30279 * sysdeps/gnu/globfree64.c: Likewise.
30280 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30281 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30282 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30283 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30284 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30285 * sysdeps/wordsize-64/globfree.c: Likewise.
30286 * sysdeps/wordsize-64/globfree64.c: Likewise.
30287 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30288 [NDEBUG): Remove comments.
30289 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30290 (dirent_type): New type. Use uint_fast8_t not
30291 uint8_t, as C99 does not require uint8_t.
30292 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30293 (struct readdir_result): Use dirent_type. Do not define skip_entry
30294 unless it is needed; this saves a byte on platforms lacking d_ino.
30295 (readdir_result_type, readdir_result_skip_entry):
30296 New functions, replacing ...
30297 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 30298 these functions, which were removed. This makes the callers
c66c9082
AZ
30299 easier to read. All callers changed.
30300 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30301 (size_add_wrapv, glob_use_alloca): New static functions.
30302 (glob, glob_in_dir): Check for size_t overflow in several places,
30303 and fix some size_t checks that were not quite right.
30304 Remove old code using SHELL since Bash no longer
30305 uses this.
30306 (glob, prefix_array): Separate MS code better.
30307 (glob_in_dir): Remove old Amiga and VMS code.
30308 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30309 separate files.
30310 (glob_in_dir): Do not rely on undefined behavior in accessing
30311 struct members beyond their bounds. Use a flexible array member
30312 instead
30313 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30314 0/1. Caller changed.
30315 (glob): Fix memory leaks.
30316 * posix/glob64 (globfree64): Move to separate file.
30317 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30318 (globfree64): Remove hidden alias.
30319 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30320 oldglob.
30321 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30322 separate file.
30323 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30324 define.
30325 Move compat code to separate file.
30326 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30327 separate file.
30328
78bfa877
L
303292017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30330
30331 * resolv/tst-resolv-qtypes.c (domain): Changed to
30332 "const char domain[] =".
30333
05f0011f
JM
303342017-09-07 Joseph Myers <joseph@codesourcery.com>
30335
85bec0f2
JM
30336 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30337 version to 3.1.6.
30338
5c23ee6e
JM
30339 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30340 (TCP_MD5SIG_EXT): Likewise.
30341 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30342 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30343 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30344
05f0011f
JM
30345 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30346
7c9c5be9
MF
303472017-09-07 Mike FABIAN <mfabian@redhat.com>
30348
30349 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30350
c207f7ce 303512017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
30352
30353 [BZ #22100]
30354 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30355
507fe027
ST
303562017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30357
30358 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30359 before assuming that the file is empty. Avoid testing buffer content
30360 when nread == 0.
30361
65687ac7
AZ
303622017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30363
7bbbb4b9 30364 [BZ #18858]
65687ac7
AZ
30365 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30366 Remove define.
30367 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30368 Likewise.
30369 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30370 Likewise.
30371 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30372 Likewise.
30373 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30374 Likewise.
30375 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30376 Likewise.
30377 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30378 Likewise.
30379
ab5ac271
FW
303802017-09-06 Florian Weimer <fweimer@redhat.com>
30381
30382 * malloc/dynarray_emplace_enlarge.c
30383 (__libc_dynarray_emplace_enlarge): Add missing else.
30384
a8304730
FW
303852017-09-06 Florian Weimer <fweimer@redhat.com>
30386
30387 [BZ #22096]
30388 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30389 case of failure to obtain the global conf object.
30390
5670c4ab
FW
303912017-09-06 Florian Weimer <fweimer@redhat.com>
30392
30393 [BZ #22095]
30394 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30395 dynarray allocation failure.
30396
c77eb969
FW
303972017-09-06 Florian Weimer <fweimer@redhat.com>
30398
30399 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30400 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30401 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30402 New functions.
30403 (response): Call them. Add 'p', '6' flag processing.
30404 (test_reverse): New function.
30405 (test_get2_any): Call it.
30406 (test_no_inet6): Add 'p' test.
30407 (test_inet6): Likewise.
30408
5e9c4d17
FW
304092017-09-06 Florian Weimer <fweimer@redhat.com>
30410
30411 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30412 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30413 the QNAME.
30414 (test_gai): Adjust query names. Add additional tests.
30415 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30416 test_get2. Adjust query names. Add additional tests.
30417 (test_no_inet6): New function, extracted from threadfunc.
30418 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30419 Add additional tests.
30420
2ae5be04
MF
304212017-09-06 Mike FABIAN <mfabian@redhat.com>
30422
30423 [BZ #22070]
30424 * localedata/unicode-gen/utf8_gen.py: Set the width for
30425 characters with Prepended_Concatenation_Mark property to 1
30426 * localedata/charmaps/UTF-8: Updated using the improved script.
30427
af83ed5c
MF
304282017-09-06 Mike FABIAN <mfabian@redhat.com>
30429
30430 [BZ #21750]
30431 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30432 use the range notation for all ranges of neighbouring characters
30433 with the same width.
30434
4f3647e4
JM
304352017-09-05 Joseph Myers <joseph@codesourcery.com>
30436
30437 * sysdeps/generic/math-type-macros-double.h: Include
30438 <math-svid-compat.h>.
30439 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30440 * sysdeps/generic/math-type-macros-float.h: Include
30441 <math-svid-compat.h>.
30442 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30443 * sysdeps/generic/math-type-macros-ldouble.h: Include
30444 <math-svid-compat.h>.
30445 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30446 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30447 condition.
30448 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30449 * math/w_acosf_compat.c: Likewise.
30450 * math/w_acosh_compat.c: Likewise.
30451 * math/w_acoshf_compat.c: Likewise.
30452 * math/w_acoshl_compat.c: Likewise.
30453 * math/w_acosl_compat.c: Likewise.
30454 * math/w_asin_compat.c: Likewise.
30455 * math/w_asinf_compat.c: Likewise.
30456 * math/w_asinl_compat.c: Likewise.
30457 * math/w_atan2_compat.c: Likewise.
30458 * math/w_atan2f_compat.c: Likewise.
30459 * math/w_atan2l_compat.c: Likewise.
30460 * math/w_atanh_compat.c: Likewise.
30461 * math/w_atanhf_compat.c: Likewise.
30462 * math/w_atanhl_compat.c: Likewise.
30463 * math/w_cosh_compat.c: Likewise.
30464 * math/w_coshf_compat.c: Likewise.
30465 * math/w_coshl_compat.c: Likewise.
30466 * math/w_exp10_compat.c: Likewise.
30467 * math/w_exp10f_compat.c: Likewise.
30468 * math/w_exp10l_compat.c: Likewise.
30469 * math/w_exp2_compat.c: Likewise.
30470 * math/w_exp2f_compat.c: Likewise.
30471 * math/w_exp2l_compat.c: Likewise.
30472 * math/w_fmod_compat.c: Likewise.
30473 * math/w_fmodf_compat.c: Likewise.
30474 * math/w_fmodl_compat.c: Likewise.
30475 * math/w_hypot_compat.c: Likewise.
30476 * math/w_hypotf_compat.c: Likewise.
30477 * math/w_hypotl_compat.c: Likewise.
30478 * math/w_j0_compat.c: Likewise.
30479 * math/w_j0f_compat.c: Likewise.
30480 * math/w_j0l_compat.c: Likewise.
30481 * math/w_j1_compat.c: Likewise.
30482 * math/w_j1f_compat.c: Likewise.
30483 * math/w_j1l_compat.c: Likewise.
30484 * math/w_jn_compat.c: Likewise.
30485 * math/w_jnf_compat.c: Likewise.
30486 * math/w_jnl_compat.c: Likewise.
30487 * math/w_lgamma_r_compat.c: Likewise.
30488 * math/w_lgammaf_r_compat.c: Likewise.
30489 * math/w_lgammal_r_compat.c: Likewise.
30490 * math/w_log10_compat.c: Likewise.
30491 * math/w_log10f_compat.c: Likewise.
30492 * math/w_log10l_compat.c: Likewise.
30493 * math/w_log2_compat.c: Likewise.
30494 * math/w_log2f_compat.c: Likewise.
30495 * math/w_log2l_compat.c: Likewise.
30496 * math/w_log_compat.c: Likewise.
30497 * math/w_logf_compat.c: Likewise.
30498 * math/w_logl_compat.c: Likewise.
30499 * math/w_pow_compat.c: Likewise.
30500 * math/w_powf_compat.c: Likewise.
30501 * math/w_powl_compat.c: Likewise.
30502 * math/w_remainder_compat.c: Likewise.
30503 * math/w_remainderf_compat.c: Likewise.
30504 * math/w_remainderl_compat.c: Likewise.
30505 * math/w_sinh_compat.c: Likewise.
30506 * math/w_sinhf_compat.c: Likewise.
30507 * math/w_sinhl_compat.c: Likewise.
30508 * math/w_sqrt_compat.c: Likewise.
30509 * math/w_sqrtf_compat.c: Likewise.
30510 * math/w_sqrtl_compat.c: Likewise.
30511 * math/w_tgamma_compat.c: Likewise.
30512 * math/w_tgammaf_compat.c: Likewise.
30513 * math/w_tgammal_compat.c: Likewise.
30514 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30515 [LIBM_SVID_COMPAT].
30516 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30517 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30518 [LIBM_SVID_COMPAT].
30519 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30520 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30521 [LIBM_SVID_COMPAT].
30522 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30523 * sysdeps/i386/fpu/w_sqrt.c: New file.
30524 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30525 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30526 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30527 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30528 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30529 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30530 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30531 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30532 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30533 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30534 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30535 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30536 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30537 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30538 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30539 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30540 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30541 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30542 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30543 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30544 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30545 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30546 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30547 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30548 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30549 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30550 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30551 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30552 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30553 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30554 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30555 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30556 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30557 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30558 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30559 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30560 * sysdeps/ia64/fpu/w_log.c: Likewise.
30561 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30562 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30563 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30564 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30565 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30566 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30567 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30568 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30569 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30570 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30571 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30572 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30573 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30574 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30575 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30576 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30577 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30578 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30579 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30580 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30581 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30582 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30583 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30584 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30585 [LIBM_SVID_COMPAT].
30586 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30587 * sysdeps/ieee754/k_standard.c: Likewise.
30588 * sysdeps/ieee754/k_standardf.c: Likewise.
30589 * sysdeps/ieee754/k_standardl.c: Likewise.
30590 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30591 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30592 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30593 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30594 long_double_symbol call on [LIBM_SVID_COMPAT].
30595 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30596 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30597 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30598 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30599 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30600 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30601 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30602 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30603 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30604 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30605 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30606 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30607 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30608 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30609 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30610 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30611 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30612 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30613 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30614 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30615 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30616 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30617
05b38d64
SE
306182017-09-05 Steve Ellcey <sellcey@cavium.com>
30619
30620 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30621 * malloc/tst-mallocstate.c: Convert from test-skeleton
30622 to test-driver. Ifdef code using TEST_COMPAT macro.
30623 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30624 * math/test-matherr.c: Likewise.
30625
99d67918
JM
306262017-09-05 Joseph Myers <joseph@codesourcery.com>
30627
30628 [BZ #22086]
30629 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30630 comparing word with byte-swapped constant.
30631
c207f7ce 306322017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
30633
30634 [BZ #20498]
30635 * locale/iso-639.def: add Miskito.
30636 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30637 * localedata/locales/miq_NI: New file.
30638
0a587a8a
L
306392017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30640
30641 [BZ #18822]
30642 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30643 (__mkdir): Likewise.
30644 * io/chmod.c (__chmod): Add libc_hidden_def.
30645 * io/mkdir.c (__mkdir): Likewise.
30646 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30647 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30648 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30649 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30650
f3a129b8
JM
306512017-09-04 Joseph Myers <joseph@codesourcery.com>
30652
1650e192
JM
30653 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30654 version to 4.13.
30655
f3a129b8
JM
30656 [BZ #22082]
30657 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30658 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30659
b38042f5
FW
306602017-09-04 Florian Weimer <fweimer@redhat.com>
30661
30662 * math/math.h: Issue warning if log is defined.
30663
059b6404
JM
306642017-09-04 Joseph Myers <joseph@codesourcery.com>
30665
30666 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30667 kernel version to 4.13.
30668
b794e16b
ST
306692017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30670
30671 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
30672 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30673 parameter.
01969395
ST
30674 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30675 just <bits/types.h>.
dd2b31de 30676 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 30677 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 30678 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 30679 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
30680 * misc/preadv2.c: Include <errno.h>.
30681 * misc/preadv64v2.c: Include <errno.h>.
30682 * misc/pwritev2.c: Include <errno.h>.
30683 * misc/pwritev64v2.c: Include <errno.h>.
30684 * sysdeps/posix/preadv2.c: Include <errno.h>.
30685 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30686 Fix <unistd.h> inclusion.
30687 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30688 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
30689 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30690 __strtoul_internal): New functions.
127e7773
ST
30691 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30692 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
30693 * sysdeps/mach/hurd/i386/Makefile
30694 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30695 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30696 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
30697 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30698 __feraiseexcept_renamed to feraiseexcept instead of
30699 __GI_feraiseexcept.
56bf5497 30700 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 30701 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
30702 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30703 RWF_NOWAIT): Define to 0 if undefined already.
30704 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30705 boils down to 0.
6547ec0a
ST
30706 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30707 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 30708
5a80d39d
JM
307092017-09-01 Joseph Myers <joseph@codesourcery.com>
30710
30711 * manual/math.texi (pow10): Do not document.
30712 (pow10f): Likewise.
30713 (pow10l): Likewise.
30714 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30715 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30716 * math/libm-test-exp10.inc (pow10_test): Remove.
30717 (do_test): Do not call pow10.
30718 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30719 [NO_LONG_DOUBLE] (pow10l): Likewise.
30720 * math/w_exp10f_compat.c (pow10f): Likewise.
30721 * math/w_exp10l_compat.c (pow10l): Likewise.
30722 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30723 (pow10): Make into compat symbol.
30724 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30725 (pow10f): Make into compat symbol.
30726 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30727 (pow10l): Make into compat symbol.
30728 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30729 pow10.
30730 (CFLAGS-nldbl-pow10.c): Remove variable..
30731 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30732 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30733 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30734 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30735 Undefine and redefine.
30736 (pow10l): Make into compat symbol.
30737 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30738 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30739 * sysdeps/arm/libm-test-ulps: Likewise.
30740 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30741 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30742 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30743 * sysdeps/microblaze/libm-test-ulps: Likewise.
30744 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30745 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30746 * sysdeps/nios2/libm-test-ulps: Likewise.
30747 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30748 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30749 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30750 * sysdeps/sh/libm-test-ulps: Likewise.
30751 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30752 * sysdeps/tile/libm-test-ulps: Likewise.
30753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30754
3824fc38
PP
307552017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30756
30757 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30758
b3008279
L
307592017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30760
30761 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30762 "../ChangeLog.old/ChangeLog.8".
30763 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30764 "../ChangeLog.old/ChangeLog.14".
30765
136fa185
L
307662017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30767
30768 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30769 Threads Library.
30770
c18d50a2
JM
307712017-09-01 Joseph Myers <joseph@codesourcery.com>
30772
30773 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30774
bedbd859
L
307752017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30776
30777 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30778 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30779
50c66c7a
PP
307802017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30781
30782 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30783 32 atexit handlers.
30784
a617bd11
ZW
307852017-09-01 Zack Weinberg <zackw@panix.com>
30786
30787 * math/math.h (HUGE_VAL): Improve commentary.
30788
e0d2eb5a
AZ
307892017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30790 Andreas Schwab <schwab@suse.de>
30791
30792 [BZ #21530]
30793 * include/stdio.h (__gen_tempfd): New function.
30794 * stdio-common/Makefile (routines): Add gentempfd.
30795 * stdio-common/gentempfd.c: New file.
30796 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30797 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30798 unnamed file first.
30799
f4a6be25
FW
308002017-09-01 Florian Weimer <fweimer@redhat.com>
30801
30802 [BZ #21915]
30803 [BZ #21922]
30804 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30805 result to determine success or failure, not the errno value.
30806 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30807 (tst-nss-files-hosts-erange): Link with -ldl.
30808 * nss/tst-nss-files-hosts-erange.c: New file.
30809 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30810 (do_test): Add NO_DATA tests.
30811 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30812 (do_test): Call it.
30813
5f8340f5
FW
308142017-09-01 Florian Weimer <fweimer@redhat.com>
30815
30816 [BZ #21922]
30817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30818 coming from gethostbyname2_r.
30819
65329bd2
FW
308202017-09-01 Florian Weimer <fweimer@redhat.com>
30821
30822 * support/namespace.h (struct support_chroot_configuration): Add
30823 hosts, host_conf.
30824 (struct support_chroot): Add path_hosts, path_host_conf.
30825 * support/support_chroot.c (write_file): New function.
30826 (support_chroot_create): Call it to process /etc/resolv.conf,
30827 /etc/hosts, /etc/host.conf.
30828 (support_chroot_free): Update.
30829
a2881ef0
FW
308302017-09-01 Florian Weimer <fweimer@redhat.com>
30831
30832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
30833 status indicates it is set.
30834
ad816a5e
FW
308352017-09-01 Florian Weimer <fweimer@redhat.com>
30836
63b52889 30837 [BZ #20532]
ad816a5e
FW
30838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
30839 function lookup failures more reliable.
30840
53250a21
FW
308412017-09-01 Florian Weimer <fweimer@redhat.com>
30842
30843 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
30844 (getcanonname): Likewise.
30845 (gaih_inet): Likewise.
30846
924b121c
FW
308472017-09-01 Florian Weimer <fweimer@redhat.com>
30848
30849 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
30850 (getcanonname): Likewise.
30851 (gaih_inet): Likewise.
30852
d9ff799a 308532017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 30854 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
30855
30856 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
30857 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
30858 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
30859 (IREG_SIZE, OREG_SIZE): New macros.
30860 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
30861 (IREG_SIZE, OREG_SIZE): New macros.
30862 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
30863 (IREG_SIZE): New macro.
30864 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
30865 (IREG_SIZE): New macro.
30866 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
30867 New includes.
30868 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
30869 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30870 (__CONCATX): Handle exceptions correctly on large values that may
30871 set FE_INVALID.
30872 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
30873 Initialize if not already set.
b39d961c 30874 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 30875
102dde84
AZ
308762017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30877
30878 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
30879 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
30880 Likewise.
30881 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
30882 Likewise.
30883 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
30884 Likewise.
30885 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
30886 Likewise.
30887 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
30888 Likewise.
30889 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
30890 Likewise.
30891 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
30892 Likewise.
30893 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
30894 (NO_CANCELLATION): Likewise.
30895 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
30896 Likewise.
30897 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
30898 Likewise.
30899 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
30900 Likewise.
30901 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
30902 (NO_CANCELLATION): Likewise.
30903 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
30904 (NO_CANCELLATION): Likewise.
30905 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
30906 Likewise
30907 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
30908 Likewise.
30909 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
30910 Likewise.
30911 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
30912 Likewise.
30913 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
30914 hidden prototype.
30915 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
30916 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
30917
9eee633b
SE
309182017-08-31 Steve Ellcey <sellcey@cavium.com>
30919
30920 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
30921 in resolver call.
30922
65284eb7
FW
309232017-08-31 Florian Weimer <fweimer@redhat.com>
30924
30925 * include/libc-symbols.h (internal_function): Remove.
30926
41ad5ca6
FW
309272017-08-31 Florian Weimer <fweimer@redhat.com>
30928
30929 * stdlib/fmtmsg.c (internal_addseverity): Remove
30930 internal_function.
30931
2fa6d086
FW
309322017-08-31 Florian Weimer <fweimer@redhat.com>
30933
30934 * stdio-common/printf_fp.c (group_number): Remove
30935 internal_function.
30936 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
30937
b41bd5bc
FW
309382017-08-31 Florian Weimer <fweimer@redhat.com>
30939
30940 * posix/fnmatch.c (internal_function): Remove definition.
30941 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30942 * posix/regcomp.c (peek_token, init_word_char)
30943 (duplicate_node_closure, fetch_token, peek_token)
30944 (peek_token_bracket, build_range_exp, build_collating_symbol):
30945 Likewise.
30946 * posix/regex_internal.c (re_string_construct_common)
30947 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30948 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30949 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30950 (re_string_translate_buffer, re_string_reconstruct)
30951 (re_string_peek_byte_case, re_string_fetch_byte_case)
30952 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30953 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30954 (re_node_set_add_intersect, re_node_set_init_union)
30955 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30956 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30957 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30958 (re_acquire_state_context): Likewise.
30959 * posix/regex_internal.h (internal_function): Remove definition.
30960 (re_string_realloc_buffers, build_wcs_buffer)
30961 (build_wcs_upper_buffer, build_upper_buffer)
30962 (re_string_translate_buffer, re_string_context_at)
30963 (re_string_char_size_at, re_string_wchar_at)
30964 (re_string_elem_size_at): Likewise.
30965 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30966 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30967 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30968 (re_search_internal, re_search_2_stub, re_search_stub)
30969 (re_copy_regs, prune_impossible_nodes, check_matching)
30970 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30971 (free_fail_stack_return, sift_states_iter_mb)
30972 (sift_states_backward, build_sifted_states)
30973 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30974 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30975 (check_subexp_limits, sift_states_bkref, merge_state_array)
30976 (find_recover_state, transit_state, merge_state_with_log)
30977 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30978 (transit_state_mb, transit_state_bkref, get_subexp)
30979 (get_subexp_sub, find_subexp_node, check_arrival)
30980 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30981 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30982 (check_node_accept_bytes, find_collation_sequence_value)
30983 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30984 (acquire_init_state_context, check_halt_node_context)
30985 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30986 (sub_epsilon_src_nodes): Likewise.
30987 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30988 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30989 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30990 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30991 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30992 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30993 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30994 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30995 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30996 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30997 (PREADV): Likewise.
30998 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30999 (PREADV): Likewise.
31000 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31001 (PWRITEV): Likewise.
31002 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31003 (PWRITEV): Likewise.
31004 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31005 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31006
83b09837
FW
310072017-08-31 Florian Weimer <fweimer@redhat.com>
31008
31009 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31010 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31011 Remove internal_function.
31012 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31013 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31014 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31015 (__deallocate_stack, __libc_pthread_init)
31016 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31017 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31018 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31019 Likewise.
31020 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31021 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31022 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31023 Likewise.
31024 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31025 (__pthread_mutex_unlock_usercnt): Likewise.
31026
116ac301
FW
310272017-08-31 Florian Weimer <fweimer@redhat.com>
31028
31029 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31030 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31031 (fts_safe_changedir): Remove internal_function.
31032 * io/ftw.c (internal_function): Remove definition.
31033 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31034
9da93bd7
FW
310352017-08-31 Florian Weimer <fweimer@redhat.com>
31036
31037 * inet/deadline.c (__deadline_current_time)
31038 (__deadline_from_timeval, __deadline_to_ms): Remove
31039 internal_function.
31040 * inet/getnameinfo.c (nrl_domainname): Likewise.
31041 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31042 * inet/inet6_option.c (add_pad): Likewise.
31043 * inet/net-internal.h (__deadline_current_time)
31044 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31045 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31046 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31047 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31048
a60eca2e
JM
310492017-08-31 Joseph Myers <joseph@codesourcery.com>
31050
c0c49d60
JM
31051 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31052 include <bits/nan.h>.
31053 * math/Makefile (headers): Remove bits/nan.h.
31054 * bits/nan.h: Remove.
31055 * sysdeps/ieee754/bits/nan.h: Likewise.
31056 * sysdeps/mips/bits/nan.h: Likewise.
31057
5ef1b213
JM
31058 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31059 not include <bits/inf.h>.
31060 * math/Makefile (headers): Remove bits/inf.h.
31061 * bits/inf.h: Remove.
31062 * sysdeps/ieee754/bits/inf.h: Likewise.
31063
a60eca2e
JM
31064 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31065 bits/huge_vall.h or bits/huge_val_flt128.h.
31066 (HUGE_VAL): Define directly here.
31067 [__USE_ISOC99] (HUGE_VALF): Likewise.
31068 [__USE_ISOC99] (HUGE_VALL): Likewise.
31069 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31070 (HUGE_VAL_F128): Likewise.
31071 * math/Makefile (headers): Remove bits/huge_val.h,
31072 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31073 * bits/huge_val.h: Remove.
31074 * bits/huge_val_flt128.h: Likewise.
31075 * bits/huge_valf.h: Likewise.
31076 * bits/huge_vall.h: Likewise.
31077 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31078 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31079 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31080 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31081 * sysdeps/sh/bits/huge_val.h: Likewise.
31082 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31083 * sysdeps/x86/bits/huge_vall.h: Likewise.
31084
17e00cc6
FW
310852017-08-31 Florian Weimer <fweimer@redhat.com>
31086
31087 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31088 internal_function.
31089 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31090 Likewise.
31091 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31092 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31093 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31094 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31095 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31096 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31097 * elf/dl-libc.c (dlerror_run): Likewise.
31098 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31099 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31100 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31101 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31102 Likewise.
31103 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31104 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31105 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31106 * elf/dl-profile.c (_dl_start_profile): Likewise.
31107 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31108 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31109 Likewise.
31110 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31111 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31112 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31113 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31114 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31115 (_dl_allocate_tls_storage): Likewise.
31116 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31117 (_dl_check_all_versions): Likewise.
31118 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31119 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31120 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31121 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31122 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31123 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31124 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31125 internal_function from __dl_start.
31126 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31127 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31128 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31129 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31130 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31131 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31132 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31133 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31134 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31135 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31136 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31137 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31138 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31139 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31140 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31141 Likewise.
31142 (struct rtld_global_ro): Remove internal_function from the
31143 _dl_lookup_symbol_x member.
31144 (_dl_symbol_value): Remove. No longer defined anywhere.
31145 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31146 internal_function.
31147 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31148 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31149 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31150 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31151 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31152 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31153 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31154 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31155 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31156 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31157 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31158 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31159
8d2f9410
FW
311602017-08-31 Florian Weimer <fweimer@redhat.com>
31161
31162 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31163 Remove internal_function.
31164 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31165 Likewise.
31166 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31167 Likewise.
31168
86e4919f
FW
311692017-08-31 Florian Weimer <fweimer@redhat.com>
31170
31171 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31172 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31173 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31174
59bd52b0
FW
311752017-08-31 Florian Weimer <fweimer@redhat.com>
31176
31177 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31178 (__gai_enqueue_request): Remove internal_function.
31179 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31180 (__gai_remove_request, __gai_notify, __gai_notify_only)
31181 (__gai_sigqueue): Likewise.
31182 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31183 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31184 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31185 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31186 Likewise.
31187
fc3d9497
FW
311882017-08-31 Florian Weimer <fweimer@redhat.com>
31189
31190 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31191 * include/dirent.h (__opendirat, __getdents, __getdents64)
31192 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31193 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31194 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31195 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31196 Likewise.
31197 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31198
18c54fac
FW
311992017-08-31 Florian Weimer <fweimer@redhat.com>
31200
31201 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31202 internal_function.
31203 (GETCWD_RETURN_TYPE): Likewise.
31204
7e01f080
FW
312052017-08-31 Florian Weimer <fweimer@redhat.com>
31206
31207 * include/time.h (__tz_compute, __strptime_internal): Remove
31208 internal_function.
31209 * time/strptime_l.c (__strptime_internal): Likewise.
31210 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31211
d7ccc6c9
FW
312122017-08-31 Florian Weimer <fweimer@redhat.com>
31213
31214 * iconv/gconv.c (__gconv): Remove internal_function.
31215 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31216 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31217 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31218 (__gconv_release_cache): Likewise.
31219 * iconv/gconv_close.c (__gconv_close): Likewise.
31220 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31221 (read_conf_file, __gconv_get_path): Likewise.
31222 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31223 (__gconv_release_step, gen_steps, increment_counter)
31224 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31225 (__gconv_close_transform, free_modules_db): Likewise.
31226 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31227 Likewise.
31228 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31229 (__gconv_find_transform, __gconv_lookup_cache)
31230 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31231 (__gconv_close_transform, __gconv_release_cache)
31232 (__gconv_loaded_object, __gconv_release_shlib)
31233 (__gconv_compare_alias): Likewise.
31234 * iconv/gconv_open.c (__gconv_open): Likewise.
31235 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31236 * iconv/iconvconfig.c (add_module): Likewise.
31237 * intl/dcigettext.c (plural_lookup, guess_category_value)
31238 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31239 * intl/eval-plural.h (plural_eval): Likewise.
31240 * intl/finddomain.c (_nl_find_domain): Likewise.
31241 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31242 (_nl_load_domain, _nl_find_msg): Likewise.
31243 (internal_function): Remove definition.
31244 * intl/loadinfo.h (internal_function): Likewise.
31245 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31246 internal_function.
31247 * intl/localealias.c (internal_function): Remove definition.
31248 (read_alias_file): Remove internal_function.
31249 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31250 * intl/plural-exp.h (internal_function): Remove definition.
31251 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31252 internal_function.
31253 * intl/plural.c: Regenerate.
31254 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31255 * locale/coll-lookup.c (__collidx_table_lookup)
31256 (__collseq_table_lookup): Likewise.
31257 * locale/coll-lookup.h (__collidx_table_lookup)
31258 (__collseq_table_lookup): Likewise.
31259 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31260 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31261 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31262 (_nl_unload_locale): Likewise.
31263 * locale/localeinfo.h (struct __locale_data): Remove
31264 internal_function from cleanup member.
31265 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31266 (_nl_remove_locale, _nl_load_locale_from_archive)
31267 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31268 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31269 (_nl_cleanup_time): Remove internal_function.
31270 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31271 (_nl_parse_alt_digit): Likewise.
31272 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31273 (_nl_select_era_entry): Likewise.
31274 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31275 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31276 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
31277 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31278 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 31279
dab0eece
FW
312802017-08-31 Florian Weimer <fweimer@redhat.com>
31281
31282 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31283 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31284 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31285 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31286 Likewise.
31287 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31288 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31289 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31290 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31291 Likewise.
31292 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31293
ab5bf7cf
FW
312942017-08-31 Florian Weimer <fweimer@redhat.com>
31295
31296 * misc/getttyent.c (skip, value): Remove internal_function.
31297 * misc/syslog.c (openlog_internal): Likewise.
31298 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31299
75b3047e
FW
313002017-08-31 Florian Weimer <fweimer@redhat.com>
31301
31302 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31303 (__nss_rewrite_field): Remove internal_function.
31304 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31305 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31306 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31307 * nss/nsswitch.c (nss_parse_file, nss_getline)
31308 (nss_parse_service_list, nss_new_service): Likewise.
31309 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31310 * nss/valid_field.c (__nss_valid_field): Likewise.
31311 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31312
0c71122c
FW
313132017-08-31 Florian Weimer <fweimer@redhat.com>
31314
31315 * malloc/arena.c (__malloc_fork_lock_parent)
31316 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31317 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31318 internal_function from defintions.
31319 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31320 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31321 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31322 internal_function from declarations.
31323 * malloc/malloc.c (internal_function): Do not define.
31324 (mem2mem_check): Remove internal_function from declaration.
31325 (munmap_chunk, mremap_chunk): Remove internal_function.
31326 * malloc/mtrace.c (tr_where): Likewise.
31327
ca4ec803
FW
313282017-08-31 Florian Weimer <fweimer@redhat.com>
31329
31330 * include/rpc/pmap_clnt.h (__get_socket): Remove
31331 internal_function.
31332 * sunrpc/auth_des.c (synchronize): Likewise.
31333 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31334 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31335 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31336 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31337 (key_call): Likewise.
31338 * sunrpc/pm_getport.c (__get_socket): Likewise.
31339 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31340 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31341 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31342 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31343 (invalidate): Likewise.
31344 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31345 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31346 (set_input_fragment, get_input_bytes): Likewise.
31347
24cffce7
FW
313482017-08-31 Florian Weimer <fweimer@redhat.com>
31349
31350 * malloc/malloc.c (_int_free): Remove locked variable and related
31351 asserts.
31352
ecd0747d
L
313532017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31354
31355 [BZ #22051]
31356 * Makerules (build-module-helper-objlist): Filter out
31357 $(elf-objpfx)sofini.os.
31358 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31359 needed.
31360
5f0704b6
FW
313612017-08-31 Florian Weimer <fweimer@redhat.com>
31362
31363 * libio/fcloseall.c: Assume weak_alias is defined.
31364 * libio/feof.c: Likewise.
31365 * libio/fileno.c: Likewise.
31366 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31367 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31368 definitions.
31369 (_IO_file_open): Call __open directly.
31370 (_IO_new_file_sync): Assume ESPIPE is defined.
31371 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31372 (_IO_new_file_write): Call __write directly.
31373 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31374 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31375 * libio/genops.c: Assume _LIBC is defined.
31376 (save_for_backup): Remove internal_function.
31377 * libio/getc.c: Assume weak_alias is defined.
31378 * libio/getwc.c: Likewise.
31379 * libio/iofclose.c: Assume _LIBC is defined.
31380 * libio/iofdopen.c: Likewise.
31381 (_IO_fcntl): Remove macro definition.
31382 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31383 Call __fcntl directly.
31384 * libio/iofflush.c: Assume weak_alias is defined.
31385 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31386 defined.
31387 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31388 * libio/iofgets.c: Likewise.
31389 * libio/iofopen.c: Assume _LIBC is defined.
31390 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31391 * libio/iofputs.c: Assume weak_alias is defined.
31392 * libio/iofread.c: Likewise.
31393 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31394 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31395 * libio/ioftell.c: Assume weak_alias is defined.
31396 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31397 * libio/iofwide.c: Assume _LIBC is defined.
31398 (_IO_fwide): Drop SHARED conditional because it is implied by
31399 SHLIB_COMPAT.
31400 * libio/iofwrite.c: Assume weak_alias is defined.
31401 * libio/iogetdelim.c: Likewise.
31402 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31403 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31404 (_IO_getwline): Call __wmemcpy directly.
31405 * libio/iopopen.c: Assume _LIBC is defined.
31406 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31407 (_IO_close): Remove macro definitions.
31408 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31409 _exit directly.
31410 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31411 directly.
31412 * libio/ioputs.c: Assume weak_alias is defined.
31413 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31414 * libio/iosetbuffer.c: Assume weak_alias is defined.
31415 * libio/iosetvbuf.c: Likewise.
31416 * libio/ioungetc.c: Likewise.
31417 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31418 libc_hidden_def, libc_hidden_weak, NULL are defined.
31419 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31420 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31421 defined.
31422 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31423 definitions.
31424 (_IO_old_file_init_internal): Drop SHARED conditional because it
31425 is implied by SHLIB_COMPAT.
31426 (_IO_old_file_fopen): Call __open directly.
31427 (_IO_old_file_sync): Assume ESPIPE is defined.
31428 (_IO_old_file_write): Call __write directly.
31429 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31430 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31431 Call __fcntl directly.
31432 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31433 (_IO_old_fgetpos): Assume EIO is defined.
31434 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31435 (_IO_old_fgetpos64): Assume EIO is defined.
31436 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31437 (_IO_old_fsetpos): Assume EIO is defined.
31438 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31439 (_IO_old_fsetpos64): Assume EIO is defined.
31440 * libio/oldiopopen.c: Assume _LIBC is defined.
31441 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31442 (_IO_close): Remove macro definitions.
31443 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31444 directly.
31445 (_IO_old_proc_close): Call __close, __waitpid directly.
31446 * libio/put.c: Assume weak_alias is defined.
31447 * libio/stdfiles.c: Assume _LIBC is defined.
31448 * libio/stdio.c: Likewise.
31449 * libio/wfileops.c: Likewise.
31450 (_IO_wfile_sync): Assume ESPIPE is defined.
31451 * libio/wgenops.c: Assume _LIBC is defined.
31452 (save_for_wbackup): Remove internal_function.
31453
5129873a
FW
314542017-08-31 Florian Weimer <fweimer@redhat.com>
31455
31456 * malloc/malloc.c (top_check): Change return type to void. Remove
31457 internal_function.
31458 * malloc/hooks.c (top_check): Likewise.
31459 (malloc_check, realloc_check, memalign_check): Adjust.
31460
4fa9b3bf
JM
314612017-08-30 Joseph Myers <joseph@codesourcery.com>
31462
31463 [BZ #21457]
31464 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31465 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31466 sigcontext and namespace requirements.
31467 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31468 * sysdeps/m68k/sys/ucontext.h: Likewise.
31469 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31470 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31471 <bits/sigcontext.h>.
31472 (__ctx): Define earlier.
31473 (mcontext_t): Define structure contents rather than using struct
31474 sigcontext.
31475 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31476 __glibc_reserved1 instead of __reserved.
31477 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31478 <bits/sigcontext.h>.
31479 (__ctx): Define earlier.
31480 (mcontext_t): Define structure contents rather than using struct
31481 sigcontext.
31482 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31483 mcontext_t instead of struct sigcontext.
31484 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31485 <bits/sigcontext.h>.
31486 (__ctx): Define earlier.
31487 (mcontext_t): Define structure contents rather than using struct
31488 sigcontext.
31489 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
31490 <bits/sigcontext.h>.
31491 (__ctx): Define earlier.
31492 (mcontext_t): Define structure contents rather than using struct
31493 sigcontext.
31494 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31495 mcontext_t instead of struct sigcontext.
31496 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31497 mcontext_t instead of struct sigcontext.
31498 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31499 <bits/sigcontext.h>.
31500 (__ctx): New macro.
31501 (struct __ia64_fpreg_mcontext): New type.
31502 (mcontext_t): Define structure contents rather than using struct
31503 sigcontext.
31504 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31505 (uc_sigmask): Define using __ctx.
31506 (uc_stack): Likewise.
31507 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31508 <bits/sigcontext.h>.
31509 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31510 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31511 <bits/sigcontext.h>.
31512 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31513 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31514 <bits/sigcontext.h>.
31515 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31516 <bits/sigcontext.h>.
31517 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31518 <bits/sigcontext.h>.
31519 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31520 <bits/sigcontext.h>.
31521 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31522 <bits/sigcontext.h>.
31523 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31524 <bits/sigcontext.h>.
31525 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31526 <bits/sigcontext.h>.
31527 (__ctx): Define earlier.
31528 (mcontext_t): Define structure contents rather than using struct
31529 sigcontext.
31530 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31531 <bits/sigcontext.h>. Include <bits/types.h>.
31532 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31533 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31534 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31535 (test-xfail-UNIX98/signal.h/conform): Likewise.
31536 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31537 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31538 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31539 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31540 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31541 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31542 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31543 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31544 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31545
5898f454
FW
315462017-08-30 Florian Weimer <fweimer@redhat.com>
31547
31548 * malloc/dynarray_emplace_enlarge.c
31549 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31550 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31551 * malloc/tst-dynarray.c (test_long_overflow): New function.
31552 (do_test): Call it.
31553
a9da0bb2
FW
315542017-08-30 Florian Weimer <fweimer@redhat.com>
31555
31556 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31557 (set_arena_corrupt): Remove definitions.
31558 (mtrim): Do not check for corrupt arena.
31559 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31560 Likewise.
31561
ac3ed168
FW
315622017-08-30 Florian Weimer <fweimer@redhat.com>
31563
31564 [BZ #21754]
31565 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31566 check_action.
31567 (ptmalloc_init): Do not set or use check_action.
31568 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31569 call to malloc_printerr. Remove return statement.
31570 (free_check): Likewise. Remove arena unlock.
31571 (top_check): Update comment. Adjust call to malloc_printerr.
31572 Remove heap repair code.
31573 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31574 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31575 (sysmalloc): Adjust call to malloc_printerr.
31576 (munmap_chunk, __libc_realloc): Likewise. Remove return
31577 statement.
31578 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31579 Remove errout label and corresponding gotos.
31580 (_int_free): Likewise. Remove arena unlock.
31581 (do_set_mallopt_check): Do not set check_action.
31582 (malloc_printerr): Adjust parameter list. Do not mark arena as
31583 corrupt.
31584 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31585 comment.
31586 * manual/probes.texi (Memory Allocation Probes): Remove
31587 memory_mallopt_check_action.
31588
44bcba80
SE
315892017-08-30 Steve Ellcey <sellcey@cavium.com>
31590
31591 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31592 Use pointer to uint64_t instead of long int for sp.
31593
ec2c1fce
FW
315942017-08-30 Florian Weimer <fweimer@redhat.com>
31595
31596 [BZ #21754]
31597 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31598 without printing a backtrace. Do not leak any information in the
31599 error message.
31600 * manual/memory.texi (Heap Consistency Checking): Update.
31601 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31602
9ce673b6
FW
316032017-08-30 Florian Weimer <fweimer@redhat.com>
31604
31605 Do not scale NPTL tests with available number of CPUs.
31606 * nptl/tst-cond16.c (count): Set to constant value of 8.
31607 * nptl/tst-cond18.c (count): Likewise.
31608
2f1aef19
JM
316092017-08-29 Joseph Myers <joseph@codesourcery.com>
31610
31611 [BZ #22035]
31612 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31613 Define to take a second argument that is a macro that
31614 concatentates a suffix, not the suffix itself.
31615 (__CONCAT_d): New macro.
31616 (__CONCAT_f): Likewise.
31617 (__CONCAT_l): Likewise.
31618
8325b477
PP
316192017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31620
31621 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31622 by child.
31623
319cbbf6
AZ
316242017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31625 Aurelien Jarno <aurelien@aurel32.net>
31626 Maciej W. Rozycki <macro@imgtec.com>
31627
31628 [BZ #21956]
31629 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31630 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31631 `mips16-syscall6' and `mips16-syscall7'.
31632 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31633 (CFLAGS-mips16-syscall7.c): Remove.
31634 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31635 Remove `__mips16_syscall5', `__mips16_syscall6' and
31636 `__mips16_syscall7'.
31637 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31638 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31639 `__mips_syscall_return'.
31640 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31641 (__mips16_syscall1): Likewise.
31642 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31643 (__mips16_syscall2): Likewise.
31644 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31645 (__mips16_syscall3): Likewise.
31646 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31647 (__mips16_syscall4): Likewise.
31648 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31649 Remove.
31650 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31651 Remove.
31652 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31653 Remove.
31654 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31655 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31656 `__mips16_syscall5'. Remove prototype.
31657 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31658 `__mips16_syscall6'. Remove prototype.
31659 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31660 `__mips16_syscall7'. Remove prototype.
31661 (__nomips16, __mips16_syscall_return): Move to...
31662 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31663 (__nomips16, __mips_syscall_return): ... here.
31664 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31665 `__mips16_syscall_return' to `__mips_syscall_return'.
31666 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31667 `internal_syscall##nr'.
31668 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31669 `internal_syscall##nr'.
31670 (FORCE_FRAME_POINTER): Remove.
31671 (__mips_syscall5): New prototype.
31672 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31673 (__mips_syscall6): New prototype.
31674 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31675 (__mips_syscall7): New prototype.
31676 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31677 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31678 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31679 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31680 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31681 (sysdep_routines): Add libc-do-syscall.
31682 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31683 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31684
01b87c65
AZ
316852017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31686
31687 [BZ #21672]
31688 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31689 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31690 (advise_stack_range): New function.
31691 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31692 stack non required to advise_stack_range at allocatestack.c
31693
16f138a4
SN
316942017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31695
31696 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31697
251bccfa
FW
316982017-08-29 Florian Weimer <fweimer@redhat.com>
31699
31700 [BZ #22026]
31701 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31702 __end_fct. Mangle __end_fct after setting it to NULL.
31703 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31704 (modules-names, modules-names-tests): Add
31705 tst-gconv-init-failure-mod.
31706 (gconv-modules): New target.
31707 (tst-gconv-init-failure-mod.so): Link against libsupport.
31708 (tst-gconv-init-failure): Depend on gconv-modules,
31709 tst-gconv-init-failure-mod.so.
31710 * iconv/tst-gconv-init-failure-mod.c: New file.
31711 * iconv/tst-gconv-init-failure.c: Likewise.
31712 * iconv/test-gconv-modules: Likewise.
31713
e7c18b9d
FW
317142017-08-29 Florian Weimer <fweimer@redhat.com>
31715
31716 [BZ #22025]
31717 * iconv/gconv_db.c (free_derivation): Remove redundant
31718 parentheses.
31719 (gen_steps): Unconditionally mangle __btowc_fct after
31720 initialization.
31721 (increment_counter): Likewise. Do not call init_fct for internal
31722 modules.
31723
7daada03
JM
317242017-08-29 Joseph Myers <joseph@codesourcery.com>
31725
31726 [BZ #22028]
31727 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31728 (_MSUF_): Remove macro.
31729 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31730 Likewise.
31731 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31732 (__REDIRFROM_X): New macro.
31733 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31734 Likewise.
31735 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31736 (__REDIRTO_X): Likewise.
31737 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31738 arguments.
31739 (__MATH_REDIRCALL_2): Likewise.
31740 (__MATH_REDIRCALL_INTERNAL): Likewise.
31741 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31742 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31743 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31744 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31745 * math/test-finite-macros.c: New file.
31746 * math/Makefile (tests): Add test-finite-macros.
31747 (CFLAGS-test-finite-macros.c): New variable.
31748
1cf1232c
PF
317492017-08-29 Patsy Franklin <pfrankli@redhat.com>
31750 Jeff Law <law@redhat.com>
31751
31752 [BZ #22025]
31753 Mangle NULL pointers in iconv/gconv.
31754 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31755 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31756 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31757 is non-NULL before demangling the end_fct. Check for NULL
31758 end_fct after demangling.
31759 (__gconv_release_step): Demangle the end_fct before checking
31760 it for NULL. Remove assert on __shlibc_handle != NULL.
31761 (gen_steps): Don't check btowc_fct for NULL before mangling.
31762 Demangle init_fct before checking for NULL.
31763 (increment_counter): Likewise.
31764 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31765 end_fct for NULL before mangling.
31766 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31767 for NULL.
31768
c207f7ce 317692017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
31770
31771 [BZ #21971]
31772 * locale/iso-639.def: add Morisyen.
31773
42496114
GG
317742017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31775
31776 [BZ #21930]
31777 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31778 (iszero): New C++ implementation that does not use
31779 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31780 signaling nans are enabled, since __builtin_types_compatible_p
31781 is a C-only feature.
31782 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31783 defined, include ieee754_float128.h for access to the union and
31784 member ieee854_float128.ieee.
31785 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31786 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31787 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31788 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31789 options of test-math-zero on powerpc64le.
31790
5e2bc4ff
L
317912017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31792
31793 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31794 Change double to float.
31795
a48c0fb4
JM
317962017-08-28 Joseph Myers <joseph@codesourcery.com>
31797
31798 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31799 unconditional.
31800 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31801 conditional code; define contents only for [LIBM_SVID_COMPAT].
31802
ee17d4e9
FW
318032017-08-28 Florian Weimer <fweimer@redhat.com>
31804
31805 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31806 (abi-lp64_be-options): Remove.
31807 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31808 (abi-hard-options): Likewise.
31809 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31810 (abi-o32_hard-options, abi-o32_soft_2008-options)
31811 (abi-o32_hard_2008-options, abi-n32_soft-options)
31812 (abi-n32_hard-options, abi-n32_soft_2008-options)
31813 (abi-n32_hard_2008-options, abi-n64_soft-options)
31814 (abi-n64_hard-options, abi-n64_soft_2008-options)
31815 (abi-n64_hard_2008-options): Likewise.
31816 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31817 (abi-64-v1-options, abi-64-v2-options): Likewise.
31818 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31819 (abi-64-options): Likewise.
31820 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31821 (abi-64-options): Likewise.
31822 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31823 (abi-64-options): Likewise.
31824 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
31825 (abi-64-options, abi-x32-options): Likewise.
31826
2dba5ce7
FW
318272017-08-28 Florian Weimer <fweimer@redhat.com>
31828
31829 Store supported list of SYS_* system calls in the source tree.
31830 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
31831 (bits/syscall.h): Generate from list file.
31832 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
31833 [$(subdir) = misc] (tests): Add tst-syscall-list.
31834 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
31835 [$(subdir) = misc] (tst-syscall-list-macros.list)
31836 [$(subdir) = misc] (tst-syscall-list-nr.list)
31837 (tst-syscall-list-sys.list): Helper targets for new
31838 tst-syscall-list test.
31839 [$(subdir) = misc] (tst-syscall-list.out): Run test script
31840 tst-syscall-list.sh.
31841 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
31842 target. Do not include bits/syscall.d.
31843 [$(subdir) = misc] (generated): Do not update.
31844 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
31845 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
31846 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
31847 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
31848
5f3b183d
PP
318492017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
31850
31851 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
31852 (tst-cxa_atexit, tst-on_exit): Likewise.
31853 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
31854 tst-cxa_atexit, and tst-on_exit.
31855 * stdlib/tst-atexit-common.c: New file.
31856 * stdlib/tst-atexit.c: New file.
31857 * stdlib/tst-at_quick_exit.c: New file.
31858 * stdlib/tst-cxa_atexit.c: New file.
31859 * stdlib/tst-on_exit.c: New file.
31860
2ef8d469
ST
318612017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31862
31863 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
31864 * mach/stack_chk_fail_local.c: New file.
31865 * hurd/stack_chk_fail_local.c: New file.
31866 * mach/Machrules ($(interface-library)-routines): Add
31867 stack_chk_fail_local.
99ee4d26
ST
31868 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
31869 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
31870 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
31871 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
31872 * hurd/Makefile (CFLAGS-hurdstartup.o,
31873 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 31874
7ab70c98
L
318752017-08-25 H.J. Lu <hongjiu.lu@intel.com>
31876
31877 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31878 (index_cpu_*, index_arch_*): Removed.
31879
39e7a5a6
SN
318802017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31881
31882 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
31883 Use uint64_t instead of unsigned long.
31884
bba5c930
JM
318852017-08-25 Joseph Myers <joseph@codesourcery.com>
31886
a6ccdb08
JM
31887 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
31888 [__HAVE_DISTINCT_FLOAT128].
31889
23761119
JM
31890 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
31891 of <bits/math-finite.h>.
31892 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
31893 inclusion of <bits/math-finite.h>.
31894 * math/bits/math-finite.h (__REDIRTO_X): Do not define
31895 conditionally on [__MATH_DECLARING_LDOUBLE && defined
31896 __NO_LONG_DOUBLE_MATH].
31897 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
31898 (__MATH_REDIRCALL_2): Likewise.
31899 (__MATH_REDIRCALL_INTERNAL): Likewise.
31900 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31901 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
31902 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31903
bba5c930
JM
31904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
31905 Remove file.
31906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
31907 Likewise.
31908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
31909 Likewise.
31910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
31911 Likewise.
31912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
31913 Likewise.
31914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
31915 Likewise.
31916 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31917 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31918 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31919 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
31921 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
31922 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
31923 w_sqrtf_compat-ppc32.
31924
3d7b66f6
GG
319252017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31926
31927 * math/math.h [defined __cplusplus] (issignaling): In the long
31928 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
31929 is not defined. Call __issignaling, otherwise.
31930
ebd6f007
AZ
319312017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31932
31933 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
31934 syscall definitions and replace __builtin_expect with __glibc_likely.
31935 * sysdeps/unix/syscall-template.S: Update comment about cancellable
31936 syscall.
6b5c8607 31937 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
31938 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
31939 definition.
31940 (PSEUDO_END): Likewise.
31941 [IS_IN (libpthread)] (CENABLE): Likewise.
31942 [IS_IN (libpthread)] (CDISABLE): Likewise.
31943 [IS_IN (libc)] (CENABLE): Likewise.
31944 [IS_IN (libc)] (CENABLE): Likewise.
31945 [IS_IN (librt)] (CDISABLE): Likewise.
31946 [IS_IN (librt)] (CDISABLE): Likewise.
31947 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31948 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31949 definition.
31950 (PSEUDO_END): Likewise.
31951 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31952 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31953 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31954 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31955 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31956 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31957 (CENABLE): Likewise.
31958 (CDISABLE): Likewise.
31959 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31960 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31961 defintion.
31962 (PSEUDO_END): Likewise.
31963 [IS_IN (libpthread)] (CENABLE): Likewise.
31964 [IS_IN (libpthread)] (CDISABLE): Likewise.
31965 [IS_IN (libc)] (CENABLE): Likewise.
31966 [IS_IN (libc)] (CENABLE): Likewise.
31967 [IS_IN (librt)] (CDISABLE): Likewise.
31968 [IS_IN (librt)] (CDISABLE): Likewise.
31969 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31970 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31971 definition.
31972 (PSEUDO_END): Likewise.
31973 [IS_IN (libpthread)] (CENABLE): Likewise.
31974 [IS_IN (libpthread)] (CDISABLE): Likewise.
31975 [IS_IN (libc)] (CENABLE): Likewise.
31976 [IS_IN (libc)] (CENABLE): Likewise.
31977 [IS_IN (librt)] (CDISABLE): Likewise.
31978 [IS_IN (librt)] (CDISABLE): Likewise.
31979 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31980 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31981 definition.
31982 (PSEUDO_END): Likewise.
31983 [IS_IN (libpthread)] (CENABLE): Likewise.
31984 [IS_IN (libpthread)] (CDISABLE): Likewise.
31985 [IS_IN (libc)] (CENABLE): Likewise.
31986 [IS_IN (libc)] (CENABLE): Likewise.
31987 [IS_IN (librt)] (CDISABLE): Likewise.
31988 [IS_IN (librt)] (CDISABLE): Likewise.
31989 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31990 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31991 definition.
31992 (PSEUDO_END): Likewise.
31993 [IS_IN (libpthread)] (CENABLE): Likewise.
31994 [IS_IN (libpthread)] (CDISABLE): Likewise.
31995 [IS_IN (libc)] (CENABLE): Likewise.
31996 [IS_IN (libc)] (CENABLE): Likewise.
31997 [IS_IN (librt)] (CDISABLE): Likewise.
31998 [IS_IN (librt)] (CDISABLE): Likewise.
31999 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32000 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32001 definition.
32002 (PSEUDO_END): Likewise.
32003 [IS_IN (libpthread)] (CENABLE): Likewise.
32004 [IS_IN (libpthread)] (CDISABLE): Likewise.
32005 [IS_IN (libc)] (CENABLE): Likewise.
32006 [IS_IN (libc)] (CENABLE): Likewise.
32007 [IS_IN (librt)] (CDISABLE): Likewise.
32008 [IS_IN (librt)] (CDISABLE): Likewise.
32009 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32010 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32011 definition.
32012 (PSEUDO_END): Likewise.
32013 [IS_IN (libpthread)] (CENABLE): Likewise.
32014 [IS_IN (libpthread)] (CDISABLE): Likewise.
32015 [IS_IN (libc)] (CENABLE): Likewise.
32016 [IS_IN (libc)] (CENABLE): Likewise.
32017 [IS_IN (librt)] (CDISABLE): Likewise.
32018 [IS_IN (librt)] (CDISABLE): Likewise.
32019 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32020 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32021 Remove definition.
32022 (PSEUDO_END): Likewise.
32023 [IS_IN (libpthread)] (CENABLE): Likewise.
32024 [IS_IN (libpthread)] (CDISABLE): Likewise.
32025 [IS_IN (libc)] (CENABLE): Likewise.
32026 [IS_IN (libc)] (CENABLE): Likewise.
32027 [IS_IN (librt)] (CDISABLE): Likewise.
32028 [IS_IN (librt)] (CDISABLE): Likewise.
32029 (SINGLE_THREAD_P): Likewise.
32030 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32031 definition.
32032 (PSEUDO_END): Likewise.
32033 [IS_IN (libpthread)] (CENABLE): Likewise.
32034 [IS_IN (libpthread)] (CDISABLE): Likewise.
32035 [IS_IN (libc)] (CENABLE): Likewise.
32036 [IS_IN (libc)] (CENABLE): Likewise.
32037 [IS_IN (librt)] (CDISABLE): Likewise.
32038 [IS_IN (librt)] (CDISABLE): Likewise.
32039 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32040 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32041 definition.
32042 (PSEUDO_END): Likewise.
32043 [IS_IN (libpthread)] (CENABLE): Likewise.
32044 [IS_IN (libpthread)] (CDISABLE): Likewise.
32045 [IS_IN (libc)] (CENABLE): Likewise.
32046 [IS_IN (libc)] (CENABLE): Likewise.
32047 [IS_IN (librt)] (CDISABLE): Likewise.
32048 [IS_IN (librt)] (CDISABLE): Likewise.
32049 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32050 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32051 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32052 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32053 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32054 definition.
32055 (PSEUDO_END): Likewise.
32056 [IS_IN (libpthread)] (CENABLE): Likewise.
32057 [IS_IN (libpthread)] (CDISABLE): Likewise.
32058 [IS_IN (libc)] (CENABLE): Likewise.
32059 [IS_IN (libc)] (CENABLE): Likewise.
32060 [IS_IN (librt)] (CDISABLE): Likewise.
32061 [IS_IN (librt)] (CDISABLE): Likewise.
32062 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32063 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32064 definition.
32065 (PSEUDO_END): Likewise.
32066 [IS_IN (libpthread)] (CENABLE): Likewise.
32067 [IS_IN (libpthread)] (CDISABLE): Likewise.
32068 [IS_IN (libc)] (CENABLE): Likewise.
32069 [IS_IN (libc)] (CENABLE): Likewise.
32070 [IS_IN (librt)] (CDISABLE): Likewise.
32071 [IS_IN (librt)] (CDISABLE): Likewise.
32072 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32073 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32074 definition.
32075 (PSEUDO_END): Likewise.
32076 [IS_IN (libpthread)] (CENABLE): Likewise.
32077 [IS_IN (libpthread)] (CDISABLE): Likewise.
32078 [IS_IN (libc)] (CENABLE): Likewise.
32079 [IS_IN (libc)] (CENABLE): Likewise.
32080 [IS_IN (librt)] (CDISABLE): Likewise.
32081 [IS_IN (librt)] (CDISABLE): Likewise.
32082 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32083 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32084 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32085 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32086 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32087 definition.
32088 (PSEUDO_END): Likewise.
32089 [IS_IN (libpthread)] (CENABLE): Likewise.
32090 [IS_IN (libpthread)] (CDISABLE): Likewise.
32091 [IS_IN (libc)] (CENABLE): Likewise.
32092 [IS_IN (libc)] (CENABLE): Likewise.
32093 [IS_IN (librt)] (CDISABLE): Likewise.
32094 [IS_IN (librt)] (CDISABLE): Likewise.
32095 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32096 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32097 definition.
32098 (PSEUDO_END): Likewise.
32099 [IS_IN (libpthread)] (CENABLE): Likewise.
32100 [IS_IN (libpthread)] (CDISABLE): Likewise.
32101 [IS_IN (libc)] (CENABLE): Likewise.
32102 [IS_IN (libc)] (CENABLE): Likewise.
32103 [IS_IN (librt)] (CDISABLE): Likewise.
32104 [IS_IN (librt)] (CDISABLE): Likewise.
32105 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32106
8aa48656
SN
321072017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32108
32109 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32110
fcaaca41
L
321112017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32112
32113 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32114
376b40a2
L
321152017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32116
32117 [BZ #21982]
32118 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32119 middle and outer with size_t instead of int. Repleace %d and
32120 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32121 "MAX (outer, nchars - 64)" to support unsigned outer and
32122 nchars. Also exit loop when outer == 0.
32123
2b0b9a1c
AZ
321242017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32125
32126 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32127 * include/signal.h (__sigsuspend_nocancel): Likewise.
32128 * include/time.h (__nanosleep_nocancel): Likewise.
32129 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32130 * login/utmp_file.c: Include non cancellable syscall header.
32131 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32132 prototype.
32133
b9eaca8f
L
321342017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32135
32136 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32137 .byte sequences with AVX512F instructions.
32138 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32139 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32140 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32141 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32142 Likewise.
32143 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32144 Likewise.
32145
5a706f64
SE
321462017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32147 Steve Ellcey <sellcey@cavium.com>
32148
32149 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32150 Use PTR_REG macro in cmp instruction.
32151
b513da7e
GG
321522017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32153
32154 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32155 Change the return type of the ifunc resolver to match the return
32156 type of the target function.
32157
78ca091c
AZ
321582017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32159
b70b6026
AZ
32160 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32161 (preadv64): Likewise.
32162 (pwrite64(: Likewise.
32163 (pwritev64): Likewise.
32164
78ca091c
AZ
32165 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32166 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32167 (LOAD_ARGS_0): Likewise.
32168 (LOAD_ARGS_1): Likewise.
32169 (LOAD_ARGS_2): Likewise.
32170 (LOAD_ARGS_3): Likewise.
32171 (LOAD_ARGS_4): Likewise.
32172 (LOAD_ARGS_5): Likewise.
32173 (LOAD_ARGS_6): Likewise.
32174 (LOAD_REGS_0): Likewise.
32175 (LOAD_REGS_1): Likewise.
32176 (LOAD_REGS_2): Likewise.
32177 (LOAD_REGS_3): Likewise.
32178 (LOAD_REGS_4): Likewise.
32179 (LOAD_REGS_5): Likewise.
32180 (LOAD_REGS_6): Likewise.
32181 (ASM_ARGS_0): Likewise.
32182 (ASM_ARGS_1): Likewise.
32183 (ASM_ARGS_2): Likewise.
32184 (ASM_ARGS_3): Likewise.
32185 (ASM_ARGS_4): Likewise.
32186 (ASM_ARGS_5): Likewise.
32187 (ASM_ARGS_6): Likewise.
32188 (LOAD_ARGS_TYPES_1): Likewise.
32189 (LOAD_ARGS_TYPES_2): Likewise.
32190 (LOAD_ARGS_TYPES_3): Likewise.
32191 (LOAD_ARGS_TYPES_4): Likewise.
32192 (LOAD_ARGS_TYPES_5): Likewise.
32193 (LOAD_ARGS_TYPES_6): Likewise.
32194 (LOAD_REGS_TYPES_1): Likewise.
32195 (LOAD_REGS_TYPES_2): Likewise.
32196 (LOAD_REGS_TYPES_3): Likewise.
32197 (LOAD_REGS_TYPES_4): Likewise.
32198 (LOAD_REGS_TYPES_5): Likewise.
32199 (LOAD_REGS_TYPES_6): Likewise.
32200 (TYPEFY): New define.
32201 (ARGIFY): Likewise.
32202 (internal_syscall0): Likewise.
32203 (internal_syscall1): Likewise.
32204 (internal_syscall2): Likewise.
32205 (internal_syscall3): Likewise.
32206 (internal_syscall4): Likewise.
32207 (internal_syscall5): Likewise.
32208 (internal_syscall6): Likewise.
32209 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32210 (INTERNAL_SYSCALL_NCS): Remove define.
32211 (internal_syscall1): Add define.
32212
453a493d
GG
322132017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32214
32215 * math/w_remainder_compat.c: Remove duplicate inclusion of
32216 math-svid-compat.h.
32217 * math/w_remainderf_compat.c: Likewise.
32218 * math/w_remainderl_compat.c: Likewise.
32219
f2f048a5
GG
322202017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32221
32222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32223
d9bef9c0
JM
322242017-08-22 Joseph Myers <joseph@codesourcery.com>
32225
32226 [BZ #21684]
32227 * math/tgmath.h (__floating_type): Simplify definitions.
32228 (__real_integer_type): New macro.
32229 (__complex_integer_type): Likewise.
32230 (__expr_is_real): Likewise.
32231 (__tgmath_real_type_sub): Update comment to describe handling of
32232 complex types.
32233 (__tgmath_complex_type_sub): New macro.
32234 (__tgmath_complex_type): Likewise.
32235 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32236 (__TGMATH_CF128): Use __expr_is_real.
32237 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32238 __expr_is_real.
32239 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32240 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32241 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32242 integer types.
32243
08d6eb46
AZ
322442017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32245
988f991b
AZ
32246 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32247 macro.
32248 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32249 alias.
32250 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32251 Likewise.
32252
6f33fd04
AZ
32253 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32254 nanosleep_not_cancel with __nanosleep_nocancel.
32255 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32256 (__nanosleep_nocancel): New macro.
32257 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32258 function.
32259 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32260 macro.
32261 (__nanosleep_nocancel): New prototype.
32262
08d6eb46
AZ
32263 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32264 pause_not_cancel with __pause_nocancel.
32265 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32266 (__pause_nocancel): New macro.
32267 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32268 macro.
32269 (__pause_nocancel): New prototype.
32270 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32271
ee4e992e
MS
322722017-08-22 Martin Sebor <msebor@redhat.com>
32273
32274 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32275 to return a pointer to the same type as the target function.
32276
20962acb
L
322772017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32278
32279 [BZ #18822]
32280 [BZ #21986]
32281 * include/printf.h (__printf_fphex): Add attribute_hidden.
32282 (__guess_grouping): New prototype.
32283 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32284 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32285 libc_hidden_proto and libc_hidden_def.
32286 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32287 (__vstrfmon_l): Remove the third argument passed to
32288 __guess_grouping.
32289
a16e8bc0
GG
322902017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32291
32292 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32293 definition for issignaling that does not rely on __MATH_TG,
32294 since __MATH_TG uses __builtin_types_compatible_p, which is only
32295 available in C mode.
32296 (CFLAGS-test-math-issignaling.cc): New variable.
32297 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32298 * math/test-math-issignaling.cc: New test for C++ implementation
32299 of type-generic issignaling.
32300 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32301 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32302 options of test-math-issignaling on powerpc64le.
32303
8d2ec553
L
323042017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32305
32306 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32307 building libc.a.
32308 (hidden_proto): Likewise.
32309 (hidden_tls_proto): Likewise.
32310 (__hidden_proto): Likewise.
32311
a4d57b79
FW
323122017-08-22 Florian Weimer <fweimer@redhat.com>
32313
32314 math: Statically link tests of internal functionality.
32315 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32316 atest-exp2.
32317 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32318 (gmp-objs): Remove assignment.
32319 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32320
75dfe623
JM
323212017-08-22 Joseph Myers <joseph@codesourcery.com>
32322
80f91666
JM
32323 [BZ #21987]
32324 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32325 and copy to ...
32326 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32327 ... here.
32328 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32329 ... and here.
32330
75dfe623
JM
32331 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32332 variable definitions above inclusion of ../Rules.
32333
ea99fcd0
JM
323342017-08-21 Joseph Myers <joseph@codesourcery.com>
32335
32336 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32337 case calling __builtin_unreachable.
32338
19926de9
AZ
323392017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32340
a8410a5f
AZ
32341 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32342 __waitpid_nocancel.
32343 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32344 (__waitpid_nocancel): New macro.
32345 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32346 macro.
32347 (__waitpid_nocancel): Replace macro with a function.
32348 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32349 function.
32350
7369800c
AZ
32351 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32352 __fcntl_nocancel.
32353 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32354 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32355
19926de9
AZ
32356 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32357 __writev_nocancel_nostatus.
32358 (write_call_graph): Likewise.
32359 (write_bb_counts): Likewise.
32360 * resolv/herror.c (herror): Likewise.
32361 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32362 macro.
32363 (__writev_nocancel_nostatus): New macro.
32364 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32365 Remove macro.
32366 (__writev_nocancel_nostatus): New function.
32367
813378e9
JM
323682017-08-21 Joseph Myers <joseph@codesourcery.com>
32369
df1deda6
JM
32370 Revert:
32371 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32372
32373 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32374 building libc.a.
32375 (hidden_proto): Likewise.
32376 (hidden_tls_proto): Likewise.
32377 (__hidden_proto): Likewise.
32378
831bbd55
JM
32379 [BZ #21973]
32380 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32381 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32383 Likewise.
32384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32385 Likewise.
32386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32387 Likewise.
32388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32389 Likewise.
32390 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32391 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32392 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32393 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32394 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32395 GLIBC_2.0 sqrtl symbol.
32396
813378e9
JM
32397 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32398 [__USE_MISC] (_LIB_VERSION): Likewise.
32399 [__USE_MISC] (struct exception): Likewise.
32400 [__USE_MISC] (matherr): Likewise.
32401 [__USE_MISC] (DOMAIN): Likewise.
32402 [__USE_MISC] (SING): Likewise.
32403 [__USE_MISC] (OVERFLOW): Likewise.
32404 [__USE_MISC] (UNDERFLOW): Likewise.
32405 [__USE_MISC] (TLOSS): Likewise.
32406 [__USE_MISC] (PLOSS): Likewise.
32407 [__USE_MISC] (HUGE): Likewise.
32408 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32409 * math/math-svid-compat.h: New file.
32410 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32411 and matherrl.
32412 * include/math.h [!_ISOMAC] (__matherr): Remove.
32413 * manual/arith.texi (FP Exceptions): Do not document matherr.
32414 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32415 (tests-internal): New variable.
32416 (install-lib): Do not add libieee.a.
32417 (non-lib.a): Likewise.
32418 (extra-objs): Do not add libieee.a and ieee-math.o.
32419 (CPPFLAGS-s_lib_version.c): Remove variable.
32420 ($(objpfx)libieee.a): Remove rule.
32421 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32422 * math/ieee-math.c: Remove.
32423 * math/libm-test-support.c (matherr): Remove.
32424 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32425 and license notices. Include <math-svid-compat.h> and
32426 <shlib-compat.h>.
32427 (matherr): Undefine as macro. Use compat_symbol_reference.
32428 (_LIB_VERSION): Likewise.
32429 * math/test-matherr-2.c: New file.
32430 * math/test-matherr-3.c: Likewise.
32431 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32432 declaration.
32433 (__kernel_standard_f): Likewise.
32434 (__kernel_standard_l): Likewise.
32435 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32436 <math_private.h>. Include <math-svid-compat.h>.
32437 (_LIB_VERSION): Undefine as macro.
32438 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32439 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32440 [LIBM_SVID_COMPAT], use compat_symbol.
32441 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32442 <math_private.h>. Include <math-svid-compat.h>.
32443 (matherr): Undefine as macro.
32444 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32445 compat_symbol.
32446 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32447 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32448 compat_symbol_reference.
32449 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32450 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32451 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32452 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32453 (MATHERR_D): Remove declaration.
32454 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32455 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32456 [LIBM_BUILD] (pmatherrf): Likewise.
32457 [LIBM_BUILD] (pmatherr): Likewise.
32458 [LIBM_BUILD] (pmatherrl): Likewise.
32459 (DOMAIN): Likewise.
32460 (SING): Likewise.
32461 (OVERFLOW): Likewise.
32462 (UNDERFLOW): Likewise.
32463 (TLOSS): Likewise.
32464 (PLOSS): Likewise.
32465 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32466 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32467 compat_symbol.
32468 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32469 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32470 compat_symbol.
32471 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32472 * math/w_acos_compat.c: Likewise.
32473 * math/w_acosf_compat.c: Likewise.
32474 * math/w_acosh_compat.c: Likewise.
32475 * math/w_acoshf_compat.c: Likewise.
32476 * math/w_acoshl_compat.c: Likewise.
32477 * math/w_acosl_compat.c: Likewise.
32478 * math/w_asin_compat.c: Likewise.
32479 * math/w_asinf_compat.c: Likewise.
32480 * math/w_asinl_compat.c: Likewise.
32481 * math/w_atan2_compat.c: Likewise.
32482 * math/w_atan2f_compat.c: Likewise.
32483 * math/w_atan2l_compat.c: Likewise.
32484 * math/w_atanh_compat.c: Likewise.
32485 * math/w_atanhf_compat.c: Likewise.
32486 * math/w_atanhl_compat.c: Likewise.
32487 * math/w_cosh_compat.c: Likewise.
32488 * math/w_coshf_compat.c: Likewise.
32489 * math/w_coshl_compat.c: Likewise.
32490 * math/w_exp10_compat.c: Likewise.
32491 * math/w_exp10f_compat.c: Likewise.
32492 * math/w_exp10l_compat.c: Likewise.
32493 * math/w_exp2_compat.c: Likewise.
32494 * math/w_exp2f_compat.c: Likewise.
32495 * math/w_exp2l_compat.c: Likewise.
32496 * math/w_fmod_compat.c: Likewise.
32497 * math/w_fmodf_compat.c: Likewise.
32498 * math/w_fmodl_compat.c: Likewise.
32499 * math/w_hypot_compat.c: Likewise.
32500 * math/w_hypotf_compat.c: Likewise.
32501 * math/w_hypotl_compat.c: Likewise.
32502 * math/w_j0_compat.c: Likewise.
32503 * math/w_j0f_compat.c: Likewise.
32504 * math/w_j0l_compat.c: Likewise.
32505 * math/w_j1_compat.c: Likewise.
32506 * math/w_j1f_compat.c: Likewise.
32507 * math/w_j1l_compat.c: Likewise.
32508 * math/w_jn_compat.c: Likewise.
32509 * math/w_jnf_compat.c: Likewise.
32510 * math/w_jnl_compat.c: Likewise.
32511 * math/w_lgamma_main.c: Likewise.
32512 * math/w_lgamma_r_compat.c: Likewise.
32513 * math/w_lgammaf_main.c: Likewise.
32514 * math/w_lgammaf_r_compat.c: Likewise.
32515 * math/w_lgammal_main.c: Likewise.
32516 * math/w_lgammal_r_compat.c: Likewise.
32517 * math/w_log10_compat.c: Likewise.
32518 * math/w_log10f_compat.c: Likewise.
32519 * math/w_log10l_compat.c: Likewise.
32520 * math/w_log2_compat.c: Likewise.
32521 * math/w_log2f_compat.c: Likewise.
32522 * math/w_log2l_compat.c: Likewise.
32523 * math/w_log_compat.c: Likewise.
32524 * math/w_logf_compat.c: Likewise.
32525 * math/w_logl_compat.c: Likewise.
32526 * math/w_pow_compat.c: Likewise.
32527 * math/w_powf_compat.c: Likewise.
32528 * math/w_powl_compat.c: Likewise.
32529 * math/w_remainder_compat.c: Likewise.
32530 * math/w_remainderf_compat.c: Likewise.
32531 * math/w_remainderl_compat.c: Likewise.
32532 * math/w_scalb_compat.c: Likewise.
32533 * math/w_scalbf_compat.c: Likewise.
32534 * math/w_scalbl_compat.c: Likewise.
32535 * math/w_sinh_compat.c: Likewise.
32536 * math/w_sinhf_compat.c: Likewise.
32537 * math/w_sinhl_compat.c: Likewise.
32538 * math/w_sqrt_compat.c: Likewise.
32539 * math/w_sqrtf_compat.c: Likewise.
32540 * math/w_sqrtl_compat.c: Likewise.
32541 * math/w_tgamma_compat.c: Likewise.
32542 * math/w_tgammaf_compat.c: Likewise.
32543 * math/w_tgammal_compat.c: Likewise.
32544 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32545 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32546 * sysdeps/ieee754/k_standard.c: Likewise.
32547 * sysdeps/ieee754/k_standardf.c: Likewise.
32548 * sysdeps/ieee754/k_standardl.c: Likewise.
32549 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32550 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32551 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32552 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32553 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32554 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32555 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32556 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32557 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32559 Likewise.
32560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32561 Likewise.
32562 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32563 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32564 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32565 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32566
4504783c
FW
325672017-08-21 Florian Weimer <fweimer@redhat.com>
32568
32569 [BZ #21864]
32570 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32571 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32572 Move before inclusion of ../Rules.
32573
b5889d25
FW
325742017-08-21 Florian Weimer <fweimer@redhat.com>
32575
32576 [BZ #21972]
32577 * assert/assert.h (assert): Use static_cast (bool) for C++.
32578 Use the ternary operator in the warning branch for GNU C.
32579 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32580 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32581 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32582 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32583 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32584
41e673c1
L
325852017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32586
32587 [BZ #18822]
32588 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32589 (__syscall_clock_gettime): Add attribute_hidden.
32590 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32591 (__start_context): Likewise.
32592
568ff429
L
325932017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32594
32595 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32596 building libc.a.
32597 (hidden_proto): Likewise.
32598 (hidden_tls_proto): Likewise.
32599 (__hidden_proto): Likewise.
32600
7c41b4a1
L
326012017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32602
32603 * include/libc-symbols.h (attribute_hidden): Enable hidden
32604 visibility in libc.a compiled with PIE.
32605
483d7068
L
326062017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32607
32608 [BZ #18822]
32609 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32610 Add attribute_hidden.
32611
326122017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32613
32614 [BZ #21864]
32615 * Makerules (all-nonlib): Add $(others-extras).
32616 * catgets/Makefile (others-extras): New.
32617 * elf/Makefile (others-extras): Likewise.
32618 * nss/Makefile (others-extras): Likewise.
32619
54e4b8f2
L
326202017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32621
32622 [BZ #18822]
32623 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32624 * elf/dl-open.c: Include <libc-internal.h>.
32625 (__libc_multiple_libcs): Removed.
32626 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32627 <hp-timing.h>.
32628 * include/libc-internal.h (__libc_multiple_libcs): New.
32629 * misc/sbrk.c: Include <libc-internal.h>.
32630 (__libc_multiple_libcs): Removed.
32631
1dbbb1ec
L
326322017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32633
32634 [BZ #18822]
32635 * grp/initgroups.c (__nss_group_database): Removed.
32636 (__nss_initgroups_database): Likewise.
32637 * nscd/gai.c (__nss_hosts_database): Likewise.
32638 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32639 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32640 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32641 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32642 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32643 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32644 attribute_hidden.
32645 * nss/nsswitch.c (__nss_database_custom): Define only if
32646 USE_NSCD is defined.
32647 (__nss_configure_lookup): Use __nss_database_custom only if
32648 USE_NSCD is defined.
32649 * nss/nsswitch.h (__nss_database_custom): Declare only if
32650 USE_NSCD is defined. Add attribute_hidden.
32651 (__nss_setent): Add attribute_hidden.
32652 (__nss_endent): Likewise.
32653 (__nss_getent_r): Likewise.
32654 (__nss_getent): Likewise.
32655 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32656
2585d7b8
L
326572017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32658
32659 [BZ #18822]
32660 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32661 libc_hidden_proto and libc_hidden_def.
32662
c8dfa99c
L
326632017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32664
32665 [BZ #18822]
32666 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32667 Add libc_hidden_proto.
32668 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32669 Add libc_hidden_def.
32670
7ed87317
L
326712017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32672
32673 [BZ #21974]
32674 * gmon/Makefile (routines): Remove bb_init_func and
32675 bb_exit_func.
32676 (elide-routines.os): Removed.
9476b904
L
32677 * gmon/bb_exit_func.c: Likewise.
32678 * gmon/bb_init_func.c: Likewise.
7ed87317
L
32679 * include/sys/gmon.h (__bb): Likewise.
32680 (__bb_init_func): Likewise.
32681 (__bb_exit_func): Likewise.
91695eb1 32682 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 32683
94e6ba15
L
326842017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32685
32686 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32687 * include/setjmp.h (____longjmp_chk): Here. Add
32688 attribute_hidden.
32689
7550717e
L
326902017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32691
32692 [BZ #18822]
32693 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32694 attribute_hidden.
32695 (__strspn_sse2): Likewise.
32696
0bb2fabc
AZ
326972017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32698
c181840c
AZ
32699 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32700 (close_not_cancel_no_status): Likewise.
32701 (__close_nocancel): New macro.
32702 (__close_nocancel_nostatus): Likewise.
32703 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32704 macro.
32705 (close_not_cancel): Likewise.
32706 (close_not_cancel_no_status): Likewise.
32707 (__close_nocancel): New prototype.
32708 (__close_nocancel_nostatus): New function.
32709 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32710 * catgets/open_catalog.c (__open_catalog): Replace
32711 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32712 * gmon/gmon.c (write_gmon): Likewise.
32713 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32714 * intl/loadmsgcat.c (close): Likewise.
32715 * io/ftw.c (open_dir_stream): Likewise.
32716 (ftw_startup): Likewise.
32717 * libio/fileops.c (_IO_file_open): Likewise.
32718 (_IO_file_close_mmap): Likewise.
32719 (_IO_file_close): Likewise.
32720 * libio/iopopen.c (_IO_dup2): Likewise.
32721 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32722 * locale/loadlocale.c (_nl_load_locale): Likewise.
32723 * login/utmp_file.c (pututline_file): Likewise.
32724 (endutent_file): Likewise.
32725 * misc/daemon.c (daemon): Likewise.
32726 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32727 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32728 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32729 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32730 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32731 * nscd/nscd_helper.c (open_socket): Likewise.
32732 (__nscd_open_socket): Likewise.
32733 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32734 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32735 (__nscd_innetgr): Likewise.
32736 * nss/nss_db/db-open.c (internal_setent): Likewise.
32737 * resolv/res-close.c (__res_iclose): Likewise.
32738 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32739 * sysdeps/posix/closedir.c (__closedir): Likewise.
32740 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32741 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32742 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32743 (opendir_tail): Likewise.
32744 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32745 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32746 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32747 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32748 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32749 (gethostid): Likewise.
32750 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32751 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32752 Likewise.
32753 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32754 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32755 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32756 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32757 Likewise.
32758 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32759 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32760 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32761 Likewise.
32762 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32763 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32764 Likewise.
32765 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32766 Likewise.
32767 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32768 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32769 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32770 __close_nocancel.
32771
0bb2fabc
AZ
32772 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32773 (openat_not_cancel_3): Likewise.
32774 (openat64_not_cancel_3): Likewise).
32775 (openat_not_cancel_3): Likewise).
32776 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32777 macro.
32778 (openat_not_cancel_3): Likewise.
32779 (openat64_not_cancel): Likewise.
32780 (openat64_not_cancel_3): Likewise.
32781 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32782 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32783 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32784 __open{64}_nocancel.
32785 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32786 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32787 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32788
65a086db
L
327892017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32790
32791 [BZ #18822]
32792 * include/argz.h (__argz_create_sep): New function prototype.
32793 (__argz_append): Likewise.
32794 (__argz_add): Likewise.
32795 (__argz_add_sep): Likewise.
32796 (__argz_delete): Likewise.
32797 (__argz_insert): Likewise.
32798 (__argz_replace): Likewise.
32799 * string/argz.h (__argz_create_sep): Removed.
32800 (__argz_append): Likewise.
32801 (__argz_add): Likewise.
32802 (__argz_add_sep): Likewise.
32803 (__argz_delete): Likewise.
32804 (__argz_insert): Likewise.
32805 (__argz_replace): Likewise.
32806
62753d2c
L
328072017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32808
32809 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32810 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32811 (GNU_PROPERTY_STACK_SIZE): Likewie.
32812 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32813 (GNU_PROPERTY_LOPROC): Likewise.
32814 (GNU_PROPERTY_HIPROC): Likewise.
32815 (GNU_PROPERTY_LOUSER): Likewise.
32816 (GNU_PROPERTY_HIUSER): Likewise.
32817 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32818 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32819 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32820 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32821 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32822 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32823 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
32824 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
32825 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
32826 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
32827 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
32828 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
32829 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
32830 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
32831 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
32832 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
32833 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
32834 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
32835 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
32836 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
32837 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
32838 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
32839 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
32840
6913ad65
GG
328412017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32842
32843 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
32844 in C++ mode.
32845
47a67213
GG
328462017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32847
32848 [BZ #21930]
32849 * math/math.h (isinf): Check if in C or C++ mode before using
32850 __builtin_types_compatible_p, since this is a C mode feature.
32851
a748eb31
AZ
328522017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32853
c647fb88
AZ
32854 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
32855 (__write_nocancel): New macro.
32856 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
32857 Rewrite as a function prototype.
32858 (write_not_cancel): Remove macro.
32859 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
32860 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
32861 (write_gmon): Likewise.
32862 * libio/fileops.c (_IO_new_file_write): Likewise.
32863 * login/utmp_file.c (pututline_file): Likewise.
32864 (updwtmp_file): Likewise.
32865 * stdio-common/psiginfo.c (psiginfo): Likewise.
32866 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32867 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32868 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32869 Likewise.
32870 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32871 Likewise.
32872
a748eb31
AZ
32873 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
32874 (__read_nocancel): New macro.
32875 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32876 __read_nocancel.
32877 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
32878 macro.
32879 (__read_nocancel): New prototype.
32880 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
32881 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
32882 with __read_nocancel.
32883 * intl/loadmsgcat.c (read): Likewise.
32884 * libio/fileops.c (_IO_file_read): Likewise.
32885 * locale/loadlocale.c (_nl_load_locale): Likewise.
32886 * login/utmp_file.c (getutent_r_file): Likewise.
32887 (internal_getut_r): Likewise.
32888 (getutline_r_file): Likewise.
32889 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32890 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32891 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32892 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32893 Likewise.
32894 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
32895 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32896 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32897 Likewise.
32898 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32899 Likewise.
32900 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32901 Likewise.
32902 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32903 Likewise.
32904 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32905
098b9dd4
L
329062017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32907
32908 [BZ #21966]
32909 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
32910 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
32911 usable.
32912
a3fe6a20
DD
329132017-08-17 DJ Delorie <dj@redhat.com>
32914
32915 * bug17079.c: Update to new test harness.
32916 * test-digits-dots.c: Likewise.
32917 * test-netdb.c: Likewise.
32918 * tst-field.c: Likewise.
32919 * tst-nss-getpwent.c: Likewise.
32920 * tst-nss-static.c: Likewise.
32921 * tst-nss-test1.c: Likewise.
32922 * tst-nss-test2.c: Likewise.
32923 * tst-nss-test3.c: Likewise.
32924 * tst-nss-test4.c: Likewise.
32925 * tst-nss-test5.c: Likewise.
32926
c2284574
AZ
329272017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32928
32929 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
32930 (open_not_cancel_2): Likewise.
32931 (open_nocancel): New macro.
32932 (open64_nocancel): Likewise.
32933 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
32934 (open_not_cancel_2): Likewise.
32935 (__open_nocancel): New prototype.
32936 (__open64_nocancel): Likewise.
32937 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32938 __open_nocancel.
32939 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
32940 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32941 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32942 with __open_nocancel.
32943 * csu/check_fds.c (check_one_fd): Likewise.
32944 * gmon/gmon.c (write_gmon): Likewise.
32945 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32946 * intl/loadmsgcat.c (open): Likewise.
32947 * libio/fileops.c (_IO_file_open): Likewise.
32948 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32949 * locale/loadlocale.c (_nl_load_locale): Likewise.
32950 * login/utmp_file.c (setutent_file): Likewise.
32951 * misc/daemon.c (daemon): Likewise.
32952 * nss/nss_db/db-open.c (internal_setent): Likewise.
32953 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32954 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32955 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32956 (__opendir): Likewise.
32957 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32958 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32959 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32960 (gethostid): Likewise.
32961 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32962 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32963 Likewise.
32964 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32965 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32966 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32967 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32968 Likewise.
32969 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32970 Likewise.
32971 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32972 Likewise.
32973 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32974 Likewise.
32975 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32976 Likewise.
32977 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32978 Likewise.
32979 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32980 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32981
d4505b89
WD
329822017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32983
32984 * benchtests/bench-skeleton.c (main): Add support for
32985 latency benchmarking.
32986 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32987
34d6a3cb
L
329882017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32989
32990 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32991 the startup object.
32992
038d1caf
FW
329932017-08-17 Florian Weimer <fweimer@redhat.com>
32994
32995 * include/sys/socket.h (__opensock): Remove internal_function.
32996 * socket/opensock.c (__opensock): Likewise.
32997 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32998
67f0aff0
JM
329992017-08-16 Joseph Myers <joseph@codesourcery.com>
33000
33001 [BZ #21944]
33002 * signal/bits/types/__sigval_t.h: New file.
33003 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33004 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33005 and define sigval_t using __sigval_t.
33006 * include/bits/types/__sigval_t.h: New file.
33007 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33008 instead of <bits/types/__sigval_t.h>.
33009 (struct sigevent): Use __sigval_t instead of sigval_t.
33010 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33011 instead of <bits/types/__sigval_t.h>.
33012 (siginfo_t): Use __sigval_t instead of sigval_t.
33013 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33014 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33015 (struct sigevent): Use __sigval_t instead of sigval_t.
33016 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33017 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33018 (siginfo_t): Use __sigval_t instead of sigval_t.
33019 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33020
87e7bf4d
L
330212017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33022
33023 * NEWS: Remove "[Add new features here]" for 2.27.
33024
5047057f
JM
330252017-08-16 Joseph Myers <joseph@codesourcery.com>
33026
33027 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33028 libc.so.
33029
20c7b195
L
330302017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33031
33032 * NEWS: Mention x86-64 FMA optimization.
33033
24a2e658
L
330342017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33035
33036 [BZ #21912]
33037 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33038 Add e_expf-fma.
33039 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33040 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33041 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33042
eedca977
AS
330432017-08-16 Andreas Schwab <schwab@suse.de>
33044
403143e1
FW
33045 [BZ #16750]
33046 CVE-2009-5064
eedca977
AS
33047 * elf/ldd.bash.in: Never run file directly.
33048
f59f7adb
L
330492017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33050
33051 [BZ #21955]
33052 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33053 (L(SP_INF_0)): Likewise.
33054
6b11a6ad
FW
330552017-08-15 Florian Weimer <fweimer@redhat.com>
33056
33057 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33058 run-built-tests.
33059
bbf5c438
FW
330602017-08-15 Florian Weimer <fweimer@redhat.com>
33061
33062 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33063 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33064 BROKEN_THREAD_SIGNALS code.
33065 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33066 request_list): Remove caller_pid member used for
33067 BROKEN_THREAD_SIGNALS.
33068 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33069 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33070 Remove BROKEN_THREAD_SIGNALS support.
33071 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33072 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33073
6014c65d
FW
330742017-08-15 Florian Weimer <fweimer@redhat.com>
33075
33076 * gmon/Makefile (tests): Add tst-gmon.
33077 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33078 Set.
33079 (tests-special): Add tst-gmon-prof.out.
33080 (tst-gmon.out): Depend on clean-tst-gmon-data.
33081 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33082 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33083 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33084 startup object.
33085 * aclocal.m4 (GPROF): Set and substitute.
33086 * config.amke.in (GPROF): Set.
33087 * configure: Regenerate.
33088
ee72219a
GR
330892017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33090
33091 * elf/elf.h A (NT_PPC_TAR): New macro.
33092 (NT_PPC_PPR): Likewise.
33093 (NT_PPC_DSCR): Likewise.
33094 (NT_PPC_EBB): Likewise.
33095 (NT_PPC_PMU): Likewise.
33096 (NT_PPC_TM_CGPR): Likewise.
33097 (NT_PPC_TM_CFPR): Likewise.
33098 (NT_PPC_TM_CVMX): Likewise.
33099 (NT_PPC_TM_CVSX): Likewise.
33100 (NT_PPC_TM_SPR): Likewise.
33101 (NT_PPC_TM_CTAR): Likewise.
33102 (NT_PPC_TM_CPPR): Likewise.
33103 (NT_PPC_TM_CDSCR): Likewise.
33104
4ebf934e
FW
331052017-08-15 Florian Weimer <fweimer@redhat.com>
33106
33107 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33108 regparm (2) instead of internal_function.
33109 (_MCOUNT_DECL): Adjust.
33110
e9f57484
SL
331112017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33112
33113 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33114 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33115
88ff4d55
JM
331162017-08-14 Joseph Myers <joseph@codesourcery.com>
33117
33118 * conform/data/sys/wait.h-data (si_value): Do not expect for
33119 XPG42.
33120
c88ffc23
FW
331212017-08-14 Florian Weimer <fweimer@redhat.com>
33122
33123 [BZ #21962]
33124 NSS: Create stubs for accidentally exported lookup functions.
33125 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33126 Remove declaration.
33127 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33128 (ether_hostton): Call __nss_ethers_lookup2 instead.
33129 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33130 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33131 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33132 (setup): Call __nss_netgroup_lookup2 instead.
33133 * nss/Makefile (routines): Add compat-lookup.
33134 * nss/Versions (GLIBC_2.27): Add symbol version.
33135 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33136 (DB_COMPAT_FCT): Remove.
33137 * nss/compat-lookup.c: New file.
33138 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33139 from databases.def.
33140 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33141 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33142 (netname2user): Call __nss_publickey_lookup2 instead.
33143 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33144 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33145 instead.
33146
35a29136 331472017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
33148 Sergei Trofimovich <slyfox@inbox.ru>
33149
33150 [BZ #21908]
33151 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33152 Rename to MMAP2_PAGE_UNIT.
33153 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33154 __OFF_T_MATCHES_OFF64_T is not defined.
33155 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33156 uint64_t.
33157 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33158 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33159
fbdc1e3e
FW
331602017-08-14 Florian Weimer <fweimer@redhat.com>
33161
33162 i386: Do not set internal_function.
33163 * config.h.in (USE_REGPARMS, internal_function): Remove.
33164 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33165 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33166
b3f85fd2
FW
331672017-08-14 Florian Weimer <fweimer@redhat.com>
33168
33169 * elf/dl-init.c (_dl_init): Remove internal_function.
33170 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33171 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33172
630bf491
FW
331732017-08-14 Florian Weimer <fweimer@redhat.com>
33174
33175 * elf/rtld.c (_dl_start): Remove internal_function.
33176 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33177 _dl_start.
33178
9fa7449b
FW
331792017-08-14 Florian Weimer <fweimer@redhat.com>
33180
33181 * elf/dl-fini.c (_dl_fini): Remove internal_function
33182 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33183
73322d5f
L
331842017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33185
d863cd71 33186 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
33187 (bit_cpu_SHSTK): Likewise.
33188 (index_cpu_IBT): Likewise.
33189 (index_cpu_SHSTK): Likewise.
33190 (reg_IBT): Likewise.
33191 (reg_SHSTK): Likewise.
33192 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33193 Handle index_cpu_IBT and index_cpu_SHSTK.
33194
dbc303ef
MF
331952017-08-14 Mike FABIAN <mfabian@redhat.com>
33196
33197 [BZ #19982]
33198 * po/fr.po: Fix spelling mistake.
33199
3012cfb0
FW
332002017-08-13 Florian Weimer <fweimer@redhat.com>
33201
33202 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33203 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33204 (_dl_catch_error, _dl_receive_error): Likewise.
33205 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33206 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33207 (_dl_deallocate_tls): Likewise.
33208 * include/dlfcn.h (_dl_addr): Likewise.
33209 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33210 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33211 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33212 Likewise.
33213
52bcdf26
FW
332142017-08-13 Florian Weimer <fweimer@redhat.com>
33215
33216 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33217 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33218 internal_function.
33219 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33220
e1d2ae8d
FW
332212017-08-13 Florian Weimer <fweimer@redhat.com>
33222
33223 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33224 internal_function.
33225 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33226 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33227 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33228 internal_function from _dl_make_stack_executable_hook member.
33229 (_dl_make_stack_executable): Remove internal_function.
33230 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33231 Likewise.
33232 * sysdeps/unix/sysv/linux/dl-execstack.c
33233 (_dl_make_stack_executable): Likewise.
33234
c4ce0382
FW
332352017-08-13 Florian Weimer <fweimer@redhat.com>
33236
33237 * sysdeps/unix/sysv/linux/netlinkaccess.h
33238 (__netlink_assert_response): Remove internal_function.
33239 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33240 (__netlink_assert_response): Likewise.
33241
c4d767f7
FW
332422017-08-13 Florian Weimer <fweimer@redhat.com>
33243
33244 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33245 internal_function.
33246 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33247
b2297409
FW
332482017-08-13 Florian Weimer <fweimer@redhat.com>
33249
33250 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33251 internal_function.
33252 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33253 * inet/netgroup.h (__internal_setnetgrent)
33254 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33255 * inet/getnetgrent_r.c (__internal_setnetgrent)
33256 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33257 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33258 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33259 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33260 * nss/nsswitch.h (db_lookup_function): Likewise.
33261
1b0bfc69
FW
332622017-08-13 Florian Weimer <fweimer@redhat.com>
33263
33264 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33265 Remove internal_function.
33266 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33267 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33268 message argument on the stack.
33269 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33270 Likeweise.
33271
a6bd8722
MF
332722017-08-12 Mike FABIAN <mfabian@redhat.com>
33273
33274 Adapt test case data to the changes in the thousands
33275 separators.
33276
33277 [BZ #20756]
33278 * localedata/tst-langinfo.sh: Adapt test case data.
33279 * stdlib/tst-strfmon_l.c: Likewise.
33280 * stdlib/tst-strtod4.c: Likewise.
33281 * stdlib/tst-strtod5i.c: Likewise.
33282
8b2c63e4
FW
332832017-08-11 Florian Weimer <fweimer@redhat.com>
33284
33285 [BZ #21242]
33286 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33287 Suppress pedantic warning resulting from statement expression.
33288 (__ASSERT_FUNCTION): Add missing __extension__.
33289
61c98291
SP
332902017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33291
86c6519e
SP
33292 * benchtests/bench-memmove-large.c: Print output in JSON
33293 format.
33294 * benchtests/bench-memmove.c: Likewise.
33295
61c98291
SP
33296 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33297 * benchtests/bench-memchr.c (do_one_test): Likewise.
33298 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33299 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33300 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33301 * benchtests/bench-memmove.c (do_one_test): Likewise.
33302 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33303 * benchtests/bench-memset.c (do_one_test): Likewise.
33304 * benchtests/bench-string.h (test_init): Remove memsets.
33305
925733a9
RJ
333062017-08-10 Rical Jasan <ricaljasan@pacific.net>
33307
33308 * manual/lang.texi
33309 (Computing the Width of an Integer Data Type): Rename section to
33310 "Width of an Integer Type". Remove inaccurate statement regarding
33311 lack of C language facilities for determining width of integer
33312 types, and reorder content to improve flow and context of
33313 discussion.
33314
4fcdfbfc
RJ
333152017-08-10 Rical Jasan <ricaljasan@pacific.net>
33316
33317 * lang.texi (va_copy): Change standard from ISO to C99.
33318 (__va_copy): Add standard and header annotation.
33319 Update description for clarity of origins and current use.
33320
4d98ace9
GG
333212017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33322
33323 [BZ #21941]
33324 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33325 xssqrtqp requires operands to be in Vector Registers
33326 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33327 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33328 (__ieee754_sqrtf128): Likewise.
33329
92236903
WD
333302017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33331
33332 * sysdeps/aarch64/memcmp.S (memcmp):
33333 Rewrite of optimized memcmp.
33334
2449ae7b
FW
333352017-08-10 Florian Weimer <fweimer@redhat.com>
33336
33337 Introduce ld.so exceptions.
33338 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33339 (_dl_exception_create, _dl_exception_create_format)
33340 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33341 (_dl_catch_exception): Declare.
33342 (_dl_catch_error): Update comment.
33343 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33344 errstring, malloced members with exception member.
33345 (_dl_out_of_memory): Remove.
33346 (fatal_error): New function, extracted from _dl_signal_error.
33347 (_dl_signal_exception, _dl_signal_cexception): New functions.
33348 (_dl_signal_error): Call _dl_exception_create to allocate an
33349 exception object.
33350 (_dl_catch_exception): New function, based on _dl_catch_error.
33351 (_dl_catch_error): Implement using _dl_catch_exception.
33352 * elf/dl-exception.c: New file.
33353 * elf/Makefile (dl-routines): Add dl-exception.
33354 (elide-routines.os): Likewise.
33355 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33356 _dl_exception_create_format, _dl_exception_free.
33357 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33358 _dl_signal_exception.
33359 * elf/dl-lookup.c (make_string): Remove.
33360 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33361 _dl_signal_cexception, _dl_exception_free.
33362 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33363 _dl_signal_exception.
33364 * elf/dl-sym.c (do_sym): Likewise.
33365 * elf/dl-version.c (make_string): Remove.
33366 (match_symbol): Use _dl_exception_create_format,
33367 _dl_signal_cexception, _dl_exception_free.
33368 (_dl_check_map_versions): Likewise.
33369 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33370 _dl_catch_exception.
33371 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33372 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33373 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33374 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33375 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33376 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33377 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33378 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33379 Likewise.
33380 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33382 (ld.so): Likewise.
33383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33384 (ld.so): Likewise.
33385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33386 Likewise.
33387 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33388 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33389 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33390 Likewise.
33391 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33392 Likewise.
33393 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33394
f87cc2bf
FW
333952017-08-10 Florian Weimer <fweimer@redhat.com>
33396
33397 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33398 attribute_hidden, internal_function.
33399 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33400 internal_function.
33401
eac43cbb
FW
334022017-08-10 Florian Weimer <fweimer@redhat.com>
33403
33404 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33405 function which calls __builtin_unreachable.
33406
bd80111e
MF
334072017-08-10 Mike FABIAN <mfabian@redhat.com>
33408
33409 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33410 Indian monetary formatting
33411 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33412 test cases.
33413
60e2846e
DL
334142017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33415
68dc02d1
DL
33416 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33417 Fix typo in comment.
33418
60e2846e
DL
33419 [BZ #21928]
33420 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33421 PTRACE_SEIZE_DEVEL): Remove.
33422 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33423 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33424 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33425 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33426 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33427
3d452dab
JM
334282017-08-09 Joseph Myers <joseph@codesourcery.com>
33429
24d9f53a
JM
33430 * posix/bits/types.h (__qaddr_t): Remove.
33431
3d452dab
JM
33432 [BZ #21457]
33433 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33434 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33435 __glibc_reserved1.
33436 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33437 (ucontext_t): Use __ctx with uc_flags.
33438 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33439 (__ctxt): Likewise.
33440 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33441 __glibc_reserved1.
33442 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33443 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33444 __glibc_reserved1.
33445 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33446 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33447 __glibc_reserved1.
33448 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33449 macro.
33450 (ucontext_t): Use __ctx with uc_flags.
33451 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33452 (ucontext_t): Use __ctx with uc_flags.
33453 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33454 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33455 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33456 (ucontext_t): Use __ctx with uc_flags.
33457 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33458 undefine further down.
33459 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33460 __glibc_reserved1.
33461 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33462 undefine further down.
33463 (ucontext_t): Use __ctx with uc_flags.
33464 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33465 undefine further down.
33466 (ucontext_t): Use __ctx with uc_flags.
33467 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33468 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33469 Rename uc_pad to __glibc_reserved1.
33470 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33471 undefine further down.
33472 (ucontext_t): Use __ctx with uc_flags.
33473 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33474 further down.
33475 (ucontext_t): Use __ctx with uc_flags.
33476 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33477 __ctx with uc_flags.
33478 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33479 (ucontext_t): Use __ctx with uc_flags.
33480 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33481 __ctx with uc_flags.
33482
30161498
FW
334832017-08-09 Florian Weimer <fweimer@redhat.com>
33484
33485 [BZ #21932]
33486 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33487 before early return.
33488
5797b410
AS
334892017-08-09 Andreas Schwab <schwab@suse.de>
33490
139237a4 33491 [BZ #21041]
5797b410
AS
33492 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33493 renamed alias.
33494
139237a4 33495 [BZ #21041]
40c06a3d
AS
33496 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33497 tst-compat-forwarder.
33498 (modules-names): Add tst-compat-forwarder-mod.
33499 ($(objpfx)tst-compat-forwarder): Depend on
33500 $(objpfx)tst-compat-forwarder-mod.so.
33501 * nptl/tst-compat-forwarder.c: New file.
33502 * nptl/tst-compat-forwarder-mod.c: New file.
33503
36ada5f6
SP
335042017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33505
0e02b510
SP
33506 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33507 comments.
33508
36ada5f6
SP
33509 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33510 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33511 memcpy_falkor.
33512 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33513 Bump.
33514 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33515 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33516 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33517 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33518 Add falkor.
33519 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33520 New macro.
33521
9995c839
AZ
335222017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33523
33524 [BZ #759]
33525 * manual/setjmp.texi (getcontex): Document uc_stack value
33526 compatibility differences.
33527
f17a4233
JM
335282017-08-08 Joseph Myers <joseph@codesourcery.com>
33529
33530 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33531 (old_malloc_hook): Likewise.
33532 (old_memalign_hook): Likewise.
33533 (old_realloc_hook): Likewise.
33534 (struct hdr): Likewise.
33535 (flood): Likewise.
33536 (freehook): Likewise.
33537 (mallochook): Likewise.
33538 (memalignhook): Likewise.
33539 (reallochook): Likewise.
33540 (mprobe): Likewise.
33541 * malloc/mtrace.c (mallwatch): Likewise.
33542 (tr_old_free_hook): Likewise.
33543 (tr_old_malloc_hook): Likewise.
33544 (tr_old_realloc_hook): Likewise.
33545 (tr_old_memalign_hook): Likewise.
33546 (tr_where): Likewise.
33547 (lock_and_info): Likewise.
33548 (tr_freehook): Likewise.
33549 (tr_mallochook): Likewise.
33550 (tr_reallochook): Likewise.
33551 (tr_memalignhook): Likewise.
33552 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33553 * misc/mmap.c (__mmap): Likewise.
33554 * misc/mmap64.c (__mmap64): Likewise.
33555 * misc/mprotect.c (__mprotect): Likewise.
33556 * misc/msync.c (msync): Likewise.
33557 * misc/munmap.c (__munmap): Likewise.
33558 * posix/posix_madvise.c (posix_madvise): Likewise.
33559 * socket/send.c (__send): Likewise.
33560 * socket/sendto.c (__sendto): Likewise.
33561 * socket/setsockopt.c (__setsockopt): Likewise.
33562 * string/memcmp.c (__ptr_t): Remove macro.
33563 (MEMCMP): Use void * instead of ptr_t.
33564 * string/memrchr.c (__ptr_t): Remove macro.
33565 (__memrchr): Use void * instead of ptr_t.
33566 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33567 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33568 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33569 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33570 * sysdeps/mach/msync.c (msync): Likewise.
33571 * sysdeps/mach/munmap.c (__munmap): Likewise.
33572 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33573 Likewise.
33574 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33575 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33576 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33577 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33578 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33579 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33580 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33581 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33582 Likewise.
33583 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33584 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33585 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33586 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33587 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33588 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33589 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33590 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33591 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33592 Likewise.
33593 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33594 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33595 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33596 (MEMCMP): Use void * instead of ptr_t.
33597 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33598 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33599
0df595b2
FW
336002017-08-08 Florian Weimer <fweimer@redhat.com>
33601
33602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33603 return statement.
33604
086df229
L
336052017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33606
33607 [BZ #21913]
33608 * csu/libc-tls.c: Include <startup.h> first.
33609 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33610 * elf/dl-tunables.c: Include <startup.h> first.
33611 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33612 * sysdeps/generic/startup.h: New file.
33613 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33614 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33615 (I386_USE_SYSENTER): New. Defined to 0.
33616
fc5ad702
AS
336172017-08-08 Andreas Schwab <schwab@suse.de>
33618
33619 [BZ #21041]
33620 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33621 * nptl/pt-system.c (system): Likewise.
33622
852d6312
AZ
336232017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33624
33625 [BZ #21780]
33626 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33627 EOPNOTSUPP.
33628 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33629 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33630 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33631 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33632 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33633 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33634 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33635
8b164787
JM
336362017-08-07 Joseph Myers <joseph@codesourcery.com>
33637
cd65836b
JM
33638 [BZ #21899]
33639 * bits/sigaction.h (struct sigaction): Define sa_handler and
33640 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33641 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33642 [__USE_XOPEN_EXTENDED].
33643 (SA_RESTART): Likewise.
33644 (SA_NODEFER): Likewise.
33645 (SA_RESETHAND): Likewise.
33646 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33647 (struct sigaction): Define sa_handler and sa_sigaction using union
33648 also for [__USE_XOPEN_EXTENDED].
33649 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33650 [__USE_XOPEN_EXTENDED].
33651 (SA_RESTART): Likewise.
33652 (SA_NODEFER): Likewise.
33653 (SA_RESETHAND): Likewise.
33654 * sysdeps/unix/sysv/linux/bits/sigaction.h
33655 (struct sigaction): Define sa_handler and sa_sigaction using union
33656 also for [__USE_XOPEN_EXTENDED].
33657 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33658 [__USE_XOPEN_EXTENDED].
33659 (SA_RESTART): Likewise.
33660 (SA_NODEFER): Likewise.
33661 (SA_RESETHAND): Likewise.
33662 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33663 (struct sigaction): Define sa_handler and sa_sigaction using union
33664 also for [__USE_XOPEN_EXTENDED].
33665 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33666 [__USE_XOPEN_EXTENDED].
33667 (SA_RESTART): Likewise.
33668 (SA_NODEFER): Likewise.
33669 (SA_RESETHAND): Likewise.
33670 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33671 (struct sigaction): Define sa_handler and sa_sigaction using union
33672 also for [__USE_XOPEN_EXTENDED].
33673 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33674 [__USE_XOPEN_EXTENDED].
33675 (SA_RESTART): Likewise.
33676 (SA_NODEFER): Likewise.
33677 (SA_RESETHAND): Likewise.
33678 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33679 (struct sigaction): Define sa_handler and sa_sigaction using union
33680 also for [__USE_XOPEN_EXTENDED].
33681 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33682 [__USE_XOPEN_EXTENDED].
33683 (SA_RESTART): Likewise.
33684 (SA_NODEFER): Likewise.
33685 (SA_RESETHAND): Likewise.
33686 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33687 (struct sigaction): Define sa_handler and sa_sigaction using union
33688 also for [__USE_XOPEN_EXTENDED].
33689 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33690 [__USE_XOPEN_EXTENDED].
33691 (SA_RESTART): Likewise.
33692 (SA_NODEFER): Likewise.
33693 (SA_RESETHAND): Likewise.
33694 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33695 (struct sigaction): Define sa_handler and sa_sigaction using union
33696 also for [__USE_XOPEN_EXTENDED].
33697 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33698 [__USE_XOPEN_EXTENDED].
33699 (SA_RESTART): Likewise.
33700 (SA_NODEFER): Likewise. Define directly rather than as alias.
33701 (SA_RESETHAND): Likewise.
33702 (SA_INTERRUPT): Define only for [__USE_MISC].
33703 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33704 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33705 [__USE_MISC].
33706 (SA_STACK): Define only for [__USE_MISC].
33707 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33708 (struct sigaction): Define sa_handler and sa_sigaction using union
33709 also for [__USE_XOPEN_EXTENDED].
33710 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33711 [__USE_XOPEN_EXTENDED].
33712 (SA_RESTART): Likewise.
33713 (SA_NODEFER): Likewise.
33714 (SA_RESETHAND): Likewise.
33715 (SA_NOPTRACE): Define only for [__USE_MISC].
33716
d9fee042
JM
33717 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33718 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33719 (struct catalog_info): Likewise.
33720 * inet/htontest.c (lo): Likewise.
33721 (foo): Likewise.
33722 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33723 * inet/inet_net.c (inet_network): Likewise.
33724 * inet/inet_netof.c (inet_netof): Likewise.
33725 * inet/rcmd.c (__ivaliduser): Likewise.
33726 (iruserok): Likewise.
33727 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33728 * locale/programs/locale-spec.c (locale_special): Likewise.
33729 * nis/nis_findserv.c (struct findserv_req): Likewise.
33730 (__nis_findfastest_with_timeout): Likewise.
33731 * nss/test-netdb.c (test_network): Likewise.
33732 * resolv/inet_neta.c (inet_neta): Likewise.
33733 * resolv/ns_date.c (ns_datetosecs): Likewise.
33734 (SECS_PER_DAY): Likewise.
33735 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33736 Likewise.
33737 * resolv/res_comp.c (__putlong): Likewise.
33738 (__putshort): Likewise.
33739 (_getlong): Likewise.
33740 (_getshort): Likewise.
33741 * resolv/res_debug.c (p_time): Likewise.
33742 (precsize_ntoa): Likewise.
33743 (precsize_aton): Likewise.
33744 (latlon2ul): Likewise.
33745 (loc_aton): Likewise.
33746 (loc_ntoa): Likewise.
33747 * resolv/res_hconf.c (struct netaddr): Likewise.
33748 (_res_hconf_reorder_addrs): Likewise.
33749 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33750 (clnttcp_control): Likewise.
33751 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33752 (clntudp_control): Likewise.
33753 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33754 (clntunix_control): Likewise.
33755 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33756 * sunrpc/rpc/auth.h (union des_block): Likewise.
33757 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33758 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33759 (xdrrec_create): Likewise.
33760 (xdrrec_endofrecord): Likewise.
33761 (flush_out): Likewise.
33762 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33763 (xdrstdio_putlong): Likewise.
33764 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33765 Likewise.
33766
8b164787
JM
33767 * misc/sys/cdefs.h (__long_double_t): Remove.
33768 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33769 instead of __long_double_t,
33770 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33771
7ee38e60
SP
337722017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33773
dd3e86ad
SP
33774 * benchtests/scripts/compare_strings.py: Avoid display error when
33775 running on a text terminal.
33776
b115e819
SP
33777 * benchtests/scripts/compare_strings.py (main): Add an
33778 optional -base option.
33779 (process_results): New argument base_func.
33780
7ee38e60
SP
33781 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33782 hardcoding memcpy.
33783 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33784 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33785
d5afb385
AS
337862017-08-07 Andreas Schwab <schwab@suse.de>
33787
33788 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33789 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33790 * intl/Makefile ($(objpfx)tst-gettext.out)
33791 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33792 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33793 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33794 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33795 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33796 * posix/Makefile ($(objpfx)globtest.out)
33797 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33798 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33799 ($(objpfx)tst-printf.out): Likewise.
33800 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33801 ($(objpfx)tst-setcontext3.out): Likewise.
33802
57a72fa3
L
338032017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33804
33805 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33806 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33807 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33808 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33809 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33810 and mptan-fma.
33811 (CFLAGS-doasin-fma.c): New.
33812 (CFLAGS-dosincos-fma.c): Likewise.
33813 (CFLAGS-e_asin-fma.c): Likewise.
33814 (CFLAGS-e_atan2-fma.c): Likewise.
33815 (CFLAGS-e_exp-fma.c): Likewise.
33816 (CFLAGS-e_log-fma.c): Likewise.
33817 (CFLAGS-e_pow-fma.c): Likewise.
33818 (CFLAGS-halfulp-fma.c): Likewise.
33819 (CFLAGS-mpa-fma.c): Likewise.
33820 (CFLAGS-mpatan-fma.c): Likewise.
33821 (CFLAGS-mpatan2-fma.c): Likewise.
33822 (CFLAGS-mpexp-fma.c): Likewise.
33823 (CFLAGS-mplog-fma.c): Likewise.
33824 (CFLAGS-mpsqrt-fma.c): Likewise.
33825 (CFLAGS-mptan-fma.c): Likewise.
33826 (CFLAGS-s_atan-fma.c): Likewise.
33827 (CFLAGS-sincos32-fma.c): Likewise.
33828 (CFLAGS-slowexp-fma.c): Likewise.
33829 (CFLAGS-slowpow-fma.c): Likewise.
33830 (CFLAGS-s_sin-fma.c): Likewise.
33831 (CFLAGS-s_tan-fma.c): Likewise.
33832 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
33833 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
33834 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
33835 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
33836 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
33837 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
33838 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
33839 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
33840 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
33841 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
33842 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
33843 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
33844 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
33845 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
33846 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
33847 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
33848 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
33849 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
33850 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
33851 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
33852 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
33853 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
33854 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
33855 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
33856 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33857 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33858 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33859 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33860 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33861 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33862 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33863
219dd320
JM
338642017-08-04 Joseph Myers <joseph@codesourcery.com>
33865
33866 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
33867 (min_of_type_f): New macro.
33868 (min_of_type_): Likewise.
33869 (min_of_type_l): Likewise.
33870 (min_of_type_f128): Likewise.
33871 (min_of_type): Define using __MATH_TG and taking an expression
33872 argument.
33873 (math_check_force_underflow): Pass expression instead of type to
33874 min_of_type.
33875 (math_check_force_underflow_nonneg): Likewise.
33876
64d4dea6
L
338772017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33878
33879 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33880 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
33881 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
33882
973da22a
L
338832017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33884
33885 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33886 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
33887 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
33888 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
33889 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
33890 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
33891 memcpy_chk-nonshared, mempcpy_chk-nonshared,
33892 memmove_chk-nonshared and memset_chk-nonshared
33893 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
33894 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
33895 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
33896 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
33897 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
33898 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
33899 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
33900 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
33901 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
33902 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
33903 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
33904 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
33905 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
33906 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
33907 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
33908 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
33909 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
33910 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
33911 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
33912 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
33913 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
33914 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
33915 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
33916 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
33917 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
33918 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
33919 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
33920 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
33921 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
33922 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
33923 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
33924 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
33925 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
33926 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33927 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33928 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
33929 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
33930 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
33931 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
33932 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
33933 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
33934 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
33935 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
33936 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
33937 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
33938 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
33939 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
33940 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33941 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33942 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33943 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33944 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33945 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33946 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33947 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33948 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33949 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33950 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33951 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33952 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33953 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33954 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33955 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33956 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33957 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33958 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33959 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33960 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33961 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33962 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33963 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33964 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33965 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33966 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33967 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33968 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33969 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33970 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33971 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33972 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33973 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33974 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33975 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33976 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33977 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33978 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33979 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33980 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33981 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33982 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33983 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33984 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33985 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33986 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33987 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33988 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33989 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33990 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33991 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33992 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33993 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33994 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33995 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33996 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33997 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33998 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33999 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34000 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34001
8537e0f6
L
340022017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34003
34004 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34005 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34006 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34007 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34008 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34009 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34010 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34011 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34012 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34013 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34014 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34015 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34016 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34017 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34018 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34019 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34020 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34021 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34022 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34023 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34024 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34025 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34026 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34027 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34028 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34029 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34030 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34031 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34032 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34033 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34034 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34035 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34036 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34037 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34038 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34039 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34040 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34041 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34042 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34043 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34044 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34045 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34046 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34047 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34048 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34049 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34050 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34051 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34052 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34053 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34054 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34055 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34056 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34057 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34058 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34059 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34060 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34061 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34062 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34063 ...
34064 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34065 Don't include <sysdep.h> nor <init-arch.h>.
34066 (_ZGVbN2v_cos): Removed.
34067 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34068 ...
34069 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34070 Don't include <sysdep.h> nor <init-arch.h>.
34071 (_ZGVdN4v_cos): Removed.
34072 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34073 ...
34074 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34075 Don't include <sysdep.h> nor <init-arch.h>.
34076 (_ZGVeN8v_cos): Removed.
34077 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34078 ...
34079 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34080 Don't include <sysdep.h> nor <init-arch.h>.
34081 (_ZGVbN2v_exp): Removed.
34082 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34083 ...
34084 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34085 Don't include <sysdep.h> nor <init-arch.h>.
34086 (_ZGVdN4v_exp): Removed.
34087 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34088 ...
34089 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34090 Don't include <sysdep.h> nor <init-arch.h>.
34091 (_ZGVeN8v_exp): Removed.
34092 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34093 ...
34094 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34095 Don't include <sysdep.h> nor <init-arch.h>.
34096 (_ZGVbN2v_log): Removed.
34097 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34098 ...
34099 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34100 Don't include <sysdep.h> nor <init-arch.h>.
34101 (_ZGVdN4v_log): Removed.
34102 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34103 ...
34104 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34105 Don't include <sysdep.h> nor <init-arch.h>.
34106 (_ZGVeN8v_log): Removed.
34107 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34108 ...
34109 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34110 Don't include <sysdep.h> nor <init-arch.h>.
34111 (_ZGVbN2vv_pow): Removed.
34112 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34113 ...
34114 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34115 Don't include <sysdep.h> nor <init-arch.h>.
34116 (_ZGVdN4vv_pow): Removed.
34117 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34118 ...
34119 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34120 Don't include <sysdep.h> nor <init-arch.h>.
34121 (_ZGVeN8vv_pow): Removed.
34122 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34123 ...
34124 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34125 Don't include <sysdep.h> nor <init-arch.h>.
34126 (_ZGVbN2v_sin): Removed.
34127 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34128 ...
34129 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34130 Don't include <sysdep.h> nor <init-arch.h>.
34131 (_ZGVbN4v_sin): Removed.
34132 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34133 ...
34134 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34135 Don't include <sysdep.h> nor <init-arch.h>.
34136 (_ZGVbN8v_sin): Removed.
34137 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34138 ...
34139 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34140 Don't include <sysdep.h> nor <init-arch.h>.
34141 (_ZGVbN2vvv_sincos): Removed.
34142 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34143 ...
34144 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34145 Don't include <sysdep.h> nor <init-arch.h>.
34146 (_ZGVdN4vvv_sincos): Removed.
34147 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34148 ...
34149 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34150 Don't include <sysdep.h> nor <init-arch.h>.
34151 (_ZGVeN8vvv_sincos): Removed.
34152 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34153 ...
34154 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34155 Don't include <sysdep.h> nor <init-arch.h>.
34156 (_ZGVeN16v_cosf): Removed.
34157 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34158 ...
34159 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34160 Don't include <sysdep.h> nor <init-arch.h>.
34161 (_ZGVbN4v_cosf): Removed.
34162 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34163 ...
34164 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34165 Don't include <sysdep.h> nor <init-arch.h>.
34166 (_ZGVdN8v_cosf): Removed.
34167 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34168 ...
34169 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34170 Don't include <sysdep.h> nor <init-arch.h>.
34171 (_ZGVeN16v_expf): Removed.
34172 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34173 ...
34174 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34175 Don't include <sysdep.h> nor <init-arch.h>.
34176 (_ZGVbN4v_expf): Removed.
34177 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34178 ...
34179 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34180 Don't include <sysdep.h> nor <init-arch.h>.
34181 (_ZGVdN8v_expf): Removed.
34182 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34183 ...
34184 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34185 Don't include <sysdep.h> nor <init-arch.h>.
34186 (_ZGVeN16v_logf): Removed.
34187 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34188 ...
34189 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34190 Don't include <sysdep.h> nor <init-arch.h>.
34191 (_ZGVbN4v_logf): Removed.
34192 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34193 ...
34194 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34195 Don't include <sysdep.h> nor <init-arch.h>.
34196 (_ZGVdN8v_logf): Removed.
34197 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34198 ...
34199 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34200 Don't include <sysdep.h> nor <init-arch.h>.
34201 (_ZGVeN16vv_powf): Removed.
34202 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34203 ...
34204 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34205 Don't include <sysdep.h> nor <init-arch.h>.
34206 (_ZGVbN4vv_powf): Removed.
34207 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34208 ...
34209 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34210 Don't include <sysdep.h> nor <init-arch.h>.
34211 (_ZGVdN8vv_powf): Removed.
34212 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34213 ...
34214 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34215 Don't include <sysdep.h> nor <init-arch.h>.
34216 (_ZGVeN16vvv_sincosf): Removed.
34217 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34218 ...
34219 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34220 Don't include <sysdep.h> nor <init-arch.h>.
34221 (_ZGVbN4vvv_sincosf): Removed.
34222 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34223 ...
34224 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34225 Don't include <sysdep.h> nor <init-arch.h>.
34226 (_ZGVdN8vvv_sincosf): Removed.
34227 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34228 ...
34229 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34230 Don't include <sysdep.h> nor <init-arch.h>.
34231 (_ZGVeN16v_sinf): Removed.
34232 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34233 ...
34234 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34235 Don't include <sysdep.h> nor <init-arch.h>.
34236 (_ZGVbN4v_sinf): Removed.
34237 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34238 ...
34239 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34240 Don't include <sysdep.h> nor <init-arch.h>.
34241 (_ZGVdN8v_sinf): Removed.
34242
10a87ca4
L
342432017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34244
34245 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34246 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34247 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34248 s_rint-sse4_1 and s_rintf-sse4_1.
34249 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34250 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34251 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34252 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34253 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34254 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34255 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34256 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34257 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34258 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34259 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34260 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34261 (__ceil): Removed.
34262 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34263 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34264 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34265 (__ceilf): Removed.
34266 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34267 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34268 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34269 (__floor): Removed.
34270 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34271 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34272 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34273 (__floorf): Removed.
34274 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34275 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34276 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34277 (__nearbyint): Removed.
34278 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34279 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34280 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34281 (__nearbyintf): Removed.
34282 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34283 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34284 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34285 (__rint): Removed.
34286 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34287 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34288 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34289 (__rintf): Removed.
34290
1e8e527d
L
342912017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34292
34293 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34294 SHARED. Avoid dynamic relocation against main in static PIE.
34295
e13daad7
L
342962017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34297
34298 [BZ #21815]
34299 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34300 (LDFLAGS-tst-prelink): Likewise.
34301
627c69c8
L
343022017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34303
34304 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34305 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34306 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34307 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34308 (INTERNAL_SYSCALL_NCS): Likewise.
34309 (LOADARGS_1): Likewise.
34310 (LOADARGS_5): Likewise.
34311 (RESTOREARGS_1): Likewise.
34312 (RESTOREARGS_5): Likewise.
34313
fc11ff8d
L
343142017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34315
34316 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34317 (MEMPCPY_SYMBOL): Likewise.
34318 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34319 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34320 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34321 in libc.a.
34322 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34323 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34324 Likewise.
34325 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34326 (__hidden_ver1): Don't use in libc.a.
34327 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34328 (__mempcpy): Don't create a weak alias in libc.a.
34329 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34330 libc.a.
34331 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34332 (__hidden_ver1): Don't use in libc.a.
34333
19f1a11e
L
343342017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34335
34336 * config.make.in (have-insert): New.
34337 * configure.ac (libc_cv_insert): New. Set to yes if linker
34338 supports INSERT in linker script.
34339 (AC_SUBST(libc_cv_insert): New.
34340 * configure: Regenerated.
34341 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34342 if $(have-insert) == yes.
34343
3093fd5e
L
343442017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34345
34346 * elf/Makefile (tests): Add vismain only if
34347 $(have-protected-data) == yes.
34348 (tests-pie): Likewise.
34349
d2cf37c0
L
343502017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34351
34352 [BZ #21871]
34353 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34354 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34355
c8a0e6ec
L
343562017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34357
34358 [BZ #21790]
34359 * sysdeps/i386/i586/memset.S
34360 (__memset_zero_constant_len_parameter): Removed.
34361 * sysdeps/i386/i686/memset.S
34362 (__memset_zero_constant_len_parameter): Likewise.
34363 * sysdeps/i386/i686/multiarch/memset_chk.S
34364 (__memset_zero_constant_len_parameter): Likewise.
34365 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34366 Likewise.
34367
2b34e271
AJ
343682017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34369
34370 * stdlib/getentropy.c (getentropy): Change return type to int.
34371
144bdab0
AJ
343722017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34373
34374 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34375
24ab7723
JM
343762017-08-03 Joseph Myers <joseph@codesourcery.com>
34377
34378 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34379 u_intN_t.
34380 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34381 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34382 Likewise.
34383 (ieee_float_shape_type): Likewise.
34384 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34385 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34386 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34387 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34388 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34389 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34390 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34391 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34392 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34393 Likewise.
34394 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34395 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34396 (__ieee754_yn): Likewise.
34397 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34398 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34399 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34400 Likewise.
34401 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34402 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34403 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34404 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34405 (__erfc): Likewise.
34406 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34407 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34408 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34409 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34410 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34411 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34412 Likewise.
34413 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34414 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34415 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34416 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34417 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34418 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34419 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34420 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34421 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34422 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34423 (__issignaling): Likewise.
34424 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34425 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34426 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34427 Likewise.
34428 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34429 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34430 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34431 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34432 Likewise.
34433 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34434 Likewise.
34435 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34436 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34437 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34438 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34439 (__erfcf): Likewise.
34440 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34441 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34442 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34443 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34444 Likewise.
34445 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34446 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34447 Likewise.
34448 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34449 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34450 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34451 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34452 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34453 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34454 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34455 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34456 Likewise.
34457 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34458 Likewise.
34459 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34460 Likewise.
34461 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34462 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34463 Likewise.
34464 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34465 Likewise.
34466 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34467 (__ieee754_ynl): Likewise.
34468 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34469 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34470 Likewise.
34471 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34472 Likewise.
34473 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34474 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34475 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34476 Likewise.
34477 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34478 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34479 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34480 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34481 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34482 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34483 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34484 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34485 Likewise.
34486 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34487 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34488 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34489 Likewise.
34490 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34491 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34492 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34493 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34494 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34495 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34496 Likewise.
34497 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34498 Likewise.
34499 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34500 Likewise.
34501 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34502 Likewise.
34503 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34504 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34505 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34506 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34507 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34508 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34509 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34510 Likewise.
34511 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34512 Likewise.
34513 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34514 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34515 Likewise.
34516 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34517 (__ieee754_remainderl): Likewise.
34518 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34519 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34520 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34521 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34522 Likewise.
34523 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34524 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34525 Likewise.
34526 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34527 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34528 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34529 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34530 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34531 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34532 Likewise.
34533 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34534 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34535 (__ieee754_y0l): Likewise.
34536 (pzero): Likewise.
34537 (qzero): Likewise.
34538 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34539 (__ieee754_y1l): Likewise.
34540 (pone): Likewise.
34541 (qone): Likewise.
34542 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34543 (__ieee754_ynl): Likewise.
34544 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34545 (__ieee754_lgammal_r): Likewise.
34546 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34547 Likewise.
34548 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34549 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34550 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34551 (__erfcl): Likewise.
34552 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34553 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34554 Likewise.
34555 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34556 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34557 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34558 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34559 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34560 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34561 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34562 Likewise.
34563 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34564 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34565 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34566 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34567 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34568 Likewise.
34569 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34570 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34571 Likewise.
34572 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34573 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34574 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34575 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34576 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34577
964263bb
FW
345782017-08-03 Florian Weimer <fweimer@redhat.com>
34579
34580 [BZ #21885]
34581 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34582 on memory allocation failure.
34583
e98c925f
AM
345842017-08-03 Alan Modra <amodra@gmail.com>
34585
34586 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34587 tst-tlsopt-powerpc.c with function name change and no test harness.
34588 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34589 Call tls_get_addr_opt_test.
34590 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34591 (modules-names): Add mod-tlsopt-powerpc.
34592 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34593 (tst-tlsopt-powerpc): Depend on .so.
34594 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34595 define. Expand use in TLS_GD and TLS_LD.
34596
8ee1abdb
ST
345972017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34598
34599 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34600 function.
3da5756e 34601 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 34602
42df8d59
JM
346032017-08-02 Joseph Myers <joseph@codesourcery.com>
34604
34605 [BZ #21686]
34606 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34607 comparing size with that of double.
34608 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34609 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34610 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34611 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34612 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34613 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34614 unsigned __int128 types.
34615
b7f95f49
SE
346162017-08-02 Steve Ellcey <sellcey@cavium.com>
34617
34618 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34619 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34620 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34621 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34622 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34623
5b736bc9
L
346242017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34625
34626 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34627
dfc93c41
L
346282017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34629
34630 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34631 of SHARED.
34632 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34633 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34634 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34635 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34636 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34637 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34638 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34639
2fee621d
JM
346402017-08-02 Joseph Myers <joseph@codesourcery.com>
34641
34642 [BZ #21685]
34643 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34644 bit-field expressions passed to sizeof or typeof.
34645 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34646 (__TGMATH_F128): Likewise.
34647 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34648 (__TGMATH_CF128): Likewise.
34649 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34650 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34651 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34652 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34653 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34654 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34655 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34656 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34657 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34658 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34659 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34660 (__TGMATH_UNARY_IMAG): Likewise.
34661 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34662 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34663 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34664 type.
34665 (define_vars_for_type): Handle bit_field type specially.
34666 (Tests.__init__): Declare structure with bit-field element.
34667
b358255f
L
346682017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34669
34670 [BZ #21791]
34671 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34672 (MEMCPY_CHK): Define only if SHARED is defined.
34673 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34674 Likewise.
34675 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34676 Likewise.
edf66db1
SP
34677
34678See ChangeLog.18 for earlier changes.