]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update hppa bits/mman.h from Linux 4.14.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
922bb78c
JM
12017-11-21 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
4 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
5 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
6 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
7 [__USE_MISC] (MADV_HWPOISON): New macro.
8 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
9
a3aaa598
AZ
102017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11
12 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
13 -Wmissing-braces on GCC 4.9.
14
8beba15d
SL
152017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
16
17 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
18 * sysdeps/s390/s390-32/start.S (_start): Likewise
19 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
20 (thread_start): Likewise.
21 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22 (thread_start): Likewise.
23 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24 (__makecontext_ret): Likewise.
25 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
26 (__makecontext_ret): Likewise.
27
80eb52e3
SL
282017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
29
30 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
31 __wcschrnul): Remove attribute_hidden.
32
567d8c1f
PE
332017-11-20 Paul Eggert <eggert@cs.ucla.edu>
34
35 regex: don't assume uint64_t or uint32_t
36 This avoids -Werror=overflow errors for 32-bit systems in
37 the 64-bit case. Problem reported by Joseph Myers in:
38 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
39 Also, when this code is used in Gnulib it ports to platforms
40 that lack uint64_t and uint32_t. The C standard doesn't guarantee
41 them, and on some 32-bit compilers there is no uint64_t.
42 Problem reported by Gianluigi Tiesi in:
43 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
44 * posix/regcomp.c (init_word_char): Don't assume that the types
45 uint64_t and uint32_t exist. Adapted from Gnulib patch
46 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
47 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
48
4d7632ff
SP
492017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
50
5a67c4fa
SP
51 * sysdeps/aarch64/memset-reg.h: New file.
52 * sysdeps/aarch64/memset.S: Use it.
53 (__memset): Rename to MEMSET macro.
54 [ZVA_MACRO]: Use zva_macro.
55 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
56 Add memset_generic and memset_falkor.
57 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
58 (__libc_ifunc_impl_list): Add memset ifuncs.
59 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
60 local variable zva_size.
61 * sysdeps/aarch64/multiarch/memset.c: New file.
62 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
63 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
64 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
65 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
66 (DCZID_DZP_MASK): New macro.
67 (DCZID_BS_MASK): Likewise.
68 (init_cpu_features): Read and set zva_size.
69 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
70 (struct cpu_features): New member zva_size.
71
eb332f9f
SP
72 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
73 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
74 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
75
4d7632ff
SP
76 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
77 backwards. Fix timing computation.
78 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
79 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
80 on memset by N at a time. Fix timing computation.
81
a465b89e
FW
822017-11-20 Florian Weimer <fweimer@redhat.com>
83
84 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
85 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
86
0f74bbf5
FW
872017-11-19 Florian Weimer <fweimer@redhat.com>
88
89 manual: Document mprotect
90 * manual/memory.texi (Memory Protection): New section.
91 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
92 documentation of PROT_* flags and reference the Memory Protection
93 section instead.
94
f6e965ee
FW
952017-11-19 Florian Weimer <fweimer@redhat.com>
96
97 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
98 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
99 (Scatter-Gather): ... to here. Remove misleading comment.
100
ea69a5c8
CB
1012017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
102
5f9d1949
CB
103 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
104 style.
105
ea69a5c8
CB
106 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
107 when /proc/<pid>/setgroups does not exist.
108
8db7f48c
FW
1092017-11-18 Florian Weimer <fweimer@redhat.com>
110
111 * sysdeps/unix/sysv/linux/tst-ttyname.c
112 (become_root_in_mount_ns): Remove.
113 (do_in_chroot_1): Call support_enter_mount_namespace.
114 (do_in_chroot_2): Likewise.
115 (do_test): Call support_become_root early.
116
273a0c49
FW
1172017-11-18 Florian Weimer <fweimer@redhat.com>
118
119 * support/namespace.h (support_enter_mount_namespace): Declare.
120 * support/support_enter_mount_namespace.c: New file.
121 * support/Makefile (libsupport-routines): Add
122 support_enter_mount_namespace.
123
8adfb0ee
FW
1242017-11-18 Florian Weimer <fweimer@redhat.com>
125
126 * support/temp_file.c (support_create_temp_directory): Use
127 test_dir and do not rely on the presence of the XXXXXX suffix.
128 * support/temp_file.h (support_create_temp_directory): Update
129 comment.
130 * support/tst-xreadlink.c (do_test): Adjust.
131 * support/support_chroot.c (support_chroot_create): Likewise.
132
df0c40ee
TMQMF
1332017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
134
135 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
136 macro.
137 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
138 htm-no-suspend.
139
015c6dc2
JM
1402017-11-17 Joseph Myers <joseph@codesourcery.com>
141
f58e5f48
JM
142 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
143 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
144 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
145 (ceill): Define using libm_alias_ldouble.
146 * sysdeps/x86_64/fpu/s_copysignl.S: Include
147 <libm-alias-ldouble.h>.
148 (copysignl): Define using libm_alias_ldouble.
149 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
150 (fabsl): Define using libm_alias_ldouble.
151 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
152 (floorl): Define using libm_alias_ldouble.
153 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
154 (fmaxl): Define using libm_alias_ldouble.
155 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
156 (fminl): Define using libm_alias_ldouble.
157 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
158 (llrintl): Define using libm_alias_ldouble.
159 (lrintl): Likewise.
160 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
161 <libm-alias-ldouble.h>.
162 (nearbyintl): Define using libm_alias_ldouble.
163 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
164 (truncl): Define using libm_alias_ldouble.
165 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
166 <libm-alias-ldouble.h>.
167 (lrintl): Define using libm_alias_ldouble.
168
2ce30701
JM
169 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
170 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
171 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
172 (asinhl): Define using libm_alias_ldouble.
173 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
174 (atanl): Define using libm_alias_ldouble.
175 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
176 (cbrtl): Define using libm_alias_ldouble.
177 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
178 (ceill): Define using libm_alias_ldouble.
179 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
180 (copysignl): Define using libm_alias_ldouble.
181 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
182 (fabsl): Define using libm_alias_ldouble.
183 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
184 (floorl): Define using libm_alias_ldouble.
185 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
186 (fmaxl): Define using libm_alias_ldouble.
187 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
188 (fminl): Define using libm_alias_ldouble.
189 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
190 (frexpl): Define using libm_alias_ldouble.
191 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
192 (llrintl): Define using libm_alias_ldouble.
193 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
194 (logbl): Define using libm_alias_ldouble.
195 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
196 (lrintl): Define using libm_alias_ldouble.
197 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
198 (nearbyintl): Define using libm_alias_ldouble.
199 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
200 (nextafterl): Define using libm_alias_ldouble.
201 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
202 (remquol): Define using libm_alias_ldouble.
203 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
204 (rintl): Define using libm_alias_ldouble.
205 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
206 (truncl): Define using libm_alias_ldouble.
207 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
208 (fmaxl): Define using libm_alias_ldouble.
209 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
210 (fminl): Define using libm_alias_ldouble.
211
015c6dc2
JM
212 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
213 to C syntax instead of availability and properties of types.
214 * bits/floatn.h [!__ASSEMBLER]: Likewise.
215 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
216 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
217 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
218 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
219 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
220
ce003e5d
FW
2212017-11-17 Florian Weimer <fweimer@redhat.com>
222
223 support_become_root: Enable file creation in namespaces.
224 * support/support_become_root.c (setup_mapping): New function.
225 (support_become_root): Call it.
226
e7df6c5c
JM
2272017-11-17 Joseph Myers <joseph@codesourcery.com>
228
229 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
230 macro.
231
58a813bf
AZ
2322017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
233
234 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
235 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
236
f97773d1
JM
2372017-11-16 Joseph Myers <joseph@codesourcery.com>
238
6a6aa1f3
JM
239 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
240
f97773d1
JM
241 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
242 version to 4.14.
243
a306c790
SP
2442017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
245
7b0fb870
SP
246 * INSTALL: Fix botched up regeneration.
247
248 * NEWS: Update sourceare link to https.
a306c790
SP
249 * configure.ac: Likewise.
250 * crypt/md5test-giant.c: Likewise.
251 * dlfcn/bug-atexit1.c: Likewise.
252 * dlfcn/bug-atexit2.c: Likewise.
253 * localedata/README: Likewise.
254 * malloc/tst-mallocfork.c: Likewise.
255 * manual/install.texi: Likewise.
256 * nptl/tst-pthread-getattr.c: Likewise.
257 * stdio-common/tst-fgets.c: Likewise.
258 * stdio-common/tst-fwrite.c: Likewise.
259 * sunrpc/Makefile: Likewise.
260 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
261 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
262 * configure: Regenerate.
263 * INSTALL: Regenerate.
a306c790 264
7532837d
MS
2652017-11-15 Martin Sebor <msebor@redhat.com>
266
267 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
268 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
269 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
270
495a56fd
LS
2712017-11-15 Luke Shumaker <lukeshu@parabola.nu>
272
d9611e30
LS
273 [BZ #22145]
274 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
275 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
276
a09dfc19
LS
277 [BZ #22145]
278 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
279 Defer is_pty check until end of the function.
280 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
281
2fbce9c2
LS
282 [BZ #22145]
283 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
284 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
285 (ttyname): Likewise.
286 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
287 (__ttyname_r): Likewise.
288
d10d6cab
LS
289 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
290 int to bool.
291
9b5a8750
LS
292 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
293
495a56fd
LS
294 * manual/terminal.texi (Is It a Terminal):
295 Mention ENODEV for ttyname and ttyname_r.
296
fa680dc6
JM
2972017-11-15 Joseph Myers <joseph@codesourcery.com>
298
78cde19f
JM
299 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
300 constant and macro.
301
fa680dc6
JM
302 * sysdeps/unix/sysv/linux/bits/mman-linux.h
303 [__USE_MISC] (MADV_WIPEONFORK): New macro.
304 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
305 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
306 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
307 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
308
ad4f43a2
AZ
3092017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
310
1ba1d8a4
AZ
311 * signal/sigrelse.c (sigrelse): Optimize implementation.
312
ad4f43a2
AZ
313 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
314 (__sigpause): Rely on __sigsuspend to implement single thread
315 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
316
d0212d42
JM
3172017-11-15 Joseph Myers <joseph@codesourcery.com>
318
319 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
320 kernel version to 4.14.
321
2180fee1
SE
3222017-11-15 Steve Ellcey <sellcey@cavium.com>
323
324 [BZ #22442]
325 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
326 Check if ifname is too long.
327
cad7ca39
LS
3282017-11-15 Luke Shumaker <lukeshu@parabola.nu>
329
330 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
331
58c9f659
MF
3322017-11-15 Mike FABIAN <mfabian@redhat.com>
333
334 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
335 was accidentally lost.
336
0fa87c01
MF
3372017-11-15 Mike FABIAN <mfabian@redhat.com>
338
339 * localedata/locales/az_IR: Add standard copyright header.
340
34eb4157
FW
3412017-11-15 Florian Weimer <fweimer@redhat.com>
342
343 [BZ #22439]
344 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
345 not just the top one. Output a new "subheaps" statistic.
346
7a9368a1
FW
3472017-11-15 Florian Weimer <fweimer@redhat.com>
348
349 [BZ #22408]
350 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
351 under the per-arena lock.
352 * malloc/Makefile (tests): Add tst-malloc_info.
353 (tst-malloc_info): Link with libpthread.
354 * malloc/tst-malloc_info.c: New file.
355
be3a79a3
JM
3562017-11-15 Joseph Myers <joseph@codesourcery.com>
357
358 [BZ #21660]
359 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
360 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
361 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
362 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
363 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
364 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
365 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
366 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
367 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
368 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
369 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
370 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
371 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
372 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
373 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
374 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
375 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
376 (__floating_type): Likewise.
377 (__real_integer_type): Likewise.
378 (__complex_integer_type): Likewise.
379 (__expr_is_real): Likewise.
380 (__tgmath_real_type_sub): Likewise.
381 (__tgmath_real_type): Likewise.
382 (__tgmath_complex_type_sub): Likewise.
383 (__tgmath_complex_type): Likewise.
384 (__TGMATH_F128): Likewise.
385 (__TGMATH_CF128): Likewise.
386 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
387 new macros.
388 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
389 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
390 Likewise.
391 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
392 Likewise.
393 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
394 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
395 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
396 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
397 Likewise.
398 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
399 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
400 Likewise.
401 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
402 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
403 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
404 Likewise.
405 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
406 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
407 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
408 (cimag): Likewise.
409 (creal): Likewise.
410
ec72135e
JM
4112017-11-14 Joseph Myers <joseph@codesourcery.com>
412
2e64ec9c
JM
413 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
414 for stpncpy calls for GCC 8.
415 (test_strncat): Disable -Wstringop-truncation warning for strncat
416 calls for GCC 8. Disable -Wstringop-overflow= warning for one
417 strncat call for GCC 7.
418 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
419 calls for GCC 8.
420 (test_memcmp): Use memcpy instead of strncpy for calls not copying
421 trailing NUL.
422
ec72135e
JM
423 * string/bug-strncat1.c: Include <libc-diag.h>.
424 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
425
a259f5d3
CP
4262017-11-13 Claude Paroz <claude@2xlibre.net>
427
428 [BZ #22387]
429 * localedata/locales/aa_DJ: Improved readibility by replacing
430 <Uxxxx> sequences in the ASCII printable range by their ASCII
431 character equivalents.
432 * localedata/locales/aa_ER: Likewise.
433 * localedata/locales/aa_ER@saaho: Likewise.
434 * localedata/locales/aa_ET: Likewise.
435 * localedata/locales/af_ZA: Likewise.
436 * localedata/locales/agr_PE: Likewise.
437 * localedata/locales/ak_GH: Likewise.
438 * localedata/locales/am_ET: Likewise.
439 * localedata/locales/anp_IN: Likewise.
440 * localedata/locales/ar_AE: Likewise.
441 * localedata/locales/ar_BH: Likewise.
442 * localedata/locales/ar_DZ: Likewise.
443 * localedata/locales/ar_EG: Likewise.
444 * localedata/locales/ar_IN: Likewise.
445 * localedata/locales/ar_IQ: Likewise.
446 * localedata/locales/ar_JO: Likewise.
447 * localedata/locales/ar_KW: Likewise.
448 * localedata/locales/ar_LB: Likewise.
449 * localedata/locales/ar_LY: Likewise.
450 * localedata/locales/ar_MA: Likewise.
451 * localedata/locales/ar_OM: Likewise.
452 * localedata/locales/ar_QA: Likewise.
453 * localedata/locales/ar_SA: Likewise.
454 * localedata/locales/ar_SD: Likewise.
455 * localedata/locales/ar_SS: Likewise.
456 * localedata/locales/ar_SY: Likewise.
457 * localedata/locales/ar_TN: Likewise.
458 * localedata/locales/ar_YE: Likewise.
459 * localedata/locales/as_IN: Likewise.
460 * localedata/locales/ast_ES: Likewise.
461 * localedata/locales/ayc_PE: Likewise.
462 * localedata/locales/az_AZ: Likewise.
463 * localedata/locales/az_IR: Likewise.
464 * localedata/locales/be_BY: Likewise.
465 * localedata/locales/be_BY@latin: Likewise.
466 * localedata/locales/bem_ZM: Likewise.
467 * localedata/locales/ber_DZ: Likewise.
468 * localedata/locales/ber_MA: Likewise.
469 * localedata/locales/bg_BG: Likewise.
470 * localedata/locales/bhb_IN: Likewise.
471 * localedata/locales/bho_IN: Likewise.
472 * localedata/locales/bi_VU: Likewise.
473 * localedata/locales/bn_BD: Likewise.
474 * localedata/locales/bn_IN: Likewise.
475 * localedata/locales/bo_CN: Likewise.
476 * localedata/locales/bo_IN: Likewise.
477 * localedata/locales/br_FR: Likewise.
478 * localedata/locales/brx_IN: Likewise.
479 * localedata/locales/bs_BA: Likewise.
480 * localedata/locales/byn_ER: Likewise.
481 * localedata/locales/ca_AD: Likewise.
482 * localedata/locales/ca_ES: Likewise.
483 * localedata/locales/ca_FR: Likewise.
484 * localedata/locales/ca_IT: Likewise.
485 * localedata/locales/ce_RU: Likewise.
486 * localedata/locales/chr_US: Likewise.
487 * localedata/locales/cmn_TW: Likewise.
488 * localedata/locales/crh_UA: Likewise.
489 * localedata/locales/cs_CZ: Likewise.
490 * localedata/locales/csb_PL: Likewise.
491 * localedata/locales/cv_RU: Likewise.
492 * localedata/locales/cy_GB: Likewise.
493 * localedata/locales/da_DK: Likewise.
494 * localedata/locales/de_AT: Likewise.
495 * localedata/locales/de_BE: Likewise.
496 * localedata/locales/de_CH: Likewise.
497 * localedata/locales/de_DE: Likewise.
498 * localedata/locales/de_IT: Likewise.
499 * localedata/locales/de_LI: Likewise.
500 * localedata/locales/de_LU: Likewise.
501 * localedata/locales/doi_IN: Likewise.
502 * localedata/locales/dv_MV: Likewise.
503 * localedata/locales/dz_BT: Likewise.
504 * localedata/locales/el_CY: Likewise.
505 * localedata/locales/el_GR: Likewise.
506 * localedata/locales/en_AG: Likewise.
507 * localedata/locales/en_AU: Likewise.
508 * localedata/locales/en_BW: Likewise.
509 * localedata/locales/en_CA: Likewise.
510 * localedata/locales/en_DK: Likewise.
511 * localedata/locales/en_GB: Likewise.
512 * localedata/locales/en_HK: Likewise.
513 * localedata/locales/en_IE: Likewise.
514 * localedata/locales/en_IL: Likewise.
515 * localedata/locales/en_IN: Likewise.
516 * localedata/locales/en_NG: Likewise.
517 * localedata/locales/en_NZ: Likewise.
518 * localedata/locales/en_PH: Likewise.
519 * localedata/locales/en_SG: Likewise.
520 * localedata/locales/en_US: Likewise.
521 * localedata/locales/en_ZA: Likewise.
522 * localedata/locales/en_ZM: Likewise.
523 * localedata/locales/en_ZW: Likewise.
524 * localedata/locales/eo: Likewise.
525 * localedata/locales/es_AR: Likewise.
526 * localedata/locales/es_BO: Likewise.
527 * localedata/locales/es_CL: Likewise.
528 * localedata/locales/es_CO: Likewise.
529 * localedata/locales/es_CR: Likewise.
530 * localedata/locales/es_CU: Likewise.
531 * localedata/locales/es_DO: Likewise.
532 * localedata/locales/es_EC: Likewise.
533 * localedata/locales/es_ES: Likewise.
534 * localedata/locales/es_GT: Likewise.
535 * localedata/locales/es_HN: Likewise.
536 * localedata/locales/es_MX: Likewise.
537 * localedata/locales/es_NI: Likewise.
538 * localedata/locales/es_PA: Likewise.
539 * localedata/locales/es_PE: Likewise.
540 * localedata/locales/es_PR: Likewise.
541 * localedata/locales/es_PY: Likewise.
542 * localedata/locales/es_SV: Likewise.
543 * localedata/locales/es_US: Likewise.
544 * localedata/locales/es_UY: Likewise.
545 * localedata/locales/es_VE: Likewise.
546 * localedata/locales/et_EE: Likewise.
547 * localedata/locales/eu_ES: Likewise.
548 * localedata/locales/eu_ES@euro: Likewise.
549 * localedata/locales/fa_IR: Likewise.
550 * localedata/locales/ff_SN: Likewise.
551 * localedata/locales/fi_FI: Likewise.
552 * localedata/locales/fil_PH: Likewise.
553 * localedata/locales/fo_FO: Likewise.
554 * localedata/locales/fr_BE: Likewise.
555 * localedata/locales/fr_CA: Likewise.
556 * localedata/locales/fr_CH: Likewise.
557 * localedata/locales/fr_FR: Likewise.
558 * localedata/locales/fr_LU: Likewise.
559 * localedata/locales/fur_IT: Likewise.
560 * localedata/locales/fy_DE: Likewise.
561 * localedata/locales/fy_NL: Likewise.
562 * localedata/locales/ga_IE: Likewise.
563 * localedata/locales/gd_GB: Likewise.
564 * localedata/locales/gez_ER: Likewise.
565 * localedata/locales/gez_ET: Likewise.
566 * localedata/locales/gl_ES: Likewise.
567 * localedata/locales/gu_IN: Likewise.
568 * localedata/locales/gv_GB: Likewise.
569 * localedata/locales/ha_NG: Likewise.
570 * localedata/locales/hak_TW: Likewise.
571 * localedata/locales/he_IL: Likewise.
572 * localedata/locales/hi_IN: Likewise.
573 * localedata/locales/hif_FJ: Likewise.
574 * localedata/locales/hne_IN: Likewise.
575 * localedata/locales/hr_HR: Likewise.
576 * localedata/locales/hsb_DE: Likewise.
577 * localedata/locales/ht_HT: Likewise.
578 * localedata/locales/hu_HU: Likewise.
579 * localedata/locales/hy_AM: Likewise.
580 * localedata/locales/i18n: Likewise.
581 * localedata/locales/ia_FR: Likewise.
582 * localedata/locales/id_ID: Likewise.
583 * localedata/locales/ig_NG: Likewise.
584 * localedata/locales/ik_CA: Likewise.
585 * localedata/locales/is_IS: Likewise.
586 * localedata/locales/it_CH: Likewise.
587 * localedata/locales/it_IT: Likewise.
588 * localedata/locales/iu_CA: Likewise.
589 * localedata/locales/ja_JP: Likewise.
590 * localedata/locales/ka_GE: Likewise.
591 * localedata/locales/kk_KZ: Likewise.
592 * localedata/locales/kl_GL: Likewise.
593 * localedata/locales/kn_IN: Likewise.
594 * localedata/locales/ko_KR: Likewise.
595 * localedata/locales/kok_IN: Likewise.
596 * localedata/locales/ks_IN: Likewise.
597 * localedata/locales/ks_IN@devanagari: Likewise.
598 * localedata/locales/ku_TR: Likewise.
599 * localedata/locales/kw_GB: Likewise.
600 * localedata/locales/ky_KG: Likewise.
601 * localedata/locales/lb_LU: Likewise.
602 * localedata/locales/lg_UG: Likewise.
603 * localedata/locales/li_BE: Likewise.
604 * localedata/locales/li_NL: Likewise.
605 * localedata/locales/lij_IT: Likewise.
606 * localedata/locales/ln_CD: Likewise.
607 * localedata/locales/lo_LA: Likewise.
608 * localedata/locales/lt_LT: Likewise.
609 * localedata/locales/lv_LV: Likewise.
610 * localedata/locales/lzh_TW: Likewise.
611 * localedata/locales/mag_IN: Likewise.
612 * localedata/locales/mai_IN: Likewise.
613 * localedata/locales/mg_MG: Likewise.
614 * localedata/locales/mhr_RU: Likewise.
615 * localedata/locales/mi_NZ: Likewise.
616 * localedata/locales/mk_MK: Likewise.
617 * localedata/locales/ml_IN: Likewise.
618 * localedata/locales/mn_MN: Likewise.
619 * localedata/locales/mni_IN: Likewise.
620 * localedata/locales/mr_IN: Likewise.
621 * localedata/locales/ms_MY: Likewise.
622 * localedata/locales/mt_MT: Likewise.
623 * localedata/locales/my_MM: Likewise.
624 * localedata/locales/nan_TW: Likewise.
625 * localedata/locales/nan_TW@latin: Likewise.
626 * localedata/locales/nb_NO: Likewise.
627 * localedata/locales/nds_DE: Likewise.
628 * localedata/locales/nds_NL: Likewise.
629 * localedata/locales/ne_NP: Likewise.
630 * localedata/locales/nhn_MX: Likewise.
631 * localedata/locales/niu_NU: Likewise.
632 * localedata/locales/niu_NZ: Likewise.
633 * localedata/locales/nl_AW: Likewise.
634 * localedata/locales/nl_BE: Likewise.
635 * localedata/locales/nl_NL: Likewise.
636 * localedata/locales/nn_NO: Likewise.
637 * localedata/locales/nr_ZA: Likewise.
638 * localedata/locales/nso_ZA: Likewise.
639 * localedata/locales/oc_FR: Likewise.
640 * localedata/locales/om_ET: Likewise.
641 * localedata/locales/om_KE: Likewise.
642 * localedata/locales/or_IN: Likewise.
643 * localedata/locales/os_RU: Likewise.
644 * localedata/locales/pa_IN: Likewise.
645 * localedata/locales/pa_PK: Likewise.
646 * localedata/locales/pap_AW: Likewise.
647 * localedata/locales/pap_CW: Likewise.
648 * localedata/locales/pl_PL: Likewise.
649 * localedata/locales/ps_AF: Likewise.
650 * localedata/locales/pt_BR: Likewise.
651 * localedata/locales/pt_PT: Likewise.
652 * localedata/locales/quz_PE: Likewise.
653 * localedata/locales/raj_IN: Likewise.
654 * localedata/locales/ro_RO: Likewise.
655 * localedata/locales/ru_RU: Likewise.
656 * localedata/locales/ru_UA: Likewise.
657 * localedata/locales/rw_RW: Likewise.
658 * localedata/locales/sa_IN: Likewise.
659 * localedata/locales/sat_IN: Likewise.
660 * localedata/locales/sc_IT: Likewise.
661 * localedata/locales/sd_IN: Likewise.
662 * localedata/locales/sd_IN@devanagari: Likewise.
663 * localedata/locales/se_NO: Likewise.
664 * localedata/locales/sgs_LT: Likewise.
665 * localedata/locales/shs_CA: Likewise.
666 * localedata/locales/si_LK: Likewise.
667 * localedata/locales/sid_ET: Likewise.
668 * localedata/locales/sk_SK: Likewise.
669 * localedata/locales/sl_SI: Likewise.
670 * localedata/locales/sm_WS: Likewise.
671 * localedata/locales/so_DJ: Likewise.
672 * localedata/locales/so_ET: Likewise.
673 * localedata/locales/so_KE: Likewise.
674 * localedata/locales/so_SO: Likewise.
675 * localedata/locales/sq_AL: Likewise.
676 * localedata/locales/sq_MK: Likewise.
677 * localedata/locales/sr_ME: Likewise.
678 * localedata/locales/sr_RS: Likewise.
679 * localedata/locales/sr_RS@latin: Likewise.
680 * localedata/locales/ss_ZA: Likewise.
681 * localedata/locales/st_ZA: Likewise.
682 * localedata/locales/sv_FI: Likewise.
683 * localedata/locales/sv_SE: Likewise.
684 * localedata/locales/sw_KE: Likewise.
685 * localedata/locales/sw_TZ: Likewise.
686 * localedata/locales/szl_PL: Likewise.
687 * localedata/locales/ta_IN: Likewise.
688 * localedata/locales/ta_LK: Likewise.
689 * localedata/locales/tcy_IN: Likewise.
690 * localedata/locales/te_IN: Likewise.
691 * localedata/locales/tg_TJ: Likewise.
692 * localedata/locales/th_TH: Likewise.
693 * localedata/locales/the_NP: Likewise.
694 * localedata/locales/ti_ER: Likewise.
695 * localedata/locales/ti_ET: Likewise.
696 * localedata/locales/tig_ER: Likewise.
697 * localedata/locales/tk_TM: Likewise.
698 * localedata/locales/tl_PH: Likewise.
699 * localedata/locales/tn_ZA: Likewise.
700 * localedata/locales/to_TO: Likewise.
701 * localedata/locales/tpi_PG: Likewise.
702 * localedata/locales/tr_CY: Likewise.
703 * localedata/locales/tr_TR: Likewise.
704 * localedata/locales/ts_ZA: Likewise.
705 * localedata/locales/tt_RU: Likewise.
706 * localedata/locales/tt_RU@iqtelif: Likewise.
707 * localedata/locales/ug_CN: Likewise.
708 * localedata/locales/uk_UA: Likewise.
709 * localedata/locales/unm_US: Likewise.
710 * localedata/locales/ur_IN: Likewise.
711 * localedata/locales/ur_PK: Likewise.
712 * localedata/locales/uz_UZ: Likewise.
713 * localedata/locales/uz_UZ@cyrillic: Likewise.
714 * localedata/locales/ve_ZA: Likewise.
715 * localedata/locales/vi_VN: Likewise.
716 * localedata/locales/wa_BE: Likewise.
717 * localedata/locales/wae_CH: Likewise.
718 * localedata/locales/wal_ET: Likewise.
719 * localedata/locales/wo_SN: Likewise.
720 * localedata/locales/xh_ZA: Likewise.
721 * localedata/locales/yi_US: Likewise.
722 * localedata/locales/yo_NG: Likewise.
723 * localedata/locales/yue_HK: Likewise.
724 * localedata/locales/yuw_PG: Likewise.
725 * localedata/locales/zh_CN: Likewise.
726 * localedata/locales/zh_HK: Likewise.
727 * localedata/locales/zh_SG: Likewise.
728 * localedata/locales/zh_TW: Likewise.
729 * localedata/locales/zu_ZA: Likewise.
730
cae87e64
FW
7312017-11-13 Florian Weimer <fweimer@redhat.com>
732
733 * support/next_to_fault.h, support/next_to_fault.c: New files.
734 * support/Makefile (libsupport-routines): Add next_to_fault.
735 * resolv/tst-inet_pton.c (struct next_to_fault)
736 (next_to_fault_allocate, next_to_fault_free): Remove.
737 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
738
4a306ef1
L
7392017-11-13 H.J. Lu <hongjiu.lu@intel.com>
740
741 * elf/dl-support.c: Include <dl-procruntime.c>.
742 * include/link.h: Include <link_map.h>.
743 * sysdeps/generic/dl-procruntime.c: New file.
744 * sysdeps/generic/link_map.h: Likewise.
745 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
746 the writable ld.so namespace.
747
e69897bf
PE
7482017-11-12 Paul Eggert <eggert@cs.ucla.edu>
749
750 timezone: pacify GCC -Wstringop-truncation
751 Problem reported by Martin Sebor in:
752 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
753 * timezone/zic.c (writezone): Use memcpy, not strncpy.
754
1ffe1ccb
FW
7552017-11-12 Florian Weimer <fweimer@redhat.com>
756
eceed671
FW
757 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
758 tst-xreadlink.
759 (tests): Add tst-xreadlink.
1ffe1ccb
FW
760 * support/support.h (xstrndup): Declare.
761 * support/xunistd.h (xunlink, xreadlink): Declare.
762 * support/temp_file.h (support_create_temp_directory): Declare.
763 * support/temp_file.c (support_create_temp_directory): New function.
764 * support/support_chroot.c (support_chroot_create): Use it.
765 * support/xreadlink.c: New file.
766 * support/xstrndup.c: Likewise.
767 * support/xunlink.c: Likewise.
768 * support/tst-xreadlink.c: Likewise.
769
456b40a9
JDA
7702017-11-11 John David Anglin <danglin@gcc.gnu.org>
771
772 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
773
c0a25aa9
FW
7742017-11-11 Florian Weimer <fweimer@redhat.com>
775
776 [BZ #22409]
777 [BZ #22412]
778 * resolv/res_comp.c (printable_string, binary_hnok)
779 (binary_leading_dash): New functions.
780 (res_hnok): Reimplement using these functions and ns_name_pton.
781 (res_ownok): Likewise.
782 (res_mailok): Reimplement using printable_string, ns_name_pton and
783 binary_hnok.
784 (res_dnok): Reimplement using printable_string and ns_name_pton.
785 * resolv/tst-res_hnok.c (tests): Add additional tests.
786 (LETTERDIGITS, PRINTABLE): Define.
787 (do_test): Adjust one_char results.
788
9e0ad304
FW
7892017-11-11 Florian Weimer <fweimer@redhat.com>
790
791 [BZ #22413]
792 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
793 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
794
e2a9fca8
FW
7952017-11-11 Florian Weimer <fweimer@redhat.com>
796
797 * resolv/tst-ns_name_pton.c: New file.
798 * resolv/Makefile (tests): Add tst-ns_name_pton.
799 (tst-ns_name_pton): Link against libresolv.
800
5c1a6923
FW
8012017-11-11 Florian Weimer <fweimer@redhat.com>
802
803 * resolv/tst-res_hnok.c: New file.
804 * resolv/Makefile (tests): Add tst-res_hnok.
805 (tst-res_hnok): Link against libresolv.
806
a19c0a1d
FW
8072017-11-11 Florian Weimer <fweimer@redhat.com>
808
809 * resolv/tst-resolv-network.c: Use test framework instead explicit
810 main function.
811
8cb5295d
L
8122017-11-09 H.J. Lu <hongjiu.lu@intel.com>
813
814 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
815 <jmp_buf-macros.h>.
816 [!_ISOMAC] (STR_HELPER): New.
817 [!_ISOMAC] (STR): Likewise.
818 [!_ISOMAC] (TEST_SIZE): Likewise.
819 [!_ISOMAC] (TEST_ALIGN): Likewise.
820 [!_ISOMAC] (TEST_OFFSET): Likewise.
821 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
822 field offsets of jmp_buf as well as sigjmp_buf.
823 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
824 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
825 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
826 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
827 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
828 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
829 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
830 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
831 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
832 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
833 Likewise.
834 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
835 Likewise.
836 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
838 Likewise.
839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
840 Likewise.
841 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
842 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
843 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
844 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
845 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
847 Likewise.
848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
849 Likewise.
850 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
851 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
852 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
853
58c4a161
JM
8542017-11-07 Joseph Myers <joseph@codesourcery.com>
855
3683b423
JM
856 * include/float.h
857 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
858 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
859 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
860 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
861 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
862 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
863 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
864 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
865 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
866 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
867 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
868 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
869 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
870 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
871 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
872 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
873 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
874 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
875 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
876 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
877 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
878 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
879 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
880 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
881 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
882 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
883 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
884 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
885 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
886 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
887 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
888 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
889 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
890 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
891 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
892 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
893 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
894 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
895 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
896 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
897 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
898 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
899 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
900 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
901 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
902 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
903 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
904 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
905 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
906 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
907 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
908 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
909 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
910 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
911 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
912 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
913 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
914 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
915 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
916 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
917 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
918 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
919 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
920 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
921 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
922 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
923 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
924 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
925 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
926 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
927 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
928 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
929 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
930 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
931 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
932 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
933 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
934 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
935 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
936 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
937 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
938 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
939 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
940 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
941 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
942 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
943 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
944 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
945
58c4a161
JM
946 * stdlib/tst-strtod.h (F16): New macro.
947 (F32): Likewise.
948 (F64): Likewise.
949 (F32X): Likewise.
950 (F64X): Likewise.
951 (F128X): Likewise.
952 (IF_FLOAT16): Likewise.
953 (IF_FLOAT32): Likewise.
954 (IF_FLOAT64): Likewise.
955 (IF_FLOAT32X): Likewise.
956 (IF_FLOAT64X): Likewise.
957 (IF_FLOAT128X): Likewise.
958 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
959 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
960 (STRTOD_TEST_FOREACH): Likewise.
961 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
962 (CHOOSE_f64): Likewise.
963 (CHOOSE_f32x): Likewise.
964 (CHOOSE_f64x): Likewise.
965
feda96a1
AS
9662017-11-07 Andreas Schwab <schwab@suse.de>
967
968 * nptl/Makefile (tests-internal): Remove tst-typesizes.
969
1bd0cbb8
MF
9702017-11-07 Mike FABIAN <mfabian@redhat.com>
971
972 [BZ #22403]
973 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
974 to be escaped.
975 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
976 to be escaped.
977
d8301314
CP
9782017-11-07 Claude Paroz <claude@2xlibre.net>
979
980 [BZ #22403]
981 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
982 to be escaped.
983 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
984 to be escaped.
985 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
986 to be escaped.
987
dff91cd4
AZ
9882017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
989
06be6368
AZ
990 [BZ #22298]
991 * nptl/allocatestack.c (allocate_stack): Check if
992 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
993 __PTHREAD_MUTEX_HAVE_PREV is defined.
994 * nptl/descr.h (pthread): Likewise.
995 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
996 Likewise.
997 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
998 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
999 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
1000 * sysdeps/nptl/bits/thread-shared-types.h
1001 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
1002 defines.
1003 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
1004 of __WORDSIZE for internal layout.
1005 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
1006 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
1007 instead of __WORDSIZE whether to use an union for __spins and __list
1008 fields.
1009 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
1010 case.
1011 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
1012 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
1013 defines.
1014 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
1015 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1016 Likewise.
1017 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
1018 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1019 Likewise.
1020 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
1021 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1022 Likewise.
1023 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
1024 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1025 Likewise.
1026 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
1027 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1028 Likewise.
1029 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
1030 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1031 Likewise.
1032 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
1033 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1034 Likewise.
1035 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
1036 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1037 Likewise.
1038 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
1039 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1040 Likewise.
1041 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
1042 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1043 Likewise.
1044 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
1045 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1046 Likewise.
1047 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
1048 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1049 Likewise.
1050 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
1051 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1052 Likewise.
1053 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
1054 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
1055 Likewise.
1056
72b3c6ee
AZ
1057 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
1058 New macros.
1059 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
1060 checks for expected input type size.
1061 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
1062 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
1063 Likewise.
1064 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1065 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
1066 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1067 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
1068 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
1069 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
1070 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
1071 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
1072 superflous runtime assert check.
1073 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
1074 Likewise.
1075 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
1076 Likewise.
1077 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
1078 Likewise.
1079 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
1080 Likewise.
1081 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
1082 Likewise.
1083 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
1084 Likewise.
1085 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
1086 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
1087 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
1088 Likewise.
1089 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
1090 Likewise.
1091 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
1092 Likewise.
1093 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
1094 Likewise.
1095 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
1096 Likewise.
1097 * nptl/pthread_attr_setinheritsched.c
1098 (__pthread_attr_setinheritsched): Likewise.
1099 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
1100 Likewise.
1101 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
1102 Likewise.
1103 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
1104 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
1105 __old_pthread_attr_setstack): Likewise.
1106 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
1107 Likewise.
1108 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
1109 Likewise.
1110 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
1111 Likewise.
1112 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1113 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
1114 Likewise.
1115 * nptl/tst-typesizes.c: Remove file.
1116
dff91cd4
AZ
1117 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
1118 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
1119 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
1120 checks for internal pthread_mutex_t offsets.
1121 * sysdeps/aarch64/nptl/pthread-offsets.h
1122 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
1123 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
1124 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
1125 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
1126 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
1127 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
1128 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
1129 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
1130 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
1131 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
1132 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
1133 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
1134 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
1135 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
1136 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
1137 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
1138 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
1139 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
1140
b7fc95f8
FW
11412017-11-07 Florian Weimer <fweimer@redhat.com>
1142
1143 * bits/mman-linux.h: Move ...
1144 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
1145 comment.
1146 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
1147 outdated comment.
1148
6b860364
RS
11492017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1150
1151 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
1152 Redefine STRNLEN as __strnlen_power8.
1153
802c1f16
AZ
11542017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1155
d83da3a4
AZ
1156 * signal/sighold.c (sighold): Optimize implementation.
1157
6a4235f1
AZ
1158 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
1159 __NR_rt_sigqueueinfo.
1160
8b0e795a
AZ
1161 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
1162 __sigtimedwait.
1163 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
1164 assume __NR_rt_sigtimedwait.
1165 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
1166 and add LIBC_CANCEL_HANDLED for cancellation marking.
1167 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1168
a1a638dd
AZ
1169 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
1170 (sysdeps_routines): Add memchr_noneon.
1171 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
1172 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
1173 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
1174 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
1175 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
1176 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
1177 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
1178
802c1f16
AZ
1179 * sysdeps/arm/arm-ifunc.h: New file.
1180 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
1181 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
1182 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
1183 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
1184 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
1185 (__memcpy_neon): Avoid create hidden alias.
1186 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
1187 (__memcpy_vfp): Likewise.
1188 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
1189 (sysdep_routines): Add memcpy_arm.
1190 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
1191
abcb584d
L
11922017-11-06 H.J. Lu <hongjiu.lu@intel.com>
1193
1194 [BZ #22362]
1195 * Makerules (make-link-multidir): New.
1196 * config.make.in (multidir): New.
1197 * configure.ac (libc_cv_multidir): New. AC_SUBST.
1198 * configure: Regenerated.
1199 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
1200 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
1201 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
1202 New target.
1203
4e2dff67
JM
12042017-11-06 Joseph Myers <joseph@codesourcery.com>
1205
1206 [BZ #22402]
1207 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
1208 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
1209
a1c7cd3c
MF
12102017-11-04 Mike FABIAN <mfabian@redhat.com>
1211
1212 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
1213 to be escaped.
1214
b9af29c0
FW
12152017-11-04 Florian Weimer <fweimer@redhat.com>
1216
1217 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
1218
4ca70e1a
JM
12192017-11-03 Joseph Myers <joseph@codesourcery.com>
1220
1221 * math/math.h [__HAVE_DISTINCT_FLOAT16
1222 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
1223 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
1224 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
1225 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
1226 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
1227 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
1228 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
1229 (__MATH_TG_F32): New macro.
1230 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
1231 (__MATH_TG_F64X): Likewise.
1232 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
1233 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
1234
ba0e6668
DL
12352017-11-03 Dmitry V. Levin <ldv@altlinux.org>
1236
1237 * po/de.po: Update translations.
1238 * po/ru.po: Likewise.
1239
bc18a6d3
FW
12402017-11-03 Florian Weimer <fweimer@redhat.com>
1241
1242 * manual/filesys.texi (Hard Links): Document linkat.
1243
97255170
JM
12442017-11-03 Joseph Myers <joseph@codesourcery.com>
1245
86ec4865
JM
1246 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
1247 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
1248 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
1249 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
1250 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
1251 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
1252 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
1253 the same as _Float128.
1254 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
1255 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
1256 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
1257
97255170
JM
1258 * stdlib/stdlib.h
1259 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
1260 Declare.
1261 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
1262 Likewise.
1263 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
1264 Likewise.
1265 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1266 (strtof32x): Likewise.
1267 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1268 (strtof64x): Likewise.
1269 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1270 (strtof128x): Likewise.
1271 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1272 (strfromf16): Likewise.
1273 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1274 (strfromf32): Likewise.
1275 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1276 (strfromf64): Likewise.
1277 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1278 (strfromf32x): Likewise.
1279 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1280 (strfromf64x): Likewise.
1281 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1282 (strfromf128x): Likewise.
1283 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
1284 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
1285 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
1286 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
1287 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
1288 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
1289
6d58ce5e
RH
12902017-11-03 Richard Henderson <rth@twiddle.net>
1291
1292 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
1293
659ca267
SN
12942017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1295
1296 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
1297
94d2f0af
SN
12982017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1299
1300 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
1301 DT_TLSDESC_GOT initialization.
1302 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
1303 (_dl_tlsdesc_resolve_hold): Likewise.
1304 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
1305 (_dl_tlsdesc_resolve_hold): Likewise.
1306 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
1307 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
1308
28e1ddf3
SN
13092017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1310
1311 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
1312
0ca3d1d6
SN
13132017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1314
1315 [BZ #18572]
1316 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
1317 non-lazily for R_ARM_TLS_DESC.
1318
2c1d4e5f
SN
13192017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1320
1321 [BZ #17078]
1322 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
1323 R_ARM_TLS_DESC case.
1324 (elf_machine_lazy_rel): Remove the prelink check.
1325
91c5a366
SN
13262017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1327
1328 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
1329 DT_TLSDESC_GOT initialization.
1330 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
1331 (_dl_tlsdesc_resolve_rela): Likewise.
1332 (_dl_tlsdesc_resolve_hold): Likewise.
1333 (_dl_tlsdesc_undefweak): Remove ldar.
1334 (_dl_tlsdesc_dynamic): Likewise.
1335 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
1336 (_dl_tlsdesc_resolve_rela): Likewise.
1337 (_dl_tlsdesc_resolve_hold): Likewise.
1338 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
1339 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
1340 (_dl_tlsdesc_resolve_rela): Likewise.
1341 (_dl_tlsdesc_resolve_hold): Likewise.
1342
b7cf203b
SN
13432017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1344
1345 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
1346 binding and initialization non-lazily for R_AARCH64_TLSDESC.
1347
0cc5b022
SN
13482017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1349
1350 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
1351 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1352
43ddff2e
JM
13532017-11-02 Joseph Myers <joseph@codesourcery.com>
1354
1355 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
1356 Declare.
1357 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
1358 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
1359 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
1360 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
1361 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
1362 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
1363 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
1364 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
1365 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
1366 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
1367 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
1368
5baac970
MF
13692017-11-02 Mike FABIAN <mfabian@redhat.com>
1370
1371 [BZ #22382]
1372 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
1373 * localedata/locales/tpi_PG: Add standard header.
1374
ef11081f
FW
13752017-11-02 Florian Weimer <fweimer@redhat.com>
1376
1377 test-errno-linux: quotactl can fail with EPERM in containers.
1378 * sysdeps/unix/sysv/linux/test-errno-linux.c
1379 (LIST, LIST_FORWARD): New macros.
1380 (check_error_in_list): New function.
1381 (test_wrp_rv): Accept list of permitted error codes.
1382 (test_wrp_rv2): Remove.
1383 (test_wrp): Call test_wrp_rv with list of error codes.
1384 (test_wrp2): Accept list of error codes.
1385 (do_test): Adjust. Allow EPERM for quotactl.
1386
d10b132b
FW
13872017-11-02 Florian Weimer <fweimer@redhat.com>
1388
1389 * stdio-common/bug16.c (do_test): Use array_length.
1390 * stdio-common/errlist.c (_sys_nerr): Likewise.
1391 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
1392 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
1393 * stdio-common/psiginfo.c (psiginfo): Use array_length.
1394 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
1395 (do_test): Use array_length.
1396 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
1397 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
1398 * stdio-common/tst-printf-round.c (do_test): Likewise.
1399 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
1400 (CHECK): Use array_length.
1401 * stdio-common/tstdiomisc.c (t3, F): Likewise.
1402 * stdio-common/tstscanf.c (main): Likewise.
1403 * stdio-common/vfprintf.c (process_string_arg): Likewise.
1404
c94a5688
FW
14052017-11-02 Florian Weimer <fweimer@redhat.com>
1406
1407 Add array_length and array_end macros.
1408 * include/array_length.h: New file.
1409
2fac6a6c
FW
14102017-11-02 Florian Weimer <fweimer@redhat.com>
1411
1412 [BZ #22332]
1413 * posix/tst-glob-tilde.c (do_noescape): New variable.
1414 (one_test): Process it.
1415 (do_test): Set do_noescape. Add unescaping test case.
1416
2f1b212e
JM
14172017-11-01 Joseph Myers <joseph@codesourcery.com>
1418
260fbd0a
JM
1419 * math/complex.h
1420 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
1421 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
1422 with appropriate macros defined and undefined.
1423 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
1424 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1425 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
1426 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1427 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
1428 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1429 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
1430 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1431 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
1432 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1433
2f1b212e
JM
1434 * math/complex.h
1435 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
1436 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
1437 that for long double. Do not condition define and undefine of
1438 _Mdouble_complex_ on [__CFLOAT128].
1439
95b93c6e
L
14402017-11-01 H.J. Lu <hongjiu.lu@intel.com>
1441
1442 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
1443 of <sysdeps/generic/sysdep.h>.
1444 (ALIGNARG): Removed.
1445 (ASM_SIZE_DIRECTIVE): Likewise.
1446 (ENTRY): Likewise.
1447 (END): Likewise.
1448 (ENTRY_CHK): Likewise.
1449 (END_CHK): Likewise.
1450 (syscall_error): Likewise.
1451 (mcount): Likewise.
1452 (PSEUDO_END): Likewise.
1453 (L): Likewise.
1454 (atom_text_section): Likewise.
1455 * sysdeps/x86/sysdep.h: New file.
1456 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
1457 of <sysdeps/generic/sysdep.h>.
1458 (ALIGNARG): Removed.
1459 (ASM_SIZE_DIRECTIVE): Likewise.
1460 (ENTRY): Likewise.
1461 (END): Likewise.
1462 (ENTRY_CHK): Likewise.
1463 (END_CHK): Likewise.
1464 (syscall_error): Likewise.
1465 (mcount): Likewise.
1466 (PSEUDO_END): Likewise.
1467 (L): Likewise.
1468 (atom_text_section): Likewise.
1469
1bb36539
RL
14702017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
1471
1472 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
1473 category of LC_CTYPE set to "i18n:2012".
1474 * localedata/locales/i18n_ctype: Regenerate.
1475
067f5d97 14762017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 1477
87bbc4cf
YN
1478 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
1479 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1480 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1481 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1482
e8681faa
YN
1483 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
1484 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
1485 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
1486 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
1487
540af6e2
JM
14882017-10-31 Joseph Myers <joseph@codesourcery.com>
1489
43e66283
JM
1490 * math/complex.h
1491 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
1492 New macro.
1493 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
1494 Likewise.
1495 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
1496 Likewise.
1497 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1498 (CMPLXF32X): Likewise.
1499 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1500 (CMPLXF64X): Likewise.
1501 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1502 (CMPLXF128X): Likewise.
1503
540af6e2
JM
1504 * math/math.h
1505 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
1506 (__MATH_EVAL_FMT2): Define to add 0.0f.
1507
58af72b4
AM
15082017-10-31 Alan Modra <amodra@gmail.com>
1509
1510 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
1511 include sysdep.h.
1512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
1515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
1516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
1517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
1518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
1519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
1520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
1521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
1523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
1524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
1525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1526 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
1527 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
1528 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
1529 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
1530 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
1531 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
1532 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
1533 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
1534 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
1535 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
1536 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1537 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
1538 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
1539 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
1540 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
1541 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
1542 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1543 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1544 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
1545 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
1546 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
1547 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
1548 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
1549 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
1550 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
1551 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1552 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
1553 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
1554 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
1555 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
1556 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
1557 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
1558 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
1559 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
1560 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
1561 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1562 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
1563 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
1564 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
1565 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
1566 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1567 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1568 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
1569 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
1570 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
1571 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
1572 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1573 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
1574 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
1575 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1576 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
1577 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
1578 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
1579 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
1580 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
1581
1582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
1583 include sysdep.h and math_ldbl_opt.h.
1584
1585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
1586 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
1587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
1589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
1590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
1591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
1592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
1593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
1594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
1595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
1596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
1597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
1598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
1599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
1600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
1601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
1602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
1603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
1604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
1605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
1606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
1607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
1608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
1610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1611
112f30b3
AM
16122017-10-31 Alan Modra <amodra@gmail.com>
1613
1614 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
1615 string/strncase_l.c, not string/strncase.c.
1616 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
1617 (libc_hidden_def): Redefine.
1618
e9e7eced
AM
16192017-10-31 Alan Modra <amodra@gmail.com>
1620
1621 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
1622 (__STRCMP, STRCMP, __strcasecmp_l): Define.
1623 (__strcasecmp): Don't define.
1624
f7b465cf
AM
16252017-10-31 Alan Modra <amodra@gmail.com>
1626
1627 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
1628 IS_IN (libc).
1629 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
1630 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
1631 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
1632
d46b09f9
AM
16332017-10-31 Alan Modra <amodra@gmail.com>
1634
1635 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
1636 USE_AS_STPNCPY.
1637
e9b8e194
AM
16382017-10-31 Alan Modra <amodra@gmail.com>
1639
1640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
1641 Redefine only when SHARED.
1642
eda162dd
JM
16432017-10-30 Joseph Myers <joseph@codesourcery.com>
1644
b61afe8c
JM
1645 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
1646 Include <bits/math-finite.h> with appropriate macros defined and
1647 undefined.
1648 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
1649 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
1650 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
1651 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
1652 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
1653
eda162dd
JM
1654 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
1655 [!_Mlong_double_] (_Mlong_double_): Likewise.
1656 [!_Mfloat16_] (_Mfloat16_): Likewise.
1657 [!_Mfloat32_] (_Mfloat32_): Likewise.
1658 [!_Mfloat64_] (_Mfloat64_): Likewise.
1659 [!_Mfloat128_] (_Mfloat128_): Likewise.
1660 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
1661 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
1662 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
1663 (_Mdouble_): Define without indirection through those macros.
1664 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
1665 [!_Mfloat128_] (_Mfloat128_): Likewise.
1666 [_Mlong_double_] (_Mlong_double_): Likewise.
1667 (_Mdouble_): Define without indirection through those macros.
1668 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
1669 not add -D_Mlong_double_=double.
1670 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
1671 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
1672
4ad5106e
L
16732017-10-30 H.J. Lu <hongjiu.lu@intel.com>
1674
1675 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
1676
fe326df7
L
16772017-10-30 H.J. Lu <hongjiu.lu@intel.com>
1678
1679 * sysdeps/x86/libc-start.c: Reformat.
1680
c5cc4514
L
16812017-10-30 H.J. Lu <hongjiu.lu@intel.com>
1682
1683 [BZ #22353]
1684 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
1685 (1): Renamed to ...
1686 (L(Src0)): This.
1687 (L(Src1)): New.
1688 (L(Src2)): Likewise.
1689 (L(1)): Renamed to ...
1690 (L(Src3)): This.
1691
ce12269f
JM
16922017-10-30 Joseph Myers <joseph@codesourcery.com>
1693
1694 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
1695 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
1696 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
1697 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
1698 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
1699 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
1700 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
1701 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
1702 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
1703 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
1704 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
1705 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
1706 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
1707 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
1708 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
1709 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
1710 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
1711 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
1712 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
1713 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
1714 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
1715 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
1716 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
1717 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
1718 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
1719 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
1720 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
1721 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
1722 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
1723 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
1724 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
1725 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
1726 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
1727 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
1728 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
1729 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
1730 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
1731 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
1732 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
1733 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
1734 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
1735 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
1736 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
1737 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
1738 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
1739 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
1740 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
1741 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
1742 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
1743 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
1744 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
1745 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
1746 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
1747 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
1748 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
1749 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
1750 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
1751 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
1752 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
1753 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
1754 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
1755 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
1756 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
1757 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
1758 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
1759 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
1760
4484b9e2
FW
17612017-10-30 Florian Weimer <fweimer@redhat.com>
1762
1763 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
1764 always defined.
1765 * io/tst-mkdirat.c (do_test): Likewise.
1766 * io/tst-mkfifoat.c (do_test): Likewise.
1767 * io/tst-mknodat.c (do_test): Likewise.
1768 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
1769 * locale/programs/locale.c (select_dirs): Likewise.
1770 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
1771 * posix/bug-glob2.c (my_readdir): Likewise.
1772 * posix/tst-dir.c (main): Likewise.
1773 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
1774 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
1775
68fe16dd
FW
17762017-10-30 Florian Weimer <fweimer@redhat.com>
1777
1778 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
1779 just __USE_GNU.
1780
dadf23f0
FW
17812017-10-30 Florian Weimer <fweimer@redhat.com>
1782
1783 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
1784 Convert to support/test-driver.c.
1785 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
1786 New macro parameters.
1787 (PRINTF): Remove macro. Use test_verbose conditionals instead.
1788 * posix/tst-gnuglob.c: New file.
1789 * posix/tst-gnuglob64.c: Likewise.
1790 * posix/Makefile (tests): Add tst-gnuglob64.
1791
fbcecc08
MF
17922017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
1793
1794 [BZ #19485]
1795 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
1796 and use a better translation for March in “mon”.
1797 * localedata/locales/csb_PL: Use more ASCII to improve the
1798 readability of the source.
1799
b110af82
MF
18002017-10-30 Mike FABIAN <mfabian@redhat.com>
1801
1802 [BZ #13953]
1803 * localedata/locales/km_KH: Use ASCII as much
1804 as possible for better readability of the source and
1805 remove useless comments.
1806 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
1807 was commented out and apparently wrong anyway because it was
1808 using Lao characters. If Buddhist era should be used
1809 for km_KH, a native speaker should write the correct formaat
1810 for Khmer.
1811 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
1812 (According to CLDR, the first weekday for Cambodia is Sunday).
1813 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
1814 (These were using Lao characters which must be wrong. If we get
1815 the correct data from a native speaker, we could add it back, until
1816 then it is better not to have name_mr and name_mrs at all than
1817 having it wrong).
1818
f301e533
RL
18192017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
1820
1821 * locale/loadlocale.c: Correct size of
1822 _nl_value_type_LC_<category> arrays.
1823
7e9d7073
JM
18242017-10-27 Joseph Myers <joseph@codesourcery.com>
1825
1826 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
1827 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
1828 with appropriate macros defined and undefined.
1829 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
1830 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
1831 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
1832 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
1833 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
1834
63d3b468
L
18352017-10-27 H.J. Lu <hongjiu.lu@intel.com>
1836
1837 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
1838 "-O2 -march=i586".
1839
a4cc02c7
MF
18402017-10-27 Mike FABIAN <mfabian@redhat.com>
1841
1842 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
1843 with lowercase letters to make it agree with CLDR.
1844
1e5971ec
MF
18452017-10-27 Mike FABIAN <mfabian@redhat.com>
1846
1847 [BZ #15260]
1848 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
1849 first letters of yesstr and nostr in yesexpr and noexpr,
1850 not for the full words.
1851 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
1852 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
1853 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
1854 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
1855 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
1856 first letters of yesstr and nostr in yesexpr and noexpr,
1857 until now only English was matched in yesexpr and noexpr.
1858 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
1859 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
1860 fil but not for tl. As tl and fil are very similar, using fil
1861 is probably better than using English.
1862
bc5fc7de
MF
18632017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
1864
1865 [BZ #21706]
1866 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
1867 in yesstr and nostr.
1868
5d220788
JM
18692017-10-26 Joseph Myers <joseph@codesourcery.com>
1870
ecc7da5b
JM
1871 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
1872 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
1873 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
1874 Likewise.
1875 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
1876 Likewise.
1877 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
1878 Likewise.
1879 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
1880 Likewise.
1881 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1882 (SNANF128X): Likewise.
1883
5d220788
JM
1884 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
1885 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
1886 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1887 (HUGE_VAL_F32): Likewise.
1888 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1889 (HUGE_VAL_F64): Likewise.
1890 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1891 (HUGE_VAL_F32X): Likewise.
1892 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1893 (HUGE_VAL_F64X): Likewise.
1894 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1895 (HUGE_VAL_F128X): Likewise.
1896
67ad7163
TV
18972017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
1898
1899 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
1900 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
1901 for the br_FR locale.
1902
408dff7e
TV
19032017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
1904
1905 [BZ #21706]
1906 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
1907
337ff3c5
CD
19082017-10-25 Carlos O'Donell <carlos@redhat.com>
1909
02eec681
CD
1910 * locale/programs/record-status.h: Define globals, and function
1911 prototypes. Move function bodies...
1912 * locale/programs/record-status.c: ... to here. New file.
1913 * iconv/Makefile (iconv_prog-modules): Add record-status.
1914 * locale/Makefile (lib-modules): Likewise.
1915 * iconv/iconv_prog.c: Remove verbose.
1916 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
1917 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
1918 record a warning about ASCII compatibility.
1919 * locale/programs/ld-monetary.c (monetary_finish): If
1920 warn_int_curr_symbol is true then record a warning about the symbol
1921 not being in our ISO 4217 list.
1922 * locale/programs/locale.c: Include record-status.h. Remove verbose.
1923 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
1924 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
1925 (OPT_NO_WARN): Define.
1926 (OPT_WARN): Define.
1927 (options): Add entry for --no-warnings, and --warnings.
1928 (set_warnings): New function to enable/disable warnings.
1929 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
1930 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
1931 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
1932 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
1933 Pass flags to generate_locale.
1934 (generate_locale): Accept new flag argument and pass it to localedef
1935 invocation.
1936 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
1937 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
1938
56fa555a
CD
1939 * localedata/Makefile (test-input-data): Use full file name.
1940 * localedata/da_DK.in: Rename to...
1941 * localedata/da_DK.ISO-8859-1.in: ...this.
1942 * localedata/de_DE.in: Rename to...
1943 * localedata/de_DE.ISO-8859-1.in: ...this.
1944 * localedata/en_US.in: Rename to...
1945 * localedata/en_US.ISO-8859-1.in: ...this.
1946 * localedata/fr_FR.in: Rename to...
1947 * localedata/fr_FR.UTF-8.in: ... this.
1948 * localedata/hr_HR.in: Rename to...
1949 * localedata/hr_HR.ISO-8859-2.in: ...this.
1950 * localedata/hu_HU.in: Rename to...
1951 * localedata/hu_HU.UTF-8.in: ...this.
1952 * localedata/si_LK.in: Rename to...
1953 * localedata/si_LK.UTF-8.in: ...this.
1954 * localedata/sv_SE.in: Rename to...
1955 * localedata/sv_SE.ISO-8859-1.in: ...this.
1956 * localedata/tr_TR.in: Rename to...
1957 * localedata/tr_TR.UTF-8.in: ...this.
1958 * localedata/uk_UA.in: Rename to...
1959 * localedata/uk_UA.UTF-8.in: ...this.
1960 * localedata/sort-test.sh: Test file is locale name with the
1961 suffix.
1962
337ff3c5
CD
1963 * localedata/unicode-gen/Makefile (check_i18n): Rename to
1964 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
1965 file.
1966 * localedata/locales/i18n_ctype: Regenerate.
1967 * localedata/locales/tr_TR: Likewise.
1968 * localedata/locales/translit_circle: Likewise.
1969 * localedata/locales/translit_cjk_compat: Likewise.
1970 * localedata/locales/translit_combining: Likewise.
1971 * localedata/locales/translit_compat: Likewise.
1972 * localedata/locales/translit_font: Likewise.
1973 * localedata/locales/translit_fraction: Likewise.
1974
63da5cd4
RS
19752017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1976
1977 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
1978 lxvd2x/stxvd2x with lvx/stvx.
1979 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
1980
a122dbfb
L
19812017-10-25 H.J. Lu <hongjiu.lu@intel.com>
1982
1983 * include/alloc_buffer.h: Replace "if if " with "if " in
1984 comments.
1985 * sysdeps/mips/memcpy.S: Likkewise.
1986 * sysdeps/mips/memset.S: Likewise.
1987 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1988 Likewise.
1989 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
1990 Likewise.
1991 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
1992 Likewise.
1993
9be7530c
MF
19942017-10-25 Mike FABIAN <mfabian@redhat.com>
1995
1996 [BZ #15261]
1997 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
1998 yesexpr and noexpr.
1999 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
2000 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
2001 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
2002 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
2003 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
2004 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
2005 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
2006
6ccbf6ff
MF
20072017-10-25 Mike FABIAN <mfabian@redhat.com>
2008
2009 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
2010 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
2011 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
2012 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
2013 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
2014 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
2015 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
2016 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
2017 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
2018 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
2019 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
2020 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
2021
58b1a7ea
MF
20222017-10-25 Mike FABIAN <mfabian@redhat.com>
2023
2024 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
2025 as possible for better readability of the source.
2026 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
2027 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
2028 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
2029 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
2030 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
2031 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
2032 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
2033 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
2034 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
2035 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
2036 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
2037 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
2038 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
2039 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
2040 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
2041 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
2042 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
2043 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
2044 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
2045 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
2046 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
2047 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
2048 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
2049 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
2050 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
2051 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
2052 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
2053 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
2054 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
2055 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
2056 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
2057 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
2058 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
2059 * localedata/locales/en_US (LC_MESSAGES): Likewise.
2060 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
2061 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
2062 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
2063 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
2064 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
2065 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
2066 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
2067 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
2068 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
2069 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
2070 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
2071 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
2072 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
2073 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
2074 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
2075 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
2076 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
2077 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
2078 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
2079 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
2080 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
2081 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
2082 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
2083 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
2084 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
2085 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
2086 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
2087 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
2088 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
2089 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
2090 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
2091 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
2092 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
2093 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
2094 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
2095 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
2096 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
2097 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
2098 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
2099 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
2100 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
2101 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
2102 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
2103 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
2104 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
2105 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
2106 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
2107 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
2108 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
2109 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
2110 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
2111 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
2112 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
2113 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
2114 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
2115 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
2116 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
2117 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
2118 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
2119 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
2120 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
2121 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
2122 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
2123 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
2124 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
2125 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
2126 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
2127 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
2128 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
2129 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
2130 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
2131 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
2132 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
2133 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
2134 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
2135 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
2136 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
2137 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
2138 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
2139 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
2140 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
2141 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
2142 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
2143 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
2144 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
2145 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
2146 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
2147 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
2148 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
2149 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
2150 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
2151 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
2152 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
2153 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
2154 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
2155 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
2156 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
2157 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
2158 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
2159 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
2160 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
2161 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
2162 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
2163 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
2164 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
2165 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
2166 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
2167 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
2168 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
2169 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
2170 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
2171 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
2172 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
2173 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
2174 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
2175 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
2176 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
2177 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
2178 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
2179 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
2180 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
2181 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
2182 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
2183 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
2184 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
2185 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
2186 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
2187 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
2188 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
2189 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
2190 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
2191 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
2192 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
2193 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
2194 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
2195 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
2196 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
2197 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
2198 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
2199 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
2200
17e78edb
MF
22012017-10-25 Mike FABIAN <mfabian@redhat.com>
2202
2203 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
2204 (Use first letters of yesstr and nostr correctly instead of using
2205 full words).
2206
74e7284f
MF
22072017-10-25 Mike FABIAN <mfabian@redhat.com>
2208
2209 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
2210 (Use first letters of yesstr and nostr correctly).
2211
b41a0ff1
MF
22122017-10-25 Mike FABIAN <mfabian@redhat.com>
2213
2214 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
2215 also check for the first characters of yesstr and nostr.
2216 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
2217 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
2218
d971f380
MF
22192017-10-25 Mike FABIAN <mfabian@redhat.com>
2220
2221 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
2222 also check for Chinese characters.
2223
effc9e1d
MF
22242017-10-25 Mike FABIAN <mfabian@redhat.com>
2225
2226 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
2227 match also for the contents of yesstr and nostr. As the first letter
2228 of yesstr and nostr is equal, checking only for the first letter
2229 is not enough.
2230
10320881
MF
22312017-10-25 Mike FABIAN <mfabian@redhat.com>
2232
2233 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
2234 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
2235
d8682a15
MF
22362017-10-25 Mike FABIAN <mfabian@redhat.com>
2237
2238 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
2239 of main contributor.
2240
1bfb86ae
MF
22412017-10-25 Mike FABIAN <mfabian@redhat.com>
2242
2243 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
2244 instead of using English.
2245
da33d60b
MF
22462017-10-25 Mike FABIAN <mfabian@redhat.com>
2247
2248 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
2249 by including the first letters of nostr and yesexpr in the regexp.
2250 Also make it more readable by using ASCII where possible.
2251
725bbb3e
MF
22522017-10-25 Mike FABIAN <mfabian@redhat.com>
2253
2254 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
2255 the first letter of nostr in the regexp. It agrees with CLDR now.
2256 Also make it more readable by using ASCII where possible.
2257
fe043d8a
MF
22582017-10-24 Mike FABIAN <mfabian@redhat.com>
2259
2260 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
2261 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
2262 these strings contain a U+17D6 (which somewhat looks like a colon)
2263 instead of a real colon to separate the full words for “yes”
2264 and “no” from the single letter responses.
2265
360a8df3
MF
22662017-10-24 Mike FABIAN <mfabian@redhat.com>
2267
2268 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
2269 it agree with CLDR (include the first letter of yesstr).
2270 Also make it more readable by using ASCII where possible.
2271
bab7b6b0
MF
22722017-10-24 Mike FABIAN <mfabian@redhat.com>
2273
2274 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
2275 and improve yesexpr and noexpr. The yesstr and nostr apparently
2276 came from CLDR. And CLDR has a bug there: these strings contain
2277 a U+0903 (which looks like a colon) instead of a real colon
2278 to separate the full words for “yes” and “no” from the single
2279 letter responses.
2280
3e79f758
MF
22812017-10-24 Mike FABIAN <mfabian@redhat.com>
2282
2283 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
2284 letters of the full yesstr and nostr in yesexpr and noexpr.
2285
4960c879
MF
22862017-10-24 Mike FABIAN <mfabian@redhat.com>
2287
2288 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
2289 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
2290 * localedata/locales/an_ES: Make source more readable by using ASCII
2291 where possible.
2292
b06a054f
MF
22932017-10-24 Mike FABIAN <mfabian@redhat.com>
2294
2295 [BZ #20952]
2296 * localedata/locales/yuw_PG: New file.
2297 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
2298 * locale/iso-639.def: Add Yau (Uruwa).
2299
905a7725
WD
23002017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2301
2302 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
2303
3f6bb8a3
WD
23042017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2305
2306 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
2307 (__libc_realloc): Likewise.
2308 (_mid_memalign): Likewise.
2309 (__libc_calloc): Likewise.
2310
1d479c8c
MF
23112017-10-23 Mike FABIAN <mfabian@redhat.com>
2312
2313 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
2314 by adding the generic +1 and -0 as in all other locales.
2315 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
2316 day names and make it more readable by using ASCII where possible.
2317
91c3985c
JM
23182017-10-24 Joseph Myers <joseph@codesourcery.com>
2319
2320 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
2321 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
2322
aa95a241
AZ
23232017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2324
2325 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
2326 WNOHANG in waitpid call.
2327
db9bab09
SP
23282017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
2329
a2e0a7f1
SP
2330 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
2331 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
2332
db9bab09
SP
2333 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
2334 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
2335 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
2336 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
2337 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
2338 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
2339 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
2340 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
2341 variables.
2342
5062680c
MC
23432017-10-23 Michael Collison <michael.collison@arm.com>
2344
2345 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
2346 with __builtin_sqrt.
2347 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
2348 with __builtin_sqrtf.
2349 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
2350 with __builtin_ceil.
2351 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
2352 with __builtin_ceilf.
2353 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
2354 with __builtin_floor.
2355 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
2356 with __builtin_floorf.
2357 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
2358 with __builtin_fma.
2359 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
2360 with __builtin_fmaf.
2361 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
2362 with __builtin_fmax.
2363 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
2364 with __builtin_fmaxf.
2365 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
2366 with __builtin_fmin.
2367 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
2368 with __builtin_fminf.
2369 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
2370 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
2371 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
2372 with builtin_rint and conversion to int.
2373 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
2374 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
2375 with builtin_llround.
2376 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
2377 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
2378 with builtin_rint and conversion to long int.
2379 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
2380 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
2381 with builtin_lround.
2382 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
2383 with builtin_lroundf.
2384 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
2385 statements with __builtin_nearbyint.
2386 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
2387 statements with __builtin_nearbyintf.
2388 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
2389 with __builtin_rint.
2390 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
2391 with __builtin_rintf.
2392 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
2393 with __builtin_round.
2394 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
2395 with __builtin_roundf.
2396 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
2397 with __builtin_trunc.
2398 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
2399 with __builtin_truncf.
be080b6c
SN
2400 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
2401 and s_l[l]round[f].c too.
5062680c 2402
174935af
AM
24032017-10-23 Alan Modra <amodra@gmail.com>
2404
2405 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
2406 Adjust stack after restoring regs. Add missing LR cfi_restore.
2407
750a0e49
AM
24082017-10-23 Alan Modra <amodra@gmail.com>
2409
2410 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
2411 Move LR save and frame setup/teardown and LR restore to
2412 immediately around memset call. Provide cfi.
2413
5313581c
L
24142017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2415
2416 * sysdeps/i386/fpu/e_powf.S: Removed.
2417 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
2418 * sysdeps/i386/fpu/w_powf.c: Likewise.
2419 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
2420 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2421 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2422 Add e_powf-sse2.
2423 (CFLAGS-e_powf-sse2.c): New.
2424 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
2425 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
2426
6089a3ee
L
24272017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2428
2429 * sysdeps/i386/fpu/e_log2f.S: Removed.
2430 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
2431 * sysdeps/i386/fpu/w_log2f.c: Likewise.
2432 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
2433 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2434 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2435 Add e_log2f-sse2.
2436 (CFLAGS-e_log2f-sse2.c): New.
2437 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
2438 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
2439
80bb5935
L
24402017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2441
2442 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2443 Add e_powf-fma.
2444 (CFLAGS-e_powf-fma.c): New.
2445 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
2446 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
2447
5c7adbd8
L
24482017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2449
2450 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2451 Add e_log2f-fma.
2452 (CFLAGS-e_log2f-fma.c): New.
2453 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
2454 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
2455
0ccc7153
L
24562017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2457
2458 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2459 Add e_logf-fma.
2460 (CFLAGS-e_logf-fma.c): New.
2461 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
2462 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
2463
fe596486
L
24642017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2465
2466 * sysdeps/i386/fpu/e_logf.S: Removed.
2467 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
2468 * sysdeps/i386/fpu/w_logf.c: Likewise.
2469 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
2470 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
2471 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2472 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2473 Add e_logf-sse2.
2474 (CFLAGS-e_logf-sse2.c): New.
2475 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
2476 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
2477
7eda65f6
L
24782017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2479
2480 * sysdeps/i386/fpu/e_exp2f.S: Removed.
2481 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
2482 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
2483 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2484 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2485 Add e_exp2f-sse2.
2486 (CFLAGS-e_exp2f-sse2.c): New.
2487 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
2488 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
2489
5d15c969
L
24902017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2491
2492 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2493 Add e_exp2f-fma.
2494 (CFLAGS-e_exp2f-fma.c): New.
2495 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
2496 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
2497
b2f6137e
L
24982017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2499
2500 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
2501 * sysdeps/i386/fpu/e_expf.S: Likewise.
2502 * sysdeps/i386/fpu/math_errf.c: Likewise.
2503 * sysdeps/i386/fpu/w_expf.c: Likewise.
2504 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
2505 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2506 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
2507 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
2508 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2509 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
2510 Remove e_expf-ia32.
2511 (CFLAGS-e_expf-sse2.c): New.
2512 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
2513 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
2514
e1f59beb
L
25152017-10-22 H.J. Lu <hongjiu.lu@intel.com>
2516
2517 * sysdeps/x86_64/fpu/e_expf.S: Removed.
2518 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
2519 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
2520 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
2521 e_expf.c.
2522 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
2523 New.
2524 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
2525 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
2526 Renamed to ...
2527 (__redirect_expf): This.
2528 (SYMBOL_NAME): Changed to expf.
2529 (__ieee754_expf): Renamed to ...
2530 (__expf): This.
2531 (__GI___expf): This.
2532 (__ieee754_expf): Add strong_alias.
2533 (__expf_finite): Likewise.
2534 (__expf): New.
2535 Include <sysdeps/ieee754/flt-32/e_expf.c>.
2536
a159b53f
PE
25372017-10-22 Paul Eggert <eggert@cs.ucla.edu>
2538
2539 [BZ #22332]
2540 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
2541 unescaping.
2542
e80fc1fc
FW
25432017-10-21 Florian Weimer <fweimer@redhat.com>
2544
2545 * posix/Makefile (tests): Add tst-glob-tilde.
2546 (tests-special): Add tst-glob-tilde-mem.out
2547 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
2548 (tst-glob-tilde-mem.out): Add mtrace check.
2549 * posix/tst-glob-tilde.c: New file.
2550
797ba44b
JM
25512017-10-20 Joseph Myers <joseph@codesourcery.com>
2552
2553 * bits/floatn-common.h: New file.
2554 * math/Makefile (headers): Add bits/floatn-common.h.
2555 * bits/floatn.h: Include <bits/floatn-common.h>.
2556 * sysdeps/ia64/bits/floatn.h: Likewise.
2557 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
2558 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
2559 * sysdeps/powerpc/bits/floatn.h: Likewise.
2560 * sysdeps/x86/bits/floatn.h: Likewise.
2561
fe05e1cb
AZ
25622017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2563
8f6f5362
AZ
2564 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
2565 indicates whether compiler emits an warning for alias for
2566 functions with incompatible types.
2567
fe05e1cb
AZ
2568 [BZ #22273]
2569 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
2570 the auxiliary process is terminated by a signal before calling _exit
2571 or execve.
2572
b52b0d79
L
25732017-10-20 H.J. Lu <hongjiu.lu@intel.com>
2574
2575 [BZ #21265]
2576 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
2577 New.
2578 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
2579 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
2580 and bit_arch_XSAVEC_Usable if needed.
2581 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
2582 and bit_arch_Use_dl_runtime_resolve_opt.
2583 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
2584 Removed.
2585 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
2586 (bit_arch_Prefer_No_AVX512): Updated.
2587 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
2588 (bit_arch_XSAVEC_Usable): New.
2589 (STATE_SAVE_OFFSET): Likewise.
2590 (STATE_SAVE_MASK): Likewise.
2591 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
2592 (cpu_features): Add xsave_state_size and xsave_state_full_size.
2593 (index_arch_Use_dl_runtime_resolve_opt): Removed.
2594 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
2595 (index_arch_XSAVEC_Usable): New.
2596 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
2597 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
2598 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
2599 is enabled.
2600 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
2601 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
2602 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
2603 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
2604 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
2605 _dl_runtime_resolve_xsavec.
2606 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
2607 Removed.
2608 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
2609 instead of VEC_SIZE.
2610 (REGISTER_SAVE_BND0): Removed.
2611 (REGISTER_SAVE_BND1): Likewise.
2612 (REGISTER_SAVE_BND3): Likewise.
2613 (REGISTER_SAVE_RAX): Always defined to 0.
2614 (VMOV): Removed.
2615 (_dl_runtime_resolve_avx): Likewise.
2616 (_dl_runtime_resolve_avx_slow): Likewise.
2617 (_dl_runtime_resolve_avx_opt): Likewise.
2618 (_dl_runtime_resolve_avx512): Likewise.
2619 (_dl_runtime_resolve_avx512_opt): Likewise.
2620 (_dl_runtime_resolve_sse): Likewise.
2621 (_dl_runtime_resolve_sse_vex): Likewise.
2622 (USE_FXSAVE): New.
2623 (_dl_runtime_resolve_fxsave): Likewise.
2624 (USE_XSAVE): Likewise.
2625 (_dl_runtime_resolve_xsave): Likewise.
2626 (USE_XSAVEC): Likewise.
2627 (_dl_runtime_resolve_xsavec): Likewise.
2628 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
2629 Removed.
2630 (_dl_runtime_resolve_avx512_opt): Likewise.
2631 (_dl_runtime_resolve_avx): Likewise.
2632 (_dl_runtime_resolve_avx_opt): Likewise.
2633 (_dl_runtime_resolve_sse): Likewise.
2634 (_dl_runtime_resolve_sse_vex): Likewise.
2635 (_dl_runtime_resolve_fxsave): New.
2636 (_dl_runtime_resolve_xsave): Likewise.
2637 (_dl_runtime_resolve_xsavec): Likewise.
2638
c369d66e
PE
26392017-10-20 Paul Eggert <eggert@cs.ucla.edu>
2640
2641 [BZ #22320]
2642 CVE-2017-15670
2643 * posix/glob.c (__glob): Fix one-byte overflow.
2644
6d43de4b
WD
26452017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
2646
2647 * malloc/malloc.c (sysdep-cancel.h): Add include.
2648
a15d53e2
WD
26492017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
2650
2651 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
2652
b9a558e7
WH
26532017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
2654
2655 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
2656 (tests): Remove $(objpfx)ga_test depdendency.
2657 * resolv/ga_test.c: Remove file.
2658
b6b08b8e
MF
26592017-10-20 Mike FABIAN <mfabian@redhat.com>
2660
2661 [BZ #18812]
2662 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
2663 * localedata/locales/kab_DZ: New file.
2664
9ba7e810
L
26652017-10-20 H.J. Lu <hongjiu.lu@intel.com>
2666
2667 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
2668 _dl_relocate_static_pie instead of _dl_start to compute load
2669 address in static PIE.
2670
4027a4fd
L
26712017-10-20 H.J. Lu <hongjiu.lu@intel.com>
2672
2673 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
2674
2f9314b4
MF
26752017-10-20 Mike FABIAN <mfabian@redhat.com>
2676
2677 [BZ #13605]
2678 * localedata/SUPPORTED: Add shn_MM/UTF-8.
2679 * localedata/locales/shn_MM: New file.
2680
63b4baa4
FW
26812017-10-20 Florian Weimer <fweimer@redhat.com>
2682
2683 [BZ #22321]
2684 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
2685 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
2686 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
2687 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
2688 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
2689 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
2690
95ccb619
L
26912017-10-19 H.J. Lu <hongjiu.lu@intel.com>
2692
2693 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2694
37bb78cb
JM
26952017-10-19 Joseph Myers <joseph@codesourcery.com>
2696
76f2ed92
JM
2697 * sysdeps/mips/ieee754/bits/floatn.h: New file.
2698
37bb78cb
JM
2699 [BZ #22322]
2700 * sysdeps/mips/bits/long-double.h: Move to ....
2701 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
2702
d74e6f6c
WD
27032017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
2704
2705 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
2706
4d916f0f
L
27072017-10-19 Valery Reznic <valery_reznic@yahoo.com>
2708 H.J. Lu <hongjiu.lu@intel.com>
2709
2710 [BZ #22299]
2711 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
2712 GLRO(dl_platform) to NULL.
2713 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
2714 (modules-names): Add tst-platformmod-1 and
2715 x86_64/tst-platformmod-2.
2716 (CFLAGS-tst-platform-1.c): New.
2717 (CFLAGS-tst-platformmod-1.c): Likewise.
2718 (CFLAGS-tst-platformmod-2.c): Likewise.
2719 (LDFLAGS-tst-platformmod-2.so): Likewise.
2720 ($(objpfx)tst-platform-1): Likewise.
2721 ($(objpfx)tst-platform-1.out): Likewise.
2722 (tst-platform-1-ENV): Likewise.
2723 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
2724 * sysdeps/x86_64/tst-platform-1.c: New file.
2725 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
2726 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
2727
4b0fa403
MF
27282017-10-19 Mike FABIAN <mfabian@redhat.com>
2729
2730 [BZ #13994]
2731 * locale/iso-639.def: Add Karbi.
2732 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
2733 * localedata/locales/mjw_IN: New file.
2734
81325b12
JM
27352017-10-18 Joseph Myers <joseph@codesourcery.com>
2736
2737 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
2738 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
2739 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
2740 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
2741 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
2742 (libm_alias_ldouble_other_r): Also create _Float128 alias.
2743 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
2744 <bits/floatn.h>.
2745 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
2746 (libm_alias_ldouble_other_r): Also create _Float128 alias.
2747 * manual/math.texi (Mathematics): Document additional architecture
2748 support for _Float128.
2749 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
2750 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2751 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2752 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2753 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2754 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2755 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2756 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2757 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2758 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2759 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2760 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2761 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2762 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2763 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2764
a68ba2f3
SN
27652017-10-18 Renlin Li <renlin.li@arm.com>
2766
2767 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
2768 _DYNAMIC symbol to calculate load address.
2769
346729f6
PC
27702017-10-18 Paul A. Clarke <pc@us.ibm.com>
2771
2772 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
2773 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
2774 summary bits.
2775 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
2776 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
2777
508b1e71
MF
27782017-10-18 Mike FABIAN <mfabian@redhat.com>
2779
2780 [BZ #16777]
2781 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
2782 and improve readability by using more ASCII.
2783 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
2784 and improve readability by using more ASCII.
2785
2c2245b9
WD
27862017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
2787
2788 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
2789 not all targets support atomics on bool.
2790
13c92696
JM
27912017-10-17 Joseph Myers <joseph@codesourcery.com>
2792
2793 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
2794 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
2795 __f128.
2796 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
2797 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
2798 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
2799 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
2800 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
2801 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
2802
71d85045
AZ
28032017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2804
2805 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
2806 defines.
2807
3381be5c
WD
28082017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
2809
2810 [BZ #22159]
2811 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
2812 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
2813 (do_check_remalloced_chunk): Fix build bug.
2814 (do_check_malloc_state): Add assert that checks arena->top.
2815 (malloc_consolidate): Remove initialization.
2816 (int_mallinfo): Remove call to malloc_consolidate.
2817 (__libc_mallopt): Clarify why malloc_consolidate is needed.
2818
e956075a
WD
28192017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
2820
2821 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
2822 (have_fastchunks): Remove.
2823 (clear_fastchunks): Remove.
2824 (set_fastchunks): Remove.
2825 (malloc_state): Add have_fastchunks.
2826 (malloc_init_state): Use have_fastchunks.
2827 (do_check_malloc_state): Remove incorrect invariant checks.
2828 (_int_malloc): Use have_fastchunks.
2829 (_int_free): Likewise.
2830 (malloc_consolidate): Likewise.
2831
e4dd4ace
WD
28322017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
2833
2834 * malloc/malloc.c (tcache_put): Inline.
2835 (tcache_get): Inline.
2836
5bf58bc7
AJ
28372017-10-17 Jordi Mallach <jordi@gnu.org>
2838
2839 Aurelien Jarno <aurelien@aurel32.net>
2840 [BZ #2522]
2841 * localedata/locales/ca_ES@valencia: New file.
2842 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
2843
386e1c26
RN
28442017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
2845
2846 [BZ #22296]
2847 * math/math.h: Let signbit use the builtin in C++ mode with gcc
2848 < 6.x
2849
4e17c78e
AZ
28502017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2851
3d265601
AZ
2852 * scripts/build-many-glibcs.py (Context.add_all_configs):
2853 Add arm-linux-gnueabihf multiarch extra_glibcs.
2854
4e17c78e
AZ
2855 * sysdeps/generic/ifunc-init.h: New file.
2856 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
2857
56a752ab
MF
28582017-10-17 Mike FABIAN <mfabian@redhat.com>
2859
2860 [BZ #22019]
2861 * localedata/locales/el_GR: Set n_cs_precedes to 0.
2862 * localedata/locales/el_CY: copy "el_GR" because it is identical.
2863 * stdlib/tst-strfmon_l.c: adapt test case.
2864
c38a4bfd
JM
28652017-10-16 Joseph Myers <joseph@codesourcery.com>
2866
2867 * sysdeps/generic/float128-abi.h: New file.
2868 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
2869 non-__prefixed symbols to ....
2870 * math/Versions: ... here. Include <float128-abi.h>.
2871 * stdlib/Versions ... and here. Include <float128-abi.h>
2872
76009b26
FW
28732017-10-16 Florian Weimer <fweimer@redhat.com>
2874
2875 * version.h (VERSION): Switch to ".9000" as the development
2876 version suffix.
2877
7ece6cd5
FW
28782017-10-16 Florian Weimer <fweimer@redhat.com>
2879
2880 [BZ #22050]
2881 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
2882 compat_symbol_reference to access non-default version.
2883
d8287b36
FW
28842017-10-16 Florian Weimer <fweimer@redhat.com>
2885
2886 * malloc/Makefile (others-extras): Set to mcheck-init.o.
2887
3480ddc4
CD
28882017-10-16 Carlos O'Donell <carlos@redhat.com>
2889
2890 * include/shlib-compat.h (compat_symbol_reference): Update
2891 comment.
2892
02010e79
JM
28932017-10-16 Joseph Myers <joseph@codesourcery.com>
2894
596f7013
JM
2895 * math/Makefile (test-types): Add
2896 $(type-float128-$(float128-alias-fcts)).
2897 * math/test-float128.h (TYPE_STR): Define conditional on
2898 [FLT128_MANT_DIG == LDBL_MANT_DIG].
2899 (ULP_IDX): Likewise.
2900 (ULP_I_IDX): Likewise.
2901
02010e79
JM
2902 * stdlib/strtold.c: Include <bits/floatn.h>
2903 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
2904 and later undefine as macro. Define as weak alias if
2905 [!USE_WIDE_CHAR].
2906 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
2907 and later undefine as macro. Define as weak alias if
2908 [USE_WIDE_CHAR].
2909 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
2910 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
2911 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
2912 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
2913 Define and later undefine as macro. Define as weak alias if
2914 [USE_WIDE_CHAR].
2915 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
2916 <bits/floatn.h>.
2917 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
2918 Define and later undefine as macro. Define as weak alias if
2919 [!USE_WIDE_CHAR].
2920 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
2921 Define and later undefine as macro. Define as weak alias if
2922 [USE_WIDE_CHAR].
2923
ea91c315
CD
29242017-10-15 Carlos O'Donell <carlos@redhat.com>
2925
2926 * localedata/collate-test.c (allocate_arrays): Don't use \n in
2927 record_verbose messages.
2928
8e57c943
L
29292017-10-15 H.J. Lu <hongjiu.lu@intel.com>
2930
2931 [BZ #22052]
2932 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
2933 to silence -O3 -Wall warning with GCC 7.
2934
a4777c46
L
29352017-10-14 H.J. Lu <hongjiu.lu@intel.com>
2936
2937 * Makeconfig (+link-static-before-libc): Use the first of
2938 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
2939 * gmon/Makefile (tests): Add tst-gmon-static.
2940 (tests-static): Likewise.
2941 (CFLAGS-tst-gmon-static.c): New.
2942 (CRT-tst-gmon-static): Likewise.
2943 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
2944 (tst-gmon-static-ENV): Likewise.
2945 (tests-special): Likewise.
2946 ($(objpfx)tst-gmon-static.out): Likewise.
2947 (clean-tst-gmon-static-data): Likewise.
2948 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
2949 * gmon/tst-gmon-static-gprof.sh: New file.
2950 * gmon/tst-gmon-static.c: Likewise.
2951
bc3821bb
CD
29522017-10-13 Carlos O'Donell <carlos@redhat.com>
2953
2954 [BZ #22295]
2955 * locale/programs/linereader.c (get_string): Don't warn on
2956 non-symbolic character.
2957
a3e23a2c
CD
2958 [BZ #22294]
2959 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
2960 int_curr_symbol.
2961
f16491eb
CD
2962 [BZ #22292]
2963 * locale/programs/record-status.h: New file
2964 * locale/programs/locale.c: Add comment.
2965 * locale/programs/charmap-dir.c: Don't include error.h.
2966 (charmap_opendir): Use record_error.
2967 * locale/programs/charmap.c: Don't include error.h.
2968 (charmap_read): Use record_error, and record_warning.
2969 (parse_charmap): Likewise.
2970 * locale/programs/ld-address.c: Don't include error.h.
2971 (address_finish): Use record_error, and record_warning.
2972 * locale/programs/ld-collate.c: Don't include error.h.
2973 (collate_finish): Use record_error, and record_error_at_line.
2974 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
2975 (ctype_class_new): Likewise.
2976 (ctype_map_new): Likewise.
2977 (set_one_default): Likewise.
2978 (set_class_defaults): Likewise.
2979 (translit_flatten): Likewise.
2980 (allocate_arrays): Use record_error, and record_verbose.
2981 * locale/programs/ld-identification.c: Don't include error.h.
2982 (indentation_finish): Use record_error and record_warning.
2983 * locale/programs/ld-measurement.c: Don't include error.h.
2984 (measurement_finish): Use record_error.
2985 * locale/programs/ld-messages.c
2986 (message_finish): Likewise.
2987 * locale/programs/ld-monetary.c
2988 (monetary_finish): Likewise.
2989 * locale/programs/ld-name.c (name_finish): Use record_error
2990 and record_warning.
2991 * locale/programs/ld-numeric.c
2992 (numeric_finish): Use record_error.
2993 * locale/programs/ld-paper.c: Don't include error.h.
2994 (paper_finish): Use record_error.
2995 * locale/programs/ld-telephone.c: Don't include error.h.
2996 (telephone_finish): Use record_error.
2997 * locale/programs/ld-time.c (time_finish): Likewise.
2998 * locale/programs/linereader.h (lr_error): Make inline func.
2999 * locale/programs/localedef.c: Define recorded_warning_count,
3000 and recorded_error_count.
3001 (main): Use record_error. Use recorded_error_count and
3002 recorded_warning_count to issue correct error returns.
3003 (add_to_readlist): Use record_error.
3004 (find_locale): Likewise.
3005 (load_locale): Likewise.
3006 * locale/programs/localedef.h: Remove be_quiet
3007 and WITH_CUR_LOCALE.
3008 * locale/programs/locarchive.c (compare_from_file): Use
3009 record_error.
3010 * locale/programs/locfile.c (write_locale_data): Use
3011 record_error.
3012 * locale/programs/repertoire.c: Dont include error.h.
3013 (repertoire_complain): Use record_error.
3014 * localedata/tst-fmon.sh: Expect failures from localedef.
3015 * localedata/tst-locale.sh: Likewise.
3016 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
3017
8dc8be75
CD
3018 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
3019 (REPORTS): Likewise.
3020 (check): Likewise.
3021 (i18n): Rename to...
3022 (i18n_ctype): ...this.
3023 (i18n-report): Rename to...
3024 (i18n_ctype-report): ...this.
3025 * localedata/locales/i18n_ctype: Regenerate.
3026 * localedata/locales/i18n: copy i18n_ctype.
3027
f8718a9e
JM
30282017-10-13 Joseph Myers <joseph@codesourcery.com>
3029
18c08b96
JM
3030 * stdlib/strfroml.c: Include <bits/floatn.h>.
3031 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
3032 Define before include of <stdlib.h> and undefine afterwards, then
3033 define as weak alias.
3034
f8718a9e
JM
3035 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
3036 Undefine and restore default definition. Use
3037 libm_alias_ldouble_other.
3038
e4f530da
PZ
30392017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
3040
3041 [BZ #22153]
3042 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
3043 in coredumps.
3044
86445888
JC
30452017-10-13 James Clarke <jrtc27@jrtc27.com>
3046
3047 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
3048 Assign sym_map to be map for local symbols, as TLS relocations
3049 use sym_map to determine whether the symbol is defined and to
3050 extract the TLS information.
3051 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3052 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3053
179dcdb7
TMQMF
30542017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3055
e8dbd6a3
TMQMF
3056 [BZ #22189]
3057 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
3058 (math_force_eval): Add powerpc version.
3059
179dcdb7
TMQMF
3060 [BZ #22142]
3061 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
3062 -DBL_MAX.
3063 (do_test): Likewise.
3064 * stdio-common/tst-printf.sh: Likewise.
3065 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
3066 ifdef clause in order to set the carry bit right. Replace r0 by
3067 0 without changing the behavior.
3068
7d25d410
JM
30692017-10-13 Joseph Myers <joseph@codesourcery.com>
3070
006e7664
JM
3071 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
3072 <libm-alias-ldouble.h>.
3073 (fabsl): Define using libm_alias_ldouble.
3074 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
3075 <libm-alias-ldouble.h>.
3076 (fabsl): Define using libm_alias_ldouble.
3077
1def91b3
JM
3078 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
3079 Remove conditional code.
3080
7d25d410
JM
3081 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
3082 Rename to __clog10_internal_l.
3083 (__clog10_internal_l): Define aliases using
3084 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
3085 with __clog10.
3086
077ee129
RS
30872017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3088
3089 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
3090 * benchtests/sincosf-inputs: New file.
3091 * benchtests/cosf-inputs: New file.
3092 * benchtests/sinf-inputs: New file.
3093
5ba41de9
SN
30942017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
3095
3096 * posix/tst-spawn.c (do_test): Wait for both children.
3097
d165ca64
L
30982017-10-12 H.J. Lu <hongjiu.lu@intel.com>
3099
3100 [BZ #22284]
3101 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
3102 tests-pie): Add tst-gmon-pie.
3103 (CFLAGS-tst-gmon-pie.c): New.
3104 (CRT-tst-gmon-pie): Likewise.
3105 (tst-gmon-pie-ENV): Likewise.
3106 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
3107 ($(objpfx)tst-gmon-pie.out): Likewise.
3108 (clean-tst-gmon-pie-data): Likewise.
3109 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
3110 * gmon/gmon.c [PIC]: Include <link.h>.
3111 [PIC] (callback): New function.
3112 (write_hist): Add an argument for load address. Subtract load
3113 address from PCs.
3114 (write_call_graph): Likewise.
3115 (write_gmon): Call __dl_iterate_phdr to get load address, pass
3116 it to write_hist and write_call_graph.
7bacdcfc 3117 * gmon/tst-gmon-pie.c: New file.
d165ca64 3118
bc9620d0
JM
31192017-10-11 Joseph Myers <joseph@codesourcery.com>
3120
3121 * math/Makefile (test-types-basic): New variable.
3122 (test-types): Likewise.
3123 (libm-test-support): Use $(test-types) instead of $(types).
3124 (libm-tests-base-normal): Likewise.
3125 (libm-tests-base-finite): Likewise.
3126 (libm-tests-base-inline): Likewise.
3127 (generated): Likewise.
3128 ($(objpfx)libm-test-support-$(t).c): Likewise.
3129 (libm-tests-for-type iterator): Likewise.
3130 (libm-test-support iterator): Likewise.
3131 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
3132 (ulp_idx): Use ULP_IDX.
3133 * math/test-ldouble.h: Include <float.h>.
3134 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
3135 (ULP_IDX): New macro.
3136 (ULP_I_IDX): Likewise.
3137 * math/test-double.h (ULP_IDX): Likewise.
3138 (ULP_I_IDX): Likewise.
3139 * math/test-float.h (ULP_IDX): Likewise.
3140 (ULP_I_IDX): Likewise.
3141 * math/test-float128.h (ULP_IDX): Likewise.
3142 (ULP_I_IDX): Likewise.
3143
09c76a74
AZ
31442017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3145
3146 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
3147 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3148 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3149 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
3150 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3151 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
3152 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
3153 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3154 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3155 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3156 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
3157 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3158 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3159 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3160 (SINGLE_THREAD_BY_GLOBAL): Define.
3161 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
3162 Likewise.
3163 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
3164 Likewise.
3165 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
3166 Likewise.
3167 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
3168 Likewise.
3169 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
3170 (SINGLE_THREAD_BY_GLOBAL): Likewise.
3171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
3172 Likewise.
3173
2faa42da
AS
31742017-10-11 Andreas Schwab <schwab@suse.de>
3175
3176 * nis/Makefile (aux): Remove.
3177 * nscd/Makefile (aux): Add nscd_hash.
3178 (nscd-modules): Likewise.
3179 ($(objpfx)nscd): Don't depend on libnsl.
3180 * nscd/nscd_hash.c: New file.
3181 * nscd/nscd_hash.h: Likewise.
3182 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
3183 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
3184 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
3185 instead of <nis/rpcsvc/nis.h>.
3186 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
3187
d8425e11
FW
31882017-10-11 Florian Weimer <fweimer@redhat.com>
3189
3190 [BZ #22078]
3191 Avoid large NSS buffers with many addresses, aliases.
3192 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
3193 using dynarrays and struct alloc_buffer.
3194 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
3195 (tst-nss-files-hosts-multi): Link with -ldl.
3196 * nss/tst-nss-files-hosts-multi.c: New file.
3197
78e806fd
FW
31982017-10-11 Florian Weimer <fweimer@redhat.com>
3199
3200 [BZ #18023]
3201 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
3202 scratch_buffer. Eliminate gotos.
3203
541f19ba
JM
32042017-10-11 Joseph Myers <joseph@codesourcery.com>
3205
0ff64d3a
JM
3206 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
3207 libm_alias_ldouble_other.
3208 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
3209 undefine and redefine.
3210 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
3211 (exp10l): Do not define here.
3212 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
3213 (weak_alias): Undefine and redefine.
3214 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
3215 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
3216 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
3217 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
3218
541f19ba
JM
3219 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
3220 [!__fma] (fma): Define using libm_alias_double.
3221 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
3222 [!__fmaf] (fmaf): Define using libm_alias_float.
3223 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
3224 (fmal): Define using libm_alias_ldouble.
3225
24b6515d
JM
32262017-10-10 Joseph Myers <joseph@codesourcery.com>
3227
3228 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
3229 New macro.
3230 (libm_alias_double_other): Likewise.
3231 (libm_alias_double_r): Use libm_alias_double_other_r.
3232 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
3233 New macro.
3234 (libm_alias_float_other): Likewise.
3235 (libm_alias_float_r): Use libm_alias_float_other_r.
3236 * sysdeps/generic/libm-alias-float128.h
3237 (libm_alias_float128_other_r): New macro.
3238 (libm_alias_float128_other): Likewise.
3239 (libm_alias_float128_r): Use libm_alias_float128_other_r.
3240 * sysdeps/generic/libm-alias-ldouble.h
3241 (libm_alias_ldouble_other_r): New macro.
3242 (libm_alias_ldouble_other): Likewise.
3243 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
3244 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
3245 (libm_alias_double_other_r): New macro.
3246 (libm_alias_double_other): Likewise.
3247 (libm_alias_double_r): Use libm_alias_double_other_r.
3248 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
3249 (libm_alias_ldouble_other_r): New macro.
3250 (libm_alias_ldouble_other): Likewise.
3251 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
3252 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
3253 [!USE_AS_COMPAT]: Use libm_alias_double_other.
3254 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
3255 [!USE_AS_COMPAT]: Use libm_alias_float_other.
3256 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
3257 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
3258 * math/w_exp2f.c: Use libm_alias_float_other.
3259 * math/w_expf.c: Likewise.
3260 * math/w_log2f.c: Likewise.
3261 * math/w_logf.c: Likewise.
3262 * math/w_powf.c: Likewise.
3263 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
3264 [!__exp2f]: Use libm_alias_float_other.
3265 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
3266 [!__expf]: Use libm_alias_float_other.
3267 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
3268 [!__log2f]: Use libm_alias_float_other.
3269 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
3270 [!__logf]: Use libm_alias_float_other.
3271 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
3272 [!__powf]: Use libm_alias_float_other.
3273
8ed70de2
FW
32742017-10-10 Florian Weimer <fweimer@redhat.com>
3275
3276 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
3277 function.
3278 (_nss_files_gethostbyname3_r): Call it.
3279
a8dce619
JM
32802017-10-09 Joseph Myers <joseph@codesourcery.com>
3281
3282 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
3283 error. Remove default definition of declare_mgen_alias.
3284 [!declare_mgen_alias_r]: Likewise.
3285 * sysdeps/generic/math-type-macros-double.h
3286 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
3287 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
3288 (declare_mgen_alias_r): Likewise.
3289 * sysdeps/generic/math-type-macros-float128.h
3290 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
3291 * sysdeps/generic/math-type-macros-ldouble.h
3292 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
3293 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
3294 macro.
3295 (declare_mgen_alias_r_s): Likewise.
3296 (declare_mgen_alias_r): Likewise.
3297 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
3298 (lgamma_r): Define using libm_alias_double_r.
3299 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
3300 (lgammaf_r): Define using libm_alias_float_r.
3301 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
3302 (lgammal_r): Define using libm_alias_ldouble_r.
3303 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
3304 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3305
bedac136
AZ
33062017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3307
3308 * lib/glob.c (__glob_pattern_type): Remove now-spurious
3309 extern declaration.
3310
c7509db2
JM
33112017-10-09 Joseph Myers <joseph@codesourcery.com>
3312
3313 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
3314
d6c064e9
JW
33152017-10-09 Jonathan Wakely <jwakely@redhat.com>
3316
3317 [BZ #21326]
3318 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
3319 [__cplusplus >= 201103] (__USE_ISOC99): Define.
3320 * math/Makefile (test-math-cxx11): New test.
3321 * math/test-math-cxx11.cc: New file.
3322
98e07420
CB
33232017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
3324
3325 * login/openpty.c (openpty): Close slave pty file descriptor on error.
3326
645ac9aa
CB
3327 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
3328 call to allocate the slave pty file descriptor.
3329
fd3b4e7c
JM
33302017-10-06 Joseph Myers <joseph@codesourcery.com>
3331
f85a176f
JM
3332 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
3333 [!__fma] (fma): Define using libm_alias_double.
3334 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
3335 [!__fma] (fma): Define using libm_alias_double.
3336
fd3b4e7c
JM
3337 * sysdeps/ieee754/float128/float128_private.h: Include
3338 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
3339 (libm_alias_ldouble_r): Undefine and redefine.
3340 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
3341 <libm-alias-ldouble.h>.
3342 (asinhl): Define using libm_alias_ldouble.
3343 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
3344 <libm-alias-ldouble.h>.
3345 (atanl): Define using libm_alias_ldouble.
3346 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
3347 <libm-alias-ldouble.h>.
3348 (cbrtl): Define using libm_alias_ldouble.
3349 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
3350 <libm-alias-ldouble.h>.
3351 (ceill): Define using libm_alias_ldouble.
3352 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
3353 <libm-alias-ldouble.h>.
3354 (copysignl): Define using libm_alias_ldouble.
3355 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
3356 <libm-alias-ldouble.h>.
3357 (cosl): Define using libm_alias_ldouble.
3358 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
3359 <libm-alias-ldouble.h>.
3360 (erfl): Define using libm_alias_ldouble.
3361 (erfcl): Likewise.
3362 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
3363 <libm-alias-ldouble.h>.
3364 (expm1l): Define using libm_alias_ldouble.
3365 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
3366 <libm-alias-ldouble.h>.
3367 (fabsl): Define using libm_alias_ldouble.
3368 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
3369 <libm-alias-ldouble.h>.
3370 (floorl): Define using libm_alias_ldouble.
3371 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
3372 <libm-alias-ldouble.h>.
3373 (fmal): Define using libm_alias_ldouble.
3374 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
3375 <libm-alias-ldouble.h>.
3376 (frexpl): Define using libm_alias_ldouble.
3377 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
3378 libm_alias_ldouble.
3379 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
3380 <libm-alias-ldouble.h>.
3381 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
3382 libm_alias_ldouble.
3383 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
3384 <libm-alias-ldouble.h>.
3385 (getpayloadl): Define using libm_alias_ldouble.
3386 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
3387 <libm-alias-ldouble.h>.
3388 (llrintl): Define using libm_alias_ldouble.
3389 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
3390 <libm-alias-ldouble.h>.
3391 (llroundl): Define using libm_alias_ldouble.
3392 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
3393 <libm-alias-ldouble.h>.
3394 (logbl): Define using libm_alias_ldouble.
3395 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
3396 <libm-alias-ldouble.h>.
3397 (lrintl): Define using libm_alias_ldouble.
3398 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
3399 <libm-alias-ldouble.h>.
3400 (lroundl): Define using libm_alias_ldouble.
3401 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
3402 <libm-alias-ldouble.h>.
3403 (modfl): Define using libm_alias_ldouble.
3404 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
3405 <libm-alias-ldouble.h>.
3406 (nearbyintl): Define using libm_alias_ldouble.
3407 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
3408 <libm-alias-ldouble.h>.
3409 (nextafterl): Define using libm_alias_ldouble.
3410 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
3411 <libm-alias-ldouble.h>.
3412 (nextupl): Define using libm_alias_ldouble.
3413 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
3414 <libm-alias-ldouble.h>.
3415 (remquol): Define using libm_alias_ldouble.
3416 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
3417 <libm-alias-ldouble.h>.
3418 (rintl): Define using libm_alias_ldouble.
3419 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
3420 <libm-alias-ldouble.h>.
3421 (roundevenl): Define using libm_alias_ldouble.
3422 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
3423 <libm-alias-ldouble.h>.
3424 (roundl): Define using libm_alias_ldouble.
3425 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
3426 using libm_alias_ldouble.
3427 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
3428 <libm-alias-ldouble.h>.
3429 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
3430 Define using libm_alias_ldouble.
3431 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
3432 <libm-alias-ldouble.h>.
3433 (sincosl): Define using libm_alias_ldouble.
3434 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
3435 <libm-alias-ldouble.h>.
3436 (sinl): Define using libm_alias_ldouble.
3437 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
3438 <libm-alias-ldouble.h>.
3439 (tanhl): Define using libm_alias_ldouble.
3440 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
3441 <libm-alias-ldouble.h>.
3442 (tanl): Define using libm_alias_ldouble.
3443 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
3444 <libm-alias-ldouble.h>.
3445 (totalorderl): Define using libm_alias_ldouble.
3446 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
3447 <libm-alias-ldouble.h>.
3448 (totalordermagl): Define using libm_alias_ldouble.
3449 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
3450 <libm-alias-ldouble.h>.
3451 (truncl): Define using libm_alias_ldouble.
3452 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
3453 libm_alias_ldouble.
3454 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
3455 libm_alias_ldouble.
3456 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
3457 <libm-alias-ldouble.h>.
3458 (weak_alias): Do not undefine and redefine.
3459 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
3460 (copysignl): Define with long_double_symbol only if [IS_IN
3461 (libc)].
3462 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
3463 <libm-alias-ldouble.h>.
3464 (weak_alias): Do not undefine and redefine.
3465 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
3466 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
3467 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
3468 <libm-alias-ldouble.h>.
3469 (weak_alias): Do not undefine and redefine.
3470 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
3471 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
3472 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
3473 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
3474 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
3475 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
3476 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
3477 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
3478 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
3479 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
3480 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
3481 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
3482 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
3483 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
3484 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
3485 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
3486 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
3487 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
3488 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
3489 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
3490 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
3491 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
3492 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
3493 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
3494 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
3495 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
3496
1e26d351
CD
34972017-10-06 Carlos O'Donell <carlos@redhat.com>
3498
3499 [BZ #22111]
3500 * malloc/malloc.c (tcache_shutting_down): Use bool type.
3501 (tcache_thread_freeres): Set tcache_shutting_down before
3502 freeing the tcache.
3503 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
3504 * malloc/tst-malloc-tcache-leak.c: New file.
3505
d1386762
RS
35062017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3507
3508 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
3509 back to powerpc32 file.
3510 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
3511 (memrchr): Add __memrchr_power8 to ifunc list.
3512 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
3513 extra bytes for unaligned inputs.
3514
6dff1983
JM
35152017-10-06 Joseph Myers <joseph@codesourcery.com>
3516
3517 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
3518 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
3519 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
3520 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3521 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3522
86f9568a
JM
35232017-10-05 Joseph Myers <joseph@codesourcery.com>
3524
0db0b931
JM
3525 * sysdeps/arm/libm-test-ulps: Update.
3526
86f9568a
JM
3527 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
3528 <libm-alias-ldouble.h>.
3529 (asinhl): Define using libm_alias_ldouble.
3530 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
3531 <libm-alias-ldouble.h>.
3532 (cbrtl): Define using libm_alias_ldouble.
3533 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
3534 <libm-alias-ldouble.h>.
3535 (copysignl): Define using libm_alias_ldouble.
3536 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
3537 <libm-alias-ldouble.h>.
3538 (cosl): Define using libm_alias_ldouble.
3539 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
3540 <libm-alias-ldouble.h>.
3541 (erfl): Define using libm_alias_ldouble.
3542 (erfcl): Likewise.
3543 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
3544 <libm-alias-ldouble.h>.
3545 (fmal): Define using libm_alias_ldouble.
3546 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
3547 <libm-alias-ldouble.h>.
3548 (frexpl): Define using libm_alias_ldouble.
3549 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
3550 libm_alias_ldouble.
3551 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
3552 <libm-alias-ldouble.h>.
3553 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
3554 libm_alias_ldouble.
3555 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
3556 <libm-alias-ldouble.h>.
3557 (getpayloadl): Define using libm_alias_ldouble.
3558 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
3559 <libm-alias-ldouble.h>.
3560 (llrintl): Define using libm_alias_ldouble.
3561 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
3562 <libm-alias-ldouble.h>.
3563 (llroundl): Define using libm_alias_ldouble.
3564 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
3565 <libm-alias-ldouble.h>.
3566 (lrintl): Define using libm_alias_ldouble.
3567 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
3568 <libm-alias-ldouble.h>.
3569 (lroundl): Define using libm_alias_ldouble.
3570 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
3571 <libm-alias-ldouble.h>.
3572 (modfl): Define using libm_alias_ldouble.
3573 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
3574 <libm-alias-ldouble.h>.
3575 (nextupl): Define using libm_alias_ldouble.
3576 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
3577 <libm-alias-ldouble.h>.
3578 (remquol): Define using libm_alias_ldouble.
3579 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
3580 <libm-alias-ldouble.h>.
3581 (roundevenl): Define using libm_alias_ldouble.
3582 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
3583 <libm-alias-ldouble.h>.
3584 (roundl): Define using libm_alias_ldouble.
3585 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
3586 using libm_alias_ldouble.
3587 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
3588 <libm-alias-ldouble.h>.
3589 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
3590 <libm-alias-ldouble.h>.
3591 (setpayloadsigl): Define using libm_alias_ldouble.
3592 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
3593 <libm-alias-ldouble.h>.
3594 (sincosl): Define using libm_alias_ldouble.
3595 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
3596 <libm-alias-ldouble.h>.
3597 (sinl): Define using libm_alias_ldouble.
3598 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
3599 <libm-alias-ldouble.h>.
3600 (tanhl): Define using libm_alias_ldouble.
3601 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
3602 <libm-alias-ldouble.h>.
3603 (tanl): Define using libm_alias_ldouble.
3604 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
3605 <libm-alias-ldouble.h>.
3606 (totalorderl): Define using libm_alias_ldouble.
3607 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
3608 <libm-alias-ldouble.h>.
3609 (totalordermagl): Define using libm_alias_ldouble.
3610 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
3611 libm_alias_ldouble.
3612 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
3613 libm_alias_ldouble.
3614
9ec87fd2
SP
36152017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
3616
dd5bc7f1
SP
3617 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
3618 memmove_falkor.
3619 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3620 (__libc_ifunc_impl_list): Likewise.
3621 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
3622 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
3623
5bfb0404
SP
3624 * benchtests/bench-memmove-walk.c: New file.
3625 * benchtests/Makefile (string-benchset): Add it.
3626
36bb8edf
SP
3627 * benchtests/bench-memset-walk.c: New file.
3628 * benchtests/Makefile (string-benchset): Add it.
3629
9ec87fd2
SP
3630 * benchtests/bench-memcpy-walk.c: New file.
3631 * benchtests/Makefile (string-benchset): Add it.
3632
1e9522c6
FW
36332017-10-05 Florian Weimer <fweimer@redhat.com>
3634
3635 nscd: Eliminate compilation time dependency in the build output.
3636 * nscd/nscd_stat.c (STATDATA_VERSION)
3637 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
3638 (STATDATA_VERSION_FULL): New macro definitions.
3639 (compilation): Remove.
3640 (struct statdata): Adjust version member.
3641 (send_stats): Set version from STATDATA_VERSION_FULL.
3642 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
3643
644d3857
JM
36442017-10-05 Joseph Myers <joseph@codesourcery.com>
3645
3646 * configure.ac (--enable-add-ons): Remove option.
3647 (machine): Do not mention add-ons in comment.
3648 (LIBC_PRECONFIGURE): Likewise.
3649 (add_ons): Remove variable and sanity checks and logic to locate
3650 add-ons.
3651 (add_ons_automatic): Remove variable.
3652 (configured_add_ons): Likewise.
3653 (add_ons_sfx): Likewise.
3654 (add_ons_pfx): Likewise.
3655 (add_on_subdirs): Likewise.
3656 (sysnames_add_ons): Likewise. Remove loop over add-ons and
3657 consideration of add-ons in Implies handling.
3658 (sysdeps_add_ons): Likewise.
3659 * configure: Regenerated.
3660 * libidn/configure.ac: Remove.
3661 * libidn/configure: Likewise.
3662 * sysdeps/unix/inet/configure.ac: New file.
3663 * sysdeps/unix/inet/configure: New generated file.
3664 * sysdeps/unix/inet/Subdirs: Add libidn.
3665 * Makeconfig (sysdeps-srcdirs): Remove variable.
3666 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
3667 ($(common-objpfx)config.status): Do not depend on add-on files.
3668 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
3669 comment.
3670 (all-subdirs): Do not include $(add-on-subdirs).
3671 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
3672 * config.make.in (add-ons): Remove variable.
3673 (add-on-subdirs): Likewise.
3674 (sysdeps-add-ons): Likewise.
3675 * manual/Makefile (add-chapters): Remove.
3676 ($(objpfx)texis): Do not depend on $(add-chapters).
3677 (nonexamples): Do not handle $(add-chapters).
3678 (examples): Do not handle $(add-ons).
3679 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
3680 libc-texinfo.sh.
3681 * manual/install.texi (Installation): Do not mention add-ons.
3682 (--enable-add-ons): Do not document configure option.
3683 * INSTALL: Regenerated.
3684 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
3685 * manual/maint.texi (Hierarchy Conventions): Do not mention
3686 add-ons.
3687 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
3688 --enable-add-ons.
3689 * scripts/gen-sorted.awk: Do not handle Subdirs files from
3690 add-ons.
3691 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
3692 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
3693
19f82f35
AS
36942017-10-05 Andreas Schwab <schwab@suse.de>
3695
3696 [BZ #15142]
3697 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
3698 (_IO_flush_all_lockp): Always lock list_all_lock.
3699 (_IO_flush_all_linebuffered): Likewise.
3700 (_IO_unbuffer_all): Likewise.
3701
91e7cf98
FW
37022017-10-05 Florian Weimer <fweimer@redhat.com>
3703
3704 [BZ #15436]
3705 Do not flush stdio streams on abort.
3706 * stdlib/abort.c (fflush): Remove macro definition.
3707 (abort): Remove stages related to stdio flushing.
3708
0c251257
FW
37092017-10-05 Florian Weimer <fweimer@redhat.com>
3710
3711 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
3712
7ea59e3e
SL
37132017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
3714
3715 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3716
84d0e6f0
FW
37172017-10-05 Florian Weimer <fweimer@redhat.com>
3718
3719 * support/support_format_hostent.c (support_format_hostent): Add
3720 more error information for NETDB_INTERNAL.
3721
ee417882
L
37222017-10-04 H.J. Lu <hongjiu.lu@intel.com>
3723
3724 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
3725 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
3726 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
3727 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
3728 AC_DEFINE if multi-arch is enabled.
3729 * sysdeps/i386/configure: Regenerated.
3730
a67029ff
L
37312017-10-04 H.J. Lu <hongjiu.lu@intel.com>
3732
3733 * Makeconfig (+link-static-before-libc): Use
3734 $(DEFAULT-LDFLAGS-$(@F)).
3735 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
3736 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
3737 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
3738
5dba84b3
L
37392017-10-04 H.J. Lu <hongjiu.lu@intel.com>
3740
3741 * elf/Makefile (tests): Add tst-main1.
3742 (modules-names): Add tst-main1mod.
3743 ($(objpfx)tst-main1): New.
3744 (CRT-tst-main1): Likewise.
3745 (LDFLAGS-tst-main1): Likewise.
3746 (LDLIBS-tst-main1): Likewise.
3747 (tst-main1mod.so-no-z-defs): Likewise.
3748 * elf/tst-main1.c: New file.
3749 * elf/tst-main1mod.c: Likewise.
3750
758f1bfa
L
37512017-10-04 H.J. Lu <hongjiu.lu@intel.com>
3752
3753 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
3754
7e16a5d1
JM
37552017-10-04 Joseph Myers <joseph@codesourcery.com>
3756
3757 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
3758 (fma): Define using libm_alias_double.
3759 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
3760 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
3761 <math_ldbl_opt.h>.
3762 (fmal): Do not define as compat symbol here.
3763 * sysdeps/alpha/fpu/s_fma.c: New file.
3764
db4f87ba
SN
37652017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3766
3767 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
3768
72d13ed1
JM
37692017-10-04 Joseph Myers <joseph@codesourcery.com>
3770
32d372d5
JM
3771 [BZ #22229]
3772 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
3773 <math_ldbl_opt.h>
3774 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
3775 and libc.
3776 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
3777 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
3778 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
3779 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
3780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3781 Include <math_ldbl_opt.h>
3782 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
3783 and libc.
3784 (compat_symbol): Undefine and redefine.
3785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
3786 <math_ldbl_opt.h>
3787 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
3788 (compat_symbol): Undefine and redefine.
3789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
3790 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
3791 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
3792 GLIBC_2_1 for libm.
3793 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
3794 GLIBC_2.0 copysignl symbol.
3795 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3796 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
3797
72d13ed1
JM
3798 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
3799
11c4f501
FW
38002017-10-04 Florian Weimer <fweimer@redhat.com>
3801
3802 * scripts/check-local-headers.sh: Ignore nspr4 header file
3803 directory in addition to nspr.
3804
57b4af19
GT
38052017-10-04 Guido Trentalancia <guido@trentalancia.net>
3806
3807 [BZ #17956]
3808 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
3809 * configure: Regenerate.
3810 * crypt/Makefile (nss-cpp-flags): New variable.
3811 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
3812 (CPPFLAGS-md5-crypt.c): Use it.
3813 * scripts/check-local-headers.sh: Ignore nspr header file
3814 directory.
3815
64d1e08e
AS
38162017-10-04 Andreas Schwab <schwab@suse.de>
3817
3818 * nis/Makefile (services): Remove compat.
3819 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
3820 ($(objpfx)libnss_compat.so): Remove rule.
3821 * nis/Versions (libnss_compat): Remove.
3822 * nss/Makefile (services): Add compat.
3823 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
3824 * nss/Versions (libnss_compat): Define.
3825 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
3826 Don't include <rpc/types.h>. Replace bool_t by bool.
3827 * nss/nss_compat/compat-initgroups.c: Likewise.
3828 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
3829 instead of <rpcsrv/ypclnt.h>.
3830 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
3831 yp_get_default_domain.
3832 * nss/nss_compat/compat-pwd.c: Likewise.
3833 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
3834 yp_get_default_domain.
3835 * nss/nss_compat/nisdomain.c: New file.
3836 * nss/nss_compat/nisdomain.h: Likewise.
3837
86c27ade
SN
38382017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3839
3840 [BZ #22244]
3841 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
3842 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3843
8f8f8ef7
SN
38442017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3845
3846 [BZ #22243]
3847 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
3848 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
3849
95577475
L
38502017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3851
3852 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
3853 "movl main@GOTOFF(%ebx), %eax".
3854
02d2d892
L
38552017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3856
3857 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
3858 allow undefined _DYNAMIC in PIE libc.a.
3859 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
3860 Likewse.
3861
0c609d19
L
38622017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3863
3864 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
3865 check _DYNAMIC.
3866
c34a19ed
L
38672017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3868
3869 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
3870 check _DYNAMIC.
3871
cdd4155d
L
38722017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3873
3874 * math/test-math-iscanonical.cc (error): Replace bool with int.
3875
4699cb8b
JM
38762017-10-03 Joseph Myers <joseph@codesourcery.com>
3877
d8f619b3
JM
3878 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
3879 (modf): Define using libm_alias_double, only if [!__modf].
3880 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
3881 <libm-alias-double.h>.
3882 (modf): Define using libm_alias_double, only if [!__modf].
3883 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
3884 compat symbol here.
3885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
3886 (weak_alias): Do not undefine and redefine.
3887 (strong_alias): Likewise.
3888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
3889 (weak_alias): Likewise.
3890 (strong_alias): Likewise.
3891
4699cb8b
JM
3892 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
3893 (logb): Define using libm_alias_double, only if [!__logb].
3894 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
3895 <libm-alias-double.h>.
3896 (logb): Define using libm_alias_double, only if [!__logb].
3897 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
3898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
3899 (weak_alias): Do not undefine and redefine.
3900 (strong_alias): Likewise.
3901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
3902 (weak_alias): Likewise.
3903 (strong_alias): Likewise.
3904
bcc4e4bb
L
39052017-10-03 H.J. Lu <hongjiu.lu@intel.com>
3906
3907 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
3908 Check SHARED instead PIC.
3909
39793865
JM
39102017-10-03 Joseph Myers <joseph@codesourcery.com>
3911
7f1cbdf8
JM
3912 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
3913 [!__fmaf] (fmaf): Define using libm_alias_float.
3914
39793865
JM
3915 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
3916 (frexp): Define using libm_alias_double.
3917 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
3918 <libm-alias-double.h>.
3919 (frexp): Define using libm_alias_double.
3920 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
3921 compat symbol here.
3922
aa0235df
GG
39232017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3924
3925 [BZ #22235]
3926 * math/math.h: Trivial fix for unbalanced parentheses in comment.
3927 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
3928 (CFLAGS-test-math-iscanonical.cc): New variable.
3929 * math/test-math-iscanonical.cc: New file.
3930 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
3931 Provide a C++ implementation based on function overloading,
3932 rather than using __MATH_TG, which uses C-only builtins.
3933 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
3934 Likewise.
3935 * sysdeps/powerpc/powerpc64le/Makefile
3936 (CFLAGS-test-math-iscanonical.cc): New variable.
3937
a1132b5e
JM
39382017-10-03 Joseph Myers <joseph@codesourcery.com>
3939
3940 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
3941 (ceil): Define using libm_alias_double.
3942 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
3943 (floor): Define using libm_alias_double.
3944 * sysdeps/ieee754/dbl-64/s_llround.c: Include
3945 <libm-alias-double.h>.
3946 (llround): Define using libm_alias_double.
3947 * sysdeps/ieee754/dbl-64/s_lround.c: Include
3948 <libm-alias-double.h>.
3949 (lround): Define using libm_alias_double.
3950 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
3951 <libm-alias-double.h>.
3952 (nearbyint): Define using libm_alias_double.
3953 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
3954 <libm-alias-double.h>.
3955 (remquo): Define using libm_alias_double.
3956 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
3957 (rint): Define using libm_alias_double.
3958 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
3959 (round): Define using libm_alias_double.
3960 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
3961 (trunc): Define using libm_alias_double.
3962 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
3963 <libm-alias-double.h>.
3964 (ceil): Define using libm_alias_double.
3965 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
3966 <libm-alias-double.h>.
3967 (floor): Define using libm_alias_double.
3968 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
3969 <libm-alias-double.h>.
3970 (llround): Define using libm_alias_double.
3971 [_LP64] (lround): Likewise.
3972 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
3973 <libm-alias-double.h>.
3974 [!_LP64] (lround): Define using libm_alias_double.
3975 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
3976 <libm-alias-double.h>.
3977 (nearbyint): Define using libm_alias_double.
3978 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
3979 <libm-alias-double.h>.
3980 (remquo): Define using libm_alias_double.
3981 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
3982 <libm-alias-double.h>.
3983 (rint): Define using libm_alias_double.
3984 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
3985 <libm-alias-double.h>.
3986 (round): Define using libm_alias_double.
3987 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
3988 <libm-alias-double.h>.
3989 (trunc): Define using libm_alias_double.
3990 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
3991 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
3992 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
3993 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
3994 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
3995 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
3996 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
3997 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
3998 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
3999
f275f64e
SN
40002017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4001
4002 * math/w_remainder.c: New file.
4003 * math/w_remainderf.c: New file.
4004 * math/w_remainderl.c: New file.
4005
b8818ab5
L
40062017-10-03 H.J. Lu <hongjiu.lu@intel.com>
4007
4008 * elf/rtld.c (BOOTSTRAP_MAP): New.
4009 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
4010 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
4011 Likewise.
4012 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
4013 Likewise.
4014 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
4015 Likewise.
4016
3d1870fa
ST
40172017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4018
4019 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
4020 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
4021 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
4022 rtld_hidden_data_ver): Define to empty.
4023 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
4024 __assert_perror_fail): Likewise.
4025 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
4026 (__rewinddir): Likewise.
4027 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
4028 (__profile_frequency): Likewise.
4029 * include/setjmp.h (__sigsetjmp): Likewise.
4030 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
4031 __libc_sigaction): Likewise.
4032 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
4033 not set hidden attribute.
4034 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
4035 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
4036 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
4037 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
4038 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
4039 __fxstatat64): Likewise.
4040 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
4041 (__uname): Likewise.
4042 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
4043 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
4044 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
4045 (NO_RTLD_HIDDEN): Set.
4046 * sysdeps/mach/hurd/configure: Refresh.
4047 * config.h.in: Refresh.
4048
527cd19c
JM
40492017-10-02 Joseph Myers <joseph@codesourcery.com>
4050
38722448
JM
4051 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
4052 (atan): Define using libm_alias_double.
4053 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
4054 (tan): Define using libm_alias_double.
4055 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
4056 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
4057
527cd19c
JM
4058 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
4059 define as weak alias of __atan. Do not define any aliases if
4060 [__atan].
4061 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
4062 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
4063 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
4064 as weak alias of __tan. Do not define any aliases if [__tan].
4065 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
4066 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
4067 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
4068 __atan.
4069 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
4070 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
4071 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
4072 and define as weak alias of __atan.
4073 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
4074 __atan.
4075 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
4076 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
4077 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
4078 define as weak alias of __tan.
4079
bdc5c592
SN
40802017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4081
4082 * math/w_lgamma.c: New file.
4083 * math/w_lgammaf.c: New file.
4084 * math/w_lgammal.c: New file.
4085
bd4430c2
SN
40862017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4087
4088 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
4089 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
4090 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
4091 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
4092 * sysdeps/ieee754/flt-32/w_logf.c: New file.
4093 * sysdeps/ieee754/flt-32/w_powf.c: New file.
4094 * sysdeps/i386/fpu/w_log2f.c: New file.
4095 * sysdeps/i386/fpu/w_logf.c: New file.
4096 * sysdeps/i386/fpu/w_powf.c: New file.
4097 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
4098 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
4099 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
4100
f7a0b063
SN
41012017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4102 H.J. Lu <hongjiu.lu@intel.com>
4103
4104 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
4105 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
4106 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
4107 * sysdeps/ieee754/flt-32/w_expf.c: New file.
4108 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
4109 the new expf code.
4110 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
4111 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
4112 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
4113 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
4114 * sysdeps/i386/fpu/w_exp2f.c: New file.
4115 * sysdeps/i386/fpu/w_expf.c: New file.
4116 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
4117 * sysdeps/x86_64/fpu/w_expf.c: New file.
4118
72d3d281
SN
41192017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4120
4121 * math/Versions (logf): New libm symbol at GLIBC_2.27.
4122 (log2f): Likewise.
4123 (powf): Likewise.
4124 * math/w_log2f.c: New file.
4125 * math/w_logf.c: New file.
4126 * math/w_powf.c: New file.
4127 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
4128 * math/w_logf_compat.c (__logf_compat): Likewise.
4129 * math/w_powf_compat.c (__powf_compat): Likewise.
4130 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
4131 * sysdeps/ia64/fpu/e_logf.S: Likewise.
4132 * sysdeps/ia64/fpu/e_powf.S: Likewise.
4133 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4134 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4135 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4136 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4137 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4138 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4139 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4140 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4141 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4142 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4143 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4144 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4146 Likewise.
4147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4148 Likewise.
4149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4150 Likewise.
4151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4152 Likewise.
4153 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4154 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4155 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4156 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4157 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4159 Likewise.
4160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4161 Likewise.
4162 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4163 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4164 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4165
59ba2d2b
RS
41662017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4167
4168 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4169 (sysdep_routines): Add memrchr_power8.
4170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4171 (memrchr): Add __memrchr_power8 to list of memrchr functions.
4172 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
4173 New file.
4174 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
4175 (memrchr): Add __memrchr_power8 to ifunc list.
4176 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
4177
397286ea
L
41782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4179
4180 [BZ #18822]
4181 * sysdeps/unix/sysv/linux/posix_fadvise64.c
4182 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
4183 libc_hidden_def.
4184 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4185 (__posix_fallocate64_l64): Likewise.
4186
d0a4512b
L
41872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4188
4189 [BZ #18822]
4190 * sysdeps/unix/sysv/linux/sched_setaffinity.c
4191 (__sched_setaffinity_new): Add libc_hidden_proto and
4192 libc_hidden_def.
4193
c0769f70
L
41942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4195
4196 [BZ #18822]
4197 * include/glob.h (__glob64): Add libc_hidden_proto.
4198 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
4199 libc_hidden_def.
4200
0e7d5b6e
L
42012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4202
4203 [BZ #18822]
4204 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
4205 attribute_hidden.
4206
bde06c87
L
42072017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4208
4209 [BZ #18822]
4210 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
4211
fa426590
L
42122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4213
4214 [BZ #18822]
4215 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
4216 libc_hidden_def.
4217
2f8a05d8
L
42182017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4219
4220 [BZ #18822]
4221 * csu/version.c (__libc_print_version): Add attribute_hidden.
4222
7bfd08ac
L
42232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4224
4225 [BZ #18822]
4226 * include/libc-internal.h (__init_misc): Add attribute_hidden.
4227
0e1fd06c
L
42282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4229
4230 [BZ #18822]
4231 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
4232
36e7ae1e
L
42332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4234
4235 [BZ #18822]
4236 * nscd/nscd_helper.c (__nis_hash): New prototype.
4237
87078544
L
42382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4239
4240 [BZ #18822]
4241 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
4242 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
4243 libc_hidden_def.
4244 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4245 * termios/tcgetattr.c (__tcgetattr): Likewise.
4246
dd3121df
L
42472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4248
4249 [BZ #18822]
4250 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
4251 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
4252 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
4253 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
4254 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
4255
047d1a81
L
42562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4257
4258 [BZ #18822]
4259 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
4260
fd331b11
L
42612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4262
4263 [BZ #18822]
4264 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
4265 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
4266
57f859bd
L
42672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4268
4269 [BZ #18822]
4270 * intl/hash-string.h (__hash_string): Add attribute_hidden.
4271
d1903329
L
42722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4273
4274 [BZ #18822]
4275 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
4276 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
4277
b4744101
L
42782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4279
4280 [BZ #18822]
4281 * include/ifreq.h: New file.
4282 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
4283 (__ifreq): Likewise.
4284 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
4285 (__ifreq): Likewise.
4286
43b7dfd1
L
42872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4288
4289 [BZ #18822]
4290 * include/idna.h: New file.
4291 * inet/getnameinfo.c: Include <idna.h> instead of
4292 <libidn/idna.h>.
4293 (__idna_to_unicode_lzlz): Removed.
4294 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
4295 <libidn/idna.h>.
4296 (__idna_to_ascii_lz): Removed.
4297 (__idna_to_unicode_lzlz): Likewise.
4298
2c0cd8f8
L
42992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4300
4301 [BZ #18822]
4302 * include/plural-exp.h: New file.
4303 * intl/plural-exp.c: Include <plural-exp.h> instead of
4304 "plural-exp.h".
4305
8369d216
L
43062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4307
4308 [BZ #18822]
4309 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
4310 "getsourcefilter.h".
4311 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
4312 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
4313 "getsourcefilter.h".
4314 (__get_sol): Removed.
4315
a0aef783
L
43162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4317
4318 [BZ #18822]
4319 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
4320 to ...
4321 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
4322
3ee8209b
L
43232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4324
4325 [BZ #18822]
4326 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
4327 attribute_hidden.
4328
6036fc38
L
43292017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4330
4331 [BZ #18822]
4332 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
4333
fe84fed0
L
43342017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4335
4336 [BZ #18822]
4337 * include/search.h (__tdestroy): Add libc_hidden_proto.
4338 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
4339
048dd681
L
43402017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4341
4342 [BZ #18822]
4343 * include/assert.h (__assert_fail_base): Add attribute_hidden.
4344
6e342af6
L
43452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4346
4347 [BZ #18822]
4348 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
4349 attribute_hidden.
4350
6a088436
L
43512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4352
4353 [BZ #18822]
4354 * include/signal.h (__kill): Add libc_hidden_proto.
4355 (__sigblock): Likewise.
4356 (__sigprocmask): Likewise.
4357 (__sigaltstack): Likewise.
4358 * signal/kill.c (__kill): Add libc_hidden_def.
4359 * signal/sigblock.c (__sigblock): Likewise.
4360 * signal/sigprocmask.c (__sigprocmask): Likewise.
4361 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
4362 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4363 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
4364 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4365 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
4366 Likewise.
4367 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
4368 Likewise.
4369 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
4370 (__sigprocmask): Likewise.
4371 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
4372 Likewise.
4373 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
4374 (__sigprocmask): Likewise.
4375 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
4376 Likewise.
4377
78cf1d74
L
43782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4379
4380 [BZ #18822]
4381 * include/string.h (__strsep): Add libc_hidden_proto.
4382 * string/strsep.c (__strsep): Add libc_hidden_def.
4383
85b35894
L
43842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4385
4386 [BZ #18822]
4387 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
4388 attribute_hidden.
4389 (__spawni): Likewise.
4390
225f7eec
L
43912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4392
4393 [BZ #18822]
4394 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
4395 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
4396 libc_hidden_def.
4397
372fe247
L
43982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4399
4400 [BZ #18822]
4401 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
4402
9e5ee8b8
L
44032017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4404
4405 [BZ #18822]
4406 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
4407 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
4408 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4409 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
4410 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
4411 Likewise.
4412 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
4413 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
4414
2ff16592
L
44152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4416
4417 [BZ #18822]
4418 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
4419 (__dcigettext): Likewise.
4420
b5648377
L
44212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4422
4423 [BZ #18822]
4424 * include/sys/sysinfo.h (__get_nprocs_conf): Add
4425 libc_hidden_proto.
4426 (__get_nprocs): Likewise.
4427 (__get_phys_pages): Likewise.
4428 (__get_avphys_pages): Likewise.
4429 (__get_child_max): Add attribute_hidden.
4430 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
4431 (__get_nprocs): Likewise.
4432 (__get_phys_pages): Likewise.
4433 (__get_avphys_pages): Likewise.
4434 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
4435 libc_hidden_def.
4436 (__get_nprocs): Likewise.
4437 (__get_phys_pages): Likewise.
4438 (__get_avphys_pages): Likewise.
4439 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
4440 libc_hidden_def.
4441 (__get_nprocs_conf): Likewise.
4442 (__get_phys_pages): Likewise.
4443 (__get_avphys_pages): Likewise.
4444
0389a6aa
L
44452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4446
4447 [BZ #18822]
4448 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
4449 attribute_hidden.
4450 (__netlink_close): Likewise.
4451 (__netlink_free_handle): Likewise.
4452 (__netlink_request): Likewise.
4453
d48354d8
L
44542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4455
4456 [BZ #18822]
4457 * include/rpc/rpc.h (__rpc_thread_variables): Add
4458 attribute_hidden.
4459 (__rpc_thread_svc_cleanup): Likewise.
4460 (__rpc_thread_clnt_cleanup): Likewise.
4461 (__rpc_thread_key_cleanup): Likewise.
4462
d6daff12
L
44632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4464
4465 [BZ #18822]
4466 * include/sys/uio.h (__readv): Add libc_hidden_proto.
4467 (__writev): Likewise.
4468 * misc/readv.c (__readv): Add libc_hidden_def.
4469 * misc/writev.c (__writev): Likewise.
4470 * sysdeps/posix/readv.c (__readv): Likewise.
4471 * sysdeps/posix/writev.c (__writev): Likewise.
4472 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
4473 (__readv): Likewise.
4474 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
4475 (__writev): Likewise.
4476
b68f8620
L
44772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4478
4479 [BZ #18822]
4480 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
4481 (__regcomp): Add libc_hidden_proto.
4482 (__regexec): Likewise.
4483 (__regfree): Likewise.
4484 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
4485 (__regfree): Likewise.
4486 * posix/regexec.c (__regexec): Likewise.
4487
59c04e67
L
44882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4489
4490 [BZ #18822]
4491 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
4492 (__getutent): Likewise.
4493 (__getutid): Likewise.
4494 (__getutline): Likewise.
4495 (__pututline): Likewise.
4496 (__getutent_r): Likewise.
4497 (__getutid_r): Likewise.
4498 (__getutline_r): Likewise.
4499 (__utmpname): Add attribute_hidden.
4500 (__setutent): Likewise.
4501 (__endutent): Likewise.
4502 * login/getutent.c (__getutent): Add libc_hidden_def.
4503 * login/getutent_r.c (__getutent_r): Likewise.
4504 (__pututline): Likewise.
4505 * login/getutid.c (__getutid): Likewise.
4506 * login/getutid_r.c (__getutid_r): Likewise.
4507 * login/getutline.c (__getutline): Likewise.
4508 * login/getutline_r.c (__getutline_r): Likewise.
4509 * login/updwtmp.c (__updwtmp): Likewise.
4510
4587a421
L
45112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4512
4513 [BZ #18822]
4514 * include/dirent.h (__opendir): Always add attribute_hidden.
4515 (__fdopendir): Likewise.
4516 (__closedir): Likewise.
4517 (__readdir): Likewise.
4518 (__readdir64): Add libc_hidden_proto.
4519 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
4520 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
4521 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
4522 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
4523 New alias.
4524
9635ce69
L
45252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4526
4527 [BZ #18822]
4528 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
4529 * include/netdb.h (__gethostbyaddr_r): Likewise.
4530 (__gethostbyname_r): Likewise.
4531 (__gethostbyname2_r): Likewise.
4532 (__getnetbyaddr_r): Likewise.
4533 (__getnetbyname_r): Likewise.
4534 (__getservbyname_r): Likewise.
4535 (__getservbyport_r): Likewise.
4536 (__getprotobyname_r): Likewise.
4537 (__getprotobynumber_r): Likewise.
4538 (__getnetgrent_r): Likewise.
4539 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
4540 (__getrpcbynumber_r): Likewise.
4541 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
4542
2e0a6909
L
45432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4544
4545 [BZ #18822]
4546 * include/stdio.h (__fcloseall): Add attribute_hidden.
4547 (__getline): Likewise.
4548 (__path_search): Likewise.
4549 (__gen_tempname): Likewise.
4550 (__libc_message): Likewise.
4551 (__flockfile): Likewise.
4552 (__funlockfile): Likewise.
4553 (__fxprintf): Likewise.
4554 (__fxprintf_nocancel): Likewise.
4555
94fd682c
L
45562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4557
4558 [BZ #18822]
4559 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
4560 (__sgetsgent_r): Likewise.
4561
e1b33bba
L
45622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4563
4564 [BZ #18822]
4565 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
4566 (__statfs64): Likewise.
4567 (__fstatfs64): Likewise.
4568 * include/sys/statvfs.h (__statvfs64): Likewise.
4569 (__fstatvfs64): Likewise.
4570 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
4571 (__statfs_filesize_max): Likewise.
4572 (__statfs_symlinks): Likewise.
4573 (__statfs_chown_restricted): Likewise.
4574
b0f56784
L
45752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4576
4577 [BZ #18822]
4578 * include/time.h (__tzstring): Add attribute_hidden.
4579 (__tzfile_read): Likewise.
4580 (__tzfile_compute): Likewise.
4581 (__tzfile_default): Likewise.
4582 (__tzset_parse_tz): Likewise.
4583 (__offtime): Likewise.
4584 (__asctime_r): Likewise.
4585 (__tzset): Likewise.
4586 (__tz_convert): Likewise.
4587 (__getdate_r): Likewise.
4588 (__getclktck): Likewise.
4589
a4338d99
L
45902017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4591
4592 [BZ #18822]
4593 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
4594 (__nscd_unmap): Likewise.
4595 (__nscd_cache_search): Likewise.
4596 (__nscd_get_nl_timestamp): Likewise.
4597 (__nscd_getpwnam_r): Likewise.
4598 (__nscd_getpwuid_r): Likewise.
4599 (__nscd_getgrnam_r): Likewise.
4600 (__nscd_getgrgid_r): Likewise.
4601 (__nscd_gethostbyname_r): Likewise.
4602 (__nscd_gethostbyname2_r): Likewise.
4603 (__nscd_gethostbyaddr_r): Likewise.
4604 (__nscd_getai): Likewise.
4605 (__nscd_getgrouplist): Likewise.
4606 (__nscd_getservbyname_r): Likewise.
4607 (__nscd_getservbyport_r): Likewise.
4608 (__nscd_innetgr): Likewise.
4609 (__nscd_setnetgrent): Likewise.
4610
a2ca1652
L
46112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4612
4613 [BZ #18822]
4614 * include/gmp.h: Declare internal functions only if _ISOMAC is
4615 undefined.
4616 (__mpn_extract_double): Add attribute_hidden.
4617 (__mpn_extract_long_double): Likewise.
4618 (__mpn_extract_float128): Likewise.
4619 (__mpn_construct_float): Likewise.
4620 (__mpn_construct_double): Likewise.
4621 (__mpn_construct_long_double): Likewise.
4622 (__mpn_construct_float128): Likewise.
4623 (mpn_add_1): Likewise.
4624 (mpn_addmul_1): Likewise.
4625 (mpn_add_n): Likewise.
4626 (mpn_cmp): Likewise.
4627 (mpn_divrem): Likewise.
4628 (mpn_lshift): Likewise.
4629 (mpn_mul): Likewise.
4630 (mpn_mul_1): Likewise.
4631 (mpn_rshift): Likewise.
4632 (mpn_sub_1): Likewise.
4633 (mpn_submul_1): Likewise.
4634 (mpn_sub_n): Likewise.
4635
44af8a32
L
46362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4637
4638 [BZ #18822]
4639 * include/wchar.h (__wcsnlen): Add attribute_hidden.
4640 (__wcscat): Likewise.
4641 (__btowc): Likewise.
4642 (__wcrtomb): Likewise.
4643 (__mbsrtowcs): Likewise.
4644 (__wcsrtombs): Likewise.
4645 (__mbsnrtowcs): Likewise.
4646 (__wcsnrtombs): Likewise.
4647 (__wcsncpy): Likewise.
4648 (__wcpncpy): Likewise.
4649 (__wmemcpy): Likewise.
4650 (__wmempcpy): Likewise.
4651 (__wmemmove): Likewise.
4652 (__wcschrnul): Likewise.
4653 (__vfwscanf): Likewise.
4654 (__vswprintf): Likewise.
4655 (__fwprintf): Likewise.
4656 (__vfwprintf): Likewise.
4657
783cd767
L
46582017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4659
4660 [BZ #18822]
4661 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
4662 (__getgrgid_r): Likewise.
4663 (__getgrnam_r): Likewise.
4664 * include/pwd.h (__getpwuid_r): Likewise.
4665 (__getpwnam_r): Likewise.
4666 (__fgetpwent_r): Likewise.
4667 * include/shadow.h (__getspnam_r): Likewise.
4668 (__sgetspent_r): Likewise.
4669 (__fgetspent_r): Likewise.
4670
7ec4b39a
L
46712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4672
4673 [BZ #18822]
4674 * include/unistd.h (__access): Add attribute_hidden.
4675 (__lseek64): Likewise.
4676 (__libc_pread64): Likewise.
4677 (__pipe2): Likewise.
4678 (__sleep): Likewise.
4679 (__chdir): Likewise.
4680 (__fchdir): Likewise.
4681 (__getcwd): Likewise.
4682 (__rmdir): Likewise.
4683 (__execvpe): Likewise.
4684 (__execve): Likewise.
4685 (__setsid): Likewise.
4686 (__getuid): Likewise.
4687 (__geteuid): Likewise.
4688 (__getgid): Likewise.
4689 (__getegid): Likewise.
4690 (__getgroups): Likewise.
4691 (__group_member): Likewise.
4692 (__ttyname_r): Likewise.
4693 (__isatty): Likewise.
4694 (__readlink): Likewise.
4695 (__unlink): Likewise.
4696 (__gethostname): Likewise.
4697 (__profil): Likewise.
4698 (__getdtablesize): Likewise.
4699 (__brk): Likewise.
4700 (__ftruncate): Likewise.
4701 (__ftruncate64): Likewise.
4702
8345a760
L
47032017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4704
4705 [BZ #18822]
4706 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
4707 * argp/argp-fs-xinl.c: Likewise.
4708 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
4709 * argp/argp-parse.c: Include <argp.h>.
4710 * argp/argp-xinl.c: Likewise.
4711 * include/argp-fmtstream.h: New file.
4712 * include/argp.h (__argp_error): Add attribute_hidden.
4713 (__argp_failure): Likewise.
4714 (__argp_input): Likewise.
4715 (__argp_state_help): Likewise.
4716
c26dd7c6
L
47172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4718
4719 [BZ #18822]
4720 * include/wchar.h (____wcstof_l_internal): New prototype.
4721 (____wcstod_l_internal): Likewise.
4722 (____wcstold_l_internal): Likewise.
4723 (____wcstol_l_internal): Likewise.
4724 (____wcstoul_l_internal): Likewise.
4725 (____wcstoll_l_internal): Likewise.
4726 (____wcstoull_l_internal): Likewise.
4727 (____wcstof128_l_internal): Likewise.
4728 * sysdeps/ieee754/float128/wcstof128.c
4729 (____wcstof128_l_internal): Removed.
4730 * sysdeps/ieee754/float128/wcstof128_l.c
4731 (____wcstof128_l_internal): Likewise.
4732 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
4733 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
4734 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
4735 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
4736 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
4737 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
4738 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
4739 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
4740 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
4741 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
4742
3aff5644
L
47432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4744
4745 [BZ #18822]
4746 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
4747 instead of <sys/statvfs.h>.
4748 (__internal_statvfs): Removed.
4749 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
4750 instead of <sys/statvfs.h>.
4751 (__internal_statvfs64): Removed.
4752 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
4753 "internal_statvfs.h" instead of <sys/statvfs.h>.
4754 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
4755 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
4756 instead of <sys/statvfs.h>.
4757 (__internal_statvfs): Removed.
4758 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
4759 instead of <sys/statvfs.h>.
4760 (__internal_statvfs64): Removed.
4761
8bcdb7e0
L
47622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4763
4764 [BZ #18822]
4765 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
4766 (__gconv_close): Likewise.
4767 (__gconv): Likewise.
4768 (__gconv_find_transform): Likewise.
4769 (__gconv_lookup_cache): Likewise.
4770 (__gconv_compare_alias_cache): Likewise.
4771 (__gconv_load_cache): Likewise.
4772 (__gconv_get_path): Likewise.
4773 (__gconv_close_transform): Likewise.
4774 (__gconv_release_cache): Likewise.
4775 (__gconv_find_shlib): Likewise.
4776 (__gconv_release_shlib): Likewise.
4777 (__gconv_get_builtin_trans): Likewise.
4778 (__gconv_compare_alias): Likewise.
4779 * include/dlfcn.h (_dlerror_run): Likewise.
4780 * include/stdio.h (__fortify_fail_abort): Likewise.
4781 * include/time.h (__tz_compute): Likewise.
4782 (__strptime_internal): Likewise.
4783 * intl/gettextP.h (_nl_find_domain): Likewise.
4784 (_nl_load_domain): Likewise.
4785 (_nl_find_msg): Likewise.
4786 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
4787 (EXTRACT_PLURAL_EXPRESSION): Likewise.
4788 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
4789 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
4790 (__gai_find_request): Likewise.
4791 (__gai_remove_request): Likewise.
4792 (__gai_notify): Likewise.
4793 (__gai_notify_only): Likewise.
4794 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
4795 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
4796 (_dl_non_dynamic_init): Likewise.
4797 (_dl_aux_init): Likewise.
4798 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
4799 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
4800 Likewise.
4801 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
4802 (__wcsmbs_clone_conv): Likewise.
4803 (__wcsmbs_named_conv): Likewise.
4804
8ed3b643
L
48052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4806
4807 [BZ #18822]
4808 * include/stdlib.h (__random): Add attribute_hidden.
4809 (__random_r): Likewise.
4810 (__srandom_r): Likewise.
4811 (__initstate_r): Likewise.
4812 (__setstate_r): Likewise.
4813 (__erand48_r): Likewise.
4814 (__nrand48_r): Likewise.
4815 (__jrand48_r): Likewise.
4816 (__srand48_r): Likewise.
4817 (__seed48_r): Likewise.
4818 (__lcong48_r): Likewise.
4819 (__drand48_iterate): Likewise.
4820 (__setenv): Likewise.
4821 (__unsetenv): Likewise.
4822 (__clearenv): Likewise.
4823 (__ptsname_r): Likewise.
4824 (__posix_openpt): Likewise.
4825 (__add_to_environ): Likewise.
4826 (__realpath): Add libc_hidden_proto.
4827 (__ecvt_r): Likewise.
4828 (__fcvt_r): Likewise.
4829 (__qecvt_r): Likewise.
4830 (__qfcvt_r): Likewise.
4831 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
4832 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
4833
ef9b6f73
L
48342017-10-01 H.J. Lu <hongjiu.lu@intel.com>
4835
4836 [BZ #18822]
4837 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
4838 * include/time.h (__mktime_internal): Likewise.
4839 * libio/iolibio.h (__fopen_internal): Likewise.
4840
8da92e72
JDA
48412017-10-01 John David Anglin <danglin@gcc.gnu.org>
4842
4843 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
4844 pointer in frame.
4845 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
4846 Correct offset used to restore PIC register.
4847
388784cf
JDA
48482017-09-30 John David Anglin <danglin@gcc.gnu.org>
4849
4850 [BZ libc/22165]
4851 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
4852 code to load address of __getcontext_ret when generating PIC code.
4853
2000067a
L
48542017-09-30 H.J. Lu <hongjiu.lu@intel.com>
4855
4856 * elf/Makefile (tests-static-internal): Add
4857 tst-tls1-static-non-pie.
4858 (LDFLAGS-tst-tls1-static-non-pie): New.
4859 * elf/tst-tls1-static-non-pie.c: New file.
4860
1e2bffd0
JM
48612017-09-29 Joseph Myers <joseph@codesourcery.com>
4862
4863 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
4864 (asinh): Define using libm_alias_double.
4865 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
4866 (cbrt): Define using libm_alias_double.
4867 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
4868 <libm-alias-double.h>.
4869 (copysign): Define using libm_alias_double.
4870 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
4871 (erf): Define using libm_alias_double.
4872 (erfc): Likewise.
4873 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
4874 (expm1): Define using libm_alias_double.
4875 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
4876 (fabs): Define using libm_alias_double.
4877 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
4878 libm_alias_double.
4879 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
4880 <libm-alias-double.h>.
4881 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
4882 libm_alias_double.
4883 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
4884 <libm-alias-double.h>.
4885 (getpayload): Define using libm_alias_double.
4886 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
4887 <libm-alias-double.h>.
4888 (llrint): Define using libm_alias_double.
4889 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
4890 (lrint): Define using libm_alias_double.
4891 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
4892 <libm-alias-double.h>.
4893 (nextup): Define using libm_alias_double.
4894 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
4895 <libm-alias-double.h>.
4896 (roundeven): Define using libm_alias_double.
4897 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
4898 libm_alias_double.
4899 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
4900 <libm-alias-double.h>.
4901 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
4902 using libm_alias_double.
4903 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
4904 (cos): Define using libm_alias_double.
4905 (sin): Likewise.
4906 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
4907 <libm-alias-double.h>.
4908 (sincos): Define using libm_alias_double.
4909 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
4910 (tanh): Define using libm_alias_double.
4911 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
4912 <libm-alias-double.h>.
4913 (totalorder): Define using libm_alias_double.
4914 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
4915 <libm-alias-double.h>.
4916 (totalordermag): Define using libm_alias_double.
4917 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
4918 libm_alias_double.
4919 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
4920 libm_alias_double.
4921 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
4922 <libm-alias-double.h>.
4923 (getpayload): Define using libm_alias_double.
4924 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
4925 <libm-alias-double.h>.
4926 (roundeven): Define using libm_alias_double.
4927 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
4928 <libm-alias-double.h>.
4929 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4930 <libm-alias-double.h>.
4931 (totalorder): Define using libm_alias_double.
4932 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4933 <libm-alias-double.h>.
4934 (totalordermag): Define using libm_alias_double.
4935 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
4936 libc compat symbol here.
4937 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
4938 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
4939 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
4940 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
4941 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
4942 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
4943 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
4944 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
4945 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
4946 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
4947
8172aad9
L
49482017-09-29 H.J. Lu <hongjiu.lu@intel.com>
4949
4950 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
4951 _dl_relocate_static_pie instead of _dl_start to compute load
4952 address in static PIE. Return 0 if _DYNAMIC is undefined for
4953 static executable.
4954
54464e74
L
49552017-09-29 H.J. Lu <hongjiu.lu@intel.com>
4956
4957 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
4958 _DYNAMIC is undefined for static executable.
4959
f6c5e5bc
L
49602017-09-29 H.J. Lu <hongjiu.lu@intel.com>
4961
4962 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
4963
2f92505d
JM
49642017-09-29 Joseph Myers <joseph@codesourcery.com>
4965
4966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4967
bd8d53bb
WD
49682017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
4969
4970 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4971 (__ieee754_lgamma_r): Use fabs rather than __fabs.
4972 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4973 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4974 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4975 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
4976 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
4977 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
4978 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
4979 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
4980 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
4981 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4982 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
4983 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
4984 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4985 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4986 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
4987
fffb1507
WD
49882017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
4989
4990 * math/bits/cmathcalls.h (cimag): Remove inline.
4991 (creal): Remove inline.
4992 (conj): Remove inline.
4993
4ea49f4c
SN
49942017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
4995
4996 * math/Makefile (type-float-routines): Add e_powf_log2_data.
4997 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
4998 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
4999 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
5000 (issignalingf_inline): Likewise.
5001 (POWF_LOG2_TABLE_BITS): Likewise.
5002 (POWF_LOG2_POLY_ORDER): Likewise.
5003 (POWF_SCALE_BITS): Likewise.
5004 (POWF_SCALE): Likewise.
5005 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
5006 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
5007 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
5008
875c76c7
SN
50092017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
5010
5011 * math/Makefile (type-float-routines): Add e_log2f_data.
5012 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
5013 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
5014 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
5015 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
5016 * sysdeps/i386/fpu/e_log2f_data.c: New file.
5017 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
5018 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
5019
90c42e40
SN
50202017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
5021
5022 * math/Makefile (type-float-routines): Add e_logf_data.
5023 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
5024 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
5025 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
5026 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
5027 * sysdeps/i386/fpu/e_logf_data.c: New file.
5028 * sysdeps/ia64/fpu/e_logf_data.c: New file.
5029 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
5030
4088d8dd
L
50312017-09-28 H.J. Lu <hongjiu.lu@intel.com>
5032
5033 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
5034 undefined _DYNAMIC in PIE libc.a.
5035 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
5036 Likewse.
5037
4d3693ec
WD
50382017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
5039
5040 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
5041 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
5042 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
5043 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
5044 (__signbit): Remove.
5045 (__signbitl): Remove.
5046 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
5047 (__signbit): Remove.
5048 (__signbitl): Remove.
5049 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
5050 (__signbit): Remove.
5051 (__signbitl): Remove.
5052 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
5053 (__signbit): Remove.
5054 (__signbitl): Remove.
5055 * sysdeps/tile/bits/mathinline.h: Delete file.
5056 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
5057 (__signbit): Remove.
5058 (__signbitl): Remove.
5059
1e6d0723
WD
50602017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
5061
5062 * math/math.h: Improve handling of C99 isgreater macros.
5063 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
5064 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
5065 * sysdeps/powerpc/bits/mathinline.h: Likewise.
5066 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5067 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
5068
b2f03cf3
SN
50692017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
5070
5071 * sysdeps/aarch64/libm-test-ulps: Update.
5072
f124cb38
JM
50732017-09-28 Joseph Myers <joseph@codesourcery.com>
5074
5075 [BZ #22225]
5076 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5077 math_opt_barrier on argument when doing arithmetic on it.
5078 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5079 Likewise. Use math_force_eval not math_opt_barrier after
5080 arithmetic.
5081 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
5082 math_opt_barrier on argument when doing arithmetic on it.
5083 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5084 Likewise.
5085
7edd0691
L
50862017-09-27 H.J. Lu <hongjiu.lu@intel.com>
5087
5088 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
5089 libc_hidden_def.
5090 (__freeifaddrs): Likewise.
5091
2c7bbfaf
ST
50922017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5093
5094 * include/dirent.h (__dirfd): New declaration.
5095 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
5096 alias.
5097 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
5098 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
5099 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
5100 * include/unistd.h (__revoke): New declaration.
5101 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
5102 alias.
5103 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
5104 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
5105 revoke.
64a4af28
ST
5106 * include/dirent.h (__seekdir): New declaration.
5107 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
5108 redefine as weak alias.
5109 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
5110 of seekdir.
4009ddc6
ST
5111 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
5112 and use libc_hidden_def on them.
5113 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
5114 them.
5115 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
5116 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
5117 instead of getifaddrs and freeifaddrs.
2c7bbfaf 5118
825adeee
L
51192017-09-26 H.J. Lu <hongjiu.lu@intel.com>
5120
5121 [BZ #18822]
5122 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
5123 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
5124 (__dso_handle): Remove declaration.
5125 * dlfcn/tstatexit.c (__dso_handle): Removed.
5126 (main): Don't check __dso_handle.
5127 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
5128 (main): Don't check __dso_handle.
5129 * include/dso_handle.h: New file.
5130 * malloc/mtrace.c: Include <dso_handle.h>.
5131 (mtrace): Pass __dso_handle directly.
5132 * nptl/pthread_atfork.c: Include <dso_handle.h>.
5133 (__dso_handle): Remove declaration.
5134 (__pthread_atfork): Pass __dso_handle directly.
5135 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
5136 (__dso_handle): Removed.
5137 * posix/wordexp-test.c: Include <dso_handle.h>.
5138 (__dso_handle): Remove declaration.
5139 (__app_register_atfork): Pass __dso_handle directly.
5140 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
5141 (__dso_handle): Remove declaration.
5142 (at_quick_exit): Pass __dso_handle directly.
5143 * stdlib/atexit.c: Include <dso_handle.h>.
5144 (__dso_handle): Remove declaration.
5145 (atexit): Pass __dso_handle directly.
5146 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
5147 (__dso_handle): Removed.
5148
bfb0deb3
JM
51492017-09-26 Joseph Myers <joseph@codesourcery.com>
5150
5151 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
5152 using VDSO.
5153
cebcb9f8
AM
51542017-09-26 Alexey Makhalov <amakhalov@vmware.com>
5155
5156 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
5157 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
5158 values to correct default value for given type.
5159
592d5c75
L
51602017-09-26 H.J. Lu <hongjiu.lu@intel.com>
5161
5162 [BZ #22101]
5163 * elf/Makefile (tests): Add tst-debug1.
5164 ($(objpfx)tst-debug1): New.
5165 ($(objpfx)tst-debug1.out): Likewise.
5166 ($(objpfx)tst-debug1mod1.so): Likewise.
5167 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
5168 with p_filesz == 0.
5169 * elf/tst-debug1.c: New file.
5170
2d9193f2
JM
51712017-09-26 Joseph Myers <joseph@codesourcery.com>
5172
5173 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
5174 Define using __ifunc.
5175
4c5a7a02
TMQMF
51762017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5177
5178 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
5179 exp2f() values.
5180
12ef66c4
JM
51812017-09-26 Joseph Myers <joseph@codesourcery.com>
5182
5183 [BZ #22156]
5184 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
5185
44dade71
FW
51862017-09-26 Florian Weimer <fweimer@redhat.com>
5187
5188 * resolv/Makefile (tests-internal): Fix typo in comment.
5189
eaca16f1
FW
51902017-09-26 Florian Weimer <fweimer@redhat.com>
5191
5192 * resolv/nss_dns/dns-host.c: Fix typo in comment.
5193
ccf970c7
AZ
51942017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5195
5f9f31ad
AZ
5196 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
5197 Use an union instead of a max_align_t array for __space,
5198 so that __space is the same size on all platforms.
5199 * malloc/scratch_buffer_grow_preserve.c
5200 (__libc_scratch_buffer_grow_preserve): Likewise.
5201
ccf970c7
AZ
5202 [BZ #22183]
5203 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
5204 version to 2.
5205 * posix/Makefile (routines): Add glob-lstat-compat and
5206 glob64-lstat-compat.
5207 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
5208 * posix/glob-lstat-compat.c: New file.
5209 * posix/glob64-lstat-compat.c: Likewise.
5210 * posix/tst-glob_lstat_compat.c: Likewise.
5211 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
5212 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
5213 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
5214 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
5215 Likewise.
5216 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
5217 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
5218 * posix/glob.c (glob_lstat): New function.
5219 (glob): Rename to __glob and add versioned symbol to 2.27.
5220 (glob_in_dir): Use glob_lstat.
5221 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
5222 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5223 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
5224 2.27.
5225 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
5226 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
5227 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
5228 gl_lstat on glob call.
5229 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
5230 and glob64 symbols.
5231 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5232 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5233 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5234 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5235 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5236 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5237 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5238 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5239 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5240 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5241 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5242 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5244 Likewise.
5245 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5247 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5248 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5249 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5250 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5251 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5253 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5254 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5255 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5256 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5257
b4396163
L
52582017-09-25 H.J. Lu <hongjiu.lu@intel.com>
5259
5260 * configure.ac (AS): Require binutils 2.25 or later.
5261 * configure: Regenerated.
5262
8f834987
PP
52632017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5264
5265 [BZ #22207]
5266 * stdlib/test-atexit-race-common.c (do_test): Minimize required
5267 VM size.
5268
3de93d19
DD
52692017-09-25 DJ Delorie <dj@redhat.com>
5270
5271 [BZ #22161]
5272 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
5273 resetting timeout.
5274
9947638d
SL
52752017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5276
5277 * sysdeps/ieee754/dbl-64/sincos32.h
5278 [SINCCOS32_H]: Remove define.
5279 [SINCOS32_H]: Define.
5280
f5f0f526
SN
52812017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5282
5283 * math/Versions (expf): New libm symbol at GLIBC_2.27.
5284 (exp2f): Likewise.
5285 * math/w_exp2f.c: New file.
5286 * math/w_expf.c: New file.
5287 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
5288 * math/w_expf_compat.c (__expf_compat): Likewise.
5289 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
5290 * sysdeps/ia64/fpu/e_expf.S: Likewise.
5291 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5292 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5293 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5294 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5295 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5296 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5297 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5298 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5299 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5300 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5301 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5302 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5304 Likewise.
5305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5306 Likewise.
5307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5308 Likewise.
5309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5310 Likewise.
5311 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5312 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5313 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5314 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5315 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5317 Likewise.
5318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5319 Likewise.
5320 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5321 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5322 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5323
72aa6233
SN
53242017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5325
5326 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
5327 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
5328 (roundtoint, converttoint): Likewise.
5329 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
5330 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
5331 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
5332 * sysdeps/ieee754/flt-32/math_config.h: New file.
5333 * sysdeps/ieee754/flt-32/math_errf.c: New file.
5334 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
5335 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
5336 * sysdeps/i386/fpu/math_errf.c: New file.
5337 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
5338 * sysdeps/ia64/fpu/math_errf.c: New file.
5339 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
5340 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
5341
5e6f3253
ST
53422017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
5343
5344 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
5345 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
5346 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
5347 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
5348 to make sure that these symbols are defined.
b38a42a0
ST
5349 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
5350 of <limits.h>
5351 (__need_NULL): Do not define.
5352 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
5353 alignment.
5354 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
5355 CMGROUP_MAX, cmsgcred): Do not define.
5356 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
5357 NULL.
5358 * bits/socket.h: Likewise.
fcafcd16
ST
5359 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
5360 __gettimeofday instead of gettimeofday.
5361 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
5362 instead of settimeofday.
5e6f3253 5363
2f49ce7d
JM
53642017-09-22 Joseph Myers <joseph@codesourcery.com>
5365
5366 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
5367 (asinhf): Define using libm_alias_float.
5368 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
5369 (atanf): Define using libm_alias_float.
5370 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
5371 (cbrtf): Define using libm_alias_float.
5372 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
5373 (ceilf): Define using libm_alias_float.
5374 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
5375 <libm-alias-float.h>.
5376 (copysignf): Define using libm_alias_float.
5377 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
5378 (cosf): Define using libm_alias_float.
5379 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
5380 (erff): Define using libm_alias_float.
5381 (erfcf): Likewise.
5382 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
5383 (expm1f): Define using libm_alias_float.
5384 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
5385 (fabsf): Define using libm_alias_float.
5386 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
5387 (floorf): Define using libm_alias_float.
5388 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
5389 (frexpf): Define using libm_alias_float.
5390 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
5391 libm_alias_float.
5392 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
5393 <libm-alias-float.h>.
5394 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
5395 libm_alias_float.
5396 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
5397 <libm-alias-float.h>.
5398 (getpayloadf): Define using libm_alias_float.
5399 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
5400 <libm-alias-float.h>.
5401 (llrintf): Define using libm_alias_float.
5402 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
5403 <libm-alias-float.h>.
5404 (llroundf): Define using libm_alias_float.
5405 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
5406 (logbf): Define using libm_alias_float.
5407 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
5408 (lrintf): Define using libm_alias_float.
5409 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
5410 (lroundf): Define using libm_alias_float.
5411 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
5412 (modff): Define using libm_alias_float.
5413 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
5414 <libm-alias-float.h>.
5415 (nearbyintf): Define using libm_alias_float.
5416 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
5417 <libm-alias-float.h>.
5418 (nextafterf): Define using libm_alias_float.
5419 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
5420 <libm-alias-float.h>.
5421 (nextupf): Define using libm_alias_float.
5422 * sysdeps/ieee754/flt-32/s_remquof.c: Include
5423 <libm-alias-float.h>.
5424 (remquof): Define using libm_alias_float.
5425 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
5426 (rintf): Define using libm_alias_float.
5427 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
5428 <libm-alias-float.h>.
5429 (roundevenf): Define using libm_alias_float.
5430 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
5431 (roundf): Define using libm_alias_float.
5432 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
5433 using libm_alias_float.
5434 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
5435 <libm-alias-float.h>.
5436 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
5437 Define using libm_alias_float.
5438 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
5439 <libm-alias-float.h>.
5440 (sincosf): Define using libm_alias_float.
5441 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
5442 (sinf): Define using libm_alias_float.
5443 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
5444 (tanf): Define using libm_alias_float.
5445 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
5446 (tanhf): Define using libm_alias_float.
5447 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
5448 <libm-alias-float.h>.
5449 (totalorderf): Define using libm_alias_float.
5450 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
5451 <libm-alias-float.h>.
5452 (totalordermagf): Define using libm_alias_float.
5453 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
5454 (truncf): Define using libm_alias_float.
5455 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
5456 libm_alias_float.
5457 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
5458 libm_alias_float.
5459
c5c4a626
GG
54602017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5461
5462 [BZ #22146]
5463 math/math.h: Let fpclassify use the builtin in C++ mode, even
5464 when optimazing for size.
5465
23947846
JM
54662017-09-22 Joseph Myers <joseph@codesourcery.com>
5467
5468 * csu/Makefile (generated): Do not add version-info.h.
5469 (before-compile): Likewise.
5470 (all-Banner-files): Remove variable.
5471 ($(objpfx)version-info.h): Remove rule.
5472 * csu/version.c (banner): Do not include "version-info.h".
5473 * libidn/Banner: Remove.
5474 * manual/contrib.texi (Simon Josefsson): New entry.
5475
9ac3c682
GG
54762017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5477
5478 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5479 Remove conditionals on LDBL_MANT_DIG.
5480 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
5481 (__ieee754_lgammal_r): Likewise.
5482
d2f0ed09
GG
54832017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5484
5485 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
5486 _Float128 and L().
5487 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
5488 _Float128 and L(). Replace _Float128 with long double and L(x)
5489 with xL, throughout the file.
5490 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5491 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
5492 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
5493 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
5494
c5c2e667
GG
54952017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5496
5497 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
5498 sysdeps/ieee754/ldbl-128ibm.
5499 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
5500 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
5501 of including it. Keep _Float128 and L() intact. These will be
5502 reviewed by a separate patch.
5503 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5504 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
5505 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
5506 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
5507
e010deb2
GG
55082017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5509
5510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
5511 (__finitef128): Define to __redirect___finitef128.
5512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
5513 (__isinff128): Define to __redirect___isinff128.
5514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
5515 (__isnanf128): Define to __redirect___isnanf128.
5516
ffa44804
GG
55172017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5518
5519 * sysdeps/powerpc/powerpc64le/Makefile
5520 (CFLAGS-tst-strtod-nan-locale.c): New variable.
5521 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
5522
e5e4d7cc
PP
55232017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5524 Carlos O'Donell <carlos@redhat.com>
5525
5526 [BZ #22180]
5527 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
5528 * stdlib/test-dlclose-exit-race.c: New file.
5529 * stdlib/test-dlclose-exit-race-helper.c: New file.
5530 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
5531
c10c5267
JM
55322017-09-21 Joseph Myers <joseph@codesourcery.com>
5533
5534 * crypt/Banner: Remove file.
5535 * nptl/Banner: Likewise.
5536 * resolv/Banner: Likewise.
5537 * soft-fp/Banner: Likewise.
5538 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
5539 ($(objpfx)version.d): Remove dependency on banner.h.
5540 ($(objpfx)version.os): Likewise.
5541 * nptl/version.c (banner): Do not include banner.h.
5542 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
5543 Jelinek and BIND code.
5544
1cc9e59a
PP
55452017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
5546 Carlos O'Donell <carlos@redhat.com>
5547
5548 * support/xdlfcn.h: New file.
5549 * support/xdlfcn.c: New file.
5550 * support/Makefile (libsupport-routines): Add xdlfcn.
5551 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
5552
ae8372d7
JM
55532017-09-20 Joseph Myers <joseph@codesourcery.com>
5554
5555 [BZ #20142]
5556 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5557 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
5558 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
5559 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
5560 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5561 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
5562 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
5563 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5564
26e70aec
PP
55652017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
5566 Ricky Zhou <rickyz@google.com>
5567 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
5568
5569 [BZ #14333]
5570 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
5571 Remove atomics.
5572 (__new_exitfn): Fail registration when we finished at_exit processing.
5573 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5574 * stdlib/on_exit.c (__on_exit): Likewise.
5575 * stdlib/exit.c (__exit_funcs_done): New variable.
5576 (__run_exit_handlers): Use __exit_funcs_lock.
5577 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
5578 declarations.
5579 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
5580 (test-cxa_atexit-race, test-on_exit-race): New tests.
5581 * stdlib/test-atexit-race-common.c: New file.
5582 * stdlib/test-atexit-race.c: New file.
5583 * stdlib/test-at_quick_exit-race.c: New file.
5584 * stdlib/test-cxa_atexit-race.c: New file.
5585 * stdlib/test-on_exit-race.c: New file.
5586
0525ce48
SN
55872017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
5588
5589 * benchtests/Makefile: Add exp2f and log2f benchmarks.
5590 * benchtests/exp2f-inputs: Copy of expf-inputs.
5591 * benchtests/log2f-inputs: Copy of logf-inputs.
5592
d82468d1
JM
55932017-09-19 Joseph Myers <joseph@codesourcery.com>
5594
5595 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
5596 Explicitly take address of first element of array arguments in
5597 call to INLINE_SYSCALL.
5598
43ffc53a
AS
55992017-09-19 Andreas Schwab <schwab@suse.de>
5600
5601 [BZ #22134]
5602 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
5603 execveat first.
5604 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
5605 unimplemented.
5606 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
5607 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
5608 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5609 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
5610 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5611 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
5612 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5613 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
5614 * posix/Makefile (tests): Add tst-fexecve.
5615 * posix/tst-fexecve.c: New file.
5616
a5dcc87e
WD
56172017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5618
5619 * benchtests/Makefile: Add logf benchmark.
5620 * benchtests/logf-inputs: Add reduced trace from wrf_r.
5621
7024d544
WD
56222017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5623
5624 * benchtests/Makefile: Add expf benchmark.
5625 * benchtests/expf-inputs: Add reduced trace from wrf_r.
5626
ca3a382e
WD
56272017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5628
5629 * csu/Makefile: Add -funwind-tables to libc-start.c.
5630 * debug/Makefile: Add -funwind-tables to backtrace.c.
5631 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
5632 * sysdeps/arm/Makefile: Likewise.
5633 * sysdeps/i386/Makefile: Likewise.
5634 * sysdeps/m68k/Makefile: Likewise.
5635 * sysdeps/mips/Makefile: Likewise.
5636 * sysdeps/nios2/Makefile: Likewise.
5637 * sysdeps/sh/Makefile: Likewise.
5638 * sysdeps/sparc/Makefile: Likewise.
5639
eb375def
JM
56402017-09-19 Joseph Myers <joseph@codesourcery.com>
5641
5642 * benchtests/Makefile (bench-math): Add trunc and truncf.
5643 (CFLAGS-bench-trunc.c): New variable.
5644 (CFLAGS-bench-truncf.c): Likewise.
5645 * benchtests/trunc-inputs: New file.
5646 * benchtests/truncf-inputs: Likewise.
5647
bd17ba29
RS
56482017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5649
5650 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
5651
92892fdb
JM
56522017-09-18 Joseph Myers <joseph@codesourcery.com>
5653
6d9b0b5a
JM
5654 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
5655 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
5656 redefine.
5657 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
5658 (exp10l): Define as weak alias.
5659 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
5660 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
5661 and redefine.
5662 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
5663 (remainderl): Define as weak alias.
5664
92892fdb
JM
5665 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
5666 (fmal): Define using libm_alias_ldouble.
5667 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
5668 (acoshl): Define using libm_alias_ldouble.
5669 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
5670 (acosl): Define using libm_alias_ldouble.
5671 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
5672 (asinl): Define using libm_alias_ldouble.
5673 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
5674 (atan2l): Define using libm_alias_ldouble.
5675 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
5676 (atanhl): Define using libm_alias_ldouble.
5677 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
5678 (coshl): Define using libm_alias_ldouble.
5679 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
5680 (exp10l): Define using libm_alias_ldouble.
5681 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
5682 (exp2l): Define using libm_alias_ldouble.
5683 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
5684 (expl): Define using libm_alias_ldouble.
5685 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
5686 (fmodl): Define using libm_alias_ldouble.
5687 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
5688 (hypotl): Define using libm_alias_ldouble.
5689 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
5690 (j0l): Define using libm_alias_ldouble.
5691 (y0l): Likewise.
5692 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
5693 (j1l): Define using libm_alias_ldouble.
5694 (y1l): Likewise.
5695 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
5696 (jnl): Define using libm_alias_ldouble.
5697 (ynl): Likewise.
5698 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
5699 (log10l): Define using libm_alias_ldouble.
5700 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
5701 (log2l): Define using libm_alias_ldouble.
5702 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
5703 (logl): Define using libm_alias_ldouble.
5704 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
5705 (powl): Define using libm_alias_ldouble.
5706 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
5707 (remainderl): Define using libm_alias_ldouble.
5708 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
5709 (sinhl): Define using libm_alias_ldouble.
5710 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
5711 (sqrtl): Define using libm_alias_ldouble.
5712 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
5713 (tgammal): Define using libm_alias_ldouble.
5714 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
5715 (exp10l): Do not use long_double_symbol here.
5716 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
5717 [LIBM_SVID_COMPAT] (remainderl): Likewise.
5718 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
5719 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
5720 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
5721 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
5722 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
5723 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
5724 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
5725 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
5726 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
5727 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
5728 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
5729 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
5730 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
5731 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
5732 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
5733 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
5734 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
5735 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
5736 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
5737 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
5738
6cd380dd
WB
57392017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
5740
5741 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
5742 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
5743
1c6d89e9
ST
57442017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
5745
5746 * io/read.c (read): Add libc_hidden_weak.
5747 * sysdeps/mach/hurd/read.c (read): Likewise.
5748 * io/write.c (write): Likewise.
5749 * sysdeps/mach/hurd/write.c (write): Likewise.
5750 * io/pread64.c (__pread64): Likewise.
5751 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
5752 * posix/pread64.c (__pread64): Add libc_hidden_def.
5753
06b1de23
SP
57542017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5755
140647ea
SP
5756 * benchtests/scripts/compare_strings.py: New option -g.
5757 (draw_graph): Print a message that a graph is being generated.
5758 (process_results): Generate graph only if -g is passed.
5759 (main): Process option -g.
5760
5a6547b7
SP
5761 * benchtests/scripts/compare_strings.py (process_results):
5762 Better spacing for output.
5763
06b1de23
SP
5764 * benchtests/scripts/compare_strings.py: Use argparse.
5765 * benchtests/README: Document existence of compare_strings.py.
5766
c67a2328
JM
57672017-09-15 Joseph Myers <joseph@codesourcery.com>
5768
9ac44708
JM
5769 * math/s_fma.c: Include <libm-alias-double.h>.
5770 (fma): Define using libm_alias_double.
5771 * math/s_nextafter.c: Include <libm-alias-double.h>.
5772 (nextafter): Define using libm_alias_double.
5773 * math/w_acos_compat.c: Include <libm-alias-double.h>.
5774 (acos): Define using libm_alias_double.
5775 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
5776 (aocsh): Define using libm_alias_double.
5777 * math/w_asin_compat.c: Include <libm-alias-double.h>.
5778 (asin): Define using libm_alias_double.
5779 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
5780 (atan2): Define using libm_alias_double.
5781 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
5782 (atanh): Define using libm_alias_double.
5783 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
5784 (cosh): Define using libm_alias_double.
5785 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
5786 (exp10): Define using libm_alias_double.
5787 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
5788 (exp2): Define using libm_alias_double.
5789 * math/w_exp_compat.c: Include <libm-alias-double.h>.
5790 (exp): Define using libm_alias_double.
5791 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
5792 (fmod): Define using libm_alias_double.
5793 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
5794 (hypot): Define using libm_alias_double.
5795 * math/w_j0_compat.c: Include <libm-alias-double.h>.
5796 (j0): Define using libm_alias_double.
5797 (y0): Likewise.
5798 * math/w_j1_compat.c: Include <libm-alias-double.h>.
5799 (j1): Define using libm_alias_double.
5800 (y1): Likewise.
5801 * math/w_jn_compat.c: Include <libm-alias-double.h>.
5802 (jn): Define using libm_alias_double.
5803 (yn): Likewise.
5804 * math/w_log10_compat.c: Include <libm-alias-double.h>.
5805 (log10): Define using libm_alias_double.
5806 * math/w_log2_compat.c: Include <libm-alias-double.h>.
5807 (log2): Define using libm_alias_double.
5808 * math/w_log_compat.c: Include <libm-alias-double.h>.
5809 (log): Define using libm_alias_double.
5810 * math/w_pow_compat.c: Include <libm-alias-double.h>.
5811 (pow): Define using libm_alias_double.
5812 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
5813 (remainder): Define using libm_alias_double.
5814 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
5815 (sinh): Define using libm_alias_double.
5816 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
5817 (sqrt): Define using libm_alias_double.
5818 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
5819 (tgamma): Define using libm_alias_double.
5820 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
5821 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
5822 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
5823 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
5824 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
5825 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
5826 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
5827 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
5828 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
5829 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
5830 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
5831 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
5832 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
5833 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
5834 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
5835 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
5836 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
5837 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
5838 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
5839 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
5840 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
5841 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
5842 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
5843 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
5844 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
5845
c67a2328
JM
5846 * math/e_acoshl.c: Remove.
5847 * math/e_acosl.c: Likewise.
5848 * math/e_asinl.c: Likewise.
5849 * math/e_atan2l.c: Likewise.
5850 * math/e_atanhl.c: Likewise.
5851 * math/e_coshl.c: Likewise.
5852 * math/e_expl.c: Likewise.
5853 * math/e_fmodl.c: Likewise.
5854 * math/e_gammal_r.c: Likewise.
5855 * math/e_hypotl.c: Likewise.
5856 * math/e_j0l.c: Likewise.
5857 * math/e_j1l.c: Likewise.
5858 * math/e_jnl.c: Likewise.
5859 * math/e_lgammal_r.c: Likewise.
5860 * math/e_log10l.c: Likewise.
5861 * math/e_log2l.c: Likewise.
5862 * math/e_logl.c: Likewise.
5863 * math/e_powl.c: Likewise.
5864 * math/e_rem_pio2l.c: Likewise.
5865 * math/e_sinhl.c: Likewise.
5866 * math/e_sqrtf128.c: Likewise.
5867 * math/e_sqrtl.c: Likewise.
5868 * math/k_cosl.c: Likewise.
5869 * math/k_sinl.c: Likewise.
5870 * math/k_tanl.c: Likewise.
5871 * math/s_asinhl.c: Likewise.
5872 * math/s_atanl.c: Likewise.
5873 * math/s_cbrtl.c: Likewise.
5874 * math/s_erfl.c: Likewise.
5875 * math/s_expm1l.c: Likewise.
5876 * math/s_log1pl.c: Likewise.
5877 * math/s_tanhl.c: Likewise.
5878
61c45f25
TMQMF
58792017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5880
5881 [BZ #21745]
5882 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
5883 [$(subdir) = math] (sysdep_calls): New variable. Has the
5884 previous contents of sysdep_routines, but re-sorted..
5885 [$(subdir) = math] (sysdep_routines): Re-use the contents from
5886 sysdep_calls.
5887 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
5888 defined in sysdep_calls and replace by the respective m_* names.
5889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
5890 (compat_symbol): Undefine to avoid duplicated compat symbols in
5891 libc.
5892
5bcdb315
JM
58932017-09-15 Joseph Myers <joseph@codesourcery.com>
5894
5895 * math/s_fmaf.c: Include <libm-alias-float.h>.
5896 (fmaf): Define using libm_alias_float.
5897 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
5898 (acosf): Define using libm_alias_float.
5899 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
5900 (acoshf): Define using libm_alias_float.
5901 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
5902 (asinf): Define using libm_alias_float.
5903 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
5904 (atan2f): Define using libm_alias_float.
5905 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
5906 (atanhf): Define using libm_alias_float.
5907 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
5908 (coshf): Define using libm_alias_float.
5909 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
5910 (exp10f): Define using libm_alias_float.
5911 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
5912 (fmodf): Define using libm_alias_float.
5913 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
5914 (hypotf): Define using libm_alias_float.
5915 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
5916 (j0f): Define using libm_alias_float.
5917 (y0f): Likewise.
5918 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
5919 (j1f): Define using libm_alias_float.
5920 (y1f): Likewise.
5921 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
5922 (jnf): Define using libm_alias_float.
5923 (ynf): Likewise.
5924 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
5925 (log10f): Define using libm_alias_float.
5926 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
5927 (log2f): Define using libm_alias_float.
5928 * math/w_logf_compat.c: Include <libm-alias-float.h>.
5929 (logf): Define using libm_alias_float.
5930 * math/w_powf_compat.c: Include <libm-alias-float.h>.
5931 (powf): Define using libm_alias_float.
5932 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
5933 (remainderf): Define using libm_alias_float.
5934 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
5935 (sinhf): Define using libm_alias_float.
5936 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
5937 (sqrtf): Define using libm_alias_float.
5938 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
5939 (tgammaf): Define using libm_alias_float.
5940
01f28812
JM
59412017-09-14 Joseph Myers <joseph@codesourcery.com>
5942
5943 * include/math.h (roundeven): Change hidden_proto call to
5944 __roundeven.
5945 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
5946 alias.
5947 [NO_LONG_DOUBLE] (__j0l): New strong alias.
5948 (y0): Rename to __y0 and define as weak alias.
5949 [NO_LONG_DOUBLE] (__y0l): New strong alias.
5950 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
5951 alias.
5952 (y0f): Rename to __y0f and define as weak alias.
5953 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
5954 alias.
5955 [NO_LONG_DOUBLE] (__j1l): New strong alias.
5956 (y1): Rename to __y1 and define as weak alias.
5957 [NO_LONG_DOUBLE] (__y1l): New strong alias.
5958 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
5959 alias.
5960 (y1f): Rename to __y1f and define as weak alias.
5961 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
5962 alias.
5963 [NO_LONG_DOUBLE] (__jnl): New strong alias.
5964 (yn): Rename to __yn and define as weak alias.
5965 [NO_LONG_DOUBLE] (__ynl): New strong alias.
5966 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
5967 alias.
5968 (ynf): Rename to __ynf and define as weak alias.
5969 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
5970 (fromfp): Define as weak alias.
5971 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
5972 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
5973 (fromfpx): Define as weak alias.
5974 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
5975 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
5976 __getpayload and define as weak alias.
5977 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
5978 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
5979 __roundeven and define as weak alias.
5980 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
5981 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
5982 __setpayload.
5983 (setpayload): Define as weak alias.
5984 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
5985 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
5986 __setpayloadsig.
5987 (setpayloadsig): Define as weak alias.
5988 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
5989 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
5990 __totalorder and define as weak alias.
5991 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
5992 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
5993 to __totalordermag and define as weak alias.
5994 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
5995 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
5996 (ufromfp): Define as weak alias.
5997 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
5998 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
5999 __ufromfpx.
6000 (ufromfpx): Define as weak alias.
6001 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
6002 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
6003 Rename to __getpayload and define as weak alias.
6004 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
6005 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
6006 Rename to __roundeven and define as weak alias.
6007 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
6008 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
6009 Rename to __totalorder and define as weak alias.
6010 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
6011 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
6012 (totalordermag): Rename to __totalordermag and define as weak
6013 alias.
6014 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
6015 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
6016 macro.
6017 (__roundevenl): Likewise.
6018 (__totalorderl): Likewise.
6019 (__totalordermagl): Likewise
6020 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
6021 __fromfpf128.
6022 (fromfpf128): Define as weak alias.
6023 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
6024 __fromfpxf128.
6025 (fromfpxf128): Define as weak alias.
6026 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
6027 __setpayloadf128.
6028 (setpayloadf128): Define as weak alias.
6029 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
6030 __setpayloadsigf128.
6031 (setpayloadsigf128): Define as weak alias.
6032 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
6033 __ufromfpf128.
6034 (ufromfpf128): Define as weak alias.
6035 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
6036 __ufromfpxf128.
6037 (ufromfpxf128): Define as weak alias.
6038 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
6039 (fromfpf): Define as weak alias.
6040 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
6041 __fromfpxf.
6042 (fromfpxf): Define as weak alias.
6043 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
6044 __getpayloadf and define as weak alias.
6045 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
6046 __roundevenf and define as weak alias.
6047 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
6048 __setpayloadf.
6049 (setpayloadf): Define as weak alias.
6050 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
6051 __setpayloadsigf.
6052 (setpayloadsigf): Define as weak alias.
6053 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
6054 __totalorderf and define as weak alias.
6055 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
6056 Rename to __totalordermagf and define as weak alias.
6057 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
6058 __ufromfpf.
6059 (ufromfpf): Define as weak alias.
6060 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
6061 __ufromfpxf.
6062 (ufromfpxf): Define as weak alias.
6063 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
6064 __fromfpl.
6065 (fromfpl): Define as weak alias.
6066 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
6067 __fromfpxl.
6068 (fromfpxl): Define as weak alias.
6069 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
6070 to __getpayloadl and define as weak alias.
6071 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
6072 __roundevenl and define as weak alias.
6073 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
6074 __setpayloadl.
6075 (setpayloadl): Define as weak alias.
6076 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
6077 __setpayloadsigl.
6078 (setpayloadsigl): Define as weak alias.
6079 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
6080 to __totalorderl and define as weak alias.
6081 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
6082 Rename to __totalordermagl and define as weak alias.
6083 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
6084 __ufromfpl.
6085 (ufromfpl): Define as weak alias.
6086 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
6087 __ufromfpxl.
6088 (ufromfpxl): Define as weak alias.
6089 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
6090 __fromfpl.
6091 (fromfpl): Define as weak alias.
6092 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
6093 __fromfpxl.
6094 (fromfpxl): Define as weak alias.
6095 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
6096 Rename to __getpayloadl and define as weak alias.
6097 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
6098 to __roundevenl and define as weak alias. Call __roundeven
6099 instead of roundeven.
6100 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
6101 __setpayloadl.
6102 (setpayloadl): Define as weak alias.
6103 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
6104 __setpayloadsigl.
6105 (setpayloadsigl): Define as weak alias.
6106 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
6107 Rename to __totalorderl and define as weak alias.
6108 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
6109 Rename to __totalordermagl and define as weak alias.
6110 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
6111 __ufromfpl.
6112 (ufromfpl): Define as weak alias.
6113 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
6114 __ufromfpxl.
6115 (ufromfpxl): Define as weak alias.
6116 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
6117 __fromfpl.
6118 (fromfpl): Define as weak alias.
6119 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
6120 __fromfpxl.
6121 (fromfpxl): Define as weak alias.
6122 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
6123 __getpayloadl and define as weak alias.
6124 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
6125 __roundevenl and define as weak alias.
6126 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
6127 __setpayloadl.
6128 (setpayloadl): Define as weak alias.
6129 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
6130 __setpayloadsigl.
6131 (setpayloadsigl): Define as weak alias.
6132 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
6133 __totalorderl and define as weak alias.
6134 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
6135 Rename to __totalordermagl and define as weak alias.
6136 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
6137 __ufromfpl.
6138 (ufromfpl): Define as weak alias.
6139 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
6140 __ufromfpxl.
6141 (ufromfpxl): Define as weak alias.
6142
29c933fb
SP
61432017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6144
503c92c3
SP
6145 * benchtests/bench-string.h (realloc_bufs): New function.
6146 (test_init): Call it.
6147 * benchtests/bench-memset-large.c (do_test): Likewise.
6148 * benchtests/bench-memset.c (do_test): Likewise.
6149
29c933fb
SP
6150 * benchtests/bench-memset-large.c: Print output in JSON
6151 format.
6152 * benchtests/bench-memset.c: Likewise.
6153
799c8d69
MF
61542017-09-14 Mike FABIAN <mfabian@redhat.com>
6155
6156 [BZ #21084]
6157 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
6158 * iconvdata/Makefile: Add IBM858.
6159 * iconvdata/gconv-modules: Likewise.
6160 * iconvdata/tst-tables.sh: Likewise.
6161 * iconvdata/ibm858.c: New file.
6162 * localedata/charmaps/IBM858: Likewise.
6163
c207f7ce 61642017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
6165
6166 [BZ #22023]
6167 * locales/niu_NZ (LC_TIME): copy "niu_NU".
6168 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
6169
f28a0926
AK
61702017-09-14 Mike FABIAN <mfabian@redhat.com>
6171
6172 [BZ #22112]
6173 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
6174 and add tel_int_fmt.
6175
02093e62
JM
61762017-09-14 Joseph Myers <joseph@codesourcery.com>
6177
6178 * sysdeps/generic/libm-alias-float128.h: New file.
6179 * sysdeps/generic/math-type-macros-float128.h: Include
6180 <libm-alias-float128.h>.
6181 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
6182
1aae75ef
JM
61832017-09-13 Joseph Myers <joseph@codesourcery.com>
6184
6185 * sysdeps/generic/libm-alias-ldouble.h: New file.
6186 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
6187 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
6188 * sysdeps/generic/math-type-macros-ldouble.h: Include
6189 <libm-alias-ldouble.h>.
6190 [!declare_mgen_alias] (declare_mgen_alias): Define to use
6191 libm_alias_ldouble.
6192
bcea7ad6
SN
61932017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
6194
6195 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
6196 * math/w_exp_compat.c: ... here.
6197 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
6198 * math/w_expf_compat.c: ... here.
6199 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
6200 * math/w_expl_compat.c: ... here.
6201 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
6202 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
6203 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
6204 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
6205
0fc56478
JM
62062017-09-13 Joseph Myers <joseph@codesourcery.com>
6207
6208 * math/w_scalbln_template.c (strong_alias): Do not undefine and
6209 redefine.
6210 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
6211 macro.
6212 (ldexpl): Only define as compat symbol for libc, not libm.
6213 (scalbnl): Define as compat symbol for libc here.
6214 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
6215 define for [IS_IN (libc)].
6216 (__ldexpl_2): Remove alias.
6217 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
6218 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
6219 name in long_double_symbol call.
6220 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
6221 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
6222 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
6223 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
6224 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
6225 Remove macro.
6226 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
6227 Define as compat symbol.
6228
3ca622e4
AZ
62292017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6230
6231 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
6232 * sysdeps/unix/sysv/linux/alpha/Makefile
6233 [$(subdir) = csu] (sysdep_routines): Remove rule.
6234
620ff9ee
JM
62352017-09-13 Joseph Myers <joseph@codesourcery.com>
6236
6237 * sysdeps/generic/libm-alias-double.h: New file.
6238 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
6239 * sysdeps/generic/math-type-macros-double.h: Include
6240 <libm-alias-double.h>.
6241 [declare_mgen_alias] (declare_mgen_alias): Define to use
6242 libm_alias_double.
6243 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
6244 (M_LIBM_NEED_COMPAT): Remove macro.
6245 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
6246 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
6247 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
6248 code.
6249 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6250 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6251 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6252 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6253 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6254 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6255 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6256 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6257 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6258 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6259 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6260 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6261 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6262 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6263 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6264 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6265 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6266 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6267 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6268 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6269 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6270 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6271 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6272 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6273 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6274 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6275 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
6276 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
6277 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
6278 macro.
6279 (declare_mgen_alias): New macro.
6280 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
6281 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
6282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
6283 (M_LIBM_NEED_COMPAT): Remove macro.
6284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
6285 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
6286 <first-versions.h>.
6287 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
6288 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
6289
a891caff
JM
62902017-09-12 Joseph Myers <joseph@codesourcery.com>
6291
6292 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
6293 (declare_mgen_alias_2): Remove.
6294 * sysdeps/generic/math-type-macros-double.h
6295 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
6296 Likewise.
6297 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
6298 alias.
6299 (ldexp): Define with declare_mgen_alias.
6300 (scalbn): Likewise.
6301
a1a78204
SE
63022017-09-12 Steve Ellcey <sellcey@cavium.com>
6303
6304 * grp/initgroups.c: Include config.h.
6305 (DEFAULT_CONFIG): New macro.
6306 (internal_getgrouplist): Use DEFAULT_CONFIG.
6307 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6308 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
6309 (DEFAULT_DEFCONFIG): New macro.
6310 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
6311 * nss/grp-lookup.c: Include config.h
6312 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
6313 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
6314 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
6315 * manual/nss.texi: Update default values section.
6316
ef8adeb0
L
63172017-09-12 H.J. Lu <hongjiu.lu@intel.com>
6318
6319 [BZ #21967]
6320 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
6321 New.
6322 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
6323 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
6324 Handle MathVec_Prefer_No_AVX512.
6325 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
6326 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
6327 is set.
6328
a166531f
ST
63292017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
6330
6331 * posix/sched_primax.c (__sched_get_priority_max): Add
6332 libc_hidden_def.
6333 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
6334 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6335 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
6336 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
6337 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
6338 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
6339 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
6340 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
6341 Add aliases.
6342
4b7d1efb
JM
63432017-09-11 Joseph Myers <joseph@codesourcery.com>
6344
6345 * sysdeps/generic/libm-alias-float.h: New file.
6346 * sysdeps/generic/math-type-macros-float.h: Include
6347 <libm-alias-float.h>.
6348 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
6349
45ff3463
L
63502017-09-11 H.J. Lu <hongjiu.lu@intel.com>
6351
6352 [BZ #22093]
6353 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
6354 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
6355 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
6356 (HWCAP_IMPORTANT): Likewise.
6357 (HWCAP_X86_64): New enum.
6358 (HWCAP_X86_AVX512_1): Updated.
6359 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
6360 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
6361 (modules-names): Add x86_64/tst-x86_64mod-1.
6362 (LDFLAGS-tst-x86_64mod-1.so): New.
6363 ($(objpfx)tst-x86_64-1): Likewise.
6364 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
6365 (tst-x86_64-1-clean): Likewise.
6366 * sysdeps/x86_64/tst-x86_64-1.c: New file.
6367 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
6368
891abfd3
SP
63692017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6370
6371 * po/sv.po: Update translations.
6372 * po/fr.po: Likewise.
6373
00c3da43
ST
63742017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6375
6376 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
6377 seconds.
3bdfd9fb
ST
6378 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
6379 seconds.
65b22ebc 6380 * elf/rtld-Rules: Fix $(error) use.
00c3da43 6381
96480903
MF
63822017-09-09 Mike FABIAN <mfabian@redhat.com>
6383
6384 [BZ #14925]
6385 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
6386 * locale/iso-639.def: Change “Bengali” to “Bangla”.
6387 * localedata/locales/bn_BD: “Bengali” was still used in some
6388 comments. Change it to “Bangla”.
6389
4c03a696
MT
63902017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
6391
6392 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
6393
9c9ec581
SE
63942017-09-08 Steve Ellcey <sellcey@cavium.com>
6395
6396 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
6397 thunderx2t99p1 to list of cpu names.
6398 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6399 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
6400
f00bce74
SE
64012017-09-08 Steve Ellcey <sellcey@cavium.com>
6402
6403 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
6404 Use strcmp instead of tunable_is_name.
6405
27342d17
JM
64062017-09-08 Joseph Myers <joseph@codesourcery.com>
6407
af1b7c8c
JM
6408 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6409 (F_GET_RW_HINT): New macro.
6410 [__USE_GNU] (F_SET_RW_HINT): Likewise.
6411 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
6412 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
6413 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
6414 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
6415 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
6416 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
6417 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
6418 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
6419
27342d17
JM
6420 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6421 (F_ADD_SEALS): New macro.
6422 [__USE_GNU] (F_GET_SEALS): Likewise.
6423 [__USE_GNU] (F_SEAL_SEAL): Likewise.
6424 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
6425 [__USE_GNU] (F_SEAL_GROW): Likewise.
6426 [__USE_GNU] (F_SEAL_WRITE): Likewise.
6427
c66c9082
AZ
64282017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6429
07b4f49d
AZ
6430 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
6431 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
6432 * posix/glob_internal.h (__glob_pattern_type):
6433 * posix/glob.c (glob):
6434 * posix/glob_pattern_p.c (__glob_pattern_p):
6435 Use them.
6436
116f1c64
AZ
6437 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
6438 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6439 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
6440 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
6441 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
6442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
6443 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
6444 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
6445 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
6446 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6447 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
6448 * sysdeps/wordsize-64/glob.c: Likewise.
6449 * sysdeps/wordsize-64/glob64.c: Likewise.
6450 * sysdeps/wordsize-64/globfree.c: Likewise.
6451 * sysdeps/wordsize-64/globfree64.c: Likewise.
6452 * sysdeps/unix/sysv/linux/glob.c: New file.
6453 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
6454 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
6455 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
6456 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
6457 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
6458 adds !GLOB_NO_OLD_VERSION as an extra condition.
6459 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
6460 using relative path instead of absolute one.
6461 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
6462 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6463 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6464 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
6465 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
6466 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
6467
ffca8901
AZ
6468 [BZ #1062]
6469 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
6470 (glob): Use the same scratch buffer for both getlogin_r and
6471 getpwnam_r. Don’t require preallocation of the login name. This
6472 simplifies storage allocation, and corrects the handling of
6473 long login names.
6474
5a79f975
AZ
6475 [BZ #1062]
6476 * posix/glob.c (glob): Port recent patches to platforms
6477 lacking getpwnam_r.
6478 (glob): Fix longstanding misuse of errno after getpwnam_r, which
6479 returns an error number rather than setting errno.
6480
e00f2425
AZ
6481 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
6482 instead of GCC extension.
6483 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
6484 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
6485 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
6486
5554304f
AZ
6487 [BZ #866]
6488 [BZ #1062]
6489 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
6490 * posix/bug-glob1.c: Remove file.
6491 * posix/tst-glob_symlinks.c: New file.
6492 * posix/glob.c (__lstat64): New macro.
6493 (is_dir): New function.
6494 (glob, glob_in_dir): Match symlinks even if they are dangling.
6495 (link_stat, link_exists_p): Remove. All uses removed.
6496
686f2ea1
AZ
6497 [BZ #1062]
6498 [BZ #19971]
6499 * posix/glob.c (struct readdir_result): Remove skip_entry member.
6500 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
6501 All uses removed.
6502
c66c9082 6503 [BZ #1062]
914c9994 6504 CVE-2017-15671
c66c9082
AZ
6505 * posix/Makefile (routines): Add globfree, globfree64, and
6506 glob_pattern_p.
6507 * posix/flexmember.h: New file.
6508 * posix/glob_internal.h: Likewise.
6509 * posix/glob_pattern_p.c: Likewise.
6510 * posix/globfree.c: Likewise.
6511 * posix/globfree64.c: Likewise.
6512 * sysdeps/gnu/globfree64.c: Likewise.
6513 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
6514 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
6515 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
6516 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
6517 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
6518 * sysdeps/wordsize-64/globfree.c: Likewise.
6519 * sysdeps/wordsize-64/globfree64.c: Likewise.
6520 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
6521 [NDEBUG): Remove comments.
6522 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
6523 (dirent_type): New type. Use uint_fast8_t not
6524 uint8_t, as C99 does not require uint8_t.
6525 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
6526 (struct readdir_result): Use dirent_type. Do not define skip_entry
6527 unless it is needed; this saves a byte on platforms lacking d_ino.
6528 (readdir_result_type, readdir_result_skip_entry):
6529 New functions, replacing ...
6530 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6531 these functions, which were removed. This makes the callers
6532 easier to read. All callers changed.
6533 (D_INO_TO_RESULT): Now empty if there is no d_ino.
6534 (size_add_wrapv, glob_use_alloca): New static functions.
6535 (glob, glob_in_dir): Check for size_t overflow in several places,
6536 and fix some size_t checks that were not quite right.
6537 Remove old code using SHELL since Bash no longer
6538 uses this.
6539 (glob, prefix_array): Separate MS code better.
6540 (glob_in_dir): Remove old Amiga and VMS code.
6541 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
6542 separate files.
6543 (glob_in_dir): Do not rely on undefined behavior in accessing
6544 struct members beyond their bounds. Use a flexible array member
6545 instead
6546 (link_stat): Rename from link_exists2_p and return -1/0 instead of
6547 0/1. Caller changed.
6548 (glob): Fix memory leaks.
6549 * posix/glob64 (globfree64): Move to separate file.
6550 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
6551 (globfree64): Remove hidden alias.
6552 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
6553 oldglob.
6554 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
6555 separate file.
6556 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
6557 define.
6558 Move compat code to separate file.
6559 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
6560 separate file.
6561
78bfa877
L
65622017-09-07 H.J. Lu <hongjiu.lu@intel.com>
6563
6564 * resolv/tst-resolv-qtypes.c (domain): Changed to
6565 "const char domain[] =".
6566
05f0011f
JM
65672017-09-07 Joseph Myers <joseph@codesourcery.com>
6568
85bec0f2
JM
6569 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6570 version to 3.1.6.
6571
5c23ee6e
JM
6572 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
6573 (TCP_MD5SIG_EXT): Likewise.
6574 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
6575 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
6576 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
6577
05f0011f
JM
6578 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
6579
7c9c5be9
MF
65802017-09-07 Mike FABIAN <mfabian@redhat.com>
6581
6582 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
6583
c207f7ce 65842017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
6585
6586 [BZ #22100]
6587 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
6588
507fe027
ST
65892017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6590
6591 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
6592 before assuming that the file is empty. Avoid testing buffer content
6593 when nread == 0.
6594
65687ac7
AZ
65952017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6596
7bbbb4b9 6597 [BZ #18858]
65687ac7
AZ
6598 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
6599 Remove define.
6600 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
6601 Likewise.
6602 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
6603 Likewise.
6604 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
6605 Likewise.
6606 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
6607 Likewise.
6608 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
6609 Likewise.
6610 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
6611 Likewise.
6612
ab5ac271
FW
66132017-09-06 Florian Weimer <fweimer@redhat.com>
6614
6615 * malloc/dynarray_emplace_enlarge.c
6616 (__libc_dynarray_emplace_enlarge): Add missing else.
6617
a8304730
FW
66182017-09-06 Florian Weimer <fweimer@redhat.com>
6619
6620 [BZ #22096]
6621 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
6622 case of failure to obtain the global conf object.
6623
5670c4ab
FW
66242017-09-06 Florian Weimer <fweimer@redhat.com>
6625
6626 [BZ #22095]
6627 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
6628 dynarray allocation failure.
6629
c77eb969
FW
66302017-09-06 Florian Weimer <fweimer@redhat.com>
6631
6632 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
6633 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
6634 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
6635 New functions.
6636 (response): Call them. Add 'p', '6' flag processing.
6637 (test_reverse): New function.
6638 (test_get2_any): Call it.
6639 (test_no_inet6): Add 'p' test.
6640 (test_inet6): Likewise.
6641
5e9c4d17
FW
66422017-09-06 Florian Weimer <fweimer@redhat.com>
6643
6644 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
6645 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
6646 the QNAME.
6647 (test_gai): Adjust query names. Add additional tests.
6648 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
6649 test_get2. Adjust query names. Add additional tests.
6650 (test_no_inet6): New function, extracted from threadfunc.
6651 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
6652 Add additional tests.
6653
2ae5be04
MF
66542017-09-06 Mike FABIAN <mfabian@redhat.com>
6655
6656 [BZ #22070]
6657 * localedata/unicode-gen/utf8_gen.py: Set the width for
6658 characters with Prepended_Concatenation_Mark property to 1
6659 * localedata/charmaps/UTF-8: Updated using the improved script.
6660
af83ed5c
MF
66612017-09-06 Mike FABIAN <mfabian@redhat.com>
6662
6663 [BZ #21750]
6664 * localedata/unicode-gen/utf8_gen.py: Improve the script to
6665 use the range notation for all ranges of neighbouring characters
6666 with the same width.
6667
4f3647e4
JM
66682017-09-05 Joseph Myers <joseph@codesourcery.com>
6669
6670 * sysdeps/generic/math-type-macros-double.h: Include
6671 <math-svid-compat.h>.
6672 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
6673 * sysdeps/generic/math-type-macros-float.h: Include
6674 <math-svid-compat.h>.
6675 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
6676 * sysdeps/generic/math-type-macros-ldouble.h: Include
6677 <math-svid-compat.h>.
6678 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
6679 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
6680 condition.
6681 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
6682 * math/w_acosf_compat.c: Likewise.
6683 * math/w_acosh_compat.c: Likewise.
6684 * math/w_acoshf_compat.c: Likewise.
6685 * math/w_acoshl_compat.c: Likewise.
6686 * math/w_acosl_compat.c: Likewise.
6687 * math/w_asin_compat.c: Likewise.
6688 * math/w_asinf_compat.c: Likewise.
6689 * math/w_asinl_compat.c: Likewise.
6690 * math/w_atan2_compat.c: Likewise.
6691 * math/w_atan2f_compat.c: Likewise.
6692 * math/w_atan2l_compat.c: Likewise.
6693 * math/w_atanh_compat.c: Likewise.
6694 * math/w_atanhf_compat.c: Likewise.
6695 * math/w_atanhl_compat.c: Likewise.
6696 * math/w_cosh_compat.c: Likewise.
6697 * math/w_coshf_compat.c: Likewise.
6698 * math/w_coshl_compat.c: Likewise.
6699 * math/w_exp10_compat.c: Likewise.
6700 * math/w_exp10f_compat.c: Likewise.
6701 * math/w_exp10l_compat.c: Likewise.
6702 * math/w_exp2_compat.c: Likewise.
6703 * math/w_exp2f_compat.c: Likewise.
6704 * math/w_exp2l_compat.c: Likewise.
6705 * math/w_fmod_compat.c: Likewise.
6706 * math/w_fmodf_compat.c: Likewise.
6707 * math/w_fmodl_compat.c: Likewise.
6708 * math/w_hypot_compat.c: Likewise.
6709 * math/w_hypotf_compat.c: Likewise.
6710 * math/w_hypotl_compat.c: Likewise.
6711 * math/w_j0_compat.c: Likewise.
6712 * math/w_j0f_compat.c: Likewise.
6713 * math/w_j0l_compat.c: Likewise.
6714 * math/w_j1_compat.c: Likewise.
6715 * math/w_j1f_compat.c: Likewise.
6716 * math/w_j1l_compat.c: Likewise.
6717 * math/w_jn_compat.c: Likewise.
6718 * math/w_jnf_compat.c: Likewise.
6719 * math/w_jnl_compat.c: Likewise.
6720 * math/w_lgamma_r_compat.c: Likewise.
6721 * math/w_lgammaf_r_compat.c: Likewise.
6722 * math/w_lgammal_r_compat.c: Likewise.
6723 * math/w_log10_compat.c: Likewise.
6724 * math/w_log10f_compat.c: Likewise.
6725 * math/w_log10l_compat.c: Likewise.
6726 * math/w_log2_compat.c: Likewise.
6727 * math/w_log2f_compat.c: Likewise.
6728 * math/w_log2l_compat.c: Likewise.
6729 * math/w_log_compat.c: Likewise.
6730 * math/w_logf_compat.c: Likewise.
6731 * math/w_logl_compat.c: Likewise.
6732 * math/w_pow_compat.c: Likewise.
6733 * math/w_powf_compat.c: Likewise.
6734 * math/w_powl_compat.c: Likewise.
6735 * math/w_remainder_compat.c: Likewise.
6736 * math/w_remainderf_compat.c: Likewise.
6737 * math/w_remainderl_compat.c: Likewise.
6738 * math/w_sinh_compat.c: Likewise.
6739 * math/w_sinhf_compat.c: Likewise.
6740 * math/w_sinhl_compat.c: Likewise.
6741 * math/w_sqrt_compat.c: Likewise.
6742 * math/w_sqrtf_compat.c: Likewise.
6743 * math/w_sqrtl_compat.c: Likewise.
6744 * math/w_tgamma_compat.c: Likewise.
6745 * math/w_tgammaf_compat.c: Likewise.
6746 * math/w_tgammal_compat.c: Likewise.
6747 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
6748 [LIBM_SVID_COMPAT].
6749 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
6750 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
6751 [LIBM_SVID_COMPAT].
6752 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
6753 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
6754 [LIBM_SVID_COMPAT].
6755 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
6756 * sysdeps/i386/fpu/w_sqrt.c: New file.
6757 * sysdeps/ia64/fpu/w_acos.c: Likewise.
6758 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
6759 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
6760 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
6761 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
6762 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
6763 * sysdeps/ia64/fpu/w_asin.c: Likewise.
6764 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
6765 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
6766 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
6767 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
6768 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
6769 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
6770 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
6771 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
6772 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
6773 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
6774 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
6775 * sysdeps/ia64/fpu/w_exp.c: Likewise.
6776 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
6777 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
6778 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
6779 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
6780 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
6781 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
6782 * sysdeps/ia64/fpu/w_expf.c: Likewise.
6783 * sysdeps/ia64/fpu/w_expl.c: Likewise.
6784 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
6785 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
6786 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
6787 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
6788 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
6789 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
6790 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
6791 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
6792 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
6793 * sysdeps/ia64/fpu/w_log.c: Likewise.
6794 * sysdeps/ia64/fpu/w_log10.c: Likewise.
6795 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
6796 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
6797 * sysdeps/ia64/fpu/w_log2.c: Likewise.
6798 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
6799 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
6800 * sysdeps/ia64/fpu/w_logf.c: Likewise.
6801 * sysdeps/ia64/fpu/w_logl.c: Likewise.
6802 * sysdeps/ia64/fpu/w_pow.c: Likewise.
6803 * sysdeps/ia64/fpu/w_powf.c: Likewise.
6804 * sysdeps/ia64/fpu/w_powl.c: Likewise.
6805 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
6806 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
6807 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
6808 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
6809 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
6810 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
6811 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
6812 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
6813 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
6814 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
6815 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
6816 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
6817 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
6818 [LIBM_SVID_COMPAT].
6819 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
6820 * sysdeps/ieee754/k_standard.c: Likewise.
6821 * sysdeps/ieee754/k_standardf.c: Likewise.
6822 * sysdeps/ieee754/k_standardl.c: Likewise.
6823 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
6824 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
6825 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
6826 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
6827 long_double_symbol call on [LIBM_SVID_COMPAT].
6828 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
6829 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
6830 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
6831 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
6832 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
6833 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
6834 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
6835 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
6836 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
6837 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
6838 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
6839 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
6840 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
6841 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
6842 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
6843 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
6844 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
6845 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
6846 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
6847 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
6848 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
6849 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
6850
05b38d64
SE
68512017-09-05 Steve Ellcey <sellcey@cavium.com>
6852
6853 * include/shlib-compat.h (TEST_COMPAT): New Macro.
6854 * malloc/tst-mallocstate.c: Convert from test-skeleton
6855 to test-driver. Ifdef code using TEST_COMPAT macro.
6856 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
6857 * math/test-matherr.c: Likewise.
6858
99d67918
JM
68592017-09-05 Joseph Myers <joseph@codesourcery.com>
6860
6861 [BZ #22086]
6862 * debug/pcprofiledump.c (main): Use byte-swapped mask when
6863 comparing word with byte-swapped constant.
6864
c207f7ce 68652017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
6866
6867 [BZ #20498]
6868 * locale/iso-639.def: add Miskito.
6869 * localedata/SUPPORTED: Add miq_NI/UTF-8.
6870 * localedata/locales/miq_NI: New file.
6871
0a587a8a
L
68722017-09-04 H.J. Lu <hongjiu.lu@intel.com>
6873
6874 [BZ #18822]
6875 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
6876 (__mkdir): Likewise.
6877 * io/chmod.c (__chmod): Add libc_hidden_def.
6878 * io/mkdir.c (__mkdir): Likewise.
6879 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
6880 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
6881 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
6882 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
6883
f3a129b8
JM
68842017-09-04 Joseph Myers <joseph@codesourcery.com>
6885
1650e192
JM
6886 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6887 version to 4.13.
6888
f3a129b8
JM
6889 [BZ #22082]
6890 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
6891 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
6892
b38042f5
FW
68932017-09-04 Florian Weimer <fweimer@redhat.com>
6894
6895 * math/math.h: Issue warning if log is defined.
6896
059b6404
JM
68972017-09-04 Joseph Myers <joseph@codesourcery.com>
6898
6899 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6900 kernel version to 4.13.
6901
b794e16b
ST
69022017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6903
6904 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
6905 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
6906 parameter.
01969395
ST
6907 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
6908 just <bits/types.h>.
dd2b31de 6909 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 6910 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 6911 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 6912 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
6913 * misc/preadv2.c: Include <errno.h>.
6914 * misc/preadv64v2.c: Include <errno.h>.
6915 * misc/pwritev2.c: Include <errno.h>.
6916 * misc/pwritev64v2.c: Include <errno.h>.
6917 * sysdeps/posix/preadv2.c: Include <errno.h>.
6918 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
6919 Fix <unistd.h> inclusion.
6920 * sysdeps/posix/pwritev2.c: Include <errno.h>.
6921 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
6922 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
6923 __strtoul_internal): New functions.
127e7773
ST
6924 * sysdeps/posix/pause.c: Include <sigsetops.h>.
6925 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
6926 * sysdeps/mach/hurd/i386/Makefile
6927 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6928 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6929 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
6930 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
6931 __feraiseexcept_renamed to feraiseexcept instead of
6932 __GI_feraiseexcept.
56bf5497 6933 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 6934 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
6935 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
6936 RWF_NOWAIT): Define to 0 if undefined already.
6937 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
6938 boils down to 0.
6547ec0a
ST
6939 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
6940 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 6941
5a80d39d
JM
69422017-09-01 Joseph Myers <joseph@codesourcery.com>
6943
6944 * manual/math.texi (pow10): Do not document.
6945 (pow10f): Likewise.
6946 (pow10l): Likewise.
6947 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
6948 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
6949 * math/libm-test-exp10.inc (pow10_test): Remove.
6950 (do_test): Do not call pow10.
6951 * math/w_exp10_compat.c (pow10): Make into compat symbol.
6952 [NO_LONG_DOUBLE] (pow10l): Likewise.
6953 * math/w_exp10f_compat.c (pow10f): Likewise.
6954 * math/w_exp10l_compat.c (pow10l): Likewise.
6955 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
6956 (pow10): Make into compat symbol.
6957 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
6958 (pow10f): Make into compat symbol.
6959 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
6960 (pow10l): Make into compat symbol.
6961 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
6962 pow10.
6963 (CFLAGS-nldbl-pow10.c): Remove variable..
6964 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
6965 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
6966 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
6967 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
6968 Undefine and redefine.
6969 (pow10l): Make into compat symbol.
6970 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
6971 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6972 * sysdeps/arm/libm-test-ulps: Likewise.
6973 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
6974 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6975 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6976 * sysdeps/microblaze/libm-test-ulps: Likewise.
6977 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6978 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6979 * sysdeps/nios2/libm-test-ulps: Likewise.
6980 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6981 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6982 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6983 * sysdeps/sh/libm-test-ulps: Likewise.
6984 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6985 * sysdeps/tile/libm-test-ulps: Likewise.
6986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6987
3824fc38
PP
69882017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6989
6990 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
6991
b3008279
L
69922017-09-01 H.J. Lu <hongjiu.lu@intel.com>
6993
6994 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
6995 "../ChangeLog.old/ChangeLog.8".
6996 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
6997 "../ChangeLog.old/ChangeLog.14".
6998
136fa185
L
69992017-09-01 H.J. Lu <hongjiu.lu@intel.com>
7000
7001 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
7002 Threads Library.
7003
c18d50a2
JM
70042017-09-01 Joseph Myers <joseph@codesourcery.com>
7005
7006 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
7007
bedbd859
L
70082017-09-01 H.J. Lu <hongjiu.lu@intel.com>
7009
7010 * csu/version.c (banner): Remove "by Roland McGrath et al.".
7011 * nptl/Banner: Remove "by Ulrich Drepper et al.".
7012
50c66c7a
PP
70132017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7014
7015 * stdlib/tst-atexit-common.c (do_test): Test support for at least
7016 32 atexit handlers.
7017
a617bd11
ZW
70182017-09-01 Zack Weinberg <zackw@panix.com>
7019
7020 * math/math.h (HUGE_VAL): Improve commentary.
7021
e0d2eb5a
AZ
70222017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7023 Andreas Schwab <schwab@suse.de>
7024
7025 [BZ #21530]
7026 * include/stdio.h (__gen_tempfd): New function.
7027 * stdio-common/Makefile (routines): Add gentempfd.
7028 * stdio-common/gentempfd.c: New file.
7029 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
7030 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
7031 unnamed file first.
7032
f4a6be25
FW
70332017-09-01 Florian Weimer <fweimer@redhat.com>
7034
7035 [BZ #21915]
7036 [BZ #21922]
7037 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
7038 result to determine success or failure, not the errno value.
7039 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
7040 (tst-nss-files-hosts-erange): Link with -ldl.
7041 * nss/tst-nss-files-hosts-erange.c: New file.
7042 * nss/tst-resolv-basic.c (response): Handle nodata.example.
7043 (do_test): Add NO_DATA tests.
7044 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
7045 (do_test): Call it.
7046
5f8340f5
FW
70472017-09-01 Florian Weimer <fweimer@redhat.com>
7048
7049 [BZ #21922]
7050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
7051 coming from gethostbyname2_r.
7052
65329bd2
FW
70532017-09-01 Florian Weimer <fweimer@redhat.com>
7054
7055 * support/namespace.h (struct support_chroot_configuration): Add
7056 hosts, host_conf.
7057 (struct support_chroot): Add path_hosts, path_host_conf.
7058 * support/support_chroot.c (write_file): New function.
7059 (support_chroot_create): Call it to process /etc/resolv.conf,
7060 /etc/hosts, /etc/host.conf.
7061 (support_chroot_free): Update.
7062
a2881ef0
FW
70632017-09-01 Florian Weimer <fweimer@redhat.com>
7064
7065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
7066 status indicates it is set.
7067
ad816a5e
FW
70682017-09-01 Florian Weimer <fweimer@redhat.com>
7069
7070 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
7071 function lookup failures more reliable.
7072
53250a21
FW
70732017-09-01 Florian Weimer <fweimer@redhat.com>
7074
7075 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
7076 (getcanonname): Likewise.
7077 (gaih_inet): Likewise.
7078
924b121c
FW
70792017-09-01 Florian Weimer <fweimer@redhat.com>
7080
7081 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
7082 (getcanonname): Likewise.
7083 (gaih_inet): Likewise.
7084
d9ff799a
SE
70852017-08-31 Steve Ellcey <sellcey@cavium.com>
7086 Richard Henderson <rth@twiddle.net>
7087
7088 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
7089 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
7090 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
7091 (IREG_SIZE, OREG_SIZE): New macros.
7092 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
7093 (IREG_SIZE, OREG_SIZE): New macros.
7094 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
7095 (IREG_SIZE): New macro.
7096 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
7097 (IREG_SIZE): New macro.
7098 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
7099 New includes.
7100 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
7101 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
7102 (__CONCATX): Handle exceptions correctly on large values that may
7103 set FE_INVALID.
7104 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
7105 Initialize if not already set.
7106 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
7107
102dde84
AZ
71082017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7109
7110 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
7111 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
7112 Likewise.
7113 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
7114 Likewise.
7115 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
7116 Likewise.
7117 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
7118 Likewise.
7119 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
7120 Likewise.
7121 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
7122 Likewise.
7123 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
7124 Likewise.
7125 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
7126 (NO_CANCELLATION): Likewise.
7127 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
7128 Likewise.
7129 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
7130 Likewise.
7131 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
7132 Likewise.
7133 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
7134 (NO_CANCELLATION): Likewise.
7135 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
7136 (NO_CANCELLATION): Likewise.
7137 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
7138 Likewise
7139 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
7140 Likewise.
7141 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
7142 Likewise.
7143 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
7144 Likewise.
7145 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
7146 hidden prototype.
7147 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
7148 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
7149
9eee633b
SE
71502017-08-31 Steve Ellcey <sellcey@cavium.com>
7151
7152 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
7153 in resolver call.
7154
65284eb7
FW
71552017-08-31 Florian Weimer <fweimer@redhat.com>
7156
7157 * include/libc-symbols.h (internal_function): Remove.
7158
41ad5ca6
FW
71592017-08-31 Florian Weimer <fweimer@redhat.com>
7160
7161 * stdlib/fmtmsg.c (internal_addseverity): Remove
7162 internal_function.
7163
2fa6d086
FW
71642017-08-31 Florian Weimer <fweimer@redhat.com>
7165
7166 * stdio-common/printf_fp.c (group_number): Remove
7167 internal_function.
7168 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
7169
b41bd5bc
FW
71702017-08-31 Florian Weimer <fweimer@redhat.com>
7171
7172 * posix/fnmatch.c (internal_function): Remove definition.
7173 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
7174 * posix/regcomp.c (peek_token, init_word_char)
7175 (duplicate_node_closure, fetch_token, peek_token)
7176 (peek_token_bracket, build_range_exp, build_collating_symbol):
7177 Likewise.
7178 * posix/regex_internal.c (re_string_construct_common)
7179 (create_ci_newstate, create_cd_newstate, re_string_allocate)
7180 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
7181 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
7182 (re_string_translate_buffer, re_string_reconstruct)
7183 (re_string_peek_byte_case, re_string_fetch_byte_case)
7184 (re_string_destruct, re_string_context_at, re_node_set_alloc)
7185 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
7186 (re_node_set_add_intersect, re_node_set_init_union)
7187 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
7188 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
7189 (re_dfa_add_node, calc_state_hash, re_acquire_state)
7190 (re_acquire_state_context): Likewise.
7191 * posix/regex_internal.h (internal_function): Remove definition.
7192 (re_string_realloc_buffers, build_wcs_buffer)
7193 (build_wcs_upper_buffer, build_upper_buffer)
7194 (re_string_translate_buffer, re_string_context_at)
7195 (re_string_char_size_at, re_string_wchar_at)
7196 (re_string_elem_size_at): Likewise.
7197 * posix/regexec.c (match_ctx_init, match_ctx_clean)
7198 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
7199 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
7200 (re_search_internal, re_search_2_stub, re_search_stub)
7201 (re_copy_regs, prune_impossible_nodes, check_matching)
7202 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
7203 (free_fail_stack_return, sift_states_iter_mb)
7204 (sift_states_backward, build_sifted_states)
7205 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
7206 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
7207 (check_subexp_limits, sift_states_bkref, merge_state_array)
7208 (find_recover_state, transit_state, merge_state_with_log)
7209 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
7210 (transit_state_mb, transit_state_bkref, get_subexp)
7211 (get_subexp_sub, find_subexp_node, check_arrival)
7212 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
7213 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
7214 (check_node_accept_bytes, find_collation_sequence_value)
7215 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
7216 (acquire_init_state_context, check_halt_node_context)
7217 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
7218 (sub_epsilon_src_nodes): Likewise.
7219 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
7220 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
7221 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
7222 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
7223 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
7224 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
7225 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
7226 * sysdeps/posix/ttyname.c (getttyname): Likewise.
7227 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
7228 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
7229 (PREADV): Likewise.
7230 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
7231 (PREADV): Likewise.
7232 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
7233 (PWRITEV): Likewise.
7234 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
7235 (PWRITEV): Likewise.
7236 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
7237 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
7238
83b09837
FW
72392017-08-31 Florian Weimer <fweimer@redhat.com>
7240
7241 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
7242 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
7243 Remove internal_function.
7244 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
7245 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
7246 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
7247 (__deallocate_stack, __libc_pthread_init)
7248 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
7249 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
7250 (__libc_disable_asynccancel, __librt_disable_asynccancel):
7251 Likewise.
7252 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
7253 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
7254 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
7255 Likewise.
7256 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
7257 (__pthread_mutex_unlock_usercnt): Likewise.
7258
116ac301
FW
72592017-08-31 Florian Weimer <fweimer@redhat.com>
7260
7261 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
7262 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
7263 (fts_safe_changedir): Remove internal_function.
7264 * io/ftw.c (internal_function): Remove definition.
7265 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
7266
9da93bd7
FW
72672017-08-31 Florian Weimer <fweimer@redhat.com>
7268
7269 * inet/deadline.c (__deadline_current_time)
7270 (__deadline_from_timeval, __deadline_to_ms): Remove
7271 internal_function.
7272 * inet/getnameinfo.c (nrl_domainname): Likewise.
7273 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
7274 * inet/inet6_option.c (add_pad): Likewise.
7275 * inet/net-internal.h (__deadline_current_time)
7276 (__deadline_from_timeval, __deadline_to_ms): Likewise.
7277 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
7278 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
7279 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
7280
a60eca2e
JM
72812017-08-31 Joseph Myers <joseph@codesourcery.com>
7282
c0c49d60
JM
7283 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
7284 include <bits/nan.h>.
7285 * math/Makefile (headers): Remove bits/nan.h.
7286 * bits/nan.h: Remove.
7287 * sysdeps/ieee754/bits/nan.h: Likewise.
7288 * sysdeps/mips/bits/nan.h: Likewise.
7289
5ef1b213
JM
7290 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
7291 not include <bits/inf.h>.
7292 * math/Makefile (headers): Remove bits/inf.h.
7293 * bits/inf.h: Remove.
7294 * sysdeps/ieee754/bits/inf.h: Likewise.
7295
a60eca2e
JM
7296 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
7297 bits/huge_vall.h or bits/huge_val_flt128.h.
7298 (HUGE_VAL): Define directly here.
7299 [__USE_ISOC99] (HUGE_VALF): Likewise.
7300 [__USE_ISOC99] (HUGE_VALL): Likewise.
7301 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7302 (HUGE_VAL_F128): Likewise.
7303 * math/Makefile (headers): Remove bits/huge_val.h,
7304 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
7305 * bits/huge_val.h: Remove.
7306 * bits/huge_val_flt128.h: Likewise.
7307 * bits/huge_valf.h: Likewise.
7308 * bits/huge_vall.h: Likewise.
7309 * sysdeps/ia64/bits/huge_vall.h: Likewise.
7310 * sysdeps/ieee754/bits/huge_val.h: Likewise.
7311 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
7312 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
7313 * sysdeps/sh/bits/huge_val.h: Likewise.
7314 * sysdeps/sparc/bits/huge_vall.h: Likewise.
7315 * sysdeps/x86/bits/huge_vall.h: Likewise.
7316
17e00cc6
FW
73172017-08-31 Florian Weimer <fweimer@redhat.com>
7318
7319 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
7320 internal_function.
7321 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
7322 Likewise.
7323 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
7324 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7325 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
7326 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
7327 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7328 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7329 * elf/dl-libc.c (dlerror_run): Likewise.
7330 * elf/dl-load.c (add_name_to_object, decompose_rpath)
7331 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
7332 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
7333 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
7334 Likewise.
7335 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
7336 (_dl_higher_prime_number, _dl_strtoul): Likewise.
7337 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
7338 * elf/dl-profile.c (_dl_start_profile): Likewise.
7339 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
7340 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
7341 Likewise.
7342 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
7343 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
7344 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
7345 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
7346 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
7347 (_dl_allocate_tls_storage): Likewise.
7348 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
7349 (_dl_check_all_versions): Likewise.
7350 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
7351 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
7352 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
7353 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7354 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
7355 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
7356 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
7357 internal_function from __dl_start.
7358 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
7359 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
7360 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
7361 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
7362 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
7363 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
7364 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
7365 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
7366 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
7367 (_dl_next_ld_env_entry, _dl_important_hwcaps)
7368 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
7369 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
7370 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
7371 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
7372 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
7373 Likewise.
7374 (struct rtld_global_ro): Remove internal_function from the
7375 _dl_lookup_symbol_x member.
7376 (_dl_symbol_value): Remove. No longer defined anywhere.
7377 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
7378 internal_function.
7379 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7380 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7381 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
7382 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
7383 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
7384 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
7385 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
7386 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
7387 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
7388 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
7389 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
7390 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7391
8d2f9410
FW
73922017-08-31 Florian Weimer <fweimer@redhat.com>
7393
7394 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
7395 Remove internal_function.
7396 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
7397 Likewise.
7398 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
7399 Likewise.
7400
86e4919f
FW
74012017-08-31 Florian Weimer <fweimer@redhat.com>
7402
7403 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
7404 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
7405 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
7406
59bd52b0
FW
74072017-08-31 Florian Weimer <fweimer@redhat.com>
7408
7409 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
7410 (__gai_enqueue_request): Remove internal_function.
7411 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
7412 (__gai_remove_request, __gai_notify, __gai_notify_only)
7413 (__gai_sigqueue): Likewise.
7414 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
7415 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
7416 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
7417 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7418 Likewise.
7419
fc3d9497
FW
74202017-08-31 Florian Weimer <fweimer@redhat.com>
7421
7422 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
7423 * include/dirent.h (__opendirat, __getdents, __getdents64)
7424 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
7425 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
7426 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
7427 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
7428 Likewise.
7429 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
7430
18c54fac
FW
74312017-08-31 Florian Weimer <fweimer@redhat.com>
7432
7433 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
7434 internal_function.
7435 (GETCWD_RETURN_TYPE): Likewise.
7436
7e01f080
FW
74372017-08-31 Florian Weimer <fweimer@redhat.com>
7438
7439 * include/time.h (__tz_compute, __strptime_internal): Remove
7440 internal_function.
7441 * time/strptime_l.c (__strptime_internal): Likewise.
7442 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
7443
d7ccc6c9
FW
74442017-08-31 Florian Weimer <fweimer@redhat.com>
7445
7446 * iconv/gconv.c (__gconv): Remove internal_function.
7447 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
7448 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
7449 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
7450 (__gconv_release_cache): Likewise.
7451 * iconv/gconv_close.c (__gconv_close): Likewise.
7452 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
7453 (read_conf_file, __gconv_get_path): Likewise.
7454 * iconv/gconv_db.c (derivation_lookup, add_derivation)
7455 (__gconv_release_step, gen_steps, increment_counter)
7456 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
7457 (__gconv_close_transform, free_modules_db): Likewise.
7458 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
7459 Likewise.
7460 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
7461 (__gconv_find_transform, __gconv_lookup_cache)
7462 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
7463 (__gconv_close_transform, __gconv_release_cache)
7464 (__gconv_loaded_object, __gconv_release_shlib)
7465 (__gconv_compare_alias): Likewise.
7466 * iconv/gconv_open.c (__gconv_open): Likewise.
7467 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
7468 * iconv/iconvconfig.c (add_module): Likewise.
7469 * intl/dcigettext.c (plural_lookup, guess_category_value)
7470 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
7471 * intl/eval-plural.h (plural_eval): Likewise.
7472 * intl/finddomain.c (_nl_find_domain): Likewise.
7473 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
7474 (_nl_load_domain, _nl_find_msg): Likewise.
7475 (internal_function): Remove definition.
7476 * intl/loadinfo.h (internal_function): Likewise.
7477 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
7478 internal_function.
7479 * intl/localealias.c (internal_function): Remove definition.
7480 (read_alias_file): Remove internal_function.
7481 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
7482 * intl/plural-exp.h (internal_function): Remove definition.
7483 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
7484 internal_function.
7485 * intl/plural.c: Regenerate.
7486 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
7487 * locale/coll-lookup.c (__collidx_table_lookup)
7488 (__collseq_table_lookup): Likewise.
7489 * locale/coll-lookup.h (__collidx_table_lookup)
7490 (__collseq_table_lookup): Likewise.
7491 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
7492 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7493 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
7494 (_nl_unload_locale): Likewise.
7495 * locale/localeinfo.h (struct __locale_data): Remove
7496 internal_function from cleanup member.
7497 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
7498 (_nl_remove_locale, _nl_load_locale_from_archive)
7499 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
7500 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
7501 (_nl_cleanup_time): Remove internal_function.
7502 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
7503 (_nl_parse_alt_digit): Likewise.
7504 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
7505 (_nl_select_era_entry): Likewise.
7506 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
7507 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
7508 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
7509 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
7510 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 7511
dab0eece
FW
75122017-08-31 Florian Weimer <fweimer@redhat.com>
7513
7514 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
7515 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
7516 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
7517 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
7518 Likewise.
7519 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
7520 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
7521 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
7522 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
7523 Likewise.
7524 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
7525
ab5bf7cf
FW
75262017-08-31 Florian Weimer <fweimer@redhat.com>
7527
7528 * misc/getttyent.c (skip, value): Remove internal_function.
7529 * misc/syslog.c (openlog_internal): Likewise.
7530 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
7531
75b3047e
FW
75322017-08-31 Florian Weimer <fweimer@redhat.com>
7533
7534 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
7535 (__nss_rewrite_field): Remove internal_function.
7536 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7537 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
7538 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7539 * nss/nsswitch.c (nss_parse_file, nss_getline)
7540 (nss_parse_service_list, nss_new_service): Likewise.
7541 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
7542 * nss/valid_field.c (__nss_valid_field): Likewise.
7543 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7544
0c71122c
FW
75452017-08-31 Florian Weimer <fweimer@redhat.com>
7546
7547 * malloc/arena.c (__malloc_fork_lock_parent)
7548 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
7549 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
7550 internal_function from defintions.
7551 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
7552 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
7553 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
7554 internal_function from declarations.
7555 * malloc/malloc.c (internal_function): Do not define.
7556 (mem2mem_check): Remove internal_function from declaration.
7557 (munmap_chunk, mremap_chunk): Remove internal_function.
7558 * malloc/mtrace.c (tr_where): Likewise.
7559
ca4ec803
FW
75602017-08-31 Florian Weimer <fweimer@redhat.com>
7561
7562 * include/rpc/pmap_clnt.h (__get_socket): Remove
7563 internal_function.
7564 * sunrpc/auth_des.c (synchronize): Likewise.
7565 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
7566 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
7567 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
7568 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
7569 (key_call): Likewise.
7570 * sunrpc/pm_getport.c (__get_socket): Likewise.
7571 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
7572 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
7573 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
7574 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
7575 (invalidate): Likewise.
7576 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
7577 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
7578 (set_input_fragment, get_input_bytes): Likewise.
7579
24cffce7
FW
75802017-08-31 Florian Weimer <fweimer@redhat.com>
7581
7582 * malloc/malloc.c (_int_free): Remove locked variable and related
7583 asserts.
7584
ecd0747d
L
75852017-08-31 H.J. Lu <hongjiu.lu@intel.com>
7586
7587 [BZ #22051]
7588 * Makerules (build-module-helper-objlist): Filter out
7589 $(elf-objpfx)sofini.os.
7590 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
7591 needed.
7592
5f0704b6
FW
75932017-08-31 Florian Weimer <fweimer@redhat.com>
7594
7595 * libio/fcloseall.c: Assume weak_alias is defined.
7596 * libio/feof.c: Likewise.
7597 * libio/fileno.c: Likewise.
7598 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
7599 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
7600 definitions.
7601 (_IO_file_open): Call __open directly.
7602 (_IO_new_file_sync): Assume ESPIPE is defined.
7603 (_IO_file_seekoff_maybe_mmap): Call __read directly.
7604 (_IO_new_file_write): Call __write directly.
7605 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
7606 * libio/ftello64.c (__ftello64): Assume EIO is defined.
7607 * libio/genops.c: Assume _LIBC is defined.
7608 (save_for_backup): Remove internal_function.
7609 * libio/getc.c: Assume weak_alias is defined.
7610 * libio/getwc.c: Likewise.
7611 * libio/iofclose.c: Assume _LIBC is defined.
7612 * libio/iofdopen.c: Likewise.
7613 (_IO_fcntl): Remove macro definition.
7614 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
7615 Call __fcntl directly.
7616 * libio/iofflush.c: Assume weak_alias is defined.
7617 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
7618 defined.
7619 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
7620 * libio/iofgets.c: Likewise.
7621 * libio/iofopen.c: Assume _LIBC is defined.
7622 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
7623 * libio/iofputs.c: Assume weak_alias is defined.
7624 * libio/iofread.c: Likewise.
7625 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
7626 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
7627 * libio/ioftell.c: Assume weak_alias is defined.
7628 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
7629 * libio/iofwide.c: Assume _LIBC is defined.
7630 (_IO_fwide): Drop SHARED conditional because it is implied by
7631 SHLIB_COMPAT.
7632 * libio/iofwrite.c: Assume weak_alias is defined.
7633 * libio/iogetdelim.c: Likewise.
7634 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
7635 * libio/iogetwline.c (wmemcpy): Remove macro definition.
7636 (_IO_getwline): Call __wmemcpy directly.
7637 * libio/iopopen.c: Assume _LIBC is defined.
7638 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
7639 (_IO_close): Remove macro definitions.
7640 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
7641 _exit directly.
7642 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
7643 directly.
7644 * libio/ioputs.c: Assume weak_alias is defined.
7645 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
7646 * libio/iosetbuffer.c: Assume weak_alias is defined.
7647 * libio/iosetvbuf.c: Likewise.
7648 * libio/ioungetc.c: Likewise.
7649 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
7650 libc_hidden_def, libc_hidden_weak, NULL are defined.
7651 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
7652 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
7653 defined.
7654 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
7655 definitions.
7656 (_IO_old_file_init_internal): Drop SHARED conditional because it
7657 is implied by SHLIB_COMPAT.
7658 (_IO_old_file_fopen): Call __open directly.
7659 (_IO_old_file_sync): Assume ESPIPE is defined.
7660 (_IO_old_file_write): Call __write directly.
7661 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
7662 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
7663 Call __fcntl directly.
7664 * libio/oldiofgetpos.c: Assume weak_alias is defined.
7665 (_IO_old_fgetpos): Assume EIO is defined.
7666 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
7667 (_IO_old_fgetpos64): Assume EIO is defined.
7668 * libio/oldiofsetpos.c: Assume weak_alias is defined.
7669 (_IO_old_fsetpos): Assume EIO is defined.
7670 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
7671 (_IO_old_fsetpos64): Assume EIO is defined.
7672 * libio/oldiopopen.c: Assume _LIBC is defined.
7673 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
7674 (_IO_close): Remove macro definitions.
7675 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
7676 directly.
7677 (_IO_old_proc_close): Call __close, __waitpid directly.
7678 * libio/put.c: Assume weak_alias is defined.
7679 * libio/stdfiles.c: Assume _LIBC is defined.
7680 * libio/stdio.c: Likewise.
7681 * libio/wfileops.c: Likewise.
7682 (_IO_wfile_sync): Assume ESPIPE is defined.
7683 * libio/wgenops.c: Assume _LIBC is defined.
7684 (save_for_wbackup): Remove internal_function.
7685
5129873a
FW
76862017-08-31 Florian Weimer <fweimer@redhat.com>
7687
7688 * malloc/malloc.c (top_check): Change return type to void. Remove
7689 internal_function.
7690 * malloc/hooks.c (top_check): Likewise.
7691 (malloc_check, realloc_check, memalign_check): Adjust.
7692
4fa9b3bf
JM
76932017-08-30 Joseph Myers <joseph@codesourcery.com>
7694
7695 [BZ #21457]
7696 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
7697 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
7698 sigcontext and namespace requirements.
7699 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
7700 * sysdeps/m68k/sys/ucontext.h: Likewise.
7701 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
7702 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
7703 <bits/sigcontext.h>.
7704 (__ctx): Define earlier.
7705 (mcontext_t): Define structure contents rather than using struct
7706 sigcontext.
7707 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
7708 __glibc_reserved1 instead of __reserved.
7709 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
7710 <bits/sigcontext.h>.
7711 (__ctx): Define earlier.
7712 (mcontext_t): Define structure contents rather than using struct
7713 sigcontext.
7714 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
7715 mcontext_t instead of struct sigcontext.
7716 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
7717 <bits/sigcontext.h>.
7718 (__ctx): Define earlier.
7719 (mcontext_t): Define structure contents rather than using struct
7720 sigcontext.
7721 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
7722 <bits/sigcontext.h>.
7723 (__ctx): Define earlier.
7724 (mcontext_t): Define structure contents rather than using struct
7725 sigcontext.
7726 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
7727 mcontext_t instead of struct sigcontext.
7728 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
7729 mcontext_t instead of struct sigcontext.
7730 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
7731 <bits/sigcontext.h>.
7732 (__ctx): New macro.
7733 (struct __ia64_fpreg_mcontext): New type.
7734 (mcontext_t): Define structure contents rather than using struct
7735 sigcontext.
7736 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
7737 (uc_sigmask): Define using __ctx.
7738 (uc_stack): Likewise.
7739 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
7740 <bits/sigcontext.h>.
7741 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7742 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
7743 <bits/sigcontext.h>.
7744 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
7745 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
7746 <bits/sigcontext.h>.
7747 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
7748 <bits/sigcontext.h>.
7749 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
7750 <bits/sigcontext.h>.
7751 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
7752 <bits/sigcontext.h>.
7753 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
7754 <bits/sigcontext.h>.
7755 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
7756 <bits/sigcontext.h>.
7757 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
7758 <bits/sigcontext.h>.
7759 (__ctx): Define earlier.
7760 (mcontext_t): Define structure contents rather than using struct
7761 sigcontext.
7762 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
7763 <bits/sigcontext.h>. Include <bits/types.h>.
7764 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
7765 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
7766 (test-xfail-XPG42/ucontext.h/conform): Likewise.
7767 (test-xfail-UNIX98/signal.h/conform): Likewise.
7768 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7769 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7770 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7771 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7772 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7773 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7774 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7775 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7776 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7777
5898f454
FW
77782017-08-30 Florian Weimer <fweimer@redhat.com>
7779
7780 * malloc/dynarray_emplace_enlarge.c
7781 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
7782 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
7783 * malloc/tst-dynarray.c (test_long_overflow): New function.
7784 (do_test): Call it.
7785
a9da0bb2
FW
77862017-08-30 Florian Weimer <fweimer@redhat.com>
7787
7788 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
7789 (set_arena_corrupt): Remove definitions.
7790 (mtrim): Do not check for corrupt arena.
7791 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
7792 Likewise.
7793
ac3ed168
FW
77942017-08-30 Florian Weimer <fweimer@redhat.com>
7795
7796 [BZ #21754]
7797 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
7798 check_action.
7799 (ptmalloc_init): Do not set or use check_action.
7800 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
7801 call to malloc_printerr. Remove return statement.
7802 (free_check): Likewise. Remove arena unlock.
7803 (top_check): Update comment. Adjust call to malloc_printerr.
7804 Remove heap repair code.
7805 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
7806 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
7807 (sysmalloc): Adjust call to malloc_printerr.
7808 (munmap_chunk, __libc_realloc): Likewise. Remove return
7809 statement.
7810 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
7811 Remove errout label and corresponding gotos.
7812 (_int_free): Likewise. Remove arena unlock.
7813 (do_set_mallopt_check): Do not set check_action.
7814 (malloc_printerr): Adjust parameter list. Do not mark arena as
7815 corrupt.
7816 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
7817 comment.
7818 * manual/probes.texi (Memory Allocation Probes): Remove
7819 memory_mallopt_check_action.
7820
44bcba80
SE
78212017-08-30 Steve Ellcey <sellcey@cavium.com>
7822
7823 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
7824 Use pointer to uint64_t instead of long int for sp.
7825
ec2c1fce
FW
78262017-08-30 Florian Weimer <fweimer@redhat.com>
7827
7828 [BZ #21754]
7829 * malloc/malloc.c (malloc_printerr): Always terminate the process,
7830 without printing a backtrace. Do not leak any information in the
7831 error message.
7832 * manual/memory.texi (Heap Consistency Checking): Update.
7833 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
7834
9ce673b6
FW
78352017-08-30 Florian Weimer <fweimer@redhat.com>
7836
7837 Do not scale NPTL tests with available number of CPUs.
7838 * nptl/tst-cond16.c (count): Set to constant value of 8.
7839 * nptl/tst-cond18.c (count): Likewise.
7840
2f1aef19
JM
78412017-08-29 Joseph Myers <joseph@codesourcery.com>
7842
7843 [BZ #22035]
7844 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
7845 Define to take a second argument that is a macro that
7846 concatentates a suffix, not the suffix itself.
7847 (__CONCAT_d): New macro.
7848 (__CONCAT_f): Likewise.
7849 (__CONCAT_l): Likewise.
7850
8325b477
PP
78512017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
7852
7853 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
7854 by child.
7855
319cbbf6
AZ
78562017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7857 Aurelien Jarno <aurelien@aurel32.net>
7858 Maciej W. Rozycki <macro@imgtec.com>
7859
7860 [BZ #21956]
7861 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
7862 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
7863 `mips16-syscall6' and `mips16-syscall7'.
7864 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
7865 (CFLAGS-mips16-syscall7.c): Remove.
7866 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
7867 Remove `__mips16_syscall5', `__mips16_syscall6' and
7868 `__mips16_syscall7'.
7869 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
7870 (__mips16_syscall0): Rename `__mips16_syscall_return' to
7871 `__mips_syscall_return'.
7872 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
7873 (__mips16_syscall1): Likewise.
7874 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
7875 (__mips16_syscall2): Likewise.
7876 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
7877 (__mips16_syscall3): Likewise.
7878 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
7879 (__mips16_syscall4): Likewise.
7880 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
7881 Remove.
7882 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
7883 Remove.
7884 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
7885 Remove.
7886 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
7887 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
7888 `__mips16_syscall5'. Remove prototype.
7889 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
7890 `__mips16_syscall6'. Remove prototype.
7891 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
7892 `__mips16_syscall7'. Remove prototype.
7893 (__nomips16, __mips16_syscall_return): Move to...
7894 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
7895 (__nomips16, __mips_syscall_return): ... here.
7896 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
7897 `__mips16_syscall_return' to `__mips_syscall_return'.
7898 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
7899 `internal_syscall##nr'.
7900 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
7901 `internal_syscall##nr'.
7902 (FORCE_FRAME_POINTER): Remove.
7903 (__mips_syscall5): New prototype.
7904 (internal_syscall5): Rewrite to call `__mips_syscall5'.
7905 (__mips_syscall6): New prototype.
7906 (internal_syscall6): Rewrite to call `__mips_syscall6'.
7907 (__mips_syscall7): New prototype.
7908 (internal_syscall7): Rewrite to call `__mips_syscall7'.
7909 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
7910 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
7911 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
7912 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
7913 (sysdep_routines): Add libc-do-syscall.
7914 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
7915 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
7916
01b87c65
AZ
79172017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7918
7919 [BZ #21672]
7920 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
7921 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
7922 (advise_stack_range): New function.
7923 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
7924 stack non required to advise_stack_range at allocatestack.c
7925
16f138a4
SN
79262017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
7927
7928 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
7929
251bccfa
FW
79302017-08-29 Florian Weimer <fweimer@redhat.com>
7931
7932 [BZ #22026]
7933 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
7934 __end_fct. Mangle __end_fct after setting it to NULL.
7935 * iconv/Makefile (tests): Add tst-gconv-init-failure.
7936 (modules-names, modules-names-tests): Add
7937 tst-gconv-init-failure-mod.
7938 (gconv-modules): New target.
7939 (tst-gconv-init-failure-mod.so): Link against libsupport.
7940 (tst-gconv-init-failure): Depend on gconv-modules,
7941 tst-gconv-init-failure-mod.so.
7942 * iconv/tst-gconv-init-failure-mod.c: New file.
7943 * iconv/tst-gconv-init-failure.c: Likewise.
7944 * iconv/test-gconv-modules: Likewise.
7945
e7c18b9d
FW
79462017-08-29 Florian Weimer <fweimer@redhat.com>
7947
7948 [BZ #22025]
7949 * iconv/gconv_db.c (free_derivation): Remove redundant
7950 parentheses.
7951 (gen_steps): Unconditionally mangle __btowc_fct after
7952 initialization.
7953 (increment_counter): Likewise. Do not call init_fct for internal
7954 modules.
7955
7daada03
JM
79562017-08-29 Joseph Myers <joseph@codesourcery.com>
7957
7958 [BZ #22028]
7959 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
7960 (_MSUF_): Remove macro.
7961 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
7962 Likewise.
7963 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
7964 (__REDIRFROM_X): New macro.
7965 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
7966 Likewise.
7967 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
7968 (__REDIRTO_X): Likewise.
7969 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
7970 arguments.
7971 (__MATH_REDIRCALL_2): Likewise.
7972 (__MATH_REDIRCALL_INTERNAL): Likewise.
7973 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
7974 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
7975 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
7976 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
7977 * math/test-finite-macros.c: New file.
7978 * math/Makefile (tests): Add test-finite-macros.
7979 (CFLAGS-test-finite-macros.c): New variable.
7980
1cf1232c
PF
79812017-08-29 Patsy Franklin <pfrankli@redhat.com>
7982 Jeff Law <law@redhat.com>
7983
7984 [BZ #22025]
7985 Mangle NULL pointers in iconv/gconv.
7986 * iconv/gconv_cache.c (find_module): Demangle init_fct before
7987 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
7988 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
7989 is non-NULL before demangling the end_fct. Check for NULL
7990 end_fct after demangling.
7991 (__gconv_release_step): Demangle the end_fct before checking
7992 it for NULL. Remove assert on __shlibc_handle != NULL.
7993 (gen_steps): Don't check btowc_fct for NULL before mangling.
7994 Demangle init_fct before checking for NULL.
7995 (increment_counter): Likewise.
7996 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
7997 end_fct for NULL before mangling.
7998 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
7999 for NULL.
8000
c207f7ce 80012017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
8002
8003 [BZ #21971]
8004 * locale/iso-639.def: add Morisyen.
8005
42496114
GG
80062017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8007
8008 [BZ #21930]
8009 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
8010 (iszero): New C++ implementation that does not use
8011 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
8012 signaling nans are enabled, since __builtin_types_compatible_p
8013 is a C-only feature.
8014 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
8015 defined, include ieee754_float128.h for access to the union and
8016 member ieee854_float128.ieee.
8017 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
8018 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
8019 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
8020 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
8021 options of test-math-zero on powerpc64le.
8022
5e2bc4ff
L
80232017-08-28 H.J. Lu <hongjiu.lu@intel.com>
8024
8025 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
8026 Change double to float.
8027
a48c0fb4
JM
80282017-08-28 Joseph Myers <joseph@codesourcery.com>
8029
8030 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
8031 unconditional.
8032 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
8033 conditional code; define contents only for [LIBM_SVID_COMPAT].
8034
ee17d4e9
FW
80352017-08-28 Florian Weimer <fweimer@redhat.com>
8036
8037 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
8038 (abi-lp64_be-options): Remove.
8039 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
8040 (abi-hard-options): Likewise.
8041 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
8042 (abi-o32_hard-options, abi-o32_soft_2008-options)
8043 (abi-o32_hard_2008-options, abi-n32_soft-options)
8044 (abi-n32_hard-options, abi-n32_soft_2008-options)
8045 (abi-n32_hard_2008-options, abi-n64_soft-options)
8046 (abi-n64_hard-options, abi-n64_soft_2008-options)
8047 (abi-n64_hard_2008-options): Likewise.
8048 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
8049 (abi-64-v1-options, abi-64-v2-options): Likewise.
8050 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
8051 (abi-64-options): Likewise.
8052 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
8053 (abi-64-options): Likewise.
8054 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
8055 (abi-64-options): Likewise.
8056 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
8057 (abi-64-options, abi-x32-options): Likewise.
8058
2dba5ce7
FW
80592017-08-28 Florian Weimer <fweimer@redhat.com>
8060
8061 Store supported list of SYS_* system calls in the source tree.
8062 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8063 (bits/syscall.h): Generate from list file.
8064 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
8065 [$(subdir) = misc] (tests): Add tst-syscall-list.
8066 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
8067 [$(subdir) = misc] (tst-syscall-list-macros.list)
8068 [$(subdir) = misc] (tst-syscall-list-nr.list)
8069 (tst-syscall-list-sys.list): Helper targets for new
8070 tst-syscall-list test.
8071 [$(subdir) = misc] (tst-syscall-list.out): Run test script
8072 tst-syscall-list.sh.
8073 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
8074 target. Do not include bits/syscall.d.
8075 [$(subdir) = misc] (generated): Do not update.
8076 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
8077 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
8078 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
8079 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
8080
5f3b183d
PP
80812017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
8082
8083 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
8084 (tst-cxa_atexit, tst-on_exit): Likewise.
8085 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
8086 tst-cxa_atexit, and tst-on_exit.
8087 * stdlib/tst-atexit-common.c: New file.
8088 * stdlib/tst-atexit.c: New file.
8089 * stdlib/tst-at_quick_exit.c: New file.
8090 * stdlib/tst-cxa_atexit.c: New file.
8091 * stdlib/tst-on_exit.c: New file.
8092
2ef8d469
ST
80932017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8094
8095 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
8096 * mach/stack_chk_fail_local.c: New file.
8097 * hurd/stack_chk_fail_local.c: New file.
8098 * mach/Machrules ($(interface-library)-routines): Add
8099 stack_chk_fail_local.
99ee4d26
ST
8100 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
8101 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
8102 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
8103 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
8104 * hurd/Makefile (CFLAGS-hurdstartup.o,
8105 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 8106
7ab70c98
L
81072017-08-25 H.J. Lu <hongjiu.lu@intel.com>
8108
8109 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
8110 (index_cpu_*, index_arch_*): Removed.
8111
39e7a5a6
SN
81122017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
8113
8114 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
8115 Use uint64_t instead of unsigned long.
8116
bba5c930
JM
81172017-08-25 Joseph Myers <joseph@codesourcery.com>
8118
a6ccdb08
JM
8119 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
8120 [__HAVE_DISTINCT_FLOAT128].
8121
23761119
JM
8122 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
8123 of <bits/math-finite.h>.
8124 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
8125 inclusion of <bits/math-finite.h>.
8126 * math/bits/math-finite.h (__REDIRTO_X): Do not define
8127 conditionally on [__MATH_DECLARING_LDOUBLE && defined
8128 __NO_LONG_DOUBLE_MATH].
8129 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
8130 (__MATH_REDIRCALL_2): Likewise.
8131 (__MATH_REDIRCALL_INTERNAL): Likewise.
8132 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
8133 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
8134 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
8135
bba5c930
JM
8136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
8137 Remove file.
8138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
8139 Likewise.
8140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
8141 Likewise.
8142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
8143 Likewise.
8144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
8145 Likewise.
8146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
8147 Likewise.
8148 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
8149 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
8150 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
8151 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
8152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
8153 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
8154 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
8155 w_sqrtf_compat-ppc32.
8156
3d7b66f6
GG
81572017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8158
8159 * math/math.h [defined __cplusplus] (issignaling): In the long
8160 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
8161 is not defined. Call __issignaling, otherwise.
8162
ebd6f007
AZ
81632017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8164
8165 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
8166 syscall definitions and replace __builtin_expect with __glibc_likely.
8167 * sysdeps/unix/syscall-template.S: Update comment about cancellable
8168 syscall.
8169 (SYSCALL_CANCELLABLE): Removedefinition
8170 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
8171 definition.
8172 (PSEUDO_END): Likewise.
8173 [IS_IN (libpthread)] (CENABLE): Likewise.
8174 [IS_IN (libpthread)] (CDISABLE): Likewise.
8175 [IS_IN (libc)] (CENABLE): Likewise.
8176 [IS_IN (libc)] (CENABLE): Likewise.
8177 [IS_IN (librt)] (CDISABLE): Likewise.
8178 [IS_IN (librt)] (CDISABLE): Likewise.
8179 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8180 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
8181 definition.
8182 (PSEUDO_END): Likewise.
8183 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
8184 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
8185 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
8186 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
8187 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
8188 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
8189 (CENABLE): Likewise.
8190 (CDISABLE): Likewise.
8191 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8192 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
8193 defintion.
8194 (PSEUDO_END): Likewise.
8195 [IS_IN (libpthread)] (CENABLE): Likewise.
8196 [IS_IN (libpthread)] (CDISABLE): Likewise.
8197 [IS_IN (libc)] (CENABLE): Likewise.
8198 [IS_IN (libc)] (CENABLE): Likewise.
8199 [IS_IN (librt)] (CDISABLE): Likewise.
8200 [IS_IN (librt)] (CDISABLE): Likewise.
8201 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8202 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
8203 definition.
8204 (PSEUDO_END): Likewise.
8205 [IS_IN (libpthread)] (CENABLE): Likewise.
8206 [IS_IN (libpthread)] (CDISABLE): Likewise.
8207 [IS_IN (libc)] (CENABLE): Likewise.
8208 [IS_IN (libc)] (CENABLE): Likewise.
8209 [IS_IN (librt)] (CDISABLE): Likewise.
8210 [IS_IN (librt)] (CDISABLE): Likewise.
8211 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8212 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
8213 definition.
8214 (PSEUDO_END): Likewise.
8215 [IS_IN (libpthread)] (CENABLE): Likewise.
8216 [IS_IN (libpthread)] (CDISABLE): Likewise.
8217 [IS_IN (libc)] (CENABLE): Likewise.
8218 [IS_IN (libc)] (CENABLE): Likewise.
8219 [IS_IN (librt)] (CDISABLE): Likewise.
8220 [IS_IN (librt)] (CDISABLE): Likewise.
8221 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8222 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
8223 definition.
8224 (PSEUDO_END): Likewise.
8225 [IS_IN (libpthread)] (CENABLE): Likewise.
8226 [IS_IN (libpthread)] (CDISABLE): Likewise.
8227 [IS_IN (libc)] (CENABLE): Likewise.
8228 [IS_IN (libc)] (CENABLE): Likewise.
8229 [IS_IN (librt)] (CDISABLE): Likewise.
8230 [IS_IN (librt)] (CDISABLE): Likewise.
8231 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8232 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
8233 definition.
8234 (PSEUDO_END): Likewise.
8235 [IS_IN (libpthread)] (CENABLE): Likewise.
8236 [IS_IN (libpthread)] (CDISABLE): Likewise.
8237 [IS_IN (libc)] (CENABLE): Likewise.
8238 [IS_IN (libc)] (CENABLE): Likewise.
8239 [IS_IN (librt)] (CDISABLE): Likewise.
8240 [IS_IN (librt)] (CDISABLE): Likewise.
8241 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8242 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
8243 definition.
8244 (PSEUDO_END): Likewise.
8245 [IS_IN (libpthread)] (CENABLE): Likewise.
8246 [IS_IN (libpthread)] (CDISABLE): Likewise.
8247 [IS_IN (libc)] (CENABLE): Likewise.
8248 [IS_IN (libc)] (CENABLE): Likewise.
8249 [IS_IN (librt)] (CDISABLE): Likewise.
8250 [IS_IN (librt)] (CDISABLE): Likewise.
8251 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8252 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
8253 Remove definition.
8254 (PSEUDO_END): Likewise.
8255 [IS_IN (libpthread)] (CENABLE): Likewise.
8256 [IS_IN (libpthread)] (CDISABLE): Likewise.
8257 [IS_IN (libc)] (CENABLE): Likewise.
8258 [IS_IN (libc)] (CENABLE): Likewise.
8259 [IS_IN (librt)] (CDISABLE): Likewise.
8260 [IS_IN (librt)] (CDISABLE): Likewise.
8261 (SINGLE_THREAD_P): Likewise.
8262 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
8263 definition.
8264 (PSEUDO_END): Likewise.
8265 [IS_IN (libpthread)] (CENABLE): Likewise.
8266 [IS_IN (libpthread)] (CDISABLE): Likewise.
8267 [IS_IN (libc)] (CENABLE): Likewise.
8268 [IS_IN (libc)] (CENABLE): Likewise.
8269 [IS_IN (librt)] (CDISABLE): Likewise.
8270 [IS_IN (librt)] (CDISABLE): Likewise.
8271 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8272 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
8273 definition.
8274 (PSEUDO_END): Likewise.
8275 [IS_IN (libpthread)] (CENABLE): Likewise.
8276 [IS_IN (libpthread)] (CDISABLE): Likewise.
8277 [IS_IN (libc)] (CENABLE): Likewise.
8278 [IS_IN (libc)] (CENABLE): Likewise.
8279 [IS_IN (librt)] (CDISABLE): Likewise.
8280 [IS_IN (librt)] (CDISABLE): Likewise.
8281 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8282 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
8283 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8284 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
8285 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
8286 definition.
8287 (PSEUDO_END): Likewise.
8288 [IS_IN (libpthread)] (CENABLE): Likewise.
8289 [IS_IN (libpthread)] (CDISABLE): Likewise.
8290 [IS_IN (libc)] (CENABLE): Likewise.
8291 [IS_IN (libc)] (CENABLE): Likewise.
8292 [IS_IN (librt)] (CDISABLE): Likewise.
8293 [IS_IN (librt)] (CDISABLE): Likewise.
8294 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8295 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
8296 definition.
8297 (PSEUDO_END): Likewise.
8298 [IS_IN (libpthread)] (CENABLE): Likewise.
8299 [IS_IN (libpthread)] (CDISABLE): Likewise.
8300 [IS_IN (libc)] (CENABLE): Likewise.
8301 [IS_IN (libc)] (CENABLE): Likewise.
8302 [IS_IN (librt)] (CDISABLE): Likewise.
8303 [IS_IN (librt)] (CDISABLE): Likewise.
8304 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8305 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
8306 definition.
8307 (PSEUDO_END): Likewise.
8308 [IS_IN (libpthread)] (CENABLE): Likewise.
8309 [IS_IN (libpthread)] (CDISABLE): Likewise.
8310 [IS_IN (libc)] (CENABLE): Likewise.
8311 [IS_IN (libc)] (CENABLE): Likewise.
8312 [IS_IN (librt)] (CDISABLE): Likewise.
8313 [IS_IN (librt)] (CDISABLE): Likewise.
8314 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8315 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
8316 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8317 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
8318 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
8319 definition.
8320 (PSEUDO_END): Likewise.
8321 [IS_IN (libpthread)] (CENABLE): Likewise.
8322 [IS_IN (libpthread)] (CDISABLE): Likewise.
8323 [IS_IN (libc)] (CENABLE): Likewise.
8324 [IS_IN (libc)] (CENABLE): Likewise.
8325 [IS_IN (librt)] (CDISABLE): Likewise.
8326 [IS_IN (librt)] (CDISABLE): Likewise.
8327 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8328 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
8329 definition.
8330 (PSEUDO_END): Likewise.
8331 [IS_IN (libpthread)] (CENABLE): Likewise.
8332 [IS_IN (libpthread)] (CDISABLE): Likewise.
8333 [IS_IN (libc)] (CENABLE): Likewise.
8334 [IS_IN (libc)] (CENABLE): Likewise.
8335 [IS_IN (librt)] (CDISABLE): Likewise.
8336 [IS_IN (librt)] (CDISABLE): Likewise.
8337 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
8338
8aa48656
SN
83392017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
8340
8341 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
8342
fcaaca41
L
83432017-08-23 H.J. Lu <hongjiu.lu@intel.com>
8344
8345 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8346
376b40a2
L
83472017-08-23 H.J. Lu <hongjiu.lu@intel.com>
8348
8349 [BZ #21982]
8350 * string/stratcliff.c (do_test): Declare size, nchars, inner,
8351 middle and outer with size_t instead of int. Repleace %d and
8352 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
8353 "MAX (outer, nchars - 64)" to support unsigned outer and
8354 nchars. Also exit loop when outer == 0.
8355
2b0b9a1c
AZ
83562017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8357
8358 * include/fcntl.h (__fcntl_nocancel): Remove definition.
8359 * include/signal.h (__sigsuspend_nocancel): Likewise.
8360 * include/time.h (__nanosleep_nocancel): Likewise.
8361 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
8362 * login/utmp_file.c: Include non cancellable syscall header.
8363 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
8364 prototype.
8365
b9eaca8f
L
83662017-08-23 H.J. Lu <hongjiu.lu@intel.com>
8367
8368 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
8369 .byte sequences with AVX512F instructions.
8370 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
8371 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8372 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
8373 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
8374 Likewise.
8375 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8376 Likewise.
8377
5a706f64
SE
83782017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
8379 Steve Ellcey <sellcey@cavium.com>
8380
8381 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
8382 Use PTR_REG macro in cmp instruction.
8383
b513da7e
GG
83842017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8385
8386 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
8387 Change the return type of the ifunc resolver to match the return
8388 type of the target function.
8389
78ca091c
AZ
83902017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8391
b70b6026
AZ
8392 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
8393 (preadv64): Likewise.
8394 (pwrite64(: Likewise.
8395 (pwritev64): Likewise.
8396
78ca091c
AZ
8397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8398 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
8399 (LOAD_ARGS_0): Likewise.
8400 (LOAD_ARGS_1): Likewise.
8401 (LOAD_ARGS_2): Likewise.
8402 (LOAD_ARGS_3): Likewise.
8403 (LOAD_ARGS_4): Likewise.
8404 (LOAD_ARGS_5): Likewise.
8405 (LOAD_ARGS_6): Likewise.
8406 (LOAD_REGS_0): Likewise.
8407 (LOAD_REGS_1): Likewise.
8408 (LOAD_REGS_2): Likewise.
8409 (LOAD_REGS_3): Likewise.
8410 (LOAD_REGS_4): Likewise.
8411 (LOAD_REGS_5): Likewise.
8412 (LOAD_REGS_6): Likewise.
8413 (ASM_ARGS_0): Likewise.
8414 (ASM_ARGS_1): Likewise.
8415 (ASM_ARGS_2): Likewise.
8416 (ASM_ARGS_3): Likewise.
8417 (ASM_ARGS_4): Likewise.
8418 (ASM_ARGS_5): Likewise.
8419 (ASM_ARGS_6): Likewise.
8420 (LOAD_ARGS_TYPES_1): Likewise.
8421 (LOAD_ARGS_TYPES_2): Likewise.
8422 (LOAD_ARGS_TYPES_3): Likewise.
8423 (LOAD_ARGS_TYPES_4): Likewise.
8424 (LOAD_ARGS_TYPES_5): Likewise.
8425 (LOAD_ARGS_TYPES_6): Likewise.
8426 (LOAD_REGS_TYPES_1): Likewise.
8427 (LOAD_REGS_TYPES_2): Likewise.
8428 (LOAD_REGS_TYPES_3): Likewise.
8429 (LOAD_REGS_TYPES_4): Likewise.
8430 (LOAD_REGS_TYPES_5): Likewise.
8431 (LOAD_REGS_TYPES_6): Likewise.
8432 (TYPEFY): New define.
8433 (ARGIFY): Likewise.
8434 (internal_syscall0): Likewise.
8435 (internal_syscall1): Likewise.
8436 (internal_syscall2): Likewise.
8437 (internal_syscall3): Likewise.
8438 (internal_syscall4): Likewise.
8439 (internal_syscall5): Likewise.
8440 (internal_syscall6): Likewise.
8441 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
8442 (INTERNAL_SYSCALL_NCS): Remove define.
8443 (internal_syscall1): Add define.
8444
453a493d
GG
84452017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8446
8447 * math/w_remainder_compat.c: Remove duplicate inclusion of
8448 math-svid-compat.h.
8449 * math/w_remainderf_compat.c: Likewise.
8450 * math/w_remainderl_compat.c: Likewise.
8451
f2f048a5
GG
84522017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8453
8454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8455
d9bef9c0
JM
84562017-08-22 Joseph Myers <joseph@codesourcery.com>
8457
8458 [BZ #21684]
8459 * math/tgmath.h (__floating_type): Simplify definitions.
8460 (__real_integer_type): New macro.
8461 (__complex_integer_type): Likewise.
8462 (__expr_is_real): Likewise.
8463 (__tgmath_real_type_sub): Update comment to describe handling of
8464 complex types.
8465 (__tgmath_complex_type_sub): New macro.
8466 (__tgmath_complex_type): Likewise.
8467 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8468 (__TGMATH_CF128): Use __expr_is_real.
8469 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
8470 __expr_is_real.
8471 (__TGMATH_BINARY_REAL_IMAG): Likewise.
8472 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
8473 * math/gen-tgmath-tests.py (Type.create_type): Create complex
8474 integer types.
8475
08d6eb46
AZ
84762017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8477
988f991b
AZ
8478 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
8479 macro.
8480 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
8481 alias.
8482 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
8483 Likewise.
8484
6f33fd04
AZ
8485 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
8486 nanosleep_not_cancel with __nanosleep_nocancel.
8487 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
8488 (__nanosleep_nocancel): New macro.
8489 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
8490 function.
8491 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
8492 macro.
8493 (__nanosleep_nocancel): New prototype.
8494
08d6eb46
AZ
8495 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
8496 pause_not_cancel with __pause_nocancel.
8497 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
8498 (__pause_nocancel): New macro.
8499 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
8500 macro.
8501 (__pause_nocancel): New prototype.
8502 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
8503
ee4e992e
MS
85042017-08-22 Martin Sebor <msebor@redhat.com>
8505
8506 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
8507 to return a pointer to the same type as the target function.
8508
20962acb
L
85092017-08-22 H.J. Lu <hongjiu.lu@intel.com>
8510
8511 [BZ #18822]
8512 [BZ #21986]
8513 * include/printf.h (__printf_fphex): Add attribute_hidden.
8514 (__guess_grouping): New prototype.
8515 * stdio-common/printf_fp.c (__guess_grouping): Removed.
8516 * stdio-common/reg-printf.c (__register_printf_specifier): Add
8517 libc_hidden_proto and libc_hidden_def.
8518 * stdlib/strfmon_l.c (__guess_grouping): Removed.
8519 (__vstrfmon_l): Remove the third argument passed to
8520 __guess_grouping.
8521
a16e8bc0
GG
85222017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8523
8524 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
8525 definition for issignaling that does not rely on __MATH_TG,
8526 since __MATH_TG uses __builtin_types_compatible_p, which is only
8527 available in C mode.
8528 (CFLAGS-test-math-issignaling.cc): New variable.
8529 * math/Makefile [CXX] (tests): Add test-math-issignaling.
8530 * math/test-math-issignaling.cc: New test for C++ implementation
8531 of type-generic issignaling.
8532 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
8533 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
8534 options of test-math-issignaling on powerpc64le.
8535
8d2ec553
L
85362017-08-22 H.J. Lu <hongjiu.lu@intel.com>
8537
8538 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
8539 building libc.a.
8540 (hidden_proto): Likewise.
8541 (hidden_tls_proto): Likewise.
8542 (__hidden_proto): Likewise.
8543
a4d57b79
FW
85442017-08-22 Florian Weimer <fweimer@redhat.com>
8545
8546 math: Statically link tests of internal functionality.
8547 * math/Makefile (tests): Remove atest-exp, atest-sincos,
8548 atest-exp2.
8549 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
8550 (gmp-objs): Remove assignment.
8551 (atest-exp, atest-sincos, atest-exp2): Remove targets.
8552
75dfe623
JM
85532017-08-22 Joseph Myers <joseph@codesourcery.com>
8554
80f91666
JM
8555 [BZ #21987]
8556 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
8557 and copy to ...
8558 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
8559 ... here.
8560 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
8561 ... and here.
8562
75dfe623
JM
8563 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
8564 variable definitions above inclusion of ../Rules.
8565
ea99fcd0
JM
85662017-08-21 Joseph Myers <joseph@codesourcery.com>
8567
8568 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
8569 case calling __builtin_unreachable.
8570
19926de9
AZ
85712017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8572
a8410a5f
AZ
8573 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
8574 __waitpid_nocancel.
8575 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
8576 (__waitpid_nocancel): New macro.
8577 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
8578 macro.
8579 (__waitpid_nocancel): Replace macro with a function.
8580 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
8581 function.
8582
7369800c
AZ
8583 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
8584 __fcntl_nocancel.
8585 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
8586 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
8587
19926de9
AZ
8588 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
8589 __writev_nocancel_nostatus.
8590 (write_call_graph): Likewise.
8591 (write_bb_counts): Likewise.
8592 * resolv/herror.c (herror): Likewise.
8593 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
8594 macro.
8595 (__writev_nocancel_nostatus): New macro.
8596 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
8597 Remove macro.
8598 (__writev_nocancel_nostatus): New function.
8599
813378e9
JM
86002017-08-21 Joseph Myers <joseph@codesourcery.com>
8601
df1deda6
JM
8602 Revert:
8603 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8604
8605 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
8606 building libc.a.
8607 (hidden_proto): Likewise.
8608 (hidden_tls_proto): Likewise.
8609 (__hidden_proto): Likewise.
8610
831bbd55
JM
8611 [BZ #21973]
8612 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
8613 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
8614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
8615 Likewise.
8616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
8617 Likewise.
8618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
8619 Likewise.
8620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
8621 Likewise.
8622 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
8623 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
8624 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
8625 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
8626 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8627 GLIBC_2.0 sqrtl symbol.
8628
813378e9
JM
8629 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
8630 [__USE_MISC] (_LIB_VERSION): Likewise.
8631 [__USE_MISC] (struct exception): Likewise.
8632 [__USE_MISC] (matherr): Likewise.
8633 [__USE_MISC] (DOMAIN): Likewise.
8634 [__USE_MISC] (SING): Likewise.
8635 [__USE_MISC] (OVERFLOW): Likewise.
8636 [__USE_MISC] (UNDERFLOW): Likewise.
8637 [__USE_MISC] (TLOSS): Likewise.
8638 [__USE_MISC] (PLOSS): Likewise.
8639 [__USE_MISC] (HUGE): Likewise.
8640 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
8641 * math/math-svid-compat.h: New file.
8642 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
8643 and matherrl.
8644 * include/math.h [!_ISOMAC] (__matherr): Remove.
8645 * manual/arith.texi (FP Exceptions): Do not document matherr.
8646 * math/Makefile (tests): Change test-matherr to test-matherr-3.
8647 (tests-internal): New variable.
8648 (install-lib): Do not add libieee.a.
8649 (non-lib.a): Likewise.
8650 (extra-objs): Do not add libieee.a and ieee-math.o.
8651 (CPPFLAGS-s_lib_version.c): Remove variable.
8652 ($(objpfx)libieee.a): Remove rule.
8653 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
8654 * math/ieee-math.c: Remove.
8655 * math/libm-test-support.c (matherr): Remove.
8656 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
8657 and license notices. Include <math-svid-compat.h> and
8658 <shlib-compat.h>.
8659 (matherr): Undefine as macro. Use compat_symbol_reference.
8660 (_LIB_VERSION): Likewise.
8661 * math/test-matherr-2.c: New file.
8662 * math/test-matherr-3.c: Likewise.
8663 * sysdeps/generic/math_private.h (__kernel_standard): Remove
8664 declaration.
8665 (__kernel_standard_f): Likewise.
8666 (__kernel_standard_l): Likewise.
8667 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
8668 <math_private.h>. Include <math-svid-compat.h>.
8669 (_LIB_VERSION): Undefine as macro.
8670 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
8671 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
8672 [LIBM_SVID_COMPAT], use compat_symbol.
8673 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
8674 <math_private.h>. Include <math-svid-compat.h>.
8675 (matherr): Undefine as macro.
8676 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
8677 compat_symbol.
8678 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
8679 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
8680 compat_symbol_reference.
8681 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
8682 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
8683 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
8684 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
8685 (MATHERR_D): Remove declaration.
8686 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
8687 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
8688 [LIBM_BUILD] (pmatherrf): Likewise.
8689 [LIBM_BUILD] (pmatherr): Likewise.
8690 [LIBM_BUILD] (pmatherrl): Likewise.
8691 (DOMAIN): Likewise.
8692 (SING): Likewise.
8693 (OVERFLOW): Likewise.
8694 (UNDERFLOW): Likewise.
8695 (TLOSS): Likewise.
8696 (PLOSS): Likewise.
8697 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
8698 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
8699 compat_symbol.
8700 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
8701 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
8702 compat_symbol.
8703 * math/lgamma-compat.h: Include <math-svid-compat.h>.
8704 * math/w_acos_compat.c: Likewise.
8705 * math/w_acosf_compat.c: Likewise.
8706 * math/w_acosh_compat.c: Likewise.
8707 * math/w_acoshf_compat.c: Likewise.
8708 * math/w_acoshl_compat.c: Likewise.
8709 * math/w_acosl_compat.c: Likewise.
8710 * math/w_asin_compat.c: Likewise.
8711 * math/w_asinf_compat.c: Likewise.
8712 * math/w_asinl_compat.c: Likewise.
8713 * math/w_atan2_compat.c: Likewise.
8714 * math/w_atan2f_compat.c: Likewise.
8715 * math/w_atan2l_compat.c: Likewise.
8716 * math/w_atanh_compat.c: Likewise.
8717 * math/w_atanhf_compat.c: Likewise.
8718 * math/w_atanhl_compat.c: Likewise.
8719 * math/w_cosh_compat.c: Likewise.
8720 * math/w_coshf_compat.c: Likewise.
8721 * math/w_coshl_compat.c: Likewise.
8722 * math/w_exp10_compat.c: Likewise.
8723 * math/w_exp10f_compat.c: Likewise.
8724 * math/w_exp10l_compat.c: Likewise.
8725 * math/w_exp2_compat.c: Likewise.
8726 * math/w_exp2f_compat.c: Likewise.
8727 * math/w_exp2l_compat.c: Likewise.
8728 * math/w_fmod_compat.c: Likewise.
8729 * math/w_fmodf_compat.c: Likewise.
8730 * math/w_fmodl_compat.c: Likewise.
8731 * math/w_hypot_compat.c: Likewise.
8732 * math/w_hypotf_compat.c: Likewise.
8733 * math/w_hypotl_compat.c: Likewise.
8734 * math/w_j0_compat.c: Likewise.
8735 * math/w_j0f_compat.c: Likewise.
8736 * math/w_j0l_compat.c: Likewise.
8737 * math/w_j1_compat.c: Likewise.
8738 * math/w_j1f_compat.c: Likewise.
8739 * math/w_j1l_compat.c: Likewise.
8740 * math/w_jn_compat.c: Likewise.
8741 * math/w_jnf_compat.c: Likewise.
8742 * math/w_jnl_compat.c: Likewise.
8743 * math/w_lgamma_main.c: Likewise.
8744 * math/w_lgamma_r_compat.c: Likewise.
8745 * math/w_lgammaf_main.c: Likewise.
8746 * math/w_lgammaf_r_compat.c: Likewise.
8747 * math/w_lgammal_main.c: Likewise.
8748 * math/w_lgammal_r_compat.c: Likewise.
8749 * math/w_log10_compat.c: Likewise.
8750 * math/w_log10f_compat.c: Likewise.
8751 * math/w_log10l_compat.c: Likewise.
8752 * math/w_log2_compat.c: Likewise.
8753 * math/w_log2f_compat.c: Likewise.
8754 * math/w_log2l_compat.c: Likewise.
8755 * math/w_log_compat.c: Likewise.
8756 * math/w_logf_compat.c: Likewise.
8757 * math/w_logl_compat.c: Likewise.
8758 * math/w_pow_compat.c: Likewise.
8759 * math/w_powf_compat.c: Likewise.
8760 * math/w_powl_compat.c: Likewise.
8761 * math/w_remainder_compat.c: Likewise.
8762 * math/w_remainderf_compat.c: Likewise.
8763 * math/w_remainderl_compat.c: Likewise.
8764 * math/w_scalb_compat.c: Likewise.
8765 * math/w_scalbf_compat.c: Likewise.
8766 * math/w_scalbl_compat.c: Likewise.
8767 * math/w_sinh_compat.c: Likewise.
8768 * math/w_sinhf_compat.c: Likewise.
8769 * math/w_sinhl_compat.c: Likewise.
8770 * math/w_sqrt_compat.c: Likewise.
8771 * math/w_sqrtf_compat.c: Likewise.
8772 * math/w_sqrtl_compat.c: Likewise.
8773 * math/w_tgamma_compat.c: Likewise.
8774 * math/w_tgammaf_compat.c: Likewise.
8775 * math/w_tgammal_compat.c: Likewise.
8776 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
8777 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
8778 * sysdeps/ieee754/k_standard.c: Likewise.
8779 * sysdeps/ieee754/k_standardf.c: Likewise.
8780 * sysdeps/ieee754/k_standardl.c: Likewise.
8781 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
8782 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
8783 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
8784 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
8785 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
8786 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
8787 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
8788 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
8789 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
8790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
8791 Likewise.
8792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
8793 Likewise.
8794 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
8795 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
8796 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
8797 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
8798
4504783c
FW
87992017-08-21 Florian Weimer <fweimer@redhat.com>
8800
8801 [BZ #21864]
8802 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
8803 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
8804 Move before inclusion of ../Rules.
8805
b5889d25
FW
88062017-08-21 Florian Weimer <fweimer@redhat.com>
8807
8808 [BZ #21972]
8809 * assert/assert.h (assert): Use static_cast (bool) for C++.
8810 Use the ternary operator in the warning branch for GNU C.
8811 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
8812 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
8813 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
8814 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
8815 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
8816
41e673c1
L
88172017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8818
8819 [BZ #18822]
8820 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8821 (__syscall_clock_gettime): Add attribute_hidden.
8822 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
8823 (__start_context): Likewise.
8824
568ff429
L
88252017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8826
8827 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
8828 building libc.a.
8829 (hidden_proto): Likewise.
8830 (hidden_tls_proto): Likewise.
8831 (__hidden_proto): Likewise.
8832
7c41b4a1
L
88332017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8834
8835 * include/libc-symbols.h (attribute_hidden): Enable hidden
8836 visibility in libc.a compiled with PIE.
8837
483d7068
L
88382017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8839
8840 [BZ #18822]
8841 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
8842 Add attribute_hidden.
8843
88442017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8845
8846 [BZ #21864]
8847 * Makerules (all-nonlib): Add $(others-extras).
8848 * catgets/Makefile (others-extras): New.
8849 * elf/Makefile (others-extras): Likewise.
8850 * nss/Makefile (others-extras): Likewise.
8851
54e4b8f2
L
88522017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8853
8854 [BZ #18822]
8855 * csu/libc-start.c (__libc_multiple_libcs): Removed.
8856 * elf/dl-open.c: Include <libc-internal.h>.
8857 (__libc_multiple_libcs): Removed.
8858 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
8859 <hp-timing.h>.
8860 * include/libc-internal.h (__libc_multiple_libcs): New.
8861 * misc/sbrk.c: Include <libc-internal.h>.
8862 (__libc_multiple_libcs): Removed.
8863
1dbbb1ec
L
88642017-08-21 H.J. Lu <hongjiu.lu@intel.com>
8865
8866 [BZ #18822]
8867 * grp/initgroups.c (__nss_group_database): Removed.
8868 (__nss_initgroups_database): Likewise.
8869 * nscd/gai.c (__nss_hosts_database): Likewise.
8870 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
8871 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
8872 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
8873 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
8874 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
8875 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
8876 attribute_hidden.
8877 * nss/nsswitch.c (__nss_database_custom): Define only if
8878 USE_NSCD is defined.
8879 (__nss_configure_lookup): Use __nss_database_custom only if
8880 USE_NSCD is defined.
8881 * nss/nsswitch.h (__nss_database_custom): Declare only if
8882 USE_NSCD is defined. Add attribute_hidden.
8883 (__nss_setent): Add attribute_hidden.
8884 (__nss_endent): Likewise.
8885 (__nss_getent_r): Likewise.
8886 (__nss_getent): Likewise.
8887 (DEFINE_DATABASE): Declare __nss_##arg##_database.
8888
2585d7b8
L
88892017-08-20 H.J. Lu <hongjiu.lu@intel.com>
8890
8891 [BZ #18822]
8892 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
8893 libc_hidden_proto and libc_hidden_def.
8894
c8dfa99c
L
88952017-08-20 H.J. Lu <hongjiu.lu@intel.com>
8896
8897 [BZ #18822]
8898 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
8899 Add libc_hidden_proto.
8900 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
8901 Add libc_hidden_def.
8902
7ed87317
L
89032017-08-20 H.J. Lu <hongjiu.lu@intel.com>
8904
8905 [BZ #21974]
8906 * gmon/Makefile (routines): Remove bb_init_func and
8907 bb_exit_func.
8908 (elide-routines.os): Removed.
9476b904
L
8909 * gmon/bb_exit_func.c: Likewise.
8910 * gmon/bb_init_func.c: Likewise.
7ed87317
L
8911 * include/sys/gmon.h (__bb): Likewise.
8912 (__bb_init_func): Likewise.
8913 (__bb_exit_func): Likewise.
91695eb1 8914 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 8915
94e6ba15
L
89162017-08-20 H.J. Lu <hongjiu.lu@intel.com>
8917
8918 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
8919 * include/setjmp.h (____longjmp_chk): Here. Add
8920 attribute_hidden.
8921
7550717e
L
89222017-08-19 H.J. Lu <hongjiu.lu@intel.com>
8923
8924 [BZ #18822]
8925 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
8926 attribute_hidden.
8927 (__strspn_sse2): Likewise.
8928
0bb2fabc
AZ
89292017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8930
c181840c
AZ
8931 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
8932 (close_not_cancel_no_status): Likewise.
8933 (__close_nocancel): New macro.
8934 (__close_nocancel_nostatus): Likewise.
8935 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
8936 macro.
8937 (close_not_cancel): Likewise.
8938 (close_not_cancel_no_status): Likewise.
8939 (__close_nocancel): New prototype.
8940 (__close_nocancel_nostatus): New function.
8941 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
8942 * catgets/open_catalog.c (__open_catalog): Replace
8943 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
8944 * gmon/gmon.c (write_gmon): Likewise.
8945 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8946 * intl/loadmsgcat.c (close): Likewise.
8947 * io/ftw.c (open_dir_stream): Likewise.
8948 (ftw_startup): Likewise.
8949 * libio/fileops.c (_IO_file_open): Likewise.
8950 (_IO_file_close_mmap): Likewise.
8951 (_IO_file_close): Likewise.
8952 * libio/iopopen.c (_IO_dup2): Likewise.
8953 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8954 * locale/loadlocale.c (_nl_load_locale): Likewise.
8955 * login/utmp_file.c (pututline_file): Likewise.
8956 (endutent_file): Likewise.
8957 * misc/daemon.c (daemon): Likewise.
8958 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8959 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8960 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
8961 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8962 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8963 * nscd/nscd_helper.c (open_socket): Likewise.
8964 (__nscd_open_socket): Likewise.
8965 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8966 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
8967 (__nscd_innetgr): Likewise.
8968 * nss/nss_db/db-open.c (internal_setent): Likewise.
8969 * resolv/res-close.c (__res_iclose): Likewise.
8970 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
8971 * sysdeps/posix/closedir.c (__closedir): Likewise.
8972 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
8973 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8974 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
8975 (opendir_tail): Likewise.
8976 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
8977 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
8978 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8979 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8980 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
8981 (gethostid): Likewise.
8982 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
8983 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8984 Likewise.
8985 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8986 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
8987 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
8988 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
8989 Likewise.
8990 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
8991 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
8992 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
8993 Likewise.
8994 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
8995 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8996 Likewise.
8997 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8998 Likewise.
8999 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9000 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
9001 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
9002 __close_nocancel.
9003
0bb2fabc
AZ
9004 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
9005 (openat_not_cancel_3): Likewise.
9006 (openat64_not_cancel_3): Likewise).
9007 (openat_not_cancel_3): Likewise).
9008 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
9009 macro.
9010 (openat_not_cancel_3): Likewise.
9011 (openat64_not_cancel): Likewise.
9012 (openat64_not_cancel_3): Likewise.
9013 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
9014 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
9015 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
9016 __open{64}_nocancel.
9017 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
9018 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9019 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9020
65a086db
L
90212017-08-18 H.J. Lu <hongjiu.lu@intel.com>
9022
9023 [BZ #18822]
9024 * include/argz.h (__argz_create_sep): New function prototype.
9025 (__argz_append): Likewise.
9026 (__argz_add): Likewise.
9027 (__argz_add_sep): Likewise.
9028 (__argz_delete): Likewise.
9029 (__argz_insert): Likewise.
9030 (__argz_replace): Likewise.
9031 * string/argz.h (__argz_create_sep): Removed.
9032 (__argz_append): Likewise.
9033 (__argz_add): Likewise.
9034 (__argz_add_sep): Likewise.
9035 (__argz_delete): Likewise.
9036 (__argz_insert): Likewise.
9037 (__argz_replace): Likewise.
9038
62753d2c
L
90392017-08-18 H.J. Lu <hongjiu.lu@intel.com>
9040
9041 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
9042 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
9043 (GNU_PROPERTY_STACK_SIZE): Likewie.
9044 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
9045 (GNU_PROPERTY_LOPROC): Likewise.
9046 (GNU_PROPERTY_HIPROC): Likewise.
9047 (GNU_PROPERTY_LOUSER): Likewise.
9048 (GNU_PROPERTY_HIUSER): Likewise.
9049 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
9050 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
9051 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
9052 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
9053 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
9054 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
9055 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
9056 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
9057 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
9058 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
9059 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
9060 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
9061 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
9062 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
9063 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
9064 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
9065 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
9066 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
9067 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
9068 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
9069 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
9070 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
9071 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
9072
6913ad65
GG
90732017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9074
9075 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
9076 in C++ mode.
9077
47a67213
GG
90782017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9079
9080 [BZ #21930]
9081 * math/math.h (isinf): Check if in C or C++ mode before using
9082 __builtin_types_compatible_p, since this is a C mode feature.
9083
a748eb31
AZ
90842017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9085
c647fb88
AZ
9086 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
9087 (__write_nocancel): New macro.
9088 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
9089 Rewrite as a function prototype.
9090 (write_not_cancel): Remove macro.
9091 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
9092 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
9093 (write_gmon): Likewise.
9094 * libio/fileops.c (_IO_new_file_write): Likewise.
9095 * login/utmp_file.c (pututline_file): Likewise.
9096 (updwtmp_file): Likewise.
9097 * stdio-common/psiginfo.c (psiginfo): Likewise.
9098 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
9099 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
9100 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
9101 Likewise.
9102 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9103 Likewise.
9104
a748eb31
AZ
9105 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
9106 (__read_nocancel): New macro.
9107 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
9108 __read_nocancel.
9109 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
9110 macro.
9111 (__read_nocancel): New prototype.
9112 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
9113 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
9114 with __read_nocancel.
9115 * intl/loadmsgcat.c (read): Likewise.
9116 * libio/fileops.c (_IO_file_read): Likewise.
9117 * locale/loadlocale.c (_nl_load_locale): Likewise.
9118 * login/utmp_file.c (getutent_r_file): Likewise.
9119 (internal_getut_r): Likewise.
9120 (getutline_r_file): Likewise.
9121 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
9122 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9123 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
9124 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9125 Likewise.
9126 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
9127 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
9128 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
9129 Likewise.
9130 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
9131 Likewise.
9132 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
9133 Likewise.
9134 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9135 Likewise.
9136 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
9137
098b9dd4
L
91382017-08-18 H.J. Lu <hongjiu.lu@intel.com>
9139
9140 [BZ #21966]
9141 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
9142 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
9143 usable.
9144
a3fe6a20
DD
91452017-08-17 DJ Delorie <dj@redhat.com>
9146
9147 * bug17079.c: Update to new test harness.
9148 * test-digits-dots.c: Likewise.
9149 * test-netdb.c: Likewise.
9150 * tst-field.c: Likewise.
9151 * tst-nss-getpwent.c: Likewise.
9152 * tst-nss-static.c: Likewise.
9153 * tst-nss-test1.c: Likewise.
9154 * tst-nss-test2.c: Likewise.
9155 * tst-nss-test3.c: Likewise.
9156 * tst-nss-test4.c: Likewise.
9157 * tst-nss-test5.c: Likewise.
9158
c2284574
AZ
91592017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9160
9161 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
9162 (open_not_cancel_2): Likewise.
9163 (open_nocancel): New macro.
9164 (open64_nocancel): Likewise.
9165 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
9166 (open_not_cancel_2): Likewise.
9167 (__open_nocancel): New prototype.
9168 (__open64_nocancel): Likewise.
9169 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
9170 __open_nocancel.
9171 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
9172 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
9173 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
9174 with __open_nocancel.
9175 * csu/check_fds.c (check_one_fd): Likewise.
9176 * gmon/gmon.c (write_gmon): Likewise.
9177 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
9178 * intl/loadmsgcat.c (open): Likewise.
9179 * libio/fileops.c (_IO_file_open): Likewise.
9180 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9181 * locale/loadlocale.c (_nl_load_locale): Likewise.
9182 * login/utmp_file.c (setutent_file): Likewise.
9183 * misc/daemon.c (daemon): Likewise.
9184 * nss/nss_db/db-open.c (internal_setent): Likewise.
9185 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
9186 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
9187 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
9188 (__opendir): Likewise.
9189 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
9190 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
9191 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
9192 (gethostid): Likewise.
9193 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
9194 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9195 Likewise.
9196 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9197 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
9198 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
9199 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
9200 Likewise.
9201 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
9202 Likewise.
9203 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
9204 Likewise.
9205 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9206 Likewise.
9207 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9208 Likewise.
9209 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9210 Likewise.
9211 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9212 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
9213
d4505b89
WD
92142017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
9215
9216 * benchtests/bench-skeleton.c (main): Add support for
9217 latency benchmarking.
9218 * benchtests/scripts/bench.py: Add support for latency benchmarking.
9219
34d6a3cb
L
92202017-08-17 H.J. Lu <hongjiu.lu@intel.com>
9221
9222 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
9223 the startup object.
9224
038d1caf
FW
92252017-08-17 Florian Weimer <fweimer@redhat.com>
9226
9227 * include/sys/socket.h (__opensock): Remove internal_function.
9228 * socket/opensock.c (__opensock): Likewise.
9229 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
9230
67f0aff0
JM
92312017-08-16 Joseph Myers <joseph@codesourcery.com>
9232
9233 [BZ #21944]
9234 * signal/bits/types/__sigval_t.h: New file.
9235 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
9236 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
9237 and define sigval_t using __sigval_t.
9238 * include/bits/types/__sigval_t.h: New file.
9239 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
9240 instead of <bits/types/__sigval_t.h>.
9241 (struct sigevent): Use __sigval_t instead of sigval_t.
9242 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
9243 instead of <bits/types/__sigval_t.h>.
9244 (siginfo_t): Use __sigval_t instead of sigval_t.
9245 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
9246 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
9247 (struct sigevent): Use __sigval_t instead of sigval_t.
9248 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
9249 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
9250 (siginfo_t): Use __sigval_t instead of sigval_t.
9251 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
9252
87e7bf4d
L
92532017-08-16 H.J. Lu <hongjiu.lu@intel.com>
9254
9255 * NEWS: Remove "[Add new features here]" for 2.27.
9256
5047057f
JM
92572017-08-16 Joseph Myers <joseph@codesourcery.com>
9258
9259 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
9260 libc.so.
9261
20c7b195
L
92622017-08-16 H.J. Lu <hongjiu.lu@intel.com>
9263
9264 * NEWS: Mention x86-64 FMA optimization.
9265
24a2e658
L
92662017-08-16 H.J. Lu <hongjiu.lu@intel.com>
9267
9268 [BZ #21912]
9269 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9270 Add e_expf-fma.
9271 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
9272 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
9273 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
9274
eedca977
AS
92752017-08-16 Andreas Schwab <schwab@suse.de>
9276
403143e1
FW
9277 [BZ #16750]
9278 CVE-2009-5064
eedca977
AS
9279 * elf/ldd.bash.in: Never run file directly.
9280
f59f7adb
L
92812017-08-15 H.J. Lu <hongjiu.lu@intel.com>
9282
9283 [BZ #21955]
9284 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
9285 (L(SP_INF_0)): Likewise.
9286
6b11a6ad
FW
92872017-08-15 Florian Weimer <fweimer@redhat.com>
9288
9289 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
9290 run-built-tests.
9291
bbf5c438
FW
92922017-08-15 Florian Weimer <fweimer@redhat.com>
9293
9294 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
9295 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
9296 BROKEN_THREAD_SIGNALS code.
9297 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
9298 request_list): Remove caller_pid member used for
9299 BROKEN_THREAD_SIGNALS.
9300 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
9301 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
9302 Remove BROKEN_THREAD_SIGNALS support.
9303 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
9304 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
9305
6014c65d
FW
93062017-08-15 Florian Weimer <fweimer@redhat.com>
9307
9308 * gmon/Makefile (tests): Add tst-gmon.
9309 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
9310 Set.
9311 (tests-special): Add tst-gmon-prof.out.
9312 (tst-gmon.out): Depend on clean-tst-gmon-data.
9313 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
9314 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
9315 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
9316 startup object.
9317 * aclocal.m4 (GPROF): Set and substitute.
9318 * config.amke.in (GPROF): Set.
9319 * configure: Regenerate.
9320
ee72219a
GR
93212017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
9322
9323 * elf/elf.h A (NT_PPC_TAR): New macro.
9324 (NT_PPC_PPR): Likewise.
9325 (NT_PPC_DSCR): Likewise.
9326 (NT_PPC_EBB): Likewise.
9327 (NT_PPC_PMU): Likewise.
9328 (NT_PPC_TM_CGPR): Likewise.
9329 (NT_PPC_TM_CFPR): Likewise.
9330 (NT_PPC_TM_CVMX): Likewise.
9331 (NT_PPC_TM_CVSX): Likewise.
9332 (NT_PPC_TM_SPR): Likewise.
9333 (NT_PPC_TM_CTAR): Likewise.
9334 (NT_PPC_TM_CPPR): Likewise.
9335 (NT_PPC_TM_CDSCR): Likewise.
9336
4ebf934e
FW
93372017-08-15 Florian Weimer <fweimer@redhat.com>
9338
9339 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
9340 regparm (2) instead of internal_function.
9341 (_MCOUNT_DECL): Adjust.
9342
e9f57484
SL
93432017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
9344
9345 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
9346 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9347
88ff4d55
JM
93482017-08-14 Joseph Myers <joseph@codesourcery.com>
9349
9350 * conform/data/sys/wait.h-data (si_value): Do not expect for
9351 XPG42.
9352
c88ffc23
FW
93532017-08-14 Florian Weimer <fweimer@redhat.com>
9354
9355 [BZ #21962]
9356 NSS: Create stubs for accidentally exported lookup functions.
9357 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
9358 Remove declaration.
9359 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
9360 (ether_hostton): Call __nss_ethers_lookup2 instead.
9361 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
9362 (ether_ntohost): Call __nss_ethers_lookup2 instead.
9363 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
9364 (setup): Call __nss_netgroup_lookup2 instead.
9365 * nss/Makefile (routines): Add compat-lookup.
9366 * nss/Versions (GLIBC_2.27): Add symbol version.
9367 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
9368 (DB_COMPAT_FCT): Remove.
9369 * nss/compat-lookup.c: New file.
9370 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
9371 from databases.def.
9372 * nss/service-lookup.c (NO_COMPAT): Remove definition.
9373 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
9374 (netname2user): Call __nss_publickey_lookup2 instead.
9375 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
9376 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
9377 instead.
9378
35a29136 93792017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
9380 Sergei Trofimovich <slyfox@inbox.ru>
9381
9382 [BZ #21908]
9383 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
9384 Rename to MMAP2_PAGE_UNIT.
9385 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
9386 __OFF_T_MATCHES_OFF64_T is not defined.
9387 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
9388 uint64_t.
9389 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
9390 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
9391
fbdc1e3e
FW
93922017-08-14 Florian Weimer <fweimer@redhat.com>
9393
9394 i386: Do not set internal_function.
9395 * config.h.in (USE_REGPARMS, internal_function): Remove.
9396 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
9397 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
9398
b3f85fd2
FW
93992017-08-14 Florian Weimer <fweimer@redhat.com>
9400
9401 * elf/dl-init.c (_dl_init): Remove internal_function.
9402 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
9403 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
9404
630bf491
FW
94052017-08-14 Florian Weimer <fweimer@redhat.com>
9406
9407 * elf/rtld.c (_dl_start): Remove internal_function.
9408 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
9409 _dl_start.
9410
9fa7449b
FW
94112017-08-14 Florian Weimer <fweimer@redhat.com>
9412
9413 * elf/dl-fini.c (_dl_fini): Remove internal_function
9414 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
9415
73322d5f
L
94162017-08-14 H.J. Lu <hongjiu.lu@intel.com>
9417
9418 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
9419 (bit_cpu_SHSTK): Likewise.
9420 (index_cpu_IBT): Likewise.
9421 (index_cpu_SHSTK): Likewise.
9422 (reg_IBT): Likewise.
9423 (reg_SHSTK): Likewise.
9424 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9425 Handle index_cpu_IBT and index_cpu_SHSTK.
9426
dbc303ef
MF
94272017-08-14 Mike FABIAN <mfabian@redhat.com>
9428
9429 [BZ #19982]
9430 * po/fr.po: Fix spelling mistake.
9431
3012cfb0
FW
94322017-08-13 Florian Weimer <fweimer@redhat.com>
9433
9434 * elf/dl-addr.c (_dl_addr): Remove internal_function.
9435 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
9436 (_dl_catch_error, _dl_receive_error): Likewise.
9437 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
9438 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
9439 (_dl_deallocate_tls): Likewise.
9440 * include/dlfcn.h (_dl_addr): Likewise.
9441 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
9442 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
9443 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
9444 Likewise.
9445
52bcdf26
FW
94462017-08-13 Florian Weimer <fweimer@redhat.com>
9447
9448 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
9449 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
9450 internal_function.
9451 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
9452
e1d2ae8d
FW
94532017-08-13 Florian Weimer <fweimer@redhat.com>
9454
9455 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
9456 internal_function.
9457 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
9458 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
9459 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
9460 internal_function from _dl_make_stack_executable_hook member.
9461 (_dl_make_stack_executable): Remove internal_function.
9462 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
9463 Likewise.
9464 * sysdeps/unix/sysv/linux/dl-execstack.c
9465 (_dl_make_stack_executable): Likewise.
9466
c4ce0382
FW
94672017-08-13 Florian Weimer <fweimer@redhat.com>
9468
9469 * sysdeps/unix/sysv/linux/netlinkaccess.h
9470 (__netlink_assert_response): Remove internal_function.
9471 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9472 (__netlink_assert_response): Likewise.
9473
c4d767f7
FW
94742017-08-13 Florian Weimer <fweimer@redhat.com>
9475
9476 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
9477 internal_function.
9478 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
9479
b2297409
FW
94802017-08-13 Florian Weimer <fweimer@redhat.com>
9481
9482 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
9483 internal_function.
9484 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
9485 * inet/netgroup.h (__internal_setnetgrent)
9486 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
9487 * inet/getnetgrent_r.c (__internal_setnetgrent)
9488 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
9489 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
9490 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
9491 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
9492 * nss/nsswitch.h (db_lookup_function): Likewise.
9493
1b0bfc69
FW
94942017-08-13 Florian Weimer <fweimer@redhat.com>
9495
9496 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
9497 Remove internal_function.
9498 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
9499 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
9500 message argument on the stack.
9501 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
9502 Likeweise.
9503
a6bd8722
MF
95042017-08-12 Mike FABIAN <mfabian@redhat.com>
9505
9506 Adapt test case data to the changes in the thousands
9507 separators.
9508
9509 [BZ #20756]
9510 * localedata/tst-langinfo.sh: Adapt test case data.
9511 * stdlib/tst-strfmon_l.c: Likewise.
9512 * stdlib/tst-strtod4.c: Likewise.
9513 * stdlib/tst-strtod5i.c: Likewise.
9514
8b2c63e4
FW
95152017-08-11 Florian Weimer <fweimer@redhat.com>
9516
9517 [BZ #21242]
9518 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
9519 Suppress pedantic warning resulting from statement expression.
9520 (__ASSERT_FUNCTION): Add missing __extension__.
9521
61c98291
SP
95222017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9523
86c6519e
SP
9524 * benchtests/bench-memmove-large.c: Print output in JSON
9525 format.
9526 * benchtests/bench-memmove.c: Likewise.
9527
61c98291
SP
9528 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
9529 * benchtests/bench-memchr.c (do_one_test): Likewise.
9530 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
9531 * benchtests/bench-memcpy.c (do_one_test): Likewise.
9532 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
9533 * benchtests/bench-memmove.c (do_one_test): Likewise.
9534 * benchtests/bench-memset-large.c (do_one_test): Likewise.
9535 * benchtests/bench-memset.c (do_one_test): Likewise.
9536 * benchtests/bench-string.h (test_init): Remove memsets.
9537
925733a9
RJ
95382017-08-10 Rical Jasan <ricaljasan@pacific.net>
9539
9540 * manual/lang.texi
9541 (Computing the Width of an Integer Data Type): Rename section to
9542 "Width of an Integer Type". Remove inaccurate statement regarding
9543 lack of C language facilities for determining width of integer
9544 types, and reorder content to improve flow and context of
9545 discussion.
9546
4fcdfbfc
RJ
95472017-08-10 Rical Jasan <ricaljasan@pacific.net>
9548
9549 * lang.texi (va_copy): Change standard from ISO to C99.
9550 (__va_copy): Add standard and header annotation.
9551 Update description for clarity of origins and current use.
9552
4d98ace9
GG
95532017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9554
9555 [BZ #21941]
9556 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
9557 xssqrtqp requires operands to be in Vector Registers
9558 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
9559 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
9560 (__ieee754_sqrtf128): Likewise.
9561
92236903
WD
95622017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9563
9564 * sysdeps/aarch64/memcmp.S (memcmp):
9565 Rewrite of optimized memcmp.
9566
2449ae7b
FW
95672017-08-10 Florian Weimer <fweimer@redhat.com>
9568
9569 Introduce ld.so exceptions.
9570 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
9571 (_dl_exception_create, _dl_exception_create_format)
9572 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
9573 (_dl_catch_exception): Declare.
9574 (_dl_catch_error): Update comment.
9575 * elf/dl-error-skeleton.c (struct catch): Replace objname,
9576 errstring, malloced members with exception member.
9577 (_dl_out_of_memory): Remove.
9578 (fatal_error): New function, extracted from _dl_signal_error.
9579 (_dl_signal_exception, _dl_signal_cexception): New functions.
9580 (_dl_signal_error): Call _dl_exception_create to allocate an
9581 exception object.
9582 (_dl_catch_exception): New function, based on _dl_catch_error.
9583 (_dl_catch_error): Implement using _dl_catch_exception.
9584 * elf/dl-exception.c: New file.
9585 * elf/Makefile (dl-routines): Add dl-exception.
9586 (elide-routines.os): Likewise.
9587 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
9588 _dl_exception_create_format, _dl_exception_free.
9589 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
9590 _dl_signal_exception.
9591 * elf/dl-lookup.c (make_string): Remove.
9592 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
9593 _dl_signal_cexception, _dl_exception_free.
9594 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
9595 _dl_signal_exception.
9596 * elf/dl-sym.c (do_sym): Likewise.
9597 * elf/dl-version.c (make_string): Remove.
9598 (match_symbol): Use _dl_exception_create_format,
9599 _dl_signal_cexception, _dl_exception_free.
9600 (_dl_check_map_versions): Likewise.
9601 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
9602 _dl_catch_exception.
9603 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
9604 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
9605 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
9606 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
9607 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
9608 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
9609 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
9610 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
9611 Likewise.
9612 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
9613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
9614 (ld.so): Likewise.
9615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9616 (ld.so): Likewise.
9617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
9618 Likewise.
9619 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
9620 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
9621 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
9622 Likewise.
9623 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
9624 Likewise.
9625 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
9626
f87cc2bf
FW
96272017-08-10 Florian Weimer <fweimer@redhat.com>
9628
9629 * inet/net-internal.h (__inet6_scopeid_pton): Remove
9630 attribute_hidden, internal_function.
9631 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
9632 internal_function.
9633
eac43cbb
FW
96342017-08-10 Florian Weimer <fweimer@redhat.com>
9635
9636 * malloc/malloc.c (get_max_fast): Reimplement as an inline
9637 function which calls __builtin_unreachable.
9638
bd80111e
MF
96392017-08-10 Mike FABIAN <mfabian@redhat.com>
9640
9641 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
9642 Indian monetary formatting
9643 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
9644 test cases.
9645
60e2846e
DL
96462017-08-09 Dmitry V. Levin <ldv@altlinux.org>
9647
68dc02d1
DL
9648 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
9649 Fix typo in comment.
9650
60e2846e
DL
9651 [BZ #21928]
9652 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
9653 PTRACE_SEIZE_DEVEL): Remove.
9654 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
9655 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9656 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9657 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9658 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9659
3d452dab
JM
96602017-08-09 Joseph Myers <joseph@codesourcery.com>
9661
24d9f53a
JM
9662 * posix/bits/types.h (__qaddr_t): Remove.
9663
3d452dab
JM
9664 [BZ #21457]
9665 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
9666 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9667 __glibc_reserved1.
9668 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
9669 (ucontext_t): Use __ctx with uc_flags.
9670 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
9671 (__ctxt): Likewise.
9672 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9673 __glibc_reserved1.
9674 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
9675 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9676 __glibc_reserved1.
9677 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
9678 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9679 __glibc_reserved1.
9680 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
9681 macro.
9682 (ucontext_t): Use __ctx with uc_flags.
9683 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
9684 (ucontext_t): Use __ctx with uc_flags.
9685 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
9686 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
9687 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
9688 (ucontext_t): Use __ctx with uc_flags.
9689 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
9690 undefine further down.
9691 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
9692 __glibc_reserved1.
9693 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
9694 undefine further down.
9695 (ucontext_t): Use __ctx with uc_flags.
9696 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
9697 undefine further down.
9698 (ucontext_t): Use __ctx with uc_flags.
9699 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
9700 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
9701 Rename uc_pad to __glibc_reserved1.
9702 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
9703 undefine further down.
9704 (ucontext_t): Use __ctx with uc_flags.
9705 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
9706 further down.
9707 (ucontext_t): Use __ctx with uc_flags.
9708 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
9709 __ctx with uc_flags.
9710 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
9711 (ucontext_t): Use __ctx with uc_flags.
9712 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
9713 __ctx with uc_flags.
9714
30161498
FW
97152017-08-09 Florian Weimer <fweimer@redhat.com>
9716
9717 [BZ #21932]
9718 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
9719 before early return.
9720
5797b410
AS
97212017-08-09 Andreas Schwab <schwab@suse.de>
9722
139237a4 9723 [BZ #21041]
5797b410
AS
9724 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
9725 renamed alias.
9726
139237a4 9727 [BZ #21041]
40c06a3d
AS
9728 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
9729 tst-compat-forwarder.
9730 (modules-names): Add tst-compat-forwarder-mod.
9731 ($(objpfx)tst-compat-forwarder): Depend on
9732 $(objpfx)tst-compat-forwarder-mod.so.
9733 * nptl/tst-compat-forwarder.c: New file.
9734 * nptl/tst-compat-forwarder-mod.c: New file.
9735
36ada5f6
SP
97362017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
9737
0e02b510
SP
9738 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
9739 comments.
9740
36ada5f6
SP
9741 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
9742 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9743 memcpy_falkor.
9744 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
9745 Bump.
9746 (__libc_ifunc_impl_list): Add __memcpy_falkor.
9747 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
9748 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
9749 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
9750 Add falkor.
9751 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
9752 New macro.
9753
9995c839
AZ
97542017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9755
9756 [BZ #759]
9757 * manual/setjmp.texi (getcontex): Document uc_stack value
9758 compatibility differences.
9759
f17a4233
JM
97602017-08-08 Joseph Myers <joseph@codesourcery.com>
9761
9762 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
9763 (old_malloc_hook): Likewise.
9764 (old_memalign_hook): Likewise.
9765 (old_realloc_hook): Likewise.
9766 (struct hdr): Likewise.
9767 (flood): Likewise.
9768 (freehook): Likewise.
9769 (mallochook): Likewise.
9770 (memalignhook): Likewise.
9771 (reallochook): Likewise.
9772 (mprobe): Likewise.
9773 * malloc/mtrace.c (mallwatch): Likewise.
9774 (tr_old_free_hook): Likewise.
9775 (tr_old_malloc_hook): Likewise.
9776 (tr_old_realloc_hook): Likewise.
9777 (tr_old_memalign_hook): Likewise.
9778 (tr_where): Likewise.
9779 (lock_and_info): Likewise.
9780 (tr_freehook): Likewise.
9781 (tr_mallochook): Likewise.
9782 (tr_reallochook): Likewise.
9783 (tr_memalignhook): Likewise.
9784 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
9785 * misc/mmap.c (__mmap): Likewise.
9786 * misc/mmap64.c (__mmap64): Likewise.
9787 * misc/mprotect.c (__mprotect): Likewise.
9788 * misc/msync.c (msync): Likewise.
9789 * misc/munmap.c (__munmap): Likewise.
9790 * posix/posix_madvise.c (posix_madvise): Likewise.
9791 * socket/send.c (__send): Likewise.
9792 * socket/sendto.c (__sendto): Likewise.
9793 * socket/setsockopt.c (__setsockopt): Likewise.
9794 * string/memcmp.c (__ptr_t): Remove macro.
9795 (MEMCMP): Use void * instead of ptr_t.
9796 * string/memrchr.c (__ptr_t): Remove macro.
9797 (__memrchr): Use void * instead of ptr_t.
9798 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
9799 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
9800 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
9801 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
9802 * sysdeps/mach/msync.c (msync): Likewise.
9803 * sysdeps/mach/munmap.c (__munmap): Likewise.
9804 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
9805 Likewise.
9806 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9807 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
9808 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
9809 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
9810 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
9811 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9812 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
9813 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
9814 Likewise.
9815 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9816 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
9817 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
9818 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
9819 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
9820 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
9821 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
9822 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
9823 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
9824 Likewise.
9825 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
9826 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
9827 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
9828 (MEMCMP): Use void * instead of ptr_t.
9829 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
9830 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
9831
0df595b2
FW
98322017-08-08 Florian Weimer <fweimer@redhat.com>
9833
9834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
9835 return statement.
9836
086df229
L
98372017-08-08 H.J. Lu <hongjiu.lu@intel.com>
9838
9839 [BZ #21913]
9840 * csu/libc-tls.c: Include <startup.h> first.
9841 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
9842 * elf/dl-tunables.c: Include <startup.h> first.
9843 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
9844 * sysdeps/generic/startup.h: New file.
9845 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
9846 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
9847 (I386_USE_SYSENTER): New. Defined to 0.
9848
fc5ad702
AS
98492017-08-08 Andreas Schwab <schwab@suse.de>
9850
9851 [BZ #21041]
9852 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
9853 * nptl/pt-system.c (system): Likewise.
9854
852d6312
AZ
98552017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9856
9857 [BZ #21780]
9858 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
9859 EOPNOTSUPP.
9860 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
9861 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
9862 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
9863 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
9864 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9865 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9866 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9867
8b164787
JM
98682017-08-07 Joseph Myers <joseph@codesourcery.com>
9869
cd65836b
JM
9870 [BZ #21899]
9871 * bits/sigaction.h (struct sigaction): Define sa_handler and
9872 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
9873 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9874 [__USE_XOPEN_EXTENDED].
9875 (SA_RESTART): Likewise.
9876 (SA_NODEFER): Likewise.
9877 (SA_RESETHAND): Likewise.
9878 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
9879 (struct sigaction): Define sa_handler and sa_sigaction using union
9880 also for [__USE_XOPEN_EXTENDED].
9881 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9882 [__USE_XOPEN_EXTENDED].
9883 (SA_RESTART): Likewise.
9884 (SA_NODEFER): Likewise.
9885 (SA_RESETHAND): Likewise.
9886 * sysdeps/unix/sysv/linux/bits/sigaction.h
9887 (struct sigaction): Define sa_handler and sa_sigaction using union
9888 also for [__USE_XOPEN_EXTENDED].
9889 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9890 [__USE_XOPEN_EXTENDED].
9891 (SA_RESTART): Likewise.
9892 (SA_NODEFER): Likewise.
9893 (SA_RESETHAND): Likewise.
9894 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
9895 (struct sigaction): Define sa_handler and sa_sigaction using union
9896 also for [__USE_XOPEN_EXTENDED].
9897 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9898 [__USE_XOPEN_EXTENDED].
9899 (SA_RESTART): Likewise.
9900 (SA_NODEFER): Likewise.
9901 (SA_RESETHAND): Likewise.
9902 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
9903 (struct sigaction): Define sa_handler and sa_sigaction using union
9904 also for [__USE_XOPEN_EXTENDED].
9905 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9906 [__USE_XOPEN_EXTENDED].
9907 (SA_RESTART): Likewise.
9908 (SA_NODEFER): Likewise.
9909 (SA_RESETHAND): Likewise.
9910 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9911 (struct sigaction): Define sa_handler and sa_sigaction using union
9912 also for [__USE_XOPEN_EXTENDED].
9913 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9914 [__USE_XOPEN_EXTENDED].
9915 (SA_RESTART): Likewise.
9916 (SA_NODEFER): Likewise.
9917 (SA_RESETHAND): Likewise.
9918 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9919 (struct sigaction): Define sa_handler and sa_sigaction using union
9920 also for [__USE_XOPEN_EXTENDED].
9921 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9922 [__USE_XOPEN_EXTENDED].
9923 (SA_RESTART): Likewise.
9924 (SA_NODEFER): Likewise.
9925 (SA_RESETHAND): Likewise.
9926 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9927 (struct sigaction): Define sa_handler and sa_sigaction using union
9928 also for [__USE_XOPEN_EXTENDED].
9929 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9930 [__USE_XOPEN_EXTENDED].
9931 (SA_RESTART): Likewise.
9932 (SA_NODEFER): Likewise. Define directly rather than as alias.
9933 (SA_RESETHAND): Likewise.
9934 (SA_INTERRUPT): Define only for [__USE_MISC].
9935 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
9936 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
9937 [__USE_MISC].
9938 (SA_STACK): Define only for [__USE_MISC].
9939 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
9940 (struct sigaction): Define sa_handler and sa_sigaction using union
9941 also for [__USE_XOPEN_EXTENDED].
9942 (SA_ONSTACK): Change [__USE_UNIX98] condition to
9943 [__USE_XOPEN_EXTENDED].
9944 (SA_RESTART): Likewise.
9945 (SA_NODEFER): Likewise.
9946 (SA_RESETHAND): Likewise.
9947 (SA_NOPTRACE): Define only for [__USE_MISC].
9948
d9fee042
JM
9949 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
9950 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
9951 (struct catalog_info): Likewise.
9952 * inet/htontest.c (lo): Likewise.
9953 (foo): Likewise.
9954 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9955 * inet/inet_net.c (inet_network): Likewise.
9956 * inet/inet_netof.c (inet_netof): Likewise.
9957 * inet/rcmd.c (__ivaliduser): Likewise.
9958 (iruserok): Likewise.
9959 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
9960 * locale/programs/locale-spec.c (locale_special): Likewise.
9961 * nis/nis_findserv.c (struct findserv_req): Likewise.
9962 (__nis_findfastest_with_timeout): Likewise.
9963 * nss/test-netdb.c (test_network): Likewise.
9964 * resolv/inet_neta.c (inet_neta): Likewise.
9965 * resolv/ns_date.c (ns_datetosecs): Likewise.
9966 (SECS_PER_DAY): Likewise.
9967 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
9968 Likewise.
9969 * resolv/res_comp.c (__putlong): Likewise.
9970 (__putshort): Likewise.
9971 (_getlong): Likewise.
9972 (_getshort): Likewise.
9973 * resolv/res_debug.c (p_time): Likewise.
9974 (precsize_ntoa): Likewise.
9975 (precsize_aton): Likewise.
9976 (latlon2ul): Likewise.
9977 (loc_aton): Likewise.
9978 (loc_ntoa): Likewise.
9979 * resolv/res_hconf.c (struct netaddr): Likewise.
9980 (_res_hconf_reorder_addrs): Likewise.
9981 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9982 (clnttcp_control): Likewise.
9983 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9984 (clntudp_control): Likewise.
9985 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9986 (clntunix_control): Likewise.
9987 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
9988 * sunrpc/rpc/auth.h (union des_block): Likewise.
9989 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
9990 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
9991 (xdrrec_create): Likewise.
9992 (xdrrec_endofrecord): Likewise.
9993 (flush_out): Likewise.
9994 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
9995 (xdrstdio_putlong): Likewise.
9996 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
9997 Likewise.
9998
8b164787
JM
9999 * misc/sys/cdefs.h (__long_double_t): Remove.
10000 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
10001 instead of __long_double_t,
10002 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
10003
7ee38e60
SP
100042017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10005
dd3e86ad
SP
10006 * benchtests/scripts/compare_strings.py: Avoid display error when
10007 running on a text terminal.
10008
b115e819
SP
10009 * benchtests/scripts/compare_strings.py (main): Add an
10010 optional -base option.
10011 (process_results): New argument base_func.
10012
7ee38e60
SP
10013 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
10014 hardcoding memcpy.
10015 * benchtests/bench-memcpy-large.c (test_name): Likewise.
10016 * benchtests/bench-memcpy-random.c (test_name): Likewise.
10017
d5afb385
AS
100182017-08-07 Andreas Schwab <schwab@suse.de>
10019
10020 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
10021 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10022 * intl/Makefile ($(objpfx)tst-gettext.out)
10023 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
10024 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
10025 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10026 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10027 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
10028 * posix/Makefile ($(objpfx)globtest.out)
10029 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
10030 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
10031 ($(objpfx)tst-printf.out): Likewise.
10032 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
10033 ($(objpfx)tst-setcontext3.out): Likewise.
10034
57a72fa3
L
100352017-08-07 H.J. Lu <hongjiu.lu@intel.com>
10036
10037 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10038 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
10039 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
10040 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
10041 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
10042 and mptan-fma.
10043 (CFLAGS-doasin-fma.c): New.
10044 (CFLAGS-dosincos-fma.c): Likewise.
10045 (CFLAGS-e_asin-fma.c): Likewise.
10046 (CFLAGS-e_atan2-fma.c): Likewise.
10047 (CFLAGS-e_exp-fma.c): Likewise.
10048 (CFLAGS-e_log-fma.c): Likewise.
10049 (CFLAGS-e_pow-fma.c): Likewise.
10050 (CFLAGS-halfulp-fma.c): Likewise.
10051 (CFLAGS-mpa-fma.c): Likewise.
10052 (CFLAGS-mpatan-fma.c): Likewise.
10053 (CFLAGS-mpatan2-fma.c): Likewise.
10054 (CFLAGS-mpexp-fma.c): Likewise.
10055 (CFLAGS-mplog-fma.c): Likewise.
10056 (CFLAGS-mpsqrt-fma.c): Likewise.
10057 (CFLAGS-mptan-fma.c): Likewise.
10058 (CFLAGS-s_atan-fma.c): Likewise.
10059 (CFLAGS-sincos32-fma.c): Likewise.
10060 (CFLAGS-slowexp-fma.c): Likewise.
10061 (CFLAGS-slowpow-fma.c): Likewise.
10062 (CFLAGS-s_sin-fma.c): Likewise.
10063 (CFLAGS-s_tan-fma.c): Likewise.
10064 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
10065 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
10066 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
10067 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
10068 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
10069 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
10070 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
10071 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
10072 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
10073 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
10074 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
10075 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
10076 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
10077 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
10078 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
10079 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
10080 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
10081 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
10082 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
10083 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
10084 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
10085 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
10086 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
10087 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
10088 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10089 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10090 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10091 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
10092 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10093 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10094 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10095
219dd320
JM
100962017-08-04 Joseph Myers <joseph@codesourcery.com>
10097
10098 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
10099 (min_of_type_f): New macro.
10100 (min_of_type_): Likewise.
10101 (min_of_type_l): Likewise.
10102 (min_of_type_f128): Likewise.
10103 (min_of_type): Define using __MATH_TG and taking an expression
10104 argument.
10105 (math_check_force_underflow): Pass expression instead of type to
10106 min_of_type.
10107 (math_check_force_underflow_nonneg): Likewise.
10108
64d4dea6
L
101092017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10110
10111 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
10112 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
10113 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
10114
973da22a
L
101152017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10116
10117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10118 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
10119 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
10120 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
10121 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
10122 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
10123 memcpy_chk-nonshared, mempcpy_chk-nonshared,
10124 memmove_chk-nonshared and memset_chk-nonshared
10125 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
10126 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
10127 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
10128 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
10129 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
10130 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
10131 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
10132 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
10133 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
10134 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
10135 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
10136 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
10137 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
10138 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
10139 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
10140 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
10141 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
10142 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
10143 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
10144 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
10145 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
10146 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
10147 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
10148 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
10149 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
10150 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
10151 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
10152 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
10153 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
10154 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
10155 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
10156 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
10157 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
10158 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
10159 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
10160 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
10161 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
10162 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
10163 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
10164 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
10165 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
10166 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
10167 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
10168 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
10169 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
10170 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
10171 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
10172 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
10173 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
10174 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
10175 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
10176 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
10177 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
10178 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
10179 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
10180 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
10181 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
10182 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
10183 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
10184 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
10185 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
10186 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
10187 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
10188 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
10189 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
10190 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
10191 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
10192 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
10193 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
10194 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
10195 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
10196 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10197 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10198 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10199 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10200 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10201 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10202 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10203 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10204 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10205 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10206 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10207 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10208 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10209 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
10210 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
10211 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10212 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
10213 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10214 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10215 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10216 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10217 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10218 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10219 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
10220 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
10221 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
10222 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
10223 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10224 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
10225 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10226 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10227 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10228 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10229 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10230 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10231 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10232 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10233
8537e0f6
L
102342017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10235
10236 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
10237 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
10238 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
10239 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
10240 svml_d_log2_core-sse2, svml_d_log4_core-sse,
10241 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
10242 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
10243 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
10244 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
10245 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
10246 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
10247 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
10248 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
10249 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
10250 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
10251 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
10252 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
10253 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
10254 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
10255 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
10256 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
10257 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
10258 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
10259 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
10260 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
10261 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
10262 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
10263 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
10264 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
10265 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
10266 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
10267 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
10268 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
10269 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
10270 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
10271 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
10272 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
10273 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
10274 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
10275 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
10276 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
10277 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
10278 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
10279 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
10280 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
10281 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
10282 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
10283 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
10284 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
10285 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
10286 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
10287 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
10288 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
10289 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
10290 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
10291 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
10292 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
10293 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
10294 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
10295 ...
10296 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
10297 Don't include <sysdep.h> nor <init-arch.h>.
10298 (_ZGVbN2v_cos): Removed.
10299 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
10300 ...
10301 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
10302 Don't include <sysdep.h> nor <init-arch.h>.
10303 (_ZGVdN4v_cos): Removed.
10304 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
10305 ...
10306 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
10307 Don't include <sysdep.h> nor <init-arch.h>.
10308 (_ZGVeN8v_cos): Removed.
10309 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
10310 ...
10311 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
10312 Don't include <sysdep.h> nor <init-arch.h>.
10313 (_ZGVbN2v_exp): Removed.
10314 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
10315 ...
10316 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
10317 Don't include <sysdep.h> nor <init-arch.h>.
10318 (_ZGVdN4v_exp): Removed.
10319 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
10320 ...
10321 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
10322 Don't include <sysdep.h> nor <init-arch.h>.
10323 (_ZGVeN8v_exp): Removed.
10324 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
10325 ...
10326 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
10327 Don't include <sysdep.h> nor <init-arch.h>.
10328 (_ZGVbN2v_log): Removed.
10329 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
10330 ...
10331 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
10332 Don't include <sysdep.h> nor <init-arch.h>.
10333 (_ZGVdN4v_log): Removed.
10334 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
10335 ...
10336 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
10337 Don't include <sysdep.h> nor <init-arch.h>.
10338 (_ZGVeN8v_log): Removed.
10339 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
10340 ...
10341 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
10342 Don't include <sysdep.h> nor <init-arch.h>.
10343 (_ZGVbN2vv_pow): Removed.
10344 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
10345 ...
10346 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
10347 Don't include <sysdep.h> nor <init-arch.h>.
10348 (_ZGVdN4vv_pow): Removed.
10349 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
10350 ...
10351 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
10352 Don't include <sysdep.h> nor <init-arch.h>.
10353 (_ZGVeN8vv_pow): Removed.
10354 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
10355 ...
10356 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
10357 Don't include <sysdep.h> nor <init-arch.h>.
10358 (_ZGVbN2v_sin): Removed.
10359 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
10360 ...
10361 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
10362 Don't include <sysdep.h> nor <init-arch.h>.
10363 (_ZGVbN4v_sin): Removed.
10364 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
10365 ...
10366 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
10367 Don't include <sysdep.h> nor <init-arch.h>.
10368 (_ZGVbN8v_sin): Removed.
10369 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
10370 ...
10371 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
10372 Don't include <sysdep.h> nor <init-arch.h>.
10373 (_ZGVbN2vvv_sincos): Removed.
10374 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
10375 ...
10376 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
10377 Don't include <sysdep.h> nor <init-arch.h>.
10378 (_ZGVdN4vvv_sincos): Removed.
10379 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
10380 ...
10381 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
10382 Don't include <sysdep.h> nor <init-arch.h>.
10383 (_ZGVeN8vvv_sincos): Removed.
10384 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
10385 ...
10386 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
10387 Don't include <sysdep.h> nor <init-arch.h>.
10388 (_ZGVeN16v_cosf): Removed.
10389 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
10390 ...
10391 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
10392 Don't include <sysdep.h> nor <init-arch.h>.
10393 (_ZGVbN4v_cosf): Removed.
10394 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
10395 ...
10396 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
10397 Don't include <sysdep.h> nor <init-arch.h>.
10398 (_ZGVdN8v_cosf): Removed.
10399 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
10400 ...
10401 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
10402 Don't include <sysdep.h> nor <init-arch.h>.
10403 (_ZGVeN16v_expf): Removed.
10404 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
10405 ...
10406 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
10407 Don't include <sysdep.h> nor <init-arch.h>.
10408 (_ZGVbN4v_expf): Removed.
10409 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
10410 ...
10411 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
10412 Don't include <sysdep.h> nor <init-arch.h>.
10413 (_ZGVdN8v_expf): Removed.
10414 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
10415 ...
10416 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
10417 Don't include <sysdep.h> nor <init-arch.h>.
10418 (_ZGVeN16v_logf): Removed.
10419 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
10420 ...
10421 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
10422 Don't include <sysdep.h> nor <init-arch.h>.
10423 (_ZGVbN4v_logf): Removed.
10424 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
10425 ...
10426 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
10427 Don't include <sysdep.h> nor <init-arch.h>.
10428 (_ZGVdN8v_logf): Removed.
10429 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
10430 ...
10431 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
10432 Don't include <sysdep.h> nor <init-arch.h>.
10433 (_ZGVeN16vv_powf): Removed.
10434 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
10435 ...
10436 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
10437 Don't include <sysdep.h> nor <init-arch.h>.
10438 (_ZGVbN4vv_powf): Removed.
10439 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
10440 ...
10441 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
10442 Don't include <sysdep.h> nor <init-arch.h>.
10443 (_ZGVdN8vv_powf): Removed.
10444 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
10445 ...
10446 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
10447 Don't include <sysdep.h> nor <init-arch.h>.
10448 (_ZGVeN16vvv_sincosf): Removed.
10449 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
10450 ...
10451 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
10452 Don't include <sysdep.h> nor <init-arch.h>.
10453 (_ZGVbN4vvv_sincosf): Removed.
10454 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
10455 ...
10456 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
10457 Don't include <sysdep.h> nor <init-arch.h>.
10458 (_ZGVdN8vvv_sincosf): Removed.
10459 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
10460 ...
10461 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
10462 Don't include <sysdep.h> nor <init-arch.h>.
10463 (_ZGVeN16v_sinf): Removed.
10464 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
10465 ...
10466 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
10467 Don't include <sysdep.h> nor <init-arch.h>.
10468 (_ZGVbN4v_sinf): Removed.
10469 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
10470 ...
10471 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
10472 Don't include <sysdep.h> nor <init-arch.h>.
10473 (_ZGVdN8v_sinf): Removed.
10474
10a87ca4
L
104752017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10476
10477 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10478 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
10479 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
10480 s_rint-sse4_1 and s_rintf-sse4_1.
10481 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
10482 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
10483 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
10484 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10485 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10486 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
10487 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
10488 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10489 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10490 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
10491 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
10492 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10493 (__ceil): Removed.
10494 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
10495 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
10496 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10497 (__ceilf): Removed.
10498 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
10499 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
10500 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10501 (__floor): Removed.
10502 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
10503 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
10504 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10505 (__floorf): Removed.
10506 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
10507 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
10508 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10509 (__nearbyint): Removed.
10510 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
10511 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
10512 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10513 (__nearbyintf): Removed.
10514 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
10515 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
10516 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10517 (__rint): Removed.
10518 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
10519 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
10520 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
10521 (__rintf): Removed.
10522
1e8e527d
L
105232017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10524
10525 * sysdeps/i386/start.S (_start): Check Check PIC instead of
10526 SHARED. Avoid dynamic relocation against main in static PIE.
10527
e13daad7
L
105282017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10529
10530 [BZ #21815]
10531 * elf/Makefile (CFLAGS-tst-prelink.c): New.
10532 (LDFLAGS-tst-prelink): Likewise.
10533
627c69c8
L
105342017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10535
10536 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
10537 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
10538 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
10539 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10540 (INTERNAL_SYSCALL_NCS): Likewise.
10541 (LOADARGS_1): Likewise.
10542 (LOADARGS_5): Likewise.
10543 (RESTOREARGS_1): Likewise.
10544 (RESTOREARGS_5): Likewise.
10545
fc11ff8d
L
105462017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10547
10548 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
10549 (MEMPCPY_SYMBOL): Likewise.
10550 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10551 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
10552 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
10553 in libc.a.
10554 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10555 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
10556 Likewise.
10557 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
10558 (__hidden_ver1): Don't use in libc.a.
10559 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
10560 (__mempcpy): Don't create a weak alias in libc.a.
10561 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
10562 libc.a.
10563 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
10564 (__hidden_ver1): Don't use in libc.a.
10565
19f1a11e
L
105662017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10567
10568 * config.make.in (have-insert): New.
10569 * configure.ac (libc_cv_insert): New. Set to yes if linker
10570 supports INSERT in linker script.
10571 (AC_SUBST(libc_cv_insert): New.
10572 * configure: Regenerated.
10573 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
10574 if $(have-insert) == yes.
10575
3093fd5e
L
105762017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10577
10578 * elf/Makefile (tests): Add vismain only if
10579 $(have-protected-data) == yes.
10580 (tests-pie): Likewise.
10581
d2cf37c0
L
105822017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10583
10584 [BZ #21871]
10585 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10586 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
10587
c8a0e6ec
L
105882017-08-04 H.J. Lu <hongjiu.lu@intel.com>
10589
10590 [BZ #21790]
10591 * sysdeps/i386/i586/memset.S
10592 (__memset_zero_constant_len_parameter): Removed.
10593 * sysdeps/i386/i686/memset.S
10594 (__memset_zero_constant_len_parameter): Likewise.
10595 * sysdeps/i386/i686/multiarch/memset_chk.S
10596 (__memset_zero_constant_len_parameter): Likewise.
10597 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
10598 Likewise.
10599
2b34e271
AJ
106002017-08-03 Aurelien Jarno <aurelien@aurel32.net>
10601
10602 * stdlib/getentropy.c (getentropy): Change return type to int.
10603
144bdab0
AJ
106042017-08-03 Aurelien Jarno <aurelien@aurel32.net>
10605
10606 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10607
24ab7723
JM
106082017-08-03 Joseph Myers <joseph@codesourcery.com>
10609
10610 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
10611 u_intN_t.
10612 * math/s_nexttowardf.c (__nexttowardf): Likewise.
10613 * sysdeps/generic/math_private.h (ieee_double_shape_type):
10614 Likewise.
10615 (ieee_float_shape_type): Likewise.
10616 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
10617 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
10618 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10619 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10620 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10621 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
10622 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
10623 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10624 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10625 Likewise.
10626 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10627 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10628 (__ieee754_yn): Likewise.
10629 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10630 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10631 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
10632 Likewise.
10633 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10634 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
10635 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
10636 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
10637 (__erfc): Likewise.
10638 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
10639 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
10640 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
10641 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
10642 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
10643 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
10644 Likewise.
10645 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
10646 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
10647 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
10648 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
10649 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10650 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
10651 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
10652 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
10653 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
10654 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10655 (__issignaling): Likewise.
10656 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
10657 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
10658 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10659 Likewise.
10660 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10661 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
10662 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
10663 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
10664 Likewise.
10665 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
10666 Likewise.
10667 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
10668 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
10669 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
10670 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
10671 (__erfcf): Likewise.
10672 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
10673 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
10674 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
10675 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
10676 Likewise.
10677 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
10678 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
10679 Likewise.
10680 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
10681 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
10682 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
10683 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
10684 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
10685 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
10686 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
10687 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
10688 Likewise.
10689 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
10690 Likewise.
10691 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
10692 Likewise.
10693 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
10694 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10695 Likewise.
10696 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10697 Likewise.
10698 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10699 (__ieee754_ynl): Likewise.
10700 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10701 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
10702 Likewise.
10703 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
10704 Likewise.
10705 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
10706 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
10707 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10708 Likewise.
10709 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
10710 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
10711 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
10712 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
10713 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
10714 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
10715 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
10716 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
10717 Likewise.
10718 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
10719 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
10720 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
10721 Likewise.
10722 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
10723 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
10724 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
10725 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10726 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
10727 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10728 Likewise.
10729 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10730 Likewise.
10731 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10732 Likewise.
10733 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10734 Likewise.
10735 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
10736 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
10737 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10738 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
10739 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
10740 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
10741 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
10742 Likewise.
10743 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10744 Likewise.
10745 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10746 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10747 Likewise.
10748 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10749 (__ieee754_remainderl): Likewise.
10750 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10751 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10752 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10753 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10754 Likewise.
10755 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10756 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10757 Likewise.
10758 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10759 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
10760 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10761 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
10762 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10763 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10764 Likewise.
10765 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10766 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
10767 (__ieee754_y0l): Likewise.
10768 (pzero): Likewise.
10769 (qzero): Likewise.
10770 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10771 (__ieee754_y1l): Likewise.
10772 (pone): Likewise.
10773 (qone): Likewise.
10774 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10775 (__ieee754_ynl): Likewise.
10776 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10777 (__ieee754_lgammal_r): Likewise.
10778 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
10779 Likewise.
10780 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
10781 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
10782 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
10783 (__erfcl): Likewise.
10784 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
10785 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
10786 Likewise.
10787 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
10788 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
10789 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
10790 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
10791 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
10792 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10793 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10794 Likewise.
10795 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
10796 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
10797 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
10798 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
10799 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10800 Likewise.
10801 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
10802 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
10803 Likewise.
10804 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
10805 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
10806 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
10807 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10808 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
10809
964263bb
FW
108102017-08-03 Florian Weimer <fweimer@redhat.com>
10811
10812 [BZ #21885]
10813 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
10814 on memory allocation failure.
10815
e98c925f
AM
108162017-08-03 Alan Modra <amodra@gmail.com>
10817
10818 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
10819 tst-tlsopt-powerpc.c with function name change and no test harness.
10820 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
10821 Call tls_get_addr_opt_test.
10822 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
10823 (modules-names): Add mod-tlsopt-powerpc.
10824 (mod-tlsopt-powerpc.so-no-z-defs): Define.
10825 (tst-tlsopt-powerpc): Depend on .so.
10826 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
10827 define. Expand use in TLS_GD and TLS_LD.
10828
8ee1abdb
ST
108292017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10830
10831 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
10832 function.
3da5756e 10833 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 10834
42df8d59
JM
108352017-08-02 Joseph Myers <joseph@codesourcery.com>
10836
10837 [BZ #21686]
10838 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
10839 comparing size with that of double.
10840 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
10841 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
10842 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
10843 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
10844 (__TGMATH_BINARY_REAL_IMAG): Likewise.
10845 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
10846 unsigned __int128 types.
10847
b7f95f49
SE
108482017-08-02 Steve Ellcey <sellcey@cavium.com>
10849
10850 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
10851 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
10852 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
10853 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
10854 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
10855
5b736bc9
L
108562017-08-02 H.J. Lu <hongjiu.lu@intel.com>
10857
10858 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
10859
dfc93c41
L
108602017-08-02 H.J. Lu <hongjiu.lu@intel.com>
10861
10862 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
10863 of SHARED.
10864 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10865 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10866 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10867 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10868 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10869 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10870 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10871
2fee621d
JM
108722017-08-02 Joseph Myers <joseph@codesourcery.com>
10873
10874 [BZ #21685]
10875 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
10876 bit-field expressions passed to sizeof or typeof.
10877 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10878 (__TGMATH_F128): Likewise.
10879 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10880 (__TGMATH_CF128): Likewise.
10881 (__TGMATH_UNARY_REAL_ONLY): Likewise.
10882 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
10883 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
10884 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
10885 (__TGMATH_BINARY_REAL_ONLY): Likewise.
10886 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
10887 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
10888 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
10889 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
10890 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
10891 (__TGMATH_UNARY_REAL_IMAG): Likewise.
10892 (__TGMATH_UNARY_IMAG): Likewise.
10893 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
10894 (__TGMATH_BINARY_REAL_IMAG): Likewise.
10895 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
10896 type.
10897 (define_vars_for_type): Handle bit_field type specially.
10898 (Tests.__init__): Declare structure with bit-field element.
10899
b358255f
L
109002017-08-02 H.J. Lu <hongjiu.lu@intel.com>
10901
10902 [BZ #21791]
10903 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
10904 (MEMCPY_CHK): Define only if SHARED is defined.
10905 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
10906 Likewise.
10907 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
10908 Likewise.
edf66db1
SP
10909
10910See ChangeLog.18 for earlier changes.