]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
New generic powf
[thirdparty/glibc.git] / ChangeLog
1 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2
3 * math/Makefile (type-float-routines): Add e_powf_log2_data.
4 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
5 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
6 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
7 (issignalingf_inline): Likewise.
8 (POWF_LOG2_TABLE_BITS): Likewise.
9 (POWF_LOG2_POLY_ORDER): Likewise.
10 (POWF_SCALE_BITS): Likewise.
11 (POWF_SCALE): Likewise.
12 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
13 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
14 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
15
16 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
17
18 * math/Makefile (type-float-routines): Add e_log2f_data.
19 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
20 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
21 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
22 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
23 * sysdeps/i386/fpu/e_log2f_data.c: New file.
24 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
25 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
26
27 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28
29 * math/Makefile (type-float-routines): Add e_logf_data.
30 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
31 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
33 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
34 * sysdeps/i386/fpu/e_logf_data.c: New file.
35 * sysdeps/ia64/fpu/e_logf_data.c: New file.
36 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
37
38 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
39
40 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
41 undefined _DYNAMIC in PIE libc.a.
42 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
43 Likewse.
44
45 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
46
47 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
48 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
49 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
50 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
51 (__signbit): Remove.
52 (__signbitl): Remove.
53 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
54 (__signbit): Remove.
55 (__signbitl): Remove.
56 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
57 (__signbit): Remove.
58 (__signbitl): Remove.
59 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
60 (__signbit): Remove.
61 (__signbitl): Remove.
62 * sysdeps/tile/bits/mathinline.h: Delete file.
63 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
64 (__signbit): Remove.
65 (__signbitl): Remove.
66
67 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
68
69 * math/math.h: Improve handling of C99 isgreater macros.
70 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
71 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
72 * sysdeps/powerpc/bits/mathinline.h: Likewise.
73 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
74 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
75
76 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
77
78 * sysdeps/aarch64/libm-test-ulps: Update.
79
80 2017-09-28 Joseph Myers <joseph@codesourcery.com>
81
82 [BZ #22225]
83 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
84 math_opt_barrier on argument when doing arithmetic on it.
85 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86 Likewise. Use math_force_eval not math_opt_barrier after
87 arithmetic.
88 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
89 math_opt_barrier on argument when doing arithmetic on it.
90 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
91 Likewise.
92
93 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
94
95 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
96 libc_hidden_def.
97 (__freeifaddrs): Likewise.
98
99 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
100
101 * include/dirent.h (__dirfd): New declaration.
102 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
103 alias.
104 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
105 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
106 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
107 * include/unistd.h (__revoke): New declaration.
108 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
109 alias.
110 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
111 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
112 revoke.
113 * include/dirent.h (__seekdir): New declaration.
114 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
115 redefine as weak alias.
116 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
117 of seekdir.
118 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
119 and use libc_hidden_def on them.
120 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
121 them.
122 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
123 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
124 instead of getifaddrs and freeifaddrs.
125
126 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
127
128 [BZ #18822]
129 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
130 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
131 (__dso_handle): Remove declaration.
132 * dlfcn/tstatexit.c (__dso_handle): Removed.
133 (main): Don't check __dso_handle.
134 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
135 (main): Don't check __dso_handle.
136 * include/dso_handle.h: New file.
137 * malloc/mtrace.c: Include <dso_handle.h>.
138 (mtrace): Pass __dso_handle directly.
139 * nptl/pthread_atfork.c: Include <dso_handle.h>.
140 (__dso_handle): Remove declaration.
141 (__pthread_atfork): Pass __dso_handle directly.
142 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
143 (__dso_handle): Removed.
144 * posix/wordexp-test.c: Include <dso_handle.h>.
145 (__dso_handle): Remove declaration.
146 (__app_register_atfork): Pass __dso_handle directly.
147 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
148 (__dso_handle): Remove declaration.
149 (at_quick_exit): Pass __dso_handle directly.
150 * stdlib/atexit.c: Include <dso_handle.h>.
151 (__dso_handle): Remove declaration.
152 (atexit): Pass __dso_handle directly.
153 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
154 (__dso_handle): Removed.
155
156 2017-09-26 Joseph Myers <joseph@codesourcery.com>
157
158 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
159 using VDSO.
160
161 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
162
163 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
164 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
165 values to correct default value for given type.
166
167 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
168
169 [BZ #22101]
170 * elf/Makefile (tests): Add tst-debug1.
171 ($(objpfx)tst-debug1): New.
172 ($(objpfx)tst-debug1.out): Likewise.
173 ($(objpfx)tst-debug1mod1.so): Likewise.
174 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
175 with p_filesz == 0.
176 * elf/tst-debug1.c: New file.
177
178 2017-09-26 Joseph Myers <joseph@codesourcery.com>
179
180 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
181 Define using __ifunc.
182
183 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
184
185 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
186 exp2f() values.
187
188 2017-09-26 Joseph Myers <joseph@codesourcery.com>
189
190 [BZ #22156]
191 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
192
193 2017-09-26 Florian Weimer <fweimer@redhat.com>
194
195 * resolv/Makefile (tests-internal): Fix typo in comment.
196
197 2017-09-26 Florian Weimer <fweimer@redhat.com>
198
199 * resolv/nss_dns/dns-host.c: Fix typo in comment.
200
201 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
202
203 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
204 Use an union instead of a max_align_t array for __space,
205 so that __space is the same size on all platforms.
206 * malloc/scratch_buffer_grow_preserve.c
207 (__libc_scratch_buffer_grow_preserve): Likewise.
208
209 [BZ #22183]
210 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
211 version to 2.
212 * posix/Makefile (routines): Add glob-lstat-compat and
213 glob64-lstat-compat.
214 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
215 * posix/glob-lstat-compat.c: New file.
216 * posix/glob64-lstat-compat.c: Likewise.
217 * posix/tst-glob_lstat_compat.c: Likewise.
218 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
219 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
220 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
221 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
222 Likewise.
223 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
224 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
225 * posix/glob.c (glob_lstat): New function.
226 (glob): Rename to __glob and add versioned symbol to 2.27.
227 (glob_in_dir): Use glob_lstat.
228 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
229 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
230 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
231 2.27.
232 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
233 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
234 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
235 gl_lstat on glob call.
236 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
237 and glob64 symbols.
238 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
239 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
240 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
241 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
242 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
243 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
244 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
245 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
246 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
247 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
248 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
249 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
251 Likewise.
252 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
254 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
255 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
256 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
257 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
258 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
261 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
262 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
263 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
264
265 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
266
267 * configure.ac (AS): Require binutils 2.25 or later.
268 * configure: Regenerated.
269
270 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
271
272 [BZ #22207]
273 * stdlib/test-atexit-race-common.c (do_test): Minimize required
274 VM size.
275
276 2017-09-25 DJ Delorie <dj@redhat.com>
277
278 [BZ #22161]
279 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
280 resetting timeout.
281
282 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
283
284 * sysdeps/ieee754/dbl-64/sincos32.h
285 [SINCCOS32_H]: Remove define.
286 [SINCOS32_H]: Define.
287
288 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
289
290 * math/Versions (expf): New libm symbol at GLIBC_2.27.
291 (exp2f): Likewise.
292 * math/w_exp2f.c: New file.
293 * math/w_expf.c: New file.
294 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
295 * math/w_expf_compat.c (__expf_compat): Likewise.
296 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
297 * sysdeps/ia64/fpu/e_expf.S: Likewise.
298 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
299 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
300 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
301 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
302 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
303 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
304 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
305 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
306 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
307 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
308 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
309 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
311 Likewise.
312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
313 Likewise.
314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
315 Likewise.
316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
317 Likewise.
318 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
319 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
320 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
321 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
322 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
324 Likewise.
325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
326 Likewise.
327 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
328 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
329 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
330
331 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
332
333 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
334 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
335 (roundtoint, converttoint): Likewise.
336 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
337 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
338 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
339 * sysdeps/ieee754/flt-32/math_config.h: New file.
340 * sysdeps/ieee754/flt-32/math_errf.c: New file.
341 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
342 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
343 * sysdeps/i386/fpu/math_errf.c: New file.
344 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
345 * sysdeps/ia64/fpu/math_errf.c: New file.
346 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
347 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
348
349 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
350
351 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
352 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
353 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
354 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
355 to make sure that these symbols are defined.
356 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
357 of <limits.h>
358 (__need_NULL): Do not define.
359 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
360 alignment.
361 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
362 CMGROUP_MAX, cmsgcred): Do not define.
363 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
364 NULL.
365 * bits/socket.h: Likewise.
366 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
367 __gettimeofday instead of gettimeofday.
368 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
369 instead of settimeofday.
370
371 2017-09-22 Joseph Myers <joseph@codesourcery.com>
372
373 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
374 (asinhf): Define using libm_alias_float.
375 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
376 (atanf): Define using libm_alias_float.
377 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
378 (cbrtf): Define using libm_alias_float.
379 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
380 (ceilf): Define using libm_alias_float.
381 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
382 <libm-alias-float.h>.
383 (copysignf): Define using libm_alias_float.
384 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
385 (cosf): Define using libm_alias_float.
386 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
387 (erff): Define using libm_alias_float.
388 (erfcf): Likewise.
389 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
390 (expm1f): Define using libm_alias_float.
391 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
392 (fabsf): Define using libm_alias_float.
393 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
394 (floorf): Define using libm_alias_float.
395 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
396 (frexpf): Define using libm_alias_float.
397 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
398 libm_alias_float.
399 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
400 <libm-alias-float.h>.
401 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
402 libm_alias_float.
403 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
404 <libm-alias-float.h>.
405 (getpayloadf): Define using libm_alias_float.
406 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
407 <libm-alias-float.h>.
408 (llrintf): Define using libm_alias_float.
409 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
410 <libm-alias-float.h>.
411 (llroundf): Define using libm_alias_float.
412 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
413 (logbf): Define using libm_alias_float.
414 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
415 (lrintf): Define using libm_alias_float.
416 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
417 (lroundf): Define using libm_alias_float.
418 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
419 (modff): Define using libm_alias_float.
420 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
421 <libm-alias-float.h>.
422 (nearbyintf): Define using libm_alias_float.
423 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
424 <libm-alias-float.h>.
425 (nextafterf): Define using libm_alias_float.
426 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
427 <libm-alias-float.h>.
428 (nextupf): Define using libm_alias_float.
429 * sysdeps/ieee754/flt-32/s_remquof.c: Include
430 <libm-alias-float.h>.
431 (remquof): Define using libm_alias_float.
432 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
433 (rintf): Define using libm_alias_float.
434 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
435 <libm-alias-float.h>.
436 (roundevenf): Define using libm_alias_float.
437 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
438 (roundf): Define using libm_alias_float.
439 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
440 using libm_alias_float.
441 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
442 <libm-alias-float.h>.
443 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
444 Define using libm_alias_float.
445 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
446 <libm-alias-float.h>.
447 (sincosf): Define using libm_alias_float.
448 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
449 (sinf): Define using libm_alias_float.
450 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
451 (tanf): Define using libm_alias_float.
452 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
453 (tanhf): Define using libm_alias_float.
454 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
455 <libm-alias-float.h>.
456 (totalorderf): Define using libm_alias_float.
457 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
458 <libm-alias-float.h>.
459 (totalordermagf): Define using libm_alias_float.
460 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
461 (truncf): Define using libm_alias_float.
462 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
463 libm_alias_float.
464 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
465 libm_alias_float.
466
467 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
468
469 [BZ #22146]
470 math/math.h: Let fpclassify use the builtin in C++ mode, even
471 when optimazing for size.
472
473 2017-09-22 Joseph Myers <joseph@codesourcery.com>
474
475 * csu/Makefile (generated): Do not add version-info.h.
476 (before-compile): Likewise.
477 (all-Banner-files): Remove variable.
478 ($(objpfx)version-info.h): Remove rule.
479 * csu/version.c (banner): Do not include "version-info.h".
480 * libidn/Banner: Remove.
481 * manual/contrib.texi (Simon Josefsson): New entry.
482
483 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
484
485 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
486 Remove conditionals on LDBL_MANT_DIG.
487 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
488 (__ieee754_lgammal_r): Likewise.
489
490 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
491
492 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
493 _Float128 and L().
494 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
495 _Float128 and L(). Replace _Float128 with long double and L(x)
496 with xL, throughout the file.
497 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
498 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
499 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
500 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
501
502 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
503
504 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
505 sysdeps/ieee754/ldbl-128ibm.
506 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
507 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
508 of including it. Keep _Float128 and L() intact. These will be
509 reviewed by a separate patch.
510 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
511 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
512 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
513 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
514
515 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
516
517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
518 (__finitef128): Define to __redirect___finitef128.
519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
520 (__isinff128): Define to __redirect___isinff128.
521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
522 (__isnanf128): Define to __redirect___isnanf128.
523
524 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
525
526 * sysdeps/powerpc/powerpc64le/Makefile
527 (CFLAGS-tst-strtod-nan-locale.c): New variable.
528 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
529
530 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
531 Carlos O'Donell <carlos@redhat.com>
532
533 [BZ #22180]
534 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
535 * stdlib/test-dlclose-exit-race.c: New file.
536 * stdlib/test-dlclose-exit-race-helper.c: New file.
537 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
538
539 2017-09-21 Joseph Myers <joseph@codesourcery.com>
540
541 * crypt/Banner: Remove file.
542 * nptl/Banner: Likewise.
543 * resolv/Banner: Likewise.
544 * soft-fp/Banner: Likewise.
545 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
546 ($(objpfx)version.d): Remove dependency on banner.h.
547 ($(objpfx)version.os): Likewise.
548 * nptl/version.c (banner): Do not include banner.h.
549 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
550 Jelinek and BIND code.
551
552 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
553 Carlos O'Donell <carlos@redhat.com>
554
555 * support/xdlfcn.h: New file.
556 * support/xdlfcn.c: New file.
557 * support/Makefile (libsupport-routines): Add xdlfcn.
558 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
559
560 2017-09-20 Joseph Myers <joseph@codesourcery.com>
561
562 [BZ #20142]
563 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
564 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
565 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
566 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
567 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
568 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
569 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
570 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
571
572 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
573 Ricky Zhou <rickyz@google.com>
574 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
575
576 [BZ #14333]
577 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
578 Remove atomics.
579 (__new_exitfn): Fail registration when we finished at_exit processing.
580 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
581 * stdlib/on_exit.c (__on_exit): Likewise.
582 * stdlib/exit.c (__exit_funcs_done): New variable.
583 (__run_exit_handlers): Use __exit_funcs_lock.
584 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
585 declarations.
586 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
587 (test-cxa_atexit-race, test-on_exit-race): New tests.
588 * stdlib/test-atexit-race-common.c: New file.
589 * stdlib/test-atexit-race.c: New file.
590 * stdlib/test-at_quick_exit-race.c: New file.
591 * stdlib/test-cxa_atexit-race.c: New file.
592 * stdlib/test-on_exit-race.c: New file.
593
594 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
595
596 * benchtests/Makefile: Add exp2f and log2f benchmarks.
597 * benchtests/exp2f-inputs: Copy of expf-inputs.
598 * benchtests/log2f-inputs: Copy of logf-inputs.
599
600 2017-09-19 Joseph Myers <joseph@codesourcery.com>
601
602 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
603 Explicitly take address of first element of array arguments in
604 call to INLINE_SYSCALL.
605
606 2017-09-19 Andreas Schwab <schwab@suse.de>
607
608 [BZ #22134]
609 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
610 execveat first.
611 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
612 unimplemented.
613 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
614 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
615 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
616 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
617 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
618 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
619 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
620 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
621 * posix/Makefile (tests): Add tst-fexecve.
622 * posix/tst-fexecve.c: New file.
623
624 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
625
626 * benchtests/Makefile: Add logf benchmark.
627 * benchtests/logf-inputs: Add reduced trace from wrf_r.
628
629 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
630
631 * benchtests/Makefile: Add expf benchmark.
632 * benchtests/expf-inputs: Add reduced trace from wrf_r.
633
634 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
635
636 * csu/Makefile: Add -funwind-tables to libc-start.c.
637 * debug/Makefile: Add -funwind-tables to backtrace.c.
638 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
639 * sysdeps/arm/Makefile: Likewise.
640 * sysdeps/i386/Makefile: Likewise.
641 * sysdeps/m68k/Makefile: Likewise.
642 * sysdeps/mips/Makefile: Likewise.
643 * sysdeps/nios2/Makefile: Likewise.
644 * sysdeps/sh/Makefile: Likewise.
645 * sysdeps/sparc/Makefile: Likewise.
646
647 2017-09-19 Joseph Myers <joseph@codesourcery.com>
648
649 * benchtests/Makefile (bench-math): Add trunc and truncf.
650 (CFLAGS-bench-trunc.c): New variable.
651 (CFLAGS-bench-truncf.c): Likewise.
652 * benchtests/trunc-inputs: New file.
653 * benchtests/truncf-inputs: Likewise.
654
655 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
656
657 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
658
659 2017-09-18 Joseph Myers <joseph@codesourcery.com>
660
661 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
662 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
663 redefine.
664 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
665 (exp10l): Define as weak alias.
666 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
667 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
668 and redefine.
669 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
670 (remainderl): Define as weak alias.
671
672 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
673 (fmal): Define using libm_alias_ldouble.
674 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
675 (acoshl): Define using libm_alias_ldouble.
676 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
677 (acosl): Define using libm_alias_ldouble.
678 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
679 (asinl): Define using libm_alias_ldouble.
680 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
681 (atan2l): Define using libm_alias_ldouble.
682 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
683 (atanhl): Define using libm_alias_ldouble.
684 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
685 (coshl): Define using libm_alias_ldouble.
686 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
687 (exp10l): Define using libm_alias_ldouble.
688 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
689 (exp2l): Define using libm_alias_ldouble.
690 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
691 (expl): Define using libm_alias_ldouble.
692 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
693 (fmodl): Define using libm_alias_ldouble.
694 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
695 (hypotl): Define using libm_alias_ldouble.
696 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
697 (j0l): Define using libm_alias_ldouble.
698 (y0l): Likewise.
699 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
700 (j1l): Define using libm_alias_ldouble.
701 (y1l): Likewise.
702 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
703 (jnl): Define using libm_alias_ldouble.
704 (ynl): Likewise.
705 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
706 (log10l): Define using libm_alias_ldouble.
707 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
708 (log2l): Define using libm_alias_ldouble.
709 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
710 (logl): Define using libm_alias_ldouble.
711 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
712 (powl): Define using libm_alias_ldouble.
713 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
714 (remainderl): Define using libm_alias_ldouble.
715 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
716 (sinhl): Define using libm_alias_ldouble.
717 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
718 (sqrtl): Define using libm_alias_ldouble.
719 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
720 (tgammal): Define using libm_alias_ldouble.
721 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
722 (exp10l): Do not use long_double_symbol here.
723 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
724 [LIBM_SVID_COMPAT] (remainderl): Likewise.
725 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
726 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
727 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
728 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
729 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
730 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
731 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
732 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
733 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
734 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
735 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
736 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
737 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
738 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
739 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
740 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
741 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
742 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
743 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
744 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
745
746 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
747
748 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
749 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
750
751 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
752
753 * io/read.c (read): Add libc_hidden_weak.
754 * sysdeps/mach/hurd/read.c (read): Likewise.
755 * io/write.c (write): Likewise.
756 * sysdeps/mach/hurd/write.c (write): Likewise.
757 * io/pread64.c (__pread64): Likewise.
758 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
759 * posix/pread64.c (__pread64): Add libc_hidden_def.
760
761 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
762
763 * benchtests/scripts/compare_strings.py: New option -g.
764 (draw_graph): Print a message that a graph is being generated.
765 (process_results): Generate graph only if -g is passed.
766 (main): Process option -g.
767
768 * benchtests/scripts/compare_strings.py (process_results):
769 Better spacing for output.
770
771 * benchtests/scripts/compare_strings.py: Use argparse.
772 * benchtests/README: Document existence of compare_strings.py.
773
774 2017-09-15 Joseph Myers <joseph@codesourcery.com>
775
776 * math/s_fma.c: Include <libm-alias-double.h>.
777 (fma): Define using libm_alias_double.
778 * math/s_nextafter.c: Include <libm-alias-double.h>.
779 (nextafter): Define using libm_alias_double.
780 * math/w_acos_compat.c: Include <libm-alias-double.h>.
781 (acos): Define using libm_alias_double.
782 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
783 (aocsh): Define using libm_alias_double.
784 * math/w_asin_compat.c: Include <libm-alias-double.h>.
785 (asin): Define using libm_alias_double.
786 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
787 (atan2): Define using libm_alias_double.
788 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
789 (atanh): Define using libm_alias_double.
790 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
791 (cosh): Define using libm_alias_double.
792 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
793 (exp10): Define using libm_alias_double.
794 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
795 (exp2): Define using libm_alias_double.
796 * math/w_exp_compat.c: Include <libm-alias-double.h>.
797 (exp): Define using libm_alias_double.
798 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
799 (fmod): Define using libm_alias_double.
800 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
801 (hypot): Define using libm_alias_double.
802 * math/w_j0_compat.c: Include <libm-alias-double.h>.
803 (j0): Define using libm_alias_double.
804 (y0): Likewise.
805 * math/w_j1_compat.c: Include <libm-alias-double.h>.
806 (j1): Define using libm_alias_double.
807 (y1): Likewise.
808 * math/w_jn_compat.c: Include <libm-alias-double.h>.
809 (jn): Define using libm_alias_double.
810 (yn): Likewise.
811 * math/w_log10_compat.c: Include <libm-alias-double.h>.
812 (log10): Define using libm_alias_double.
813 * math/w_log2_compat.c: Include <libm-alias-double.h>.
814 (log2): Define using libm_alias_double.
815 * math/w_log_compat.c: Include <libm-alias-double.h>.
816 (log): Define using libm_alias_double.
817 * math/w_pow_compat.c: Include <libm-alias-double.h>.
818 (pow): Define using libm_alias_double.
819 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
820 (remainder): Define using libm_alias_double.
821 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
822 (sinh): Define using libm_alias_double.
823 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
824 (sqrt): Define using libm_alias_double.
825 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
826 (tgamma): Define using libm_alias_double.
827 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
828 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
829 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
830 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
831 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
832 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
833 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
834 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
835 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
836 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
837 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
838 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
839 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
840 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
841 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
842 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
843 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
844 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
845 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
846 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
847 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
848 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
849 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
850 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
851 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
852
853 * math/e_acoshl.c: Remove.
854 * math/e_acosl.c: Likewise.
855 * math/e_asinl.c: Likewise.
856 * math/e_atan2l.c: Likewise.
857 * math/e_atanhl.c: Likewise.
858 * math/e_coshl.c: Likewise.
859 * math/e_expl.c: Likewise.
860 * math/e_fmodl.c: Likewise.
861 * math/e_gammal_r.c: Likewise.
862 * math/e_hypotl.c: Likewise.
863 * math/e_j0l.c: Likewise.
864 * math/e_j1l.c: Likewise.
865 * math/e_jnl.c: Likewise.
866 * math/e_lgammal_r.c: Likewise.
867 * math/e_log10l.c: Likewise.
868 * math/e_log2l.c: Likewise.
869 * math/e_logl.c: Likewise.
870 * math/e_powl.c: Likewise.
871 * math/e_rem_pio2l.c: Likewise.
872 * math/e_sinhl.c: Likewise.
873 * math/e_sqrtf128.c: Likewise.
874 * math/e_sqrtl.c: Likewise.
875 * math/k_cosl.c: Likewise.
876 * math/k_sinl.c: Likewise.
877 * math/k_tanl.c: Likewise.
878 * math/s_asinhl.c: Likewise.
879 * math/s_atanl.c: Likewise.
880 * math/s_cbrtl.c: Likewise.
881 * math/s_erfl.c: Likewise.
882 * math/s_expm1l.c: Likewise.
883 * math/s_log1pl.c: Likewise.
884 * math/s_tanhl.c: Likewise.
885
886 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
887
888 [BZ #21745]
889 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
890 [$(subdir) = math] (sysdep_calls): New variable. Has the
891 previous contents of sysdep_routines, but re-sorted..
892 [$(subdir) = math] (sysdep_routines): Re-use the contents from
893 sysdep_calls.
894 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
895 defined in sysdep_calls and replace by the respective m_* names.
896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
897 (compat_symbol): Undefine to avoid duplicated compat symbols in
898 libc.
899
900 2017-09-15 Joseph Myers <joseph@codesourcery.com>
901
902 * math/s_fmaf.c: Include <libm-alias-float.h>.
903 (fmaf): Define using libm_alias_float.
904 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
905 (acosf): Define using libm_alias_float.
906 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
907 (acoshf): Define using libm_alias_float.
908 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
909 (asinf): Define using libm_alias_float.
910 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
911 (atan2f): Define using libm_alias_float.
912 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
913 (atanhf): Define using libm_alias_float.
914 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
915 (coshf): Define using libm_alias_float.
916 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
917 (exp10f): Define using libm_alias_float.
918 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
919 (fmodf): Define using libm_alias_float.
920 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
921 (hypotf): Define using libm_alias_float.
922 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
923 (j0f): Define using libm_alias_float.
924 (y0f): Likewise.
925 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
926 (j1f): Define using libm_alias_float.
927 (y1f): Likewise.
928 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
929 (jnf): Define using libm_alias_float.
930 (ynf): Likewise.
931 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
932 (log10f): Define using libm_alias_float.
933 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
934 (log2f): Define using libm_alias_float.
935 * math/w_logf_compat.c: Include <libm-alias-float.h>.
936 (logf): Define using libm_alias_float.
937 * math/w_powf_compat.c: Include <libm-alias-float.h>.
938 (powf): Define using libm_alias_float.
939 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
940 (remainderf): Define using libm_alias_float.
941 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
942 (sinhf): Define using libm_alias_float.
943 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
944 (sqrtf): Define using libm_alias_float.
945 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
946 (tgammaf): Define using libm_alias_float.
947
948 2017-09-14 Joseph Myers <joseph@codesourcery.com>
949
950 * include/math.h (roundeven): Change hidden_proto call to
951 __roundeven.
952 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
953 alias.
954 [NO_LONG_DOUBLE] (__j0l): New strong alias.
955 (y0): Rename to __y0 and define as weak alias.
956 [NO_LONG_DOUBLE] (__y0l): New strong alias.
957 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
958 alias.
959 (y0f): Rename to __y0f and define as weak alias.
960 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
961 alias.
962 [NO_LONG_DOUBLE] (__j1l): New strong alias.
963 (y1): Rename to __y1 and define as weak alias.
964 [NO_LONG_DOUBLE] (__y1l): New strong alias.
965 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
966 alias.
967 (y1f): Rename to __y1f and define as weak alias.
968 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
969 alias.
970 [NO_LONG_DOUBLE] (__jnl): New strong alias.
971 (yn): Rename to __yn and define as weak alias.
972 [NO_LONG_DOUBLE] (__ynl): New strong alias.
973 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
974 alias.
975 (ynf): Rename to __ynf and define as weak alias.
976 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
977 (fromfp): Define as weak alias.
978 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
979 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
980 (fromfpx): Define as weak alias.
981 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
982 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
983 __getpayload and define as weak alias.
984 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
985 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
986 __roundeven and define as weak alias.
987 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
988 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
989 __setpayload.
990 (setpayload): Define as weak alias.
991 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
992 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
993 __setpayloadsig.
994 (setpayloadsig): Define as weak alias.
995 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
996 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
997 __totalorder and define as weak alias.
998 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
999 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
1000 to __totalordermag and define as weak alias.
1001 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
1002 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
1003 (ufromfp): Define as weak alias.
1004 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
1005 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
1006 __ufromfpx.
1007 (ufromfpx): Define as weak alias.
1008 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
1009 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
1010 Rename to __getpayload and define as weak alias.
1011 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
1012 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
1013 Rename to __roundeven and define as weak alias.
1014 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
1015 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
1016 Rename to __totalorder and define as weak alias.
1017 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
1018 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
1019 (totalordermag): Rename to __totalordermag and define as weak
1020 alias.
1021 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
1022 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
1023 macro.
1024 (__roundevenl): Likewise.
1025 (__totalorderl): Likewise.
1026 (__totalordermagl): Likewise
1027 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
1028 __fromfpf128.
1029 (fromfpf128): Define as weak alias.
1030 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
1031 __fromfpxf128.
1032 (fromfpxf128): Define as weak alias.
1033 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
1034 __setpayloadf128.
1035 (setpayloadf128): Define as weak alias.
1036 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
1037 __setpayloadsigf128.
1038 (setpayloadsigf128): Define as weak alias.
1039 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
1040 __ufromfpf128.
1041 (ufromfpf128): Define as weak alias.
1042 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
1043 __ufromfpxf128.
1044 (ufromfpxf128): Define as weak alias.
1045 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
1046 (fromfpf): Define as weak alias.
1047 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
1048 __fromfpxf.
1049 (fromfpxf): Define as weak alias.
1050 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
1051 __getpayloadf and define as weak alias.
1052 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
1053 __roundevenf and define as weak alias.
1054 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
1055 __setpayloadf.
1056 (setpayloadf): Define as weak alias.
1057 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
1058 __setpayloadsigf.
1059 (setpayloadsigf): Define as weak alias.
1060 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
1061 __totalorderf and define as weak alias.
1062 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
1063 Rename to __totalordermagf and define as weak alias.
1064 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
1065 __ufromfpf.
1066 (ufromfpf): Define as weak alias.
1067 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
1068 __ufromfpxf.
1069 (ufromfpxf): Define as weak alias.
1070 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
1071 __fromfpl.
1072 (fromfpl): Define as weak alias.
1073 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
1074 __fromfpxl.
1075 (fromfpxl): Define as weak alias.
1076 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
1077 to __getpayloadl and define as weak alias.
1078 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
1079 __roundevenl and define as weak alias.
1080 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
1081 __setpayloadl.
1082 (setpayloadl): Define as weak alias.
1083 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
1084 __setpayloadsigl.
1085 (setpayloadsigl): Define as weak alias.
1086 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
1087 to __totalorderl and define as weak alias.
1088 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
1089 Rename to __totalordermagl and define as weak alias.
1090 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
1091 __ufromfpl.
1092 (ufromfpl): Define as weak alias.
1093 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
1094 __ufromfpxl.
1095 (ufromfpxl): Define as weak alias.
1096 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
1097 __fromfpl.
1098 (fromfpl): Define as weak alias.
1099 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
1100 __fromfpxl.
1101 (fromfpxl): Define as weak alias.
1102 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
1103 Rename to __getpayloadl and define as weak alias.
1104 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
1105 to __roundevenl and define as weak alias. Call __roundeven
1106 instead of roundeven.
1107 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
1108 __setpayloadl.
1109 (setpayloadl): Define as weak alias.
1110 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
1111 __setpayloadsigl.
1112 (setpayloadsigl): Define as weak alias.
1113 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
1114 Rename to __totalorderl and define as weak alias.
1115 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
1116 Rename to __totalordermagl and define as weak alias.
1117 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
1118 __ufromfpl.
1119 (ufromfpl): Define as weak alias.
1120 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
1121 __ufromfpxl.
1122 (ufromfpxl): Define as weak alias.
1123 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
1124 __fromfpl.
1125 (fromfpl): Define as weak alias.
1126 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
1127 __fromfpxl.
1128 (fromfpxl): Define as weak alias.
1129 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
1130 __getpayloadl and define as weak alias.
1131 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
1132 __roundevenl and define as weak alias.
1133 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
1134 __setpayloadl.
1135 (setpayloadl): Define as weak alias.
1136 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
1137 __setpayloadsigl.
1138 (setpayloadsigl): Define as weak alias.
1139 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
1140 __totalorderl and define as weak alias.
1141 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
1142 Rename to __totalordermagl and define as weak alias.
1143 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
1144 __ufromfpl.
1145 (ufromfpl): Define as weak alias.
1146 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
1147 __ufromfpxl.
1148 (ufromfpxl): Define as weak alias.
1149
1150 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1151
1152 * benchtests/bench-string.h (realloc_bufs): New function.
1153 (test_init): Call it.
1154 * benchtests/bench-memset-large.c (do_test): Likewise.
1155 * benchtests/bench-memset.c (do_test): Likewise.
1156
1157 * benchtests/bench-memset-large.c: Print output in JSON
1158 format.
1159 * benchtests/bench-memset.c: Likewise.
1160
1161 2017-09-14 Mike FABIAN <mfabian@redhat.com>
1162
1163 [BZ #21084]
1164 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
1165 * iconvdata/Makefile: Add IBM858.
1166 * iconvdata/gconv-modules: Likewise.
1167 * iconvdata/tst-tables.sh: Likewise.
1168 * iconvdata/ibm858.c: New file.
1169 * localedata/charmaps/IBM858: Likewise.
1170
1171 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
1172
1173 [BZ #22023]
1174 * locales/niu_NZ (LC_TIME): copy "niu_NU".
1175 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
1176
1177 2017-09-14 Mike FABIAN <mfabian@redhat.com>
1178
1179 [BZ #22112]
1180 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
1181 and add tel_int_fmt.
1182
1183 2017-09-14 Joseph Myers <joseph@codesourcery.com>
1184
1185 * sysdeps/generic/libm-alias-float128.h: New file.
1186 * sysdeps/generic/math-type-macros-float128.h: Include
1187 <libm-alias-float128.h>.
1188 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
1189
1190 2017-09-13 Joseph Myers <joseph@codesourcery.com>
1191
1192 * sysdeps/generic/libm-alias-ldouble.h: New file.
1193 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
1194 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
1195 * sysdeps/generic/math-type-macros-ldouble.h: Include
1196 <libm-alias-ldouble.h>.
1197 [!declare_mgen_alias] (declare_mgen_alias): Define to use
1198 libm_alias_ldouble.
1199
1200 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1201
1202 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
1203 * math/w_exp_compat.c: ... here.
1204 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
1205 * math/w_expf_compat.c: ... here.
1206 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
1207 * math/w_expl_compat.c: ... here.
1208 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
1209 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
1210 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
1211 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
1212
1213 2017-09-13 Joseph Myers <joseph@codesourcery.com>
1214
1215 * math/w_scalbln_template.c (strong_alias): Do not undefine and
1216 redefine.
1217 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
1218 macro.
1219 (ldexpl): Only define as compat symbol for libc, not libm.
1220 (scalbnl): Define as compat symbol for libc here.
1221 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
1222 define for [IS_IN (libc)].
1223 (__ldexpl_2): Remove alias.
1224 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
1225 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
1226 name in long_double_symbol call.
1227 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
1228 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1229 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1230 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
1231 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
1232 Remove macro.
1233 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
1234 Define as compat symbol.
1235
1236 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1237
1238 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
1239 * sysdeps/unix/sysv/linux/alpha/Makefile
1240 [$(subdir) = csu] (sysdep_routines): Remove rule.
1241
1242 2017-09-13 Joseph Myers <joseph@codesourcery.com>
1243
1244 * sysdeps/generic/libm-alias-double.h: New file.
1245 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
1246 * sysdeps/generic/math-type-macros-double.h: Include
1247 <libm-alias-double.h>.
1248 [declare_mgen_alias] (declare_mgen_alias): Define to use
1249 libm_alias_double.
1250 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
1251 (M_LIBM_NEED_COMPAT): Remove macro.
1252 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
1253 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
1254 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
1255 code.
1256 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1257 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1258 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1259 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1260 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1261 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1262 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1263 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1264 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1265 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1266 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1267 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1268 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1269 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1270 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1271 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1272 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1273 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1274 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1275 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1276 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1277 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1278 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1279 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1280 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1281 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1282 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
1283 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
1284 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
1285 macro.
1286 (declare_mgen_alias): New macro.
1287 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
1288 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
1289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
1290 (M_LIBM_NEED_COMPAT): Remove macro.
1291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
1292 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
1293 <first-versions.h>.
1294 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
1295 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
1296
1297 2017-09-12 Joseph Myers <joseph@codesourcery.com>
1298
1299 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
1300 (declare_mgen_alias_2): Remove.
1301 * sysdeps/generic/math-type-macros-double.h
1302 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
1303 Likewise.
1304 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
1305 alias.
1306 (ldexp): Define with declare_mgen_alias.
1307 (scalbn): Likewise.
1308
1309 2017-09-12 Steve Ellcey <sellcey@cavium.com>
1310
1311 * grp/initgroups.c: Include config.h.
1312 (DEFAULT_CONFIG): New macro.
1313 (internal_getgrouplist): Use DEFAULT_CONFIG.
1314 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1315 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
1316 (DEFAULT_DEFCONFIG): New macro.
1317 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
1318 * nss/grp-lookup.c: Include config.h
1319 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
1320 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
1321 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
1322 * manual/nss.texi: Update default values section.
1323
1324 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
1325
1326 [BZ #21967]
1327 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
1328 New.
1329 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
1330 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
1331 Handle MathVec_Prefer_No_AVX512.
1332 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
1333 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
1334 is set.
1335
1336 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
1337
1338 * posix/sched_primax.c (__sched_get_priority_max): Add
1339 libc_hidden_def.
1340 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
1341 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1342 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
1343 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
1344 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
1345 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
1346 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
1347 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
1348 Add aliases.
1349
1350 2017-09-11 Joseph Myers <joseph@codesourcery.com>
1351
1352 * sysdeps/generic/libm-alias-float.h: New file.
1353 * sysdeps/generic/math-type-macros-float.h: Include
1354 <libm-alias-float.h>.
1355 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
1356
1357 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
1358
1359 [BZ #22093]
1360 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
1361 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
1362 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
1363 (HWCAP_IMPORTANT): Likewise.
1364 (HWCAP_X86_64): New enum.
1365 (HWCAP_X86_AVX512_1): Updated.
1366 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
1367 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
1368 (modules-names): Add x86_64/tst-x86_64mod-1.
1369 (LDFLAGS-tst-x86_64mod-1.so): New.
1370 ($(objpfx)tst-x86_64-1): Likewise.
1371 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
1372 (tst-x86_64-1-clean): Likewise.
1373 * sysdeps/x86_64/tst-x86_64-1.c: New file.
1374 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
1375
1376 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
1377
1378 * po/sv.po: Update translations.
1379 * po/fr.po: Likewise.
1380
1381 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1382
1383 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
1384 seconds.
1385 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
1386 seconds.
1387 * elf/rtld-Rules: Fix $(error) use.
1388
1389 2017-09-09 Mike FABIAN <mfabian@redhat.com>
1390
1391 [BZ #14925]
1392 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
1393 * locale/iso-639.def: Change “Bengali” to “Bangla”.
1394 * localedata/locales/bn_BD: “Bengali” was still used in some
1395 comments. Change it to “Bangla”.
1396
1397 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
1398
1399 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
1400
1401 2017-09-08 Steve Ellcey <sellcey@cavium.com>
1402
1403 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
1404 thunderx2t99p1 to list of cpu names.
1405 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1406 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
1407
1408 2017-09-08 Steve Ellcey <sellcey@cavium.com>
1409
1410 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
1411 Use strcmp instead of tunable_is_name.
1412
1413 2017-09-08 Joseph Myers <joseph@codesourcery.com>
1414
1415 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1416 (F_GET_RW_HINT): New macro.
1417 [__USE_GNU] (F_SET_RW_HINT): Likewise.
1418 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
1419 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
1420 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
1421 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
1422 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
1423 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
1424 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
1425 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
1426
1427 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1428 (F_ADD_SEALS): New macro.
1429 [__USE_GNU] (F_GET_SEALS): Likewise.
1430 [__USE_GNU] (F_SEAL_SEAL): Likewise.
1431 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
1432 [__USE_GNU] (F_SEAL_GROW): Likewise.
1433 [__USE_GNU] (F_SEAL_WRITE): Likewise.
1434
1435 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1436
1437 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
1438 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
1439 * posix/glob_internal.h (__glob_pattern_type):
1440 * posix/glob.c (glob):
1441 * posix/glob_pattern_p.c (__glob_pattern_p):
1442 Use them.
1443
1444 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
1445 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
1446 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
1447 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
1448 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
1449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
1450 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
1451 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
1452 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
1453 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1454 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
1455 * sysdeps/wordsize-64/glob.c: Likewise.
1456 * sysdeps/wordsize-64/glob64.c: Likewise.
1457 * sysdeps/wordsize-64/globfree.c: Likewise.
1458 * sysdeps/wordsize-64/globfree64.c: Likewise.
1459 * sysdeps/unix/sysv/linux/glob.c: New file.
1460 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
1461 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
1462 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
1463 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
1464 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
1465 adds !GLOB_NO_OLD_VERSION as an extra condition.
1466 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
1467 using relative path instead of absolute one.
1468 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
1469 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1470 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1471 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
1472 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
1473 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
1474
1475 [BZ #1062]
1476 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
1477 (glob): Use the same scratch buffer for both getlogin_r and
1478 getpwnam_r. Don’t require preallocation of the login name. This
1479 simplifies storage allocation, and corrects the handling of
1480 long login names.
1481
1482 [BZ #1062]
1483 * posix/glob.c (glob): Port recent patches to platforms
1484 lacking getpwnam_r.
1485 (glob): Fix longstanding misuse of errno after getpwnam_r, which
1486 returns an error number rather than setting errno.
1487
1488 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
1489 instead of GCC extension.
1490 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
1491 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
1492 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
1493
1494 [BZ #866]
1495 [BZ #1062]
1496 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
1497 * posix/bug-glob1.c: Remove file.
1498 * posix/tst-glob_symlinks.c: New file.
1499 * posix/glob.c (__lstat64): New macro.
1500 (is_dir): New function.
1501 (glob, glob_in_dir): Match symlinks even if they are dangling.
1502 (link_stat, link_exists_p): Remove. All uses removed.
1503
1504 [BZ #1062]
1505 [BZ #19971]
1506 * posix/glob.c (struct readdir_result): Remove skip_entry member.
1507 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
1508 All uses removed.
1509
1510 [BZ #1062]
1511 * posix/Makefile (routines): Add globfree, globfree64, and
1512 glob_pattern_p.
1513 * posix/flexmember.h: New file.
1514 * posix/glob_internal.h: Likewise.
1515 * posix/glob_pattern_p.c: Likewise.
1516 * posix/globfree.c: Likewise.
1517 * posix/globfree64.c: Likewise.
1518 * sysdeps/gnu/globfree64.c: Likewise.
1519 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
1520 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
1521 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
1522 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
1523 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
1524 * sysdeps/wordsize-64/globfree.c: Likewise.
1525 * sysdeps/wordsize-64/globfree64.c: Likewise.
1526 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
1527 [NDEBUG): Remove comments.
1528 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
1529 (dirent_type): New type. Use uint_fast8_t not
1530 uint8_t, as C99 does not require uint8_t.
1531 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
1532 (struct readdir_result): Use dirent_type. Do not define skip_entry
1533 unless it is needed; this saves a byte on platforms lacking d_ino.
1534 (readdir_result_type, readdir_result_skip_entry):
1535 New functions, replacing ...
1536 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
1537 these functions, which were removed. This makes the callers
1538 easier to read. All callers changed.
1539 (D_INO_TO_RESULT): Now empty if there is no d_ino.
1540 (size_add_wrapv, glob_use_alloca): New static functions.
1541 (glob, glob_in_dir): Check for size_t overflow in several places,
1542 and fix some size_t checks that were not quite right.
1543 Remove old code using SHELL since Bash no longer
1544 uses this.
1545 (glob, prefix_array): Separate MS code better.
1546 (glob_in_dir): Remove old Amiga and VMS code.
1547 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
1548 separate files.
1549 (glob_in_dir): Do not rely on undefined behavior in accessing
1550 struct members beyond their bounds. Use a flexible array member
1551 instead
1552 (link_stat): Rename from link_exists2_p and return -1/0 instead of
1553 0/1. Caller changed.
1554 (glob): Fix memory leaks.
1555 * posix/glob64 (globfree64): Move to separate file.
1556 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
1557 (globfree64): Remove hidden alias.
1558 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
1559 oldglob.
1560 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
1561 separate file.
1562 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
1563 define.
1564 Move compat code to separate file.
1565 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
1566 separate file.
1567
1568 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
1569
1570 * resolv/tst-resolv-qtypes.c (domain): Changed to
1571 "const char domain[] =".
1572
1573 2017-09-07 Joseph Myers <joseph@codesourcery.com>
1574
1575 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1576 version to 3.1.6.
1577
1578 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
1579 (TCP_MD5SIG_EXT): Likewise.
1580 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
1581 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
1582 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
1583
1584 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
1585
1586 2017-09-07 Mike FABIAN <mfabian@redhat.com>
1587
1588 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
1589
1590 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
1591
1592 [BZ #22100]
1593 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
1594
1595 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1596
1597 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
1598 before assuming that the file is empty. Avoid testing buffer content
1599 when nread == 0.
1600
1601 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1602
1603 [BZ #18858]
1604 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
1605 Remove define.
1606 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
1607 Likewise.
1608 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
1609 Likewise.
1610 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
1611 Likewise.
1612 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
1613 Likewise.
1614 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
1615 Likewise.
1616 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
1617 Likewise.
1618
1619 2017-09-06 Florian Weimer <fweimer@redhat.com>
1620
1621 * malloc/dynarray_emplace_enlarge.c
1622 (__libc_dynarray_emplace_enlarge): Add missing else.
1623
1624 2017-09-06 Florian Weimer <fweimer@redhat.com>
1625
1626 [BZ #22096]
1627 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
1628 case of failure to obtain the global conf object.
1629
1630 2017-09-06 Florian Weimer <fweimer@redhat.com>
1631
1632 [BZ #22095]
1633 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
1634 dynarray allocation failure.
1635
1636 2017-09-06 Florian Weimer <fweimer@redhat.com>
1637
1638 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
1639 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
1640 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
1641 New functions.
1642 (response): Call them. Add 'p', '6' flag processing.
1643 (test_reverse): New function.
1644 (test_get2_any): Call it.
1645 (test_no_inet6): Add 'p' test.
1646 (test_inet6): Likewise.
1647
1648 2017-09-06 Florian Weimer <fweimer@redhat.com>
1649
1650 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
1651 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
1652 the QNAME.
1653 (test_gai): Adjust query names. Add additional tests.
1654 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
1655 test_get2. Adjust query names. Add additional tests.
1656 (test_no_inet6): New function, extracted from threadfunc.
1657 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
1658 Add additional tests.
1659
1660 2017-09-06 Mike FABIAN <mfabian@redhat.com>
1661
1662 [BZ #22070]
1663 * localedata/unicode-gen/utf8_gen.py: Set the width for
1664 characters with Prepended_Concatenation_Mark property to 1
1665 * localedata/charmaps/UTF-8: Updated using the improved script.
1666
1667 2017-09-06 Mike FABIAN <mfabian@redhat.com>
1668
1669 [BZ #21750]
1670 * localedata/unicode-gen/utf8_gen.py: Improve the script to
1671 use the range notation for all ranges of neighbouring characters
1672 with the same width.
1673
1674 2017-09-05 Joseph Myers <joseph@codesourcery.com>
1675
1676 * sysdeps/generic/math-type-macros-double.h: Include
1677 <math-svid-compat.h>.
1678 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
1679 * sysdeps/generic/math-type-macros-float.h: Include
1680 <math-svid-compat.h>.
1681 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
1682 * sysdeps/generic/math-type-macros-ldouble.h: Include
1683 <math-svid-compat.h>.
1684 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
1685 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
1686 condition.
1687 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
1688 * math/w_acosf_compat.c: Likewise.
1689 * math/w_acosh_compat.c: Likewise.
1690 * math/w_acoshf_compat.c: Likewise.
1691 * math/w_acoshl_compat.c: Likewise.
1692 * math/w_acosl_compat.c: Likewise.
1693 * math/w_asin_compat.c: Likewise.
1694 * math/w_asinf_compat.c: Likewise.
1695 * math/w_asinl_compat.c: Likewise.
1696 * math/w_atan2_compat.c: Likewise.
1697 * math/w_atan2f_compat.c: Likewise.
1698 * math/w_atan2l_compat.c: Likewise.
1699 * math/w_atanh_compat.c: Likewise.
1700 * math/w_atanhf_compat.c: Likewise.
1701 * math/w_atanhl_compat.c: Likewise.
1702 * math/w_cosh_compat.c: Likewise.
1703 * math/w_coshf_compat.c: Likewise.
1704 * math/w_coshl_compat.c: Likewise.
1705 * math/w_exp10_compat.c: Likewise.
1706 * math/w_exp10f_compat.c: Likewise.
1707 * math/w_exp10l_compat.c: Likewise.
1708 * math/w_exp2_compat.c: Likewise.
1709 * math/w_exp2f_compat.c: Likewise.
1710 * math/w_exp2l_compat.c: Likewise.
1711 * math/w_fmod_compat.c: Likewise.
1712 * math/w_fmodf_compat.c: Likewise.
1713 * math/w_fmodl_compat.c: Likewise.
1714 * math/w_hypot_compat.c: Likewise.
1715 * math/w_hypotf_compat.c: Likewise.
1716 * math/w_hypotl_compat.c: Likewise.
1717 * math/w_j0_compat.c: Likewise.
1718 * math/w_j0f_compat.c: Likewise.
1719 * math/w_j0l_compat.c: Likewise.
1720 * math/w_j1_compat.c: Likewise.
1721 * math/w_j1f_compat.c: Likewise.
1722 * math/w_j1l_compat.c: Likewise.
1723 * math/w_jn_compat.c: Likewise.
1724 * math/w_jnf_compat.c: Likewise.
1725 * math/w_jnl_compat.c: Likewise.
1726 * math/w_lgamma_r_compat.c: Likewise.
1727 * math/w_lgammaf_r_compat.c: Likewise.
1728 * math/w_lgammal_r_compat.c: Likewise.
1729 * math/w_log10_compat.c: Likewise.
1730 * math/w_log10f_compat.c: Likewise.
1731 * math/w_log10l_compat.c: Likewise.
1732 * math/w_log2_compat.c: Likewise.
1733 * math/w_log2f_compat.c: Likewise.
1734 * math/w_log2l_compat.c: Likewise.
1735 * math/w_log_compat.c: Likewise.
1736 * math/w_logf_compat.c: Likewise.
1737 * math/w_logl_compat.c: Likewise.
1738 * math/w_pow_compat.c: Likewise.
1739 * math/w_powf_compat.c: Likewise.
1740 * math/w_powl_compat.c: Likewise.
1741 * math/w_remainder_compat.c: Likewise.
1742 * math/w_remainderf_compat.c: Likewise.
1743 * math/w_remainderl_compat.c: Likewise.
1744 * math/w_sinh_compat.c: Likewise.
1745 * math/w_sinhf_compat.c: Likewise.
1746 * math/w_sinhl_compat.c: Likewise.
1747 * math/w_sqrt_compat.c: Likewise.
1748 * math/w_sqrtf_compat.c: Likewise.
1749 * math/w_sqrtl_compat.c: Likewise.
1750 * math/w_tgamma_compat.c: Likewise.
1751 * math/w_tgammaf_compat.c: Likewise.
1752 * math/w_tgammal_compat.c: Likewise.
1753 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
1754 [LIBM_SVID_COMPAT].
1755 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
1756 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
1757 [LIBM_SVID_COMPAT].
1758 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
1759 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
1760 [LIBM_SVID_COMPAT].
1761 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
1762 * sysdeps/i386/fpu/w_sqrt.c: New file.
1763 * sysdeps/ia64/fpu/w_acos.c: Likewise.
1764 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
1765 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
1766 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
1767 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
1768 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
1769 * sysdeps/ia64/fpu/w_asin.c: Likewise.
1770 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
1771 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
1772 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
1773 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
1774 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
1775 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
1776 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
1777 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
1778 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
1779 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
1780 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
1781 * sysdeps/ia64/fpu/w_exp.c: Likewise.
1782 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
1783 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
1784 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
1785 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
1786 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
1787 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
1788 * sysdeps/ia64/fpu/w_expf.c: Likewise.
1789 * sysdeps/ia64/fpu/w_expl.c: Likewise.
1790 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
1791 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
1792 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
1793 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
1794 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
1795 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
1796 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1797 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1798 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1799 * sysdeps/ia64/fpu/w_log.c: Likewise.
1800 * sysdeps/ia64/fpu/w_log10.c: Likewise.
1801 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
1802 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
1803 * sysdeps/ia64/fpu/w_log2.c: Likewise.
1804 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
1805 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
1806 * sysdeps/ia64/fpu/w_logf.c: Likewise.
1807 * sysdeps/ia64/fpu/w_logl.c: Likewise.
1808 * sysdeps/ia64/fpu/w_pow.c: Likewise.
1809 * sysdeps/ia64/fpu/w_powf.c: Likewise.
1810 * sysdeps/ia64/fpu/w_powl.c: Likewise.
1811 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
1812 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
1813 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
1814 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
1815 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
1816 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
1817 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
1818 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
1819 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
1820 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
1821 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
1822 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
1823 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
1824 [LIBM_SVID_COMPAT].
1825 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
1826 * sysdeps/ieee754/k_standard.c: Likewise.
1827 * sysdeps/ieee754/k_standardf.c: Likewise.
1828 * sysdeps/ieee754/k_standardl.c: Likewise.
1829 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
1830 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
1831 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
1832 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
1833 long_double_symbol call on [LIBM_SVID_COMPAT].
1834 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
1835 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
1836 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
1837 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
1838 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
1839 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
1840 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
1841 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
1842 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
1843 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
1844 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
1845 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1846 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
1847 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
1848 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
1849 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
1850 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
1851 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
1852 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
1853 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
1854 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
1855 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
1856
1857 2017-09-05 Steve Ellcey <sellcey@cavium.com>
1858
1859 * include/shlib-compat.h (TEST_COMPAT): New Macro.
1860 * malloc/tst-mallocstate.c: Convert from test-skeleton
1861 to test-driver. Ifdef code using TEST_COMPAT macro.
1862 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
1863 * math/test-matherr.c: Likewise.
1864
1865 2017-09-05 Joseph Myers <joseph@codesourcery.com>
1866
1867 [BZ #22086]
1868 * debug/pcprofiledump.c (main): Use byte-swapped mask when
1869 comparing word with byte-swapped constant.
1870
1871 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
1872
1873 [BZ #20498]
1874 * locale/iso-639.def: add Miskito.
1875 * localedata/SUPPORTED: Add miq_NI/UTF-8.
1876 * localedata/locales/miq_NI: New file.
1877
1878 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
1879
1880 [BZ #18822]
1881 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
1882 (__mkdir): Likewise.
1883 * io/chmod.c (__chmod): Add libc_hidden_def.
1884 * io/mkdir.c (__mkdir): Likewise.
1885 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
1886 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
1887 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
1888 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
1889
1890 2017-09-04 Joseph Myers <joseph@codesourcery.com>
1891
1892 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1893 version to 4.13.
1894
1895 [BZ #22082]
1896 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
1897 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1898
1899 2017-09-04 Florian Weimer <fweimer@redhat.com>
1900
1901 * math/math.h: Issue warning if log is defined.
1902
1903 2017-09-04 Joseph Myers <joseph@codesourcery.com>
1904
1905 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1906 kernel version to 4.13.
1907
1908 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1909
1910 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
1911 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
1912 parameter.
1913 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
1914 just <bits/types.h>.
1915 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
1916 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
1917 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
1918 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
1919 * misc/preadv2.c: Include <errno.h>.
1920 * misc/preadv64v2.c: Include <errno.h>.
1921 * misc/pwritev2.c: Include <errno.h>.
1922 * misc/pwritev64v2.c: Include <errno.h>.
1923 * sysdeps/posix/preadv2.c: Include <errno.h>.
1924 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
1925 Fix <unistd.h> inclusion.
1926 * sysdeps/posix/pwritev2.c: Include <errno.h>.
1927 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
1928 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
1929 __strtoul_internal): New functions.
1930 * sysdeps/posix/pause.c: Include <sigsetops.h>.
1931 * sysdeps/posix/system.c: Include <sigsetops.h>.
1932 * sysdeps/mach/hurd/i386/Makefile
1933 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
1934 [$(subdir) = csu] (sysdep-only-routines): Likewise.
1935 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1936 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
1937 __feraiseexcept_renamed to feraiseexcept instead of
1938 __GI_feraiseexcept.
1939 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
1940 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
1941 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
1942 RWF_NOWAIT): Define to 0 if undefined already.
1943 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
1944 boils down to 0.
1945 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
1946 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
1947
1948 2017-09-01 Joseph Myers <joseph@codesourcery.com>
1949
1950 * manual/math.texi (pow10): Do not document.
1951 (pow10f): Likewise.
1952 (pow10l): Likewise.
1953 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
1954 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
1955 * math/libm-test-exp10.inc (pow10_test): Remove.
1956 (do_test): Do not call pow10.
1957 * math/w_exp10_compat.c (pow10): Make into compat symbol.
1958 [NO_LONG_DOUBLE] (pow10l): Likewise.
1959 * math/w_exp10f_compat.c (pow10f): Likewise.
1960 * math/w_exp10l_compat.c (pow10l): Likewise.
1961 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
1962 (pow10): Make into compat symbol.
1963 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
1964 (pow10f): Make into compat symbol.
1965 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
1966 (pow10l): Make into compat symbol.
1967 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
1968 pow10.
1969 (CFLAGS-nldbl-pow10.c): Remove variable..
1970 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
1971 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
1972 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
1973 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
1974 Undefine and redefine.
1975 (pow10l): Make into compat symbol.
1976 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
1977 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1978 * sysdeps/arm/libm-test-ulps: Likewise.
1979 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
1980 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1981 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1982 * sysdeps/microblaze/libm-test-ulps: Likewise.
1983 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1984 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1985 * sysdeps/nios2/libm-test-ulps: Likewise.
1986 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1987 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1988 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1989 * sysdeps/sh/libm-test-ulps: Likewise.
1990 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1991 * sysdeps/tile/libm-test-ulps: Likewise.
1992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1993
1994 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1995
1996 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
1997
1998 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
1999
2000 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
2001 "../ChangeLog.old/ChangeLog.8".
2002 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
2003 "../ChangeLog.old/ChangeLog.14".
2004
2005 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
2006
2007 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
2008 Threads Library.
2009
2010 2017-09-01 Joseph Myers <joseph@codesourcery.com>
2011
2012 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
2013
2014 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
2015
2016 * csu/version.c (banner): Remove "by Roland McGrath et al.".
2017 * nptl/Banner: Remove "by Ulrich Drepper et al.".
2018
2019 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
2020
2021 * stdlib/tst-atexit-common.c (do_test): Test support for at least
2022 32 atexit handlers.
2023
2024 2017-09-01 Zack Weinberg <zackw@panix.com>
2025
2026 * math/math.h (HUGE_VAL): Improve commentary.
2027
2028 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2029 Andreas Schwab <schwab@suse.de>
2030
2031 [BZ #21530]
2032 * include/stdio.h (__gen_tempfd): New function.
2033 * stdio-common/Makefile (routines): Add gentempfd.
2034 * stdio-common/gentempfd.c: New file.
2035 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
2036 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
2037 unnamed file first.
2038
2039 2017-09-01 Florian Weimer <fweimer@redhat.com>
2040
2041 [BZ #21915]
2042 [BZ #21922]
2043 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
2044 result to determine success or failure, not the errno value.
2045 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
2046 (tst-nss-files-hosts-erange): Link with -ldl.
2047 * nss/tst-nss-files-hosts-erange.c: New file.
2048 * nss/tst-resolv-basic.c (response): Handle nodata.example.
2049 (do_test): Add NO_DATA tests.
2050 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
2051 (do_test): Call it.
2052
2053 2017-09-01 Florian Weimer <fweimer@redhat.com>
2054
2055 [BZ #21922]
2056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
2057 coming from gethostbyname2_r.
2058
2059 2017-09-01 Florian Weimer <fweimer@redhat.com>
2060
2061 * support/namespace.h (struct support_chroot_configuration): Add
2062 hosts, host_conf.
2063 (struct support_chroot): Add path_hosts, path_host_conf.
2064 * support/support_chroot.c (write_file): New function.
2065 (support_chroot_create): Call it to process /etc/resolv.conf,
2066 /etc/hosts, /etc/host.conf.
2067 (support_chroot_free): Update.
2068
2069 2017-09-01 Florian Weimer <fweimer@redhat.com>
2070
2071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
2072 status indicates it is set.
2073
2074 2017-09-01 Florian Weimer <fweimer@redhat.com>
2075
2076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
2077 function lookup failures more reliable.
2078
2079 2017-09-01 Florian Weimer <fweimer@redhat.com>
2080
2081 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
2082 (getcanonname): Likewise.
2083 (gaih_inet): Likewise.
2084
2085 2017-09-01 Florian Weimer <fweimer@redhat.com>
2086
2087 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
2088 (getcanonname): Likewise.
2089 (gaih_inet): Likewise.
2090
2091 2017-08-31 Steve Ellcey <sellcey@cavium.com>
2092 Richard Henderson <rth@twiddle.net>
2093
2094 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
2095 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
2096 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
2097 (IREG_SIZE, OREG_SIZE): New macros.
2098 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
2099 (IREG_SIZE, OREG_SIZE): New macros.
2100 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
2101 (IREG_SIZE): New macro.
2102 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
2103 (IREG_SIZE): New macro.
2104 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
2105 New includes.
2106 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
2107 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
2108 (__CONCATX): Handle exceptions correctly on large values that may
2109 set FE_INVALID.
2110 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
2111 Initialize if not already set.
2112 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
2113
2114 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2115
2116 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
2117 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
2118 Likewise.
2119 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
2120 Likewise.
2121 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
2122 Likewise.
2123 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
2124 Likewise.
2125 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
2126 Likewise.
2127 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
2128 Likewise.
2129 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
2130 Likewise.
2131 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
2132 (NO_CANCELLATION): Likewise.
2133 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
2134 Likewise.
2135 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
2136 Likewise.
2137 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
2138 Likewise.
2139 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
2140 (NO_CANCELLATION): Likewise.
2141 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
2142 (NO_CANCELLATION): Likewise.
2143 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
2144 Likewise
2145 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
2146 Likewise.
2147 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
2148 Likewise.
2149 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
2150 Likewise.
2151 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
2152 hidden prototype.
2153 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
2154 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
2155
2156 2017-08-31 Steve Ellcey <sellcey@cavium.com>
2157
2158 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
2159 in resolver call.
2160
2161 2017-08-31 Florian Weimer <fweimer@redhat.com>
2162
2163 * include/libc-symbols.h (internal_function): Remove.
2164
2165 2017-08-31 Florian Weimer <fweimer@redhat.com>
2166
2167 * stdlib/fmtmsg.c (internal_addseverity): Remove
2168 internal_function.
2169
2170 2017-08-31 Florian Weimer <fweimer@redhat.com>
2171
2172 * stdio-common/printf_fp.c (group_number): Remove
2173 internal_function.
2174 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
2175
2176 2017-08-31 Florian Weimer <fweimer@redhat.com>
2177
2178 * posix/fnmatch.c (internal_function): Remove definition.
2179 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
2180 * posix/regcomp.c (peek_token, init_word_char)
2181 (duplicate_node_closure, fetch_token, peek_token)
2182 (peek_token_bracket, build_range_exp, build_collating_symbol):
2183 Likewise.
2184 * posix/regex_internal.c (re_string_construct_common)
2185 (create_ci_newstate, create_cd_newstate, re_string_allocate)
2186 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
2187 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
2188 (re_string_translate_buffer, re_string_reconstruct)
2189 (re_string_peek_byte_case, re_string_fetch_byte_case)
2190 (re_string_destruct, re_string_context_at, re_node_set_alloc)
2191 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
2192 (re_node_set_add_intersect, re_node_set_init_union)
2193 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
2194 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
2195 (re_dfa_add_node, calc_state_hash, re_acquire_state)
2196 (re_acquire_state_context): Likewise.
2197 * posix/regex_internal.h (internal_function): Remove definition.
2198 (re_string_realloc_buffers, build_wcs_buffer)
2199 (build_wcs_upper_buffer, build_upper_buffer)
2200 (re_string_translate_buffer, re_string_context_at)
2201 (re_string_char_size_at, re_string_wchar_at)
2202 (re_string_elem_size_at): Likewise.
2203 * posix/regexec.c (match_ctx_init, match_ctx_clean)
2204 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
2205 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
2206 (re_search_internal, re_search_2_stub, re_search_stub)
2207 (re_copy_regs, prune_impossible_nodes, check_matching)
2208 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
2209 (free_fail_stack_return, sift_states_iter_mb)
2210 (sift_states_backward, build_sifted_states)
2211 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
2212 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
2213 (check_subexp_limits, sift_states_bkref, merge_state_array)
2214 (find_recover_state, transit_state, merge_state_with_log)
2215 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
2216 (transit_state_mb, transit_state_bkref, get_subexp)
2217 (get_subexp_sub, find_subexp_node, check_arrival)
2218 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
2219 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
2220 (check_node_accept_bytes, find_collation_sequence_value)
2221 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
2222 (acquire_init_state_context, check_halt_node_context)
2223 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
2224 (sub_epsilon_src_nodes): Likewise.
2225 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
2226 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
2227 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
2228 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
2229 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
2230 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
2231 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
2232 * sysdeps/posix/ttyname.c (getttyname): Likewise.
2233 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
2234 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
2235 (PREADV): Likewise.
2236 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
2237 (PREADV): Likewise.
2238 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
2239 (PWRITEV): Likewise.
2240 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
2241 (PWRITEV): Likewise.
2242 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
2243 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
2244
2245 2017-08-31 Florian Weimer <fweimer@redhat.com>
2246
2247 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
2248 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
2249 Remove internal_function.
2250 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2251 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
2252 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
2253 (__deallocate_stack, __libc_pthread_init)
2254 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
2255 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
2256 (__libc_disable_asynccancel, __librt_disable_asynccancel):
2257 Likewise.
2258 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
2259 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
2260 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
2261 Likewise.
2262 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
2263 (__pthread_mutex_unlock_usercnt): Likewise.
2264
2265 2017-08-31 Florian Weimer <fweimer@redhat.com>
2266
2267 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
2268 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
2269 (fts_safe_changedir): Remove internal_function.
2270 * io/ftw.c (internal_function): Remove definition.
2271 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
2272
2273 2017-08-31 Florian Weimer <fweimer@redhat.com>
2274
2275 * inet/deadline.c (__deadline_current_time)
2276 (__deadline_from_timeval, __deadline_to_ms): Remove
2277 internal_function.
2278 * inet/getnameinfo.c (nrl_domainname): Likewise.
2279 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
2280 * inet/inet6_option.c (add_pad): Likewise.
2281 * inet/net-internal.h (__deadline_current_time)
2282 (__deadline_from_timeval, __deadline_to_ms): Likewise.
2283 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
2284 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
2285 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
2286
2287 2017-08-31 Joseph Myers <joseph@codesourcery.com>
2288
2289 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
2290 include <bits/nan.h>.
2291 * math/Makefile (headers): Remove bits/nan.h.
2292 * bits/nan.h: Remove.
2293 * sysdeps/ieee754/bits/nan.h: Likewise.
2294 * sysdeps/mips/bits/nan.h: Likewise.
2295
2296 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
2297 not include <bits/inf.h>.
2298 * math/Makefile (headers): Remove bits/inf.h.
2299 * bits/inf.h: Remove.
2300 * sysdeps/ieee754/bits/inf.h: Likewise.
2301
2302 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
2303 bits/huge_vall.h or bits/huge_val_flt128.h.
2304 (HUGE_VAL): Define directly here.
2305 [__USE_ISOC99] (HUGE_VALF): Likewise.
2306 [__USE_ISOC99] (HUGE_VALL): Likewise.
2307 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2308 (HUGE_VAL_F128): Likewise.
2309 * math/Makefile (headers): Remove bits/huge_val.h,
2310 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
2311 * bits/huge_val.h: Remove.
2312 * bits/huge_val_flt128.h: Likewise.
2313 * bits/huge_valf.h: Likewise.
2314 * bits/huge_vall.h: Likewise.
2315 * sysdeps/ia64/bits/huge_vall.h: Likewise.
2316 * sysdeps/ieee754/bits/huge_val.h: Likewise.
2317 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
2318 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
2319 * sysdeps/sh/bits/huge_val.h: Likewise.
2320 * sysdeps/sparc/bits/huge_vall.h: Likewise.
2321 * sysdeps/x86/bits/huge_vall.h: Likewise.
2322
2323 2017-08-31 Florian Weimer <fweimer@redhat.com>
2324
2325 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
2326 internal_function.
2327 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
2328 Likewise.
2329 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
2330 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2331 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
2332 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
2333 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2334 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2335 * elf/dl-libc.c (dlerror_run): Likewise.
2336 * elf/dl-load.c (add_name_to_object, decompose_rpath)
2337 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
2338 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
2339 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
2340 Likewise.
2341 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
2342 (_dl_higher_prime_number, _dl_strtoul): Likewise.
2343 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
2344 * elf/dl-profile.c (_dl_start_profile): Likewise.
2345 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
2346 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
2347 Likewise.
2348 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
2349 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
2350 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
2351 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
2352 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
2353 (_dl_allocate_tls_storage): Likewise.
2354 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
2355 (_dl_check_all_versions): Likewise.
2356 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
2357 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
2358 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
2359 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
2360 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
2361 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
2362 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
2363 internal_function from __dl_start.
2364 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
2365 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
2366 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
2367 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
2368 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
2369 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
2370 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
2371 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
2372 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
2373 (_dl_next_ld_env_entry, _dl_important_hwcaps)
2374 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
2375 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
2376 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
2377 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
2378 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
2379 Likewise.
2380 (struct rtld_global_ro): Remove internal_function from the
2381 _dl_lookup_symbol_x member.
2382 (_dl_symbol_value): Remove. No longer defined anywhere.
2383 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
2384 internal_function.
2385 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
2386 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2387 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
2388 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
2389 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
2390 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
2391 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
2392 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
2393 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
2394 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
2395 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
2396 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2397
2398 2017-08-31 Florian Weimer <fweimer@redhat.com>
2399
2400 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
2401 Remove internal_function.
2402 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
2403 Likewise.
2404 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
2405 Likewise.
2406
2407 2017-08-31 Florian Weimer <fweimer@redhat.com>
2408
2409 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
2410 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
2411 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
2412
2413 2017-08-31 Florian Weimer <fweimer@redhat.com>
2414
2415 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
2416 (__gai_enqueue_request): Remove internal_function.
2417 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
2418 (__gai_remove_request, __gai_notify, __gai_notify_only)
2419 (__gai_sigqueue): Likewise.
2420 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
2421 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
2422 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
2423 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2424 Likewise.
2425
2426 2017-08-31 Florian Weimer <fweimer@redhat.com>
2427
2428 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
2429 * include/dirent.h (__opendirat, __getdents, __getdents64)
2430 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
2431 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
2432 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
2433 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
2434 Likewise.
2435 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
2436
2437 2017-08-31 Florian Weimer <fweimer@redhat.com>
2438
2439 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
2440 internal_function.
2441 (GETCWD_RETURN_TYPE): Likewise.
2442
2443 2017-08-31 Florian Weimer <fweimer@redhat.com>
2444
2445 * include/time.h (__tz_compute, __strptime_internal): Remove
2446 internal_function.
2447 * time/strptime_l.c (__strptime_internal): Likewise.
2448 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
2449
2450 2017-08-31 Florian Weimer <fweimer@redhat.com>
2451
2452 * iconv/gconv.c (__gconv): Remove internal_function.
2453 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
2454 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
2455 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
2456 (__gconv_release_cache): Likewise.
2457 * iconv/gconv_close.c (__gconv_close): Likewise.
2458 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
2459 (read_conf_file, __gconv_get_path): Likewise.
2460 * iconv/gconv_db.c (derivation_lookup, add_derivation)
2461 (__gconv_release_step, gen_steps, increment_counter)
2462 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
2463 (__gconv_close_transform, free_modules_db): Likewise.
2464 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
2465 Likewise.
2466 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
2467 (__gconv_find_transform, __gconv_lookup_cache)
2468 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
2469 (__gconv_close_transform, __gconv_release_cache)
2470 (__gconv_loaded_object, __gconv_release_shlib)
2471 (__gconv_compare_alias): Likewise.
2472 * iconv/gconv_open.c (__gconv_open): Likewise.
2473 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
2474 * iconv/iconvconfig.c (add_module): Likewise.
2475 * intl/dcigettext.c (plural_lookup, guess_category_value)
2476 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
2477 * intl/eval-plural.h (plural_eval): Likewise.
2478 * intl/finddomain.c (_nl_find_domain): Likewise.
2479 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
2480 (_nl_load_domain, _nl_find_msg): Likewise.
2481 (internal_function): Remove definition.
2482 * intl/loadinfo.h (internal_function): Likewise.
2483 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
2484 internal_function.
2485 * intl/localealias.c (internal_function): Remove definition.
2486 (read_alias_file): Remove internal_function.
2487 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
2488 * intl/plural-exp.h (internal_function): Remove definition.
2489 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
2490 internal_function.
2491 * intl/plural.c: Regenerate.
2492 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
2493 * locale/coll-lookup.c (__collidx_table_lookup)
2494 (__collseq_table_lookup): Likewise.
2495 * locale/coll-lookup.h (__collidx_table_lookup)
2496 (__collseq_table_lookup): Likewise.
2497 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
2498 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2499 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
2500 (_nl_unload_locale): Likewise.
2501 * locale/localeinfo.h (struct __locale_data): Remove
2502 internal_function from cleanup member.
2503 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
2504 (_nl_remove_locale, _nl_load_locale_from_archive)
2505 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
2506 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
2507 (_nl_cleanup_time): Remove internal_function.
2508 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
2509 (_nl_parse_alt_digit): Likewise.
2510 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
2511 (_nl_select_era_entry): Likewise.
2512 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
2513 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
2514 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
2515 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
2516 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
2517
2518 2017-08-31 Florian Weimer <fweimer@redhat.com>
2519
2520 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
2521 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
2522 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
2523 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
2524 Likewise.
2525 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
2526 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
2527 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
2528 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
2529 Likewise.
2530 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
2531
2532 2017-08-31 Florian Weimer <fweimer@redhat.com>
2533
2534 * misc/getttyent.c (skip, value): Remove internal_function.
2535 * misc/syslog.c (openlog_internal): Likewise.
2536 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
2537
2538 2017-08-31 Florian Weimer <fweimer@redhat.com>
2539
2540 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
2541 (__nss_rewrite_field): Remove internal_function.
2542 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2543 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2544 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2545 * nss/nsswitch.c (nss_parse_file, nss_getline)
2546 (nss_parse_service_list, nss_new_service): Likewise.
2547 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
2548 * nss/valid_field.c (__nss_valid_field): Likewise.
2549 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
2550
2551 2017-08-31 Florian Weimer <fweimer@redhat.com>
2552
2553 * malloc/arena.c (__malloc_fork_lock_parent)
2554 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
2555 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
2556 internal_function from defintions.
2557 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
2558 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
2559 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
2560 internal_function from declarations.
2561 * malloc/malloc.c (internal_function): Do not define.
2562 (mem2mem_check): Remove internal_function from declaration.
2563 (munmap_chunk, mremap_chunk): Remove internal_function.
2564 * malloc/mtrace.c (tr_where): Likewise.
2565
2566 2017-08-31 Florian Weimer <fweimer@redhat.com>
2567
2568 * include/rpc/pmap_clnt.h (__get_socket): Remove
2569 internal_function.
2570 * sunrpc/auth_des.c (synchronize): Likewise.
2571 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
2572 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
2573 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
2574 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
2575 (key_call): Likewise.
2576 * sunrpc/pm_getport.c (__get_socket): Likewise.
2577 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
2578 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
2579 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
2580 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
2581 (invalidate): Likewise.
2582 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
2583 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
2584 (set_input_fragment, get_input_bytes): Likewise.
2585
2586 2017-08-31 Florian Weimer <fweimer@redhat.com>
2587
2588 * malloc/malloc.c (_int_free): Remove locked variable and related
2589 asserts.
2590
2591 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
2592
2593 [BZ #22051]
2594 * Makerules (build-module-helper-objlist): Filter out
2595 $(elf-objpfx)sofini.os.
2596 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
2597 needed.
2598
2599 2017-08-31 Florian Weimer <fweimer@redhat.com>
2600
2601 * libio/fcloseall.c: Assume weak_alias is defined.
2602 * libio/feof.c: Likewise.
2603 * libio/fileno.c: Likewise.
2604 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
2605 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
2606 definitions.
2607 (_IO_file_open): Call __open directly.
2608 (_IO_new_file_sync): Assume ESPIPE is defined.
2609 (_IO_file_seekoff_maybe_mmap): Call __read directly.
2610 (_IO_new_file_write): Call __write directly.
2611 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
2612 * libio/ftello64.c (__ftello64): Assume EIO is defined.
2613 * libio/genops.c: Assume _LIBC is defined.
2614 (save_for_backup): Remove internal_function.
2615 * libio/getc.c: Assume weak_alias is defined.
2616 * libio/getwc.c: Likewise.
2617 * libio/iofclose.c: Assume _LIBC is defined.
2618 * libio/iofdopen.c: Likewise.
2619 (_IO_fcntl): Remove macro definition.
2620 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
2621 Call __fcntl directly.
2622 * libio/iofflush.c: Assume weak_alias is defined.
2623 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
2624 defined.
2625 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
2626 * libio/iofgets.c: Likewise.
2627 * libio/iofopen.c: Assume _LIBC is defined.
2628 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
2629 * libio/iofputs.c: Assume weak_alias is defined.
2630 * libio/iofread.c: Likewise.
2631 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
2632 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
2633 * libio/ioftell.c: Assume weak_alias is defined.
2634 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
2635 * libio/iofwide.c: Assume _LIBC is defined.
2636 (_IO_fwide): Drop SHARED conditional because it is implied by
2637 SHLIB_COMPAT.
2638 * libio/iofwrite.c: Assume weak_alias is defined.
2639 * libio/iogetdelim.c: Likewise.
2640 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
2641 * libio/iogetwline.c (wmemcpy): Remove macro definition.
2642 (_IO_getwline): Call __wmemcpy directly.
2643 * libio/iopopen.c: Assume _LIBC is defined.
2644 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
2645 (_IO_close): Remove macro definitions.
2646 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
2647 _exit directly.
2648 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
2649 directly.
2650 * libio/ioputs.c: Assume weak_alias is defined.
2651 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
2652 * libio/iosetbuffer.c: Assume weak_alias is defined.
2653 * libio/iosetvbuf.c: Likewise.
2654 * libio/ioungetc.c: Likewise.
2655 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
2656 libc_hidden_def, libc_hidden_weak, NULL are defined.
2657 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
2658 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
2659 defined.
2660 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
2661 definitions.
2662 (_IO_old_file_init_internal): Drop SHARED conditional because it
2663 is implied by SHLIB_COMPAT.
2664 (_IO_old_file_fopen): Call __open directly.
2665 (_IO_old_file_sync): Assume ESPIPE is defined.
2666 (_IO_old_file_write): Call __write directly.
2667 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
2668 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
2669 Call __fcntl directly.
2670 * libio/oldiofgetpos.c: Assume weak_alias is defined.
2671 (_IO_old_fgetpos): Assume EIO is defined.
2672 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
2673 (_IO_old_fgetpos64): Assume EIO is defined.
2674 * libio/oldiofsetpos.c: Assume weak_alias is defined.
2675 (_IO_old_fsetpos): Assume EIO is defined.
2676 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
2677 (_IO_old_fsetpos64): Assume EIO is defined.
2678 * libio/oldiopopen.c: Assume _LIBC is defined.
2679 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
2680 (_IO_close): Remove macro definitions.
2681 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
2682 directly.
2683 (_IO_old_proc_close): Call __close, __waitpid directly.
2684 * libio/put.c: Assume weak_alias is defined.
2685 * libio/stdfiles.c: Assume _LIBC is defined.
2686 * libio/stdio.c: Likewise.
2687 * libio/wfileops.c: Likewise.
2688 (_IO_wfile_sync): Assume ESPIPE is defined.
2689 * libio/wgenops.c: Assume _LIBC is defined.
2690 (save_for_wbackup): Remove internal_function.
2691
2692 2017-08-31 Florian Weimer <fweimer@redhat.com>
2693
2694 * malloc/malloc.c (top_check): Change return type to void. Remove
2695 internal_function.
2696 * malloc/hooks.c (top_check): Likewise.
2697 (malloc_check, realloc_check, memalign_check): Adjust.
2698
2699 2017-08-30 Joseph Myers <joseph@codesourcery.com>
2700
2701 [BZ #21457]
2702 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
2703 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
2704 sigcontext and namespace requirements.
2705 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
2706 * sysdeps/m68k/sys/ucontext.h: Likewise.
2707 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
2708 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
2709 <bits/sigcontext.h>.
2710 (__ctx): Define earlier.
2711 (mcontext_t): Define structure contents rather than using struct
2712 sigcontext.
2713 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
2714 __glibc_reserved1 instead of __reserved.
2715 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
2716 <bits/sigcontext.h>.
2717 (__ctx): Define earlier.
2718 (mcontext_t): Define structure contents rather than using struct
2719 sigcontext.
2720 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
2721 mcontext_t instead of struct sigcontext.
2722 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
2723 <bits/sigcontext.h>.
2724 (__ctx): Define earlier.
2725 (mcontext_t): Define structure contents rather than using struct
2726 sigcontext.
2727 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
2728 <bits/sigcontext.h>.
2729 (__ctx): Define earlier.
2730 (mcontext_t): Define structure contents rather than using struct
2731 sigcontext.
2732 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
2733 mcontext_t instead of struct sigcontext.
2734 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
2735 mcontext_t instead of struct sigcontext.
2736 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
2737 <bits/sigcontext.h>.
2738 (__ctx): New macro.
2739 (struct __ia64_fpreg_mcontext): New type.
2740 (mcontext_t): Define structure contents rather than using struct
2741 sigcontext.
2742 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
2743 (uc_sigmask): Define using __ctx.
2744 (uc_stack): Likewise.
2745 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
2746 <bits/sigcontext.h>.
2747 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2748 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
2749 <bits/sigcontext.h>.
2750 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
2751 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
2752 <bits/sigcontext.h>.
2753 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
2754 <bits/sigcontext.h>.
2755 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
2756 <bits/sigcontext.h>.
2757 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
2758 <bits/sigcontext.h>.
2759 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
2760 <bits/sigcontext.h>.
2761 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
2762 <bits/sigcontext.h>.
2763 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
2764 <bits/sigcontext.h>.
2765 (__ctx): Define earlier.
2766 (mcontext_t): Define structure contents rather than using struct
2767 sigcontext.
2768 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
2769 <bits/sigcontext.h>. Include <bits/types.h>.
2770 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
2771 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
2772 (test-xfail-XPG42/ucontext.h/conform): Likewise.
2773 (test-xfail-UNIX98/signal.h/conform): Likewise.
2774 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2775 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2776 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2777 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2778 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2779 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2780 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2781 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2782 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2783
2784 2017-08-30 Florian Weimer <fweimer@redhat.com>
2785
2786 * malloc/dynarray_emplace_enlarge.c
2787 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
2788 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2789 * malloc/tst-dynarray.c (test_long_overflow): New function.
2790 (do_test): Call it.
2791
2792 2017-08-30 Florian Weimer <fweimer@redhat.com>
2793
2794 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
2795 (set_arena_corrupt): Remove definitions.
2796 (mtrim): Do not check for corrupt arena.
2797 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
2798 Likewise.
2799
2800 2017-08-30 Florian Weimer <fweimer@redhat.com>
2801
2802 [BZ #21754]
2803 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
2804 check_action.
2805 (ptmalloc_init): Do not set or use check_action.
2806 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
2807 call to malloc_printerr. Remove return statement.
2808 (free_check): Likewise. Remove arena unlock.
2809 (top_check): Update comment. Adjust call to malloc_printerr.
2810 Remove heap repair code.
2811 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
2812 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
2813 (sysmalloc): Adjust call to malloc_printerr.
2814 (munmap_chunk, __libc_realloc): Likewise. Remove return
2815 statement.
2816 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
2817 Remove errout label and corresponding gotos.
2818 (_int_free): Likewise. Remove arena unlock.
2819 (do_set_mallopt_check): Do not set check_action.
2820 (malloc_printerr): Adjust parameter list. Do not mark arena as
2821 corrupt.
2822 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
2823 comment.
2824 * manual/probes.texi (Memory Allocation Probes): Remove
2825 memory_mallopt_check_action.
2826
2827 2017-08-30 Steve Ellcey <sellcey@cavium.com>
2828
2829 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
2830 Use pointer to uint64_t instead of long int for sp.
2831
2832 2017-08-30 Florian Weimer <fweimer@redhat.com>
2833
2834 [BZ #21754]
2835 * malloc/malloc.c (malloc_printerr): Always terminate the process,
2836 without printing a backtrace. Do not leak any information in the
2837 error message.
2838 * manual/memory.texi (Heap Consistency Checking): Update.
2839 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
2840
2841 2017-08-30 Florian Weimer <fweimer@redhat.com>
2842
2843 Do not scale NPTL tests with available number of CPUs.
2844 * nptl/tst-cond16.c (count): Set to constant value of 8.
2845 * nptl/tst-cond18.c (count): Likewise.
2846
2847 2017-08-29 Joseph Myers <joseph@codesourcery.com>
2848
2849 [BZ #22035]
2850 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
2851 Define to take a second argument that is a macro that
2852 concatentates a suffix, not the suffix itself.
2853 (__CONCAT_d): New macro.
2854 (__CONCAT_f): Likewise.
2855 (__CONCAT_l): Likewise.
2856
2857 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
2858
2859 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
2860 by child.
2861
2862 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2863 Aurelien Jarno <aurelien@aurel32.net>
2864 Maciej W. Rozycki <macro@imgtec.com>
2865
2866 [BZ #21956]
2867 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
2868 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
2869 `mips16-syscall6' and `mips16-syscall7'.
2870 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
2871 (CFLAGS-mips16-syscall7.c): Remove.
2872 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
2873 Remove `__mips16_syscall5', `__mips16_syscall6' and
2874 `__mips16_syscall7'.
2875 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
2876 (__mips16_syscall0): Rename `__mips16_syscall_return' to
2877 `__mips_syscall_return'.
2878 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
2879 (__mips16_syscall1): Likewise.
2880 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
2881 (__mips16_syscall2): Likewise.
2882 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
2883 (__mips16_syscall3): Likewise.
2884 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
2885 (__mips16_syscall4): Likewise.
2886 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
2887 Remove.
2888 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
2889 Remove.
2890 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
2891 Remove.
2892 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
2893 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
2894 `__mips16_syscall5'. Remove prototype.
2895 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
2896 `__mips16_syscall6'. Remove prototype.
2897 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
2898 `__mips16_syscall7'. Remove prototype.
2899 (__nomips16, __mips16_syscall_return): Move to...
2900 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
2901 (__nomips16, __mips_syscall_return): ... here.
2902 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
2903 `__mips16_syscall_return' to `__mips_syscall_return'.
2904 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
2905 `internal_syscall##nr'.
2906 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
2907 `internal_syscall##nr'.
2908 (FORCE_FRAME_POINTER): Remove.
2909 (__mips_syscall5): New prototype.
2910 (internal_syscall5): Rewrite to call `__mips_syscall5'.
2911 (__mips_syscall6): New prototype.
2912 (internal_syscall6): Rewrite to call `__mips_syscall6'.
2913 (__mips_syscall7): New prototype.
2914 (internal_syscall7): Rewrite to call `__mips_syscall7'.
2915 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
2916 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
2917 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
2918 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
2919 (sysdep_routines): Add libc-do-syscall.
2920 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
2921 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
2922
2923 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2924
2925 [BZ #21672]
2926 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
2927 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
2928 (advise_stack_range): New function.
2929 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
2930 stack non required to advise_stack_range at allocatestack.c
2931
2932 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
2933
2934 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
2935
2936 2017-08-29 Florian Weimer <fweimer@redhat.com>
2937
2938 [BZ #22026]
2939 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
2940 __end_fct. Mangle __end_fct after setting it to NULL.
2941 * iconv/Makefile (tests): Add tst-gconv-init-failure.
2942 (modules-names, modules-names-tests): Add
2943 tst-gconv-init-failure-mod.
2944 (gconv-modules): New target.
2945 (tst-gconv-init-failure-mod.so): Link against libsupport.
2946 (tst-gconv-init-failure): Depend on gconv-modules,
2947 tst-gconv-init-failure-mod.so.
2948 * iconv/tst-gconv-init-failure-mod.c: New file.
2949 * iconv/tst-gconv-init-failure.c: Likewise.
2950 * iconv/test-gconv-modules: Likewise.
2951
2952 2017-08-29 Florian Weimer <fweimer@redhat.com>
2953
2954 [BZ #22025]
2955 * iconv/gconv_db.c (free_derivation): Remove redundant
2956 parentheses.
2957 (gen_steps): Unconditionally mangle __btowc_fct after
2958 initialization.
2959 (increment_counter): Likewise. Do not call init_fct for internal
2960 modules.
2961
2962 2017-08-29 Joseph Myers <joseph@codesourcery.com>
2963
2964 [BZ #22028]
2965 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
2966 (_MSUF_): Remove macro.
2967 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
2968 Likewise.
2969 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
2970 (__REDIRFROM_X): New macro.
2971 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
2972 Likewise.
2973 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
2974 (__REDIRTO_X): Likewise.
2975 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
2976 arguments.
2977 (__MATH_REDIRCALL_2): Likewise.
2978 (__MATH_REDIRCALL_INTERNAL): Likewise.
2979 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
2980 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
2981 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
2982 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
2983 * math/test-finite-macros.c: New file.
2984 * math/Makefile (tests): Add test-finite-macros.
2985 (CFLAGS-test-finite-macros.c): New variable.
2986
2987 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
2988 Jeff Law <law@redhat.com>
2989
2990 [BZ #22025]
2991 Mangle NULL pointers in iconv/gconv.
2992 * iconv/gconv_cache.c (find_module): Demangle init_fct before
2993 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
2994 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
2995 is non-NULL before demangling the end_fct. Check for NULL
2996 end_fct after demangling.
2997 (__gconv_release_step): Demangle the end_fct before checking
2998 it for NULL. Remove assert on __shlibc_handle != NULL.
2999 (gen_steps): Don't check btowc_fct for NULL before mangling.
3000 Demangle init_fct before checking for NULL.
3001 (increment_counter): Likewise.
3002 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
3003 end_fct for NULL before mangling.
3004 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
3005 for NULL.
3006
3007 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
3008
3009 [BZ #21971]
3010 * locale/iso-639.def: add Morisyen.
3011
3012 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3013
3014 [BZ #21930]
3015 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
3016 (iszero): New C++ implementation that does not use
3017 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
3018 signaling nans are enabled, since __builtin_types_compatible_p
3019 is a C-only feature.
3020 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
3021 defined, include ieee754_float128.h for access to the union and
3022 member ieee854_float128.ieee.
3023 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
3024 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
3025 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
3026 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
3027 options of test-math-zero on powerpc64le.
3028
3029 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
3030
3031 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
3032 Change double to float.
3033
3034 2017-08-28 Joseph Myers <joseph@codesourcery.com>
3035
3036 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
3037 unconditional.
3038 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
3039 conditional code; define contents only for [LIBM_SVID_COMPAT].
3040
3041 2017-08-28 Florian Weimer <fweimer@redhat.com>
3042
3043 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
3044 (abi-lp64_be-options): Remove.
3045 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
3046 (abi-hard-options): Likewise.
3047 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
3048 (abi-o32_hard-options, abi-o32_soft_2008-options)
3049 (abi-o32_hard_2008-options, abi-n32_soft-options)
3050 (abi-n32_hard-options, abi-n32_soft_2008-options)
3051 (abi-n32_hard_2008-options, abi-n64_soft-options)
3052 (abi-n64_hard-options, abi-n64_soft_2008-options)
3053 (abi-n64_hard_2008-options): Likewise.
3054 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
3055 (abi-64-v1-options, abi-64-v2-options): Likewise.
3056 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
3057 (abi-64-options): Likewise.
3058 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
3059 (abi-64-options): Likewise.
3060 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
3061 (abi-64-options): Likewise.
3062 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
3063 (abi-64-options, abi-x32-options): Likewise.
3064
3065 2017-08-28 Florian Weimer <fweimer@redhat.com>
3066
3067 Store supported list of SYS_* system calls in the source tree.
3068 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3069 (bits/syscall.h): Generate from list file.
3070 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
3071 [$(subdir) = misc] (tests): Add tst-syscall-list.
3072 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
3073 [$(subdir) = misc] (tst-syscall-list-macros.list)
3074 [$(subdir) = misc] (tst-syscall-list-nr.list)
3075 (tst-syscall-list-sys.list): Helper targets for new
3076 tst-syscall-list test.
3077 [$(subdir) = misc] (tst-syscall-list.out): Run test script
3078 tst-syscall-list.sh.
3079 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
3080 target. Do not include bits/syscall.d.
3081 [$(subdir) = misc] (generated): Do not update.
3082 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
3083 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
3084 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
3085 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
3086
3087 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3088
3089 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
3090 (tst-cxa_atexit, tst-on_exit): Likewise.
3091 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
3092 tst-cxa_atexit, and tst-on_exit.
3093 * stdlib/tst-atexit-common.c: New file.
3094 * stdlib/tst-atexit.c: New file.
3095 * stdlib/tst-at_quick_exit.c: New file.
3096 * stdlib/tst-cxa_atexit.c: New file.
3097 * stdlib/tst-on_exit.c: New file.
3098
3099 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3100
3101 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
3102 * mach/stack_chk_fail_local.c: New file.
3103 * hurd/stack_chk_fail_local.c: New file.
3104 * mach/Machrules ($(interface-library)-routines): Add
3105 stack_chk_fail_local.
3106 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
3107 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
3108 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
3109 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
3110 * hurd/Makefile (CFLAGS-hurdstartup.o,
3111 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
3112
3113 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
3114
3115 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
3116 (index_cpu_*, index_arch_*): Removed.
3117
3118 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3119
3120 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
3121 Use uint64_t instead of unsigned long.
3122
3123 2017-08-25 Joseph Myers <joseph@codesourcery.com>
3124
3125 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
3126 [__HAVE_DISTINCT_FLOAT128].
3127
3128 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
3129 of <bits/math-finite.h>.
3130 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
3131 inclusion of <bits/math-finite.h>.
3132 * math/bits/math-finite.h (__REDIRTO_X): Do not define
3133 conditionally on [__MATH_DECLARING_LDOUBLE && defined
3134 __NO_LONG_DOUBLE_MATH].
3135 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
3136 (__MATH_REDIRCALL_2): Likewise.
3137 (__MATH_REDIRCALL_INTERNAL): Likewise.
3138 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
3139 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
3140 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
3141
3142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
3143 Remove file.
3144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
3145 Likewise.
3146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
3147 Likewise.
3148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
3149 Likewise.
3150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
3151 Likewise.
3152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
3153 Likewise.
3154 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
3155 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
3156 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
3157 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
3158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3159 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
3160 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
3161 w_sqrtf_compat-ppc32.
3162
3163 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3164
3165 * math/math.h [defined __cplusplus] (issignaling): In the long
3166 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
3167 is not defined. Call __issignaling, otherwise.
3168
3169 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3170
3171 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
3172 syscall definitions and replace __builtin_expect with __glibc_likely.
3173 * sysdeps/unix/syscall-template.S: Update comment about cancellable
3174 syscall.
3175 (SYSCALL_CANCELLABLE): Removedefinition
3176 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
3177 definition.
3178 (PSEUDO_END): Likewise.
3179 [IS_IN (libpthread)] (CENABLE): Likewise.
3180 [IS_IN (libpthread)] (CDISABLE): Likewise.
3181 [IS_IN (libc)] (CENABLE): Likewise.
3182 [IS_IN (libc)] (CENABLE): Likewise.
3183 [IS_IN (librt)] (CDISABLE): Likewise.
3184 [IS_IN (librt)] (CDISABLE): Likewise.
3185 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3186 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
3187 definition.
3188 (PSEUDO_END): Likewise.
3189 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
3190 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
3191 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
3192 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
3193 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
3194 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
3195 (CENABLE): Likewise.
3196 (CDISABLE): Likewise.
3197 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3198 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
3199 defintion.
3200 (PSEUDO_END): Likewise.
3201 [IS_IN (libpthread)] (CENABLE): Likewise.
3202 [IS_IN (libpthread)] (CDISABLE): Likewise.
3203 [IS_IN (libc)] (CENABLE): Likewise.
3204 [IS_IN (libc)] (CENABLE): Likewise.
3205 [IS_IN (librt)] (CDISABLE): Likewise.
3206 [IS_IN (librt)] (CDISABLE): Likewise.
3207 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3208 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
3209 definition.
3210 (PSEUDO_END): Likewise.
3211 [IS_IN (libpthread)] (CENABLE): Likewise.
3212 [IS_IN (libpthread)] (CDISABLE): Likewise.
3213 [IS_IN (libc)] (CENABLE): Likewise.
3214 [IS_IN (libc)] (CENABLE): Likewise.
3215 [IS_IN (librt)] (CDISABLE): Likewise.
3216 [IS_IN (librt)] (CDISABLE): Likewise.
3217 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3218 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
3219 definition.
3220 (PSEUDO_END): Likewise.
3221 [IS_IN (libpthread)] (CENABLE): Likewise.
3222 [IS_IN (libpthread)] (CDISABLE): Likewise.
3223 [IS_IN (libc)] (CENABLE): Likewise.
3224 [IS_IN (libc)] (CENABLE): Likewise.
3225 [IS_IN (librt)] (CDISABLE): Likewise.
3226 [IS_IN (librt)] (CDISABLE): Likewise.
3227 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3228 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
3229 definition.
3230 (PSEUDO_END): Likewise.
3231 [IS_IN (libpthread)] (CENABLE): Likewise.
3232 [IS_IN (libpthread)] (CDISABLE): Likewise.
3233 [IS_IN (libc)] (CENABLE): Likewise.
3234 [IS_IN (libc)] (CENABLE): Likewise.
3235 [IS_IN (librt)] (CDISABLE): Likewise.
3236 [IS_IN (librt)] (CDISABLE): Likewise.
3237 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3238 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
3239 definition.
3240 (PSEUDO_END): Likewise.
3241 [IS_IN (libpthread)] (CENABLE): Likewise.
3242 [IS_IN (libpthread)] (CDISABLE): Likewise.
3243 [IS_IN (libc)] (CENABLE): Likewise.
3244 [IS_IN (libc)] (CENABLE): Likewise.
3245 [IS_IN (librt)] (CDISABLE): Likewise.
3246 [IS_IN (librt)] (CDISABLE): Likewise.
3247 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3248 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
3249 definition.
3250 (PSEUDO_END): Likewise.
3251 [IS_IN (libpthread)] (CENABLE): Likewise.
3252 [IS_IN (libpthread)] (CDISABLE): Likewise.
3253 [IS_IN (libc)] (CENABLE): Likewise.
3254 [IS_IN (libc)] (CENABLE): Likewise.
3255 [IS_IN (librt)] (CDISABLE): Likewise.
3256 [IS_IN (librt)] (CDISABLE): Likewise.
3257 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3258 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
3259 Remove definition.
3260 (PSEUDO_END): Likewise.
3261 [IS_IN (libpthread)] (CENABLE): Likewise.
3262 [IS_IN (libpthread)] (CDISABLE): Likewise.
3263 [IS_IN (libc)] (CENABLE): Likewise.
3264 [IS_IN (libc)] (CENABLE): Likewise.
3265 [IS_IN (librt)] (CDISABLE): Likewise.
3266 [IS_IN (librt)] (CDISABLE): Likewise.
3267 (SINGLE_THREAD_P): Likewise.
3268 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
3269 definition.
3270 (PSEUDO_END): Likewise.
3271 [IS_IN (libpthread)] (CENABLE): Likewise.
3272 [IS_IN (libpthread)] (CDISABLE): Likewise.
3273 [IS_IN (libc)] (CENABLE): Likewise.
3274 [IS_IN (libc)] (CENABLE): Likewise.
3275 [IS_IN (librt)] (CDISABLE): Likewise.
3276 [IS_IN (librt)] (CDISABLE): Likewise.
3277 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3278 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
3279 definition.
3280 (PSEUDO_END): Likewise.
3281 [IS_IN (libpthread)] (CENABLE): Likewise.
3282 [IS_IN (libpthread)] (CDISABLE): Likewise.
3283 [IS_IN (libc)] (CENABLE): Likewise.
3284 [IS_IN (libc)] (CENABLE): Likewise.
3285 [IS_IN (librt)] (CDISABLE): Likewise.
3286 [IS_IN (librt)] (CDISABLE): Likewise.
3287 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3288 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
3289 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3290 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
3291 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
3292 definition.
3293 (PSEUDO_END): Likewise.
3294 [IS_IN (libpthread)] (CENABLE): Likewise.
3295 [IS_IN (libpthread)] (CDISABLE): Likewise.
3296 [IS_IN (libc)] (CENABLE): Likewise.
3297 [IS_IN (libc)] (CENABLE): Likewise.
3298 [IS_IN (librt)] (CDISABLE): Likewise.
3299 [IS_IN (librt)] (CDISABLE): Likewise.
3300 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3301 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
3302 definition.
3303 (PSEUDO_END): Likewise.
3304 [IS_IN (libpthread)] (CENABLE): Likewise.
3305 [IS_IN (libpthread)] (CDISABLE): Likewise.
3306 [IS_IN (libc)] (CENABLE): Likewise.
3307 [IS_IN (libc)] (CENABLE): Likewise.
3308 [IS_IN (librt)] (CDISABLE): Likewise.
3309 [IS_IN (librt)] (CDISABLE): Likewise.
3310 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3311 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
3312 definition.
3313 (PSEUDO_END): Likewise.
3314 [IS_IN (libpthread)] (CENABLE): Likewise.
3315 [IS_IN (libpthread)] (CDISABLE): Likewise.
3316 [IS_IN (libc)] (CENABLE): Likewise.
3317 [IS_IN (libc)] (CENABLE): Likewise.
3318 [IS_IN (librt)] (CDISABLE): Likewise.
3319 [IS_IN (librt)] (CDISABLE): Likewise.
3320 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3321 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
3322 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3323 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
3324 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
3325 definition.
3326 (PSEUDO_END): Likewise.
3327 [IS_IN (libpthread)] (CENABLE): Likewise.
3328 [IS_IN (libpthread)] (CDISABLE): Likewise.
3329 [IS_IN (libc)] (CENABLE): Likewise.
3330 [IS_IN (libc)] (CENABLE): Likewise.
3331 [IS_IN (librt)] (CDISABLE): Likewise.
3332 [IS_IN (librt)] (CDISABLE): Likewise.
3333 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3334 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
3335 definition.
3336 (PSEUDO_END): Likewise.
3337 [IS_IN (libpthread)] (CENABLE): Likewise.
3338 [IS_IN (libpthread)] (CDISABLE): Likewise.
3339 [IS_IN (libc)] (CENABLE): Likewise.
3340 [IS_IN (libc)] (CENABLE): Likewise.
3341 [IS_IN (librt)] (CDISABLE): Likewise.
3342 [IS_IN (librt)] (CDISABLE): Likewise.
3343 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
3344
3345 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3346
3347 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
3348
3349 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
3350
3351 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3352
3353 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
3354
3355 [BZ #21982]
3356 * string/stratcliff.c (do_test): Declare size, nchars, inner,
3357 middle and outer with size_t instead of int. Repleace %d and
3358 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
3359 "MAX (outer, nchars - 64)" to support unsigned outer and
3360 nchars. Also exit loop when outer == 0.
3361
3362 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3363
3364 * include/fcntl.h (__fcntl_nocancel): Remove definition.
3365 * include/signal.h (__sigsuspend_nocancel): Likewise.
3366 * include/time.h (__nanosleep_nocancel): Likewise.
3367 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
3368 * login/utmp_file.c: Include non cancellable syscall header.
3369 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
3370 prototype.
3371
3372 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
3373
3374 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
3375 .byte sequences with AVX512F instructions.
3376 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
3377 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3378 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
3379 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
3380 Likewise.
3381 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3382 Likewise.
3383
3384 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
3385 Steve Ellcey <sellcey@cavium.com>
3386
3387 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
3388 Use PTR_REG macro in cmp instruction.
3389
3390 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3391
3392 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
3393 Change the return type of the ifunc resolver to match the return
3394 type of the target function.
3395
3396 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3397
3398 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
3399 (preadv64): Likewise.
3400 (pwrite64(: Likewise.
3401 (pwritev64): Likewise.
3402
3403 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3404 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
3405 (LOAD_ARGS_0): Likewise.
3406 (LOAD_ARGS_1): Likewise.
3407 (LOAD_ARGS_2): Likewise.
3408 (LOAD_ARGS_3): Likewise.
3409 (LOAD_ARGS_4): Likewise.
3410 (LOAD_ARGS_5): Likewise.
3411 (LOAD_ARGS_6): Likewise.
3412 (LOAD_REGS_0): Likewise.
3413 (LOAD_REGS_1): Likewise.
3414 (LOAD_REGS_2): Likewise.
3415 (LOAD_REGS_3): Likewise.
3416 (LOAD_REGS_4): Likewise.
3417 (LOAD_REGS_5): Likewise.
3418 (LOAD_REGS_6): Likewise.
3419 (ASM_ARGS_0): Likewise.
3420 (ASM_ARGS_1): Likewise.
3421 (ASM_ARGS_2): Likewise.
3422 (ASM_ARGS_3): Likewise.
3423 (ASM_ARGS_4): Likewise.
3424 (ASM_ARGS_5): Likewise.
3425 (ASM_ARGS_6): Likewise.
3426 (LOAD_ARGS_TYPES_1): Likewise.
3427 (LOAD_ARGS_TYPES_2): Likewise.
3428 (LOAD_ARGS_TYPES_3): Likewise.
3429 (LOAD_ARGS_TYPES_4): Likewise.
3430 (LOAD_ARGS_TYPES_5): Likewise.
3431 (LOAD_ARGS_TYPES_6): Likewise.
3432 (LOAD_REGS_TYPES_1): Likewise.
3433 (LOAD_REGS_TYPES_2): Likewise.
3434 (LOAD_REGS_TYPES_3): Likewise.
3435 (LOAD_REGS_TYPES_4): Likewise.
3436 (LOAD_REGS_TYPES_5): Likewise.
3437 (LOAD_REGS_TYPES_6): Likewise.
3438 (TYPEFY): New define.
3439 (ARGIFY): Likewise.
3440 (internal_syscall0): Likewise.
3441 (internal_syscall1): Likewise.
3442 (internal_syscall2): Likewise.
3443 (internal_syscall3): Likewise.
3444 (internal_syscall4): Likewise.
3445 (internal_syscall5): Likewise.
3446 (internal_syscall6): Likewise.
3447 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
3448 (INTERNAL_SYSCALL_NCS): Remove define.
3449 (internal_syscall1): Add define.
3450
3451 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3452
3453 * math/w_remainder_compat.c: Remove duplicate inclusion of
3454 math-svid-compat.h.
3455 * math/w_remainderf_compat.c: Likewise.
3456 * math/w_remainderl_compat.c: Likewise.
3457
3458 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3459
3460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3461
3462 2017-08-22 Joseph Myers <joseph@codesourcery.com>
3463
3464 [BZ #21684]
3465 * math/tgmath.h (__floating_type): Simplify definitions.
3466 (__real_integer_type): New macro.
3467 (__complex_integer_type): Likewise.
3468 (__expr_is_real): Likewise.
3469 (__tgmath_real_type_sub): Update comment to describe handling of
3470 complex types.
3471 (__tgmath_complex_type_sub): New macro.
3472 (__tgmath_complex_type): Likewise.
3473 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3474 (__TGMATH_CF128): Use __expr_is_real.
3475 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
3476 __expr_is_real.
3477 (__TGMATH_BINARY_REAL_IMAG): Likewise.
3478 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
3479 * math/gen-tgmath-tests.py (Type.create_type): Create complex
3480 integer types.
3481
3482 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3483
3484 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
3485 macro.
3486 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
3487 alias.
3488 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
3489 Likewise.
3490
3491 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
3492 nanosleep_not_cancel with __nanosleep_nocancel.
3493 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
3494 (__nanosleep_nocancel): New macro.
3495 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
3496 function.
3497 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
3498 macro.
3499 (__nanosleep_nocancel): New prototype.
3500
3501 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
3502 pause_not_cancel with __pause_nocancel.
3503 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
3504 (__pause_nocancel): New macro.
3505 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
3506 macro.
3507 (__pause_nocancel): New prototype.
3508 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
3509
3510 2017-08-22 Martin Sebor <msebor@redhat.com>
3511
3512 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
3513 to return a pointer to the same type as the target function.
3514
3515 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
3516
3517 [BZ #18822]
3518 [BZ #21986]
3519 * include/printf.h (__printf_fphex): Add attribute_hidden.
3520 (__guess_grouping): New prototype.
3521 * stdio-common/printf_fp.c (__guess_grouping): Removed.
3522 * stdio-common/reg-printf.c (__register_printf_specifier): Add
3523 libc_hidden_proto and libc_hidden_def.
3524 * stdlib/strfmon_l.c (__guess_grouping): Removed.
3525 (__vstrfmon_l): Remove the third argument passed to
3526 __guess_grouping.
3527
3528 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3529
3530 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
3531 definition for issignaling that does not rely on __MATH_TG,
3532 since __MATH_TG uses __builtin_types_compatible_p, which is only
3533 available in C mode.
3534 (CFLAGS-test-math-issignaling.cc): New variable.
3535 * math/Makefile [CXX] (tests): Add test-math-issignaling.
3536 * math/test-math-issignaling.cc: New test for C++ implementation
3537 of type-generic issignaling.
3538 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
3539 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
3540 options of test-math-issignaling on powerpc64le.
3541
3542 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
3543
3544 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
3545 building libc.a.
3546 (hidden_proto): Likewise.
3547 (hidden_tls_proto): Likewise.
3548 (__hidden_proto): Likewise.
3549
3550 2017-08-22 Florian Weimer <fweimer@redhat.com>
3551
3552 math: Statically link tests of internal functionality.
3553 * math/Makefile (tests): Remove atest-exp, atest-sincos,
3554 atest-exp2.
3555 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
3556 (gmp-objs): Remove assignment.
3557 (atest-exp, atest-sincos, atest-exp2): Remove targets.
3558
3559 2017-08-22 Joseph Myers <joseph@codesourcery.com>
3560
3561 [BZ #21987]
3562 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
3563 and copy to ...
3564 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
3565 ... here.
3566 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
3567 ... and here.
3568
3569 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
3570 variable definitions above inclusion of ../Rules.
3571
3572 2017-08-21 Joseph Myers <joseph@codesourcery.com>
3573
3574 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
3575 case calling __builtin_unreachable.
3576
3577 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3578
3579 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
3580 __waitpid_nocancel.
3581 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
3582 (__waitpid_nocancel): New macro.
3583 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
3584 macro.
3585 (__waitpid_nocancel): Replace macro with a function.
3586 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
3587 function.
3588
3589 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
3590 __fcntl_nocancel.
3591 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
3592 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
3593
3594 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
3595 __writev_nocancel_nostatus.
3596 (write_call_graph): Likewise.
3597 (write_bb_counts): Likewise.
3598 * resolv/herror.c (herror): Likewise.
3599 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
3600 macro.
3601 (__writev_nocancel_nostatus): New macro.
3602 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
3603 Remove macro.
3604 (__writev_nocancel_nostatus): New function.
3605
3606 2017-08-21 Joseph Myers <joseph@codesourcery.com>
3607
3608 Revert:
3609 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3610
3611 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
3612 building libc.a.
3613 (hidden_proto): Likewise.
3614 (hidden_tls_proto): Likewise.
3615 (__hidden_proto): Likewise.
3616
3617 [BZ #21973]
3618 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
3619 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3621 Likewise.
3622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
3623 Likewise.
3624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3625 Likewise.
3626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
3627 Likewise.
3628 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
3629 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3630 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3631 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3632 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3633 GLIBC_2.0 sqrtl symbol.
3634
3635 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
3636 [__USE_MISC] (_LIB_VERSION): Likewise.
3637 [__USE_MISC] (struct exception): Likewise.
3638 [__USE_MISC] (matherr): Likewise.
3639 [__USE_MISC] (DOMAIN): Likewise.
3640 [__USE_MISC] (SING): Likewise.
3641 [__USE_MISC] (OVERFLOW): Likewise.
3642 [__USE_MISC] (UNDERFLOW): Likewise.
3643 [__USE_MISC] (TLOSS): Likewise.
3644 [__USE_MISC] (PLOSS): Likewise.
3645 [__USE_MISC] (HUGE): Likewise.
3646 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
3647 * math/math-svid-compat.h: New file.
3648 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
3649 and matherrl.
3650 * include/math.h [!_ISOMAC] (__matherr): Remove.
3651 * manual/arith.texi (FP Exceptions): Do not document matherr.
3652 * math/Makefile (tests): Change test-matherr to test-matherr-3.
3653 (tests-internal): New variable.
3654 (install-lib): Do not add libieee.a.
3655 (non-lib.a): Likewise.
3656 (extra-objs): Do not add libieee.a and ieee-math.o.
3657 (CPPFLAGS-s_lib_version.c): Remove variable.
3658 ($(objpfx)libieee.a): Remove rule.
3659 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
3660 * math/ieee-math.c: Remove.
3661 * math/libm-test-support.c (matherr): Remove.
3662 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
3663 and license notices. Include <math-svid-compat.h> and
3664 <shlib-compat.h>.
3665 (matherr): Undefine as macro. Use compat_symbol_reference.
3666 (_LIB_VERSION): Likewise.
3667 * math/test-matherr-2.c: New file.
3668 * math/test-matherr-3.c: Likewise.
3669 * sysdeps/generic/math_private.h (__kernel_standard): Remove
3670 declaration.
3671 (__kernel_standard_f): Likewise.
3672 (__kernel_standard_l): Likewise.
3673 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
3674 <math_private.h>. Include <math-svid-compat.h>.
3675 (_LIB_VERSION): Undefine as macro.
3676 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
3677 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
3678 [LIBM_SVID_COMPAT], use compat_symbol.
3679 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
3680 <math_private.h>. Include <math-svid-compat.h>.
3681 (matherr): Undefine as macro.
3682 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
3683 compat_symbol.
3684 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
3685 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
3686 compat_symbol_reference.
3687 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
3688 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
3689 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
3690 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
3691 (MATHERR_D): Remove declaration.
3692 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
3693 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
3694 [LIBM_BUILD] (pmatherrf): Likewise.
3695 [LIBM_BUILD] (pmatherr): Likewise.
3696 [LIBM_BUILD] (pmatherrl): Likewise.
3697 (DOMAIN): Likewise.
3698 (SING): Likewise.
3699 (OVERFLOW): Likewise.
3700 (UNDERFLOW): Likewise.
3701 (TLOSS): Likewise.
3702 (PLOSS): Likewise.
3703 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
3704 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
3705 compat_symbol.
3706 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
3707 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
3708 compat_symbol.
3709 * math/lgamma-compat.h: Include <math-svid-compat.h>.
3710 * math/w_acos_compat.c: Likewise.
3711 * math/w_acosf_compat.c: Likewise.
3712 * math/w_acosh_compat.c: Likewise.
3713 * math/w_acoshf_compat.c: Likewise.
3714 * math/w_acoshl_compat.c: Likewise.
3715 * math/w_acosl_compat.c: Likewise.
3716 * math/w_asin_compat.c: Likewise.
3717 * math/w_asinf_compat.c: Likewise.
3718 * math/w_asinl_compat.c: Likewise.
3719 * math/w_atan2_compat.c: Likewise.
3720 * math/w_atan2f_compat.c: Likewise.
3721 * math/w_atan2l_compat.c: Likewise.
3722 * math/w_atanh_compat.c: Likewise.
3723 * math/w_atanhf_compat.c: Likewise.
3724 * math/w_atanhl_compat.c: Likewise.
3725 * math/w_cosh_compat.c: Likewise.
3726 * math/w_coshf_compat.c: Likewise.
3727 * math/w_coshl_compat.c: Likewise.
3728 * math/w_exp10_compat.c: Likewise.
3729 * math/w_exp10f_compat.c: Likewise.
3730 * math/w_exp10l_compat.c: Likewise.
3731 * math/w_exp2_compat.c: Likewise.
3732 * math/w_exp2f_compat.c: Likewise.
3733 * math/w_exp2l_compat.c: Likewise.
3734 * math/w_fmod_compat.c: Likewise.
3735 * math/w_fmodf_compat.c: Likewise.
3736 * math/w_fmodl_compat.c: Likewise.
3737 * math/w_hypot_compat.c: Likewise.
3738 * math/w_hypotf_compat.c: Likewise.
3739 * math/w_hypotl_compat.c: Likewise.
3740 * math/w_j0_compat.c: Likewise.
3741 * math/w_j0f_compat.c: Likewise.
3742 * math/w_j0l_compat.c: Likewise.
3743 * math/w_j1_compat.c: Likewise.
3744 * math/w_j1f_compat.c: Likewise.
3745 * math/w_j1l_compat.c: Likewise.
3746 * math/w_jn_compat.c: Likewise.
3747 * math/w_jnf_compat.c: Likewise.
3748 * math/w_jnl_compat.c: Likewise.
3749 * math/w_lgamma_main.c: Likewise.
3750 * math/w_lgamma_r_compat.c: Likewise.
3751 * math/w_lgammaf_main.c: Likewise.
3752 * math/w_lgammaf_r_compat.c: Likewise.
3753 * math/w_lgammal_main.c: Likewise.
3754 * math/w_lgammal_r_compat.c: Likewise.
3755 * math/w_log10_compat.c: Likewise.
3756 * math/w_log10f_compat.c: Likewise.
3757 * math/w_log10l_compat.c: Likewise.
3758 * math/w_log2_compat.c: Likewise.
3759 * math/w_log2f_compat.c: Likewise.
3760 * math/w_log2l_compat.c: Likewise.
3761 * math/w_log_compat.c: Likewise.
3762 * math/w_logf_compat.c: Likewise.
3763 * math/w_logl_compat.c: Likewise.
3764 * math/w_pow_compat.c: Likewise.
3765 * math/w_powf_compat.c: Likewise.
3766 * math/w_powl_compat.c: Likewise.
3767 * math/w_remainder_compat.c: Likewise.
3768 * math/w_remainderf_compat.c: Likewise.
3769 * math/w_remainderl_compat.c: Likewise.
3770 * math/w_scalb_compat.c: Likewise.
3771 * math/w_scalbf_compat.c: Likewise.
3772 * math/w_scalbl_compat.c: Likewise.
3773 * math/w_sinh_compat.c: Likewise.
3774 * math/w_sinhf_compat.c: Likewise.
3775 * math/w_sinhl_compat.c: Likewise.
3776 * math/w_sqrt_compat.c: Likewise.
3777 * math/w_sqrtf_compat.c: Likewise.
3778 * math/w_sqrtl_compat.c: Likewise.
3779 * math/w_tgamma_compat.c: Likewise.
3780 * math/w_tgammaf_compat.c: Likewise.
3781 * math/w_tgammal_compat.c: Likewise.
3782 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
3783 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3784 * sysdeps/ieee754/k_standard.c: Likewise.
3785 * sysdeps/ieee754/k_standardf.c: Likewise.
3786 * sysdeps/ieee754/k_standardl.c: Likewise.
3787 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3788 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3789 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3790 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
3791 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
3792 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
3793 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
3794 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
3795 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3797 Likewise.
3798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3799 Likewise.
3800 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
3801 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3802 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3803 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3804
3805 2017-08-21 Florian Weimer <fweimer@redhat.com>
3806
3807 [BZ #21864]
3808 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
3809 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
3810 Move before inclusion of ../Rules.
3811
3812 2017-08-21 Florian Weimer <fweimer@redhat.com>
3813
3814 [BZ #21972]
3815 * assert/assert.h (assert): Use static_cast (bool) for C++.
3816 Use the ternary operator in the warning branch for GNU C.
3817 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
3818 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
3819 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
3820 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
3821 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
3822
3823 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3824
3825 [BZ #18822]
3826 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3827 (__syscall_clock_gettime): Add attribute_hidden.
3828 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
3829 (__start_context): Likewise.
3830
3831 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3832
3833 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
3834 building libc.a.
3835 (hidden_proto): Likewise.
3836 (hidden_tls_proto): Likewise.
3837 (__hidden_proto): Likewise.
3838
3839 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3840
3841 * include/libc-symbols.h (attribute_hidden): Enable hidden
3842 visibility in libc.a compiled with PIE.
3843
3844 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3845
3846 [BZ #18822]
3847 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
3848 Add attribute_hidden.
3849
3850 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3851
3852 [BZ #21864]
3853 * Makerules (all-nonlib): Add $(others-extras).
3854 * catgets/Makefile (others-extras): New.
3855 * elf/Makefile (others-extras): Likewise.
3856 * nss/Makefile (others-extras): Likewise.
3857
3858 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3859
3860 [BZ #18822]
3861 * csu/libc-start.c (__libc_multiple_libcs): Removed.
3862 * elf/dl-open.c: Include <libc-internal.h>.
3863 (__libc_multiple_libcs): Removed.
3864 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
3865 <hp-timing.h>.
3866 * include/libc-internal.h (__libc_multiple_libcs): New.
3867 * misc/sbrk.c: Include <libc-internal.h>.
3868 (__libc_multiple_libcs): Removed.
3869
3870 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
3871
3872 [BZ #18822]
3873 * grp/initgroups.c (__nss_group_database): Removed.
3874 (__nss_initgroups_database): Likewise.
3875 * nscd/gai.c (__nss_hosts_database): Likewise.
3876 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
3877 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
3878 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
3879 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
3880 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
3881 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
3882 attribute_hidden.
3883 * nss/nsswitch.c (__nss_database_custom): Define only if
3884 USE_NSCD is defined.
3885 (__nss_configure_lookup): Use __nss_database_custom only if
3886 USE_NSCD is defined.
3887 * nss/nsswitch.h (__nss_database_custom): Declare only if
3888 USE_NSCD is defined. Add attribute_hidden.
3889 (__nss_setent): Add attribute_hidden.
3890 (__nss_endent): Likewise.
3891 (__nss_getent_r): Likewise.
3892 (__nss_getent): Likewise.
3893 (DEFINE_DATABASE): Declare __nss_##arg##_database.
3894
3895 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3896
3897 [BZ #18822]
3898 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
3899 libc_hidden_proto and libc_hidden_def.
3900
3901 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3902
3903 [BZ #18822]
3904 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
3905 Add libc_hidden_proto.
3906 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
3907 Add libc_hidden_def.
3908
3909 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3910
3911 [BZ #21974]
3912 * gmon/Makefile (routines): Remove bb_init_func and
3913 bb_exit_func.
3914 (elide-routines.os): Removed.
3915 * gmon/bb_exit_func.c: Likewise.
3916 * gmon/bb_init_func.c: Likewise.
3917 * include/sys/gmon.h (__bb): Likewise.
3918 (__bb_init_func): Likewise.
3919 (__bb_exit_func): Likewise.
3920 * sysdeps/alpha/bb_init_func.S: Likewise.
3921
3922 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
3923
3924 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
3925 * include/setjmp.h (____longjmp_chk): Here. Add
3926 attribute_hidden.
3927
3928 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
3929
3930 [BZ #18822]
3931 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
3932 attribute_hidden.
3933 (__strspn_sse2): Likewise.
3934
3935 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3936
3937 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
3938 (close_not_cancel_no_status): Likewise.
3939 (__close_nocancel): New macro.
3940 (__close_nocancel_nostatus): Likewise.
3941 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
3942 macro.
3943 (close_not_cancel): Likewise.
3944 (close_not_cancel_no_status): Likewise.
3945 (__close_nocancel): New prototype.
3946 (__close_nocancel_nostatus): New function.
3947 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
3948 * catgets/open_catalog.c (__open_catalog): Replace
3949 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
3950 * gmon/gmon.c (write_gmon): Likewise.
3951 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3952 * intl/loadmsgcat.c (close): Likewise.
3953 * io/ftw.c (open_dir_stream): Likewise.
3954 (ftw_startup): Likewise.
3955 * libio/fileops.c (_IO_file_open): Likewise.
3956 (_IO_file_close_mmap): Likewise.
3957 (_IO_file_close): Likewise.
3958 * libio/iopopen.c (_IO_dup2): Likewise.
3959 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3960 * locale/loadlocale.c (_nl_load_locale): Likewise.
3961 * login/utmp_file.c (pututline_file): Likewise.
3962 (endutent_file): Likewise.
3963 * misc/daemon.c (daemon): Likewise.
3964 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3965 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3966 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
3967 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3968 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3969 * nscd/nscd_helper.c (open_socket): Likewise.
3970 (__nscd_open_socket): Likewise.
3971 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3972 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
3973 (__nscd_innetgr): Likewise.
3974 * nss/nss_db/db-open.c (internal_setent): Likewise.
3975 * resolv/res-close.c (__res_iclose): Likewise.
3976 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
3977 * sysdeps/posix/closedir.c (__closedir): Likewise.
3978 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
3979 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3980 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
3981 (opendir_tail): Likewise.
3982 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3983 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
3984 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3985 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3986 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
3987 (gethostid): Likewise.
3988 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
3989 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3990 Likewise.
3991 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3992 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
3993 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
3994 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
3995 Likewise.
3996 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
3997 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
3998 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
3999 Likewise.
4000 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
4001 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
4002 Likewise.
4003 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
4004 Likewise.
4005 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4006 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
4007 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
4008 __close_nocancel.
4009
4010 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
4011 (openat_not_cancel_3): Likewise.
4012 (openat64_not_cancel_3): Likewise).
4013 (openat_not_cancel_3): Likewise).
4014 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
4015 macro.
4016 (openat_not_cancel_3): Likewise.
4017 (openat64_not_cancel): Likewise.
4018 (openat64_not_cancel_3): Likewise.
4019 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
4020 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
4021 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
4022 __open{64}_nocancel.
4023 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
4024 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4025 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4026
4027 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
4028
4029 [BZ #18822]
4030 * include/argz.h (__argz_create_sep): New function prototype.
4031 (__argz_append): Likewise.
4032 (__argz_add): Likewise.
4033 (__argz_add_sep): Likewise.
4034 (__argz_delete): Likewise.
4035 (__argz_insert): Likewise.
4036 (__argz_replace): Likewise.
4037 * string/argz.h (__argz_create_sep): Removed.
4038 (__argz_append): Likewise.
4039 (__argz_add): Likewise.
4040 (__argz_add_sep): Likewise.
4041 (__argz_delete): Likewise.
4042 (__argz_insert): Likewise.
4043 (__argz_replace): Likewise.
4044
4045 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
4046
4047 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
4048 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
4049 (GNU_PROPERTY_STACK_SIZE): Likewie.
4050 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
4051 (GNU_PROPERTY_LOPROC): Likewise.
4052 (GNU_PROPERTY_HIPROC): Likewise.
4053 (GNU_PROPERTY_LOUSER): Likewise.
4054 (GNU_PROPERTY_HIUSER): Likewise.
4055 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
4056 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
4057 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
4058 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
4059 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
4060 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
4061 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
4062 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
4063 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
4064 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
4065 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
4066 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
4067 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
4068 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
4069 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
4070 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
4071 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
4072 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
4073 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
4074 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
4075 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
4076 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
4077 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
4078
4079 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4080
4081 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
4082 in C++ mode.
4083
4084 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4085
4086 [BZ #21930]
4087 * math/math.h (isinf): Check if in C or C++ mode before using
4088 __builtin_types_compatible_p, since this is a C mode feature.
4089
4090 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4091
4092 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
4093 (__write_nocancel): New macro.
4094 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
4095 Rewrite as a function prototype.
4096 (write_not_cancel): Remove macro.
4097 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
4098 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
4099 (write_gmon): Likewise.
4100 * libio/fileops.c (_IO_new_file_write): Likewise.
4101 * login/utmp_file.c (pututline_file): Likewise.
4102 (updwtmp_file): Likewise.
4103 * stdio-common/psiginfo.c (psiginfo): Likewise.
4104 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4105 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
4106 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
4107 Likewise.
4108 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
4109 Likewise.
4110
4111 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
4112 (__read_nocancel): New macro.
4113 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
4114 __read_nocancel.
4115 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
4116 macro.
4117 (__read_nocancel): New prototype.
4118 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
4119 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
4120 with __read_nocancel.
4121 * intl/loadmsgcat.c (read): Likewise.
4122 * libio/fileops.c (_IO_file_read): Likewise.
4123 * locale/loadlocale.c (_nl_load_locale): Likewise.
4124 * login/utmp_file.c (getutent_r_file): Likewise.
4125 (internal_getut_r): Likewise.
4126 (getutline_r_file): Likewise.
4127 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
4128 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4129 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
4130 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4131 Likewise.
4132 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
4133 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
4134 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
4135 Likewise.
4136 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
4137 Likewise.
4138 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
4139 Likewise.
4140 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
4141 Likewise.
4142 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
4143
4144 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
4145
4146 [BZ #21966]
4147 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
4148 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
4149 usable.
4150
4151 2017-08-17 DJ Delorie <dj@redhat.com>
4152
4153 * bug17079.c: Update to new test harness.
4154 * test-digits-dots.c: Likewise.
4155 * test-netdb.c: Likewise.
4156 * tst-field.c: Likewise.
4157 * tst-nss-getpwent.c: Likewise.
4158 * tst-nss-static.c: Likewise.
4159 * tst-nss-test1.c: Likewise.
4160 * tst-nss-test2.c: Likewise.
4161 * tst-nss-test3.c: Likewise.
4162 * tst-nss-test4.c: Likewise.
4163 * tst-nss-test5.c: Likewise.
4164
4165 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4166
4167 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
4168 (open_not_cancel_2): Likewise.
4169 (open_nocancel): New macro.
4170 (open64_nocancel): Likewise.
4171 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
4172 (open_not_cancel_2): Likewise.
4173 (__open_nocancel): New prototype.
4174 (__open64_nocancel): Likewise.
4175 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
4176 __open_nocancel.
4177 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
4178 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
4179 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
4180 with __open_nocancel.
4181 * csu/check_fds.c (check_one_fd): Likewise.
4182 * gmon/gmon.c (write_gmon): Likewise.
4183 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
4184 * intl/loadmsgcat.c (open): Likewise.
4185 * libio/fileops.c (_IO_file_open): Likewise.
4186 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4187 * locale/loadlocale.c (_nl_load_locale): Likewise.
4188 * login/utmp_file.c (setutent_file): Likewise.
4189 * misc/daemon.c (daemon): Likewise.
4190 * nss/nss_db/db-open.c (internal_setent): Likewise.
4191 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
4192 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
4193 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
4194 (__opendir): Likewise.
4195 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4196 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
4197 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
4198 (gethostid): Likewise.
4199 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
4200 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4201 Likewise.
4202 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4203 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
4204 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
4205 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
4206 Likewise.
4207 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
4208 Likewise.
4209 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
4210 Likewise.
4211 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4212 Likewise.
4213 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
4214 Likewise.
4215 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
4216 Likewise.
4217 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4218 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
4219
4220 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
4221
4222 * benchtests/bench-skeleton.c (main): Add support for
4223 latency benchmarking.
4224 * benchtests/scripts/bench.py: Add support for latency benchmarking.
4225
4226 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
4227
4228 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
4229 the startup object.
4230
4231 2017-08-17 Florian Weimer <fweimer@redhat.com>
4232
4233 * include/sys/socket.h (__opensock): Remove internal_function.
4234 * socket/opensock.c (__opensock): Likewise.
4235 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
4236
4237 2017-08-16 Joseph Myers <joseph@codesourcery.com>
4238
4239 [BZ #21944]
4240 * signal/bits/types/__sigval_t.h: New file.
4241 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
4242 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
4243 and define sigval_t using __sigval_t.
4244 * include/bits/types/__sigval_t.h: New file.
4245 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
4246 instead of <bits/types/__sigval_t.h>.
4247 (struct sigevent): Use __sigval_t instead of sigval_t.
4248 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
4249 instead of <bits/types/__sigval_t.h>.
4250 (siginfo_t): Use __sigval_t instead of sigval_t.
4251 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
4252 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
4253 (struct sigevent): Use __sigval_t instead of sigval_t.
4254 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
4255 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
4256 (siginfo_t): Use __sigval_t instead of sigval_t.
4257 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
4258
4259 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
4260
4261 * NEWS: Remove "[Add new features here]" for 2.27.
4262
4263 2017-08-16 Joseph Myers <joseph@codesourcery.com>
4264
4265 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
4266 libc.so.
4267
4268 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
4269
4270 * NEWS: Mention x86-64 FMA optimization.
4271
4272 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
4273
4274 [BZ #21912]
4275 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4276 Add e_expf-fma.
4277 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
4278 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
4279 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
4280
4281 2017-08-16 Andreas Schwab <schwab@suse.de>
4282
4283 [BZ #16750]
4284 CVE-2009-5064
4285 * elf/ldd.bash.in: Never run file directly.
4286
4287 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
4288
4289 [BZ #21955]
4290 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
4291 (L(SP_INF_0)): Likewise.
4292
4293 2017-08-15 Florian Weimer <fweimer@redhat.com>
4294
4295 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
4296 run-built-tests.
4297
4298 2017-08-15 Florian Weimer <fweimer@redhat.com>
4299
4300 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
4301 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
4302 BROKEN_THREAD_SIGNALS code.
4303 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
4304 request_list): Remove caller_pid member used for
4305 BROKEN_THREAD_SIGNALS.
4306 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
4307 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
4308 Remove BROKEN_THREAD_SIGNALS support.
4309 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
4310 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
4311
4312 2017-08-15 Florian Weimer <fweimer@redhat.com>
4313
4314 * gmon/Makefile (tests): Add tst-gmon.
4315 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
4316 Set.
4317 (tests-special): Add tst-gmon-prof.out.
4318 (tst-gmon.out): Depend on clean-tst-gmon-data.
4319 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
4320 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
4321 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
4322 startup object.
4323 * aclocal.m4 (GPROF): Set and substitute.
4324 * config.amke.in (GPROF): Set.
4325 * configure: Regenerate.
4326
4327 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
4328
4329 * elf/elf.h A (NT_PPC_TAR): New macro.
4330 (NT_PPC_PPR): Likewise.
4331 (NT_PPC_DSCR): Likewise.
4332 (NT_PPC_EBB): Likewise.
4333 (NT_PPC_PMU): Likewise.
4334 (NT_PPC_TM_CGPR): Likewise.
4335 (NT_PPC_TM_CFPR): Likewise.
4336 (NT_PPC_TM_CVMX): Likewise.
4337 (NT_PPC_TM_CVSX): Likewise.
4338 (NT_PPC_TM_SPR): Likewise.
4339 (NT_PPC_TM_CTAR): Likewise.
4340 (NT_PPC_TM_CPPR): Likewise.
4341 (NT_PPC_TM_CDSCR): Likewise.
4342
4343 2017-08-15 Florian Weimer <fweimer@redhat.com>
4344
4345 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
4346 regparm (2) instead of internal_function.
4347 (_MCOUNT_DECL): Adjust.
4348
4349 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4350
4351 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
4352 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
4353
4354 2017-08-14 Joseph Myers <joseph@codesourcery.com>
4355
4356 * conform/data/sys/wait.h-data (si_value): Do not expect for
4357 XPG42.
4358
4359 2017-08-14 Florian Weimer <fweimer@redhat.com>
4360
4361 [BZ #21962]
4362 NSS: Create stubs for accidentally exported lookup functions.
4363 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
4364 Remove declaration.
4365 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
4366 (ether_hostton): Call __nss_ethers_lookup2 instead.
4367 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
4368 (ether_ntohost): Call __nss_ethers_lookup2 instead.
4369 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
4370 (setup): Call __nss_netgroup_lookup2 instead.
4371 * nss/Makefile (routines): Add compat-lookup.
4372 * nss/Versions (GLIBC_2.27): Add symbol version.
4373 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
4374 (DB_COMPAT_FCT): Remove.
4375 * nss/compat-lookup.c: New file.
4376 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
4377 from databases.def.
4378 * nss/service-lookup.c (NO_COMPAT): Remove definition.
4379 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
4380 (netname2user): Call __nss_publickey_lookup2 instead.
4381 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
4382 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
4383 instead.
4384
4385 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4386 Sergei Trofimovich <slyfox@inbox.ru>
4387
4388 [BZ #21908]
4389 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
4390 Rename to MMAP2_PAGE_UNIT.
4391 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
4392 __OFF_T_MATCHES_OFF64_T is not defined.
4393 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
4394 uint64_t.
4395 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
4396 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
4397
4398 2017-08-14 Florian Weimer <fweimer@redhat.com>
4399
4400 i386: Do not set internal_function.
4401 * config.h.in (USE_REGPARMS, internal_function): Remove.
4402 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
4403 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
4404
4405 2017-08-14 Florian Weimer <fweimer@redhat.com>
4406
4407 * elf/dl-init.c (_dl_init): Remove internal_function.
4408 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
4409 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
4410
4411 2017-08-14 Florian Weimer <fweimer@redhat.com>
4412
4413 * elf/rtld.c (_dl_start): Remove internal_function.
4414 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
4415 _dl_start.
4416
4417 2017-08-14 Florian Weimer <fweimer@redhat.com>
4418
4419 * elf/dl-fini.c (_dl_fini): Remove internal_function
4420 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
4421
4422 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
4423
4424 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
4425 (bit_cpu_SHSTK): Likewise.
4426 (index_cpu_IBT): Likewise.
4427 (index_cpu_SHSTK): Likewise.
4428 (reg_IBT): Likewise.
4429 (reg_SHSTK): Likewise.
4430 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
4431 Handle index_cpu_IBT and index_cpu_SHSTK.
4432
4433 2017-08-14 Mike FABIAN <mfabian@redhat.com>
4434
4435 [BZ #19982]
4436 * po/fr.po: Fix spelling mistake.
4437
4438 2017-08-13 Florian Weimer <fweimer@redhat.com>
4439
4440 * elf/dl-addr.c (_dl_addr): Remove internal_function.
4441 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
4442 (_dl_catch_error, _dl_receive_error): Likewise.
4443 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
4444 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
4445 (_dl_deallocate_tls): Likewise.
4446 * include/dlfcn.h (_dl_addr): Likewise.
4447 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
4448 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
4449 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
4450 Likewise.
4451
4452 2017-08-13 Florian Weimer <fweimer@redhat.com>
4453
4454 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
4455 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
4456 internal_function.
4457 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
4458
4459 2017-08-13 Florian Weimer <fweimer@redhat.com>
4460
4461 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
4462 internal_function.
4463 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
4464 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
4465 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
4466 internal_function from _dl_make_stack_executable_hook member.
4467 (_dl_make_stack_executable): Remove internal_function.
4468 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
4469 Likewise.
4470 * sysdeps/unix/sysv/linux/dl-execstack.c
4471 (_dl_make_stack_executable): Likewise.
4472
4473 2017-08-13 Florian Weimer <fweimer@redhat.com>
4474
4475 * sysdeps/unix/sysv/linux/netlinkaccess.h
4476 (__netlink_assert_response): Remove internal_function.
4477 * sysdeps/unix/sysv/linux/netlink_assert_response.c
4478 (__netlink_assert_response): Likewise.
4479
4480 2017-08-13 Florian Weimer <fweimer@redhat.com>
4481
4482 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
4483 internal_function.
4484 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
4485
4486 2017-08-13 Florian Weimer <fweimer@redhat.com>
4487
4488 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
4489 internal_function.
4490 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
4491 * inet/netgroup.h (__internal_setnetgrent)
4492 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
4493 * inet/getnetgrent_r.c (__internal_setnetgrent)
4494 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
4495 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
4496 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
4497 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
4498 * nss/nsswitch.h (db_lookup_function): Likewise.
4499
4500 2017-08-13 Florian Weimer <fweimer@redhat.com>
4501
4502 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
4503 Remove internal_function.
4504 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
4505 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
4506 message argument on the stack.
4507 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
4508 Likeweise.
4509
4510 2017-08-12 Mike FABIAN <mfabian@redhat.com>
4511
4512 Adapt test case data to the changes in the thousands
4513 separators.
4514
4515 [BZ #20756]
4516 * localedata/tst-langinfo.sh: Adapt test case data.
4517 * stdlib/tst-strfmon_l.c: Likewise.
4518 * stdlib/tst-strtod4.c: Likewise.
4519 * stdlib/tst-strtod5i.c: Likewise.
4520
4521 2017-08-11 Florian Weimer <fweimer@redhat.com>
4522
4523 [BZ #21242]
4524 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
4525 Suppress pedantic warning resulting from statement expression.
4526 (__ASSERT_FUNCTION): Add missing __extension__.
4527
4528 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
4529
4530 * benchtests/bench-memmove-large.c: Print output in JSON
4531 format.
4532 * benchtests/bench-memmove.c: Likewise.
4533
4534 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
4535 * benchtests/bench-memchr.c (do_one_test): Likewise.
4536 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
4537 * benchtests/bench-memcpy.c (do_one_test): Likewise.
4538 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
4539 * benchtests/bench-memmove.c (do_one_test): Likewise.
4540 * benchtests/bench-memset-large.c (do_one_test): Likewise.
4541 * benchtests/bench-memset.c (do_one_test): Likewise.
4542 * benchtests/bench-string.h (test_init): Remove memsets.
4543
4544 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
4545
4546 * manual/lang.texi
4547 (Computing the Width of an Integer Data Type): Rename section to
4548 "Width of an Integer Type". Remove inaccurate statement regarding
4549 lack of C language facilities for determining width of integer
4550 types, and reorder content to improve flow and context of
4551 discussion.
4552
4553 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
4554
4555 * lang.texi (va_copy): Change standard from ISO to C99.
4556 (__va_copy): Add standard and header annotation.
4557 Update description for clarity of origins and current use.
4558
4559 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4560
4561 [BZ #21941]
4562 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
4563 xssqrtqp requires operands to be in Vector Registers
4564 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
4565 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
4566 (__ieee754_sqrtf128): Likewise.
4567
4568 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
4569
4570 * sysdeps/aarch64/memcmp.S (memcmp):
4571 Rewrite of optimized memcmp.
4572
4573 2017-08-10 Florian Weimer <fweimer@redhat.com>
4574
4575 Introduce ld.so exceptions.
4576 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
4577 (_dl_exception_create, _dl_exception_create_format)
4578 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
4579 (_dl_catch_exception): Declare.
4580 (_dl_catch_error): Update comment.
4581 * elf/dl-error-skeleton.c (struct catch): Replace objname,
4582 errstring, malloced members with exception member.
4583 (_dl_out_of_memory): Remove.
4584 (fatal_error): New function, extracted from _dl_signal_error.
4585 (_dl_signal_exception, _dl_signal_cexception): New functions.
4586 (_dl_signal_error): Call _dl_exception_create to allocate an
4587 exception object.
4588 (_dl_catch_exception): New function, based on _dl_catch_error.
4589 (_dl_catch_error): Implement using _dl_catch_exception.
4590 * elf/dl-exception.c: New file.
4591 * elf/Makefile (dl-routines): Add dl-exception.
4592 (elide-routines.os): Likewise.
4593 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
4594 _dl_exception_create_format, _dl_exception_free.
4595 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
4596 _dl_signal_exception.
4597 * elf/dl-lookup.c (make_string): Remove.
4598 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
4599 _dl_signal_cexception, _dl_exception_free.
4600 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
4601 _dl_signal_exception.
4602 * elf/dl-sym.c (do_sym): Likewise.
4603 * elf/dl-version.c (make_string): Remove.
4604 (match_symbol): Use _dl_exception_create_format,
4605 _dl_signal_cexception, _dl_exception_free.
4606 (_dl_check_map_versions): Likewise.
4607 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
4608 _dl_catch_exception.
4609 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
4610 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
4611 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
4612 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
4613 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
4614 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
4615 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
4616 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
4617 Likewise.
4618 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
4619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
4620 (ld.so): Likewise.
4621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4622 (ld.so): Likewise.
4623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
4624 Likewise.
4625 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
4626 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
4627 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
4628 Likewise.
4629 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
4630 Likewise.
4631 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
4632
4633 2017-08-10 Florian Weimer <fweimer@redhat.com>
4634
4635 * inet/net-internal.h (__inet6_scopeid_pton): Remove
4636 attribute_hidden, internal_function.
4637 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
4638 internal_function.
4639
4640 2017-08-10 Florian Weimer <fweimer@redhat.com>
4641
4642 * malloc/malloc.c (get_max_fast): Reimplement as an inline
4643 function which calls __builtin_unreachable.
4644
4645 2017-08-10 Mike FABIAN <mfabian@redhat.com>
4646
4647 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
4648 Indian monetary formatting
4649 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
4650 test cases.
4651
4652 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
4653
4654 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
4655 Fix typo in comment.
4656
4657 [BZ #21928]
4658 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
4659 PTRACE_SEIZE_DEVEL): Remove.
4660 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
4661 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4662 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4663 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4664 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4665
4666 2017-08-09 Joseph Myers <joseph@codesourcery.com>
4667
4668 * posix/bits/types.h (__qaddr_t): Remove.
4669
4670 [BZ #21457]
4671 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
4672 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4673 __glibc_reserved1.
4674 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
4675 (ucontext_t): Use __ctx with uc_flags.
4676 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
4677 (__ctxt): Likewise.
4678 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4679 __glibc_reserved1.
4680 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
4681 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4682 __glibc_reserved1.
4683 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
4684 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4685 __glibc_reserved1.
4686 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
4687 macro.
4688 (ucontext_t): Use __ctx with uc_flags.
4689 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
4690 (ucontext_t): Use __ctx with uc_flags.
4691 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
4692 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
4693 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
4694 (ucontext_t): Use __ctx with uc_flags.
4695 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
4696 undefine further down.
4697 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
4698 __glibc_reserved1.
4699 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
4700 undefine further down.
4701 (ucontext_t): Use __ctx with uc_flags.
4702 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
4703 undefine further down.
4704 (ucontext_t): Use __ctx with uc_flags.
4705 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
4706 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
4707 Rename uc_pad to __glibc_reserved1.
4708 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
4709 undefine further down.
4710 (ucontext_t): Use __ctx with uc_flags.
4711 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
4712 further down.
4713 (ucontext_t): Use __ctx with uc_flags.
4714 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
4715 __ctx with uc_flags.
4716 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
4717 (ucontext_t): Use __ctx with uc_flags.
4718 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
4719 __ctx with uc_flags.
4720
4721 2017-08-09 Florian Weimer <fweimer@redhat.com>
4722
4723 [BZ #21932]
4724 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
4725 before early return.
4726
4727 2017-08-09 Andreas Schwab <schwab@suse.de>
4728
4729 [BZ #21041]
4730 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
4731 renamed alias.
4732
4733 [BZ #21041]
4734 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
4735 tst-compat-forwarder.
4736 (modules-names): Add tst-compat-forwarder-mod.
4737 ($(objpfx)tst-compat-forwarder): Depend on
4738 $(objpfx)tst-compat-forwarder-mod.so.
4739 * nptl/tst-compat-forwarder.c: New file.
4740 * nptl/tst-compat-forwarder-mod.c: New file.
4741
4742 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
4743
4744 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
4745 comments.
4746
4747 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
4748 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
4749 memcpy_falkor.
4750 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
4751 Bump.
4752 (__libc_ifunc_impl_list): Add __memcpy_falkor.
4753 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4754 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
4755 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4756 Add falkor.
4757 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
4758 New macro.
4759
4760 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4761
4762 [BZ #759]
4763 * manual/setjmp.texi (getcontex): Document uc_stack value
4764 compatibility differences.
4765
4766 2017-08-08 Joseph Myers <joseph@codesourcery.com>
4767
4768 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
4769 (old_malloc_hook): Likewise.
4770 (old_memalign_hook): Likewise.
4771 (old_realloc_hook): Likewise.
4772 (struct hdr): Likewise.
4773 (flood): Likewise.
4774 (freehook): Likewise.
4775 (mallochook): Likewise.
4776 (memalignhook): Likewise.
4777 (reallochook): Likewise.
4778 (mprobe): Likewise.
4779 * malloc/mtrace.c (mallwatch): Likewise.
4780 (tr_old_free_hook): Likewise.
4781 (tr_old_malloc_hook): Likewise.
4782 (tr_old_realloc_hook): Likewise.
4783 (tr_old_memalign_hook): Likewise.
4784 (tr_where): Likewise.
4785 (lock_and_info): Likewise.
4786 (tr_freehook): Likewise.
4787 (tr_mallochook): Likewise.
4788 (tr_reallochook): Likewise.
4789 (tr_memalignhook): Likewise.
4790 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
4791 * misc/mmap.c (__mmap): Likewise.
4792 * misc/mmap64.c (__mmap64): Likewise.
4793 * misc/mprotect.c (__mprotect): Likewise.
4794 * misc/msync.c (msync): Likewise.
4795 * misc/munmap.c (__munmap): Likewise.
4796 * posix/posix_madvise.c (posix_madvise): Likewise.
4797 * socket/send.c (__send): Likewise.
4798 * socket/sendto.c (__sendto): Likewise.
4799 * socket/setsockopt.c (__setsockopt): Likewise.
4800 * string/memcmp.c (__ptr_t): Remove macro.
4801 (MEMCMP): Use void * instead of ptr_t.
4802 * string/memrchr.c (__ptr_t): Remove macro.
4803 (__memrchr): Use void * instead of ptr_t.
4804 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
4805 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4806 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
4807 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
4808 * sysdeps/mach/msync.c (msync): Likewise.
4809 * sysdeps/mach/munmap.c (__munmap): Likewise.
4810 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
4811 Likewise.
4812 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4813 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
4814 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
4815 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
4816 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4817 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4818 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
4819 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
4820 Likewise.
4821 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4822 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
4823 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
4824 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
4825 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
4826 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
4827 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
4828 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
4829 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
4830 Likewise.
4831 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
4832 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
4833 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
4834 (MEMCMP): Use void * instead of ptr_t.
4835 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
4836 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
4837
4838 2017-08-08 Florian Weimer <fweimer@redhat.com>
4839
4840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
4841 return statement.
4842
4843 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
4844
4845 [BZ #21913]
4846 * csu/libc-tls.c: Include <startup.h> first.
4847 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
4848 * elf/dl-tunables.c: Include <startup.h> first.
4849 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
4850 * sysdeps/generic/startup.h: New file.
4851 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
4852 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
4853 (I386_USE_SYSENTER): New. Defined to 0.
4854
4855 2017-08-08 Andreas Schwab <schwab@suse.de>
4856
4857 [BZ #21041]
4858 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
4859 * nptl/pt-system.c (system): Likewise.
4860
4861 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4862
4863 [BZ #21780]
4864 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
4865 EOPNOTSUPP.
4866 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
4867 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
4868 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
4869 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
4870 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
4871 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
4872 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
4873
4874 2017-08-07 Joseph Myers <joseph@codesourcery.com>
4875
4876 [BZ #21899]
4877 * bits/sigaction.h (struct sigaction): Define sa_handler and
4878 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
4879 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4880 [__USE_XOPEN_EXTENDED].
4881 (SA_RESTART): Likewise.
4882 (SA_NODEFER): Likewise.
4883 (SA_RESETHAND): Likewise.
4884 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
4885 (struct sigaction): Define sa_handler and sa_sigaction using union
4886 also for [__USE_XOPEN_EXTENDED].
4887 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4888 [__USE_XOPEN_EXTENDED].
4889 (SA_RESTART): Likewise.
4890 (SA_NODEFER): Likewise.
4891 (SA_RESETHAND): Likewise.
4892 * sysdeps/unix/sysv/linux/bits/sigaction.h
4893 (struct sigaction): Define sa_handler and sa_sigaction using union
4894 also for [__USE_XOPEN_EXTENDED].
4895 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4896 [__USE_XOPEN_EXTENDED].
4897 (SA_RESTART): Likewise.
4898 (SA_NODEFER): Likewise.
4899 (SA_RESETHAND): Likewise.
4900 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
4901 (struct sigaction): Define sa_handler and sa_sigaction using union
4902 also for [__USE_XOPEN_EXTENDED].
4903 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4904 [__USE_XOPEN_EXTENDED].
4905 (SA_RESTART): Likewise.
4906 (SA_NODEFER): Likewise.
4907 (SA_RESETHAND): Likewise.
4908 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
4909 (struct sigaction): Define sa_handler and sa_sigaction using union
4910 also for [__USE_XOPEN_EXTENDED].
4911 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4912 [__USE_XOPEN_EXTENDED].
4913 (SA_RESTART): Likewise.
4914 (SA_NODEFER): Likewise.
4915 (SA_RESETHAND): Likewise.
4916 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
4917 (struct sigaction): Define sa_handler and sa_sigaction using union
4918 also for [__USE_XOPEN_EXTENDED].
4919 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4920 [__USE_XOPEN_EXTENDED].
4921 (SA_RESTART): Likewise.
4922 (SA_NODEFER): Likewise.
4923 (SA_RESETHAND): Likewise.
4924 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4925 (struct sigaction): Define sa_handler and sa_sigaction using union
4926 also for [__USE_XOPEN_EXTENDED].
4927 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4928 [__USE_XOPEN_EXTENDED].
4929 (SA_RESTART): Likewise.
4930 (SA_NODEFER): Likewise.
4931 (SA_RESETHAND): Likewise.
4932 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4933 (struct sigaction): Define sa_handler and sa_sigaction using union
4934 also for [__USE_XOPEN_EXTENDED].
4935 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4936 [__USE_XOPEN_EXTENDED].
4937 (SA_RESTART): Likewise.
4938 (SA_NODEFER): Likewise. Define directly rather than as alias.
4939 (SA_RESETHAND): Likewise.
4940 (SA_INTERRUPT): Define only for [__USE_MISC].
4941 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
4942 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
4943 [__USE_MISC].
4944 (SA_STACK): Define only for [__USE_MISC].
4945 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
4946 (struct sigaction): Define sa_handler and sa_sigaction using union
4947 also for [__USE_XOPEN_EXTENDED].
4948 (SA_ONSTACK): Change [__USE_UNIX98] condition to
4949 [__USE_XOPEN_EXTENDED].
4950 (SA_RESTART): Likewise.
4951 (SA_NODEFER): Likewise.
4952 (SA_RESETHAND): Likewise.
4953 (SA_NOPTRACE): Define only for [__USE_MISC].
4954
4955 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
4956 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
4957 (struct catalog_info): Likewise.
4958 * inet/htontest.c (lo): Likewise.
4959 (foo): Likewise.
4960 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4961 * inet/inet_net.c (inet_network): Likewise.
4962 * inet/inet_netof.c (inet_netof): Likewise.
4963 * inet/rcmd.c (__ivaliduser): Likewise.
4964 (iruserok): Likewise.
4965 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
4966 * locale/programs/locale-spec.c (locale_special): Likewise.
4967 * nis/nis_findserv.c (struct findserv_req): Likewise.
4968 (__nis_findfastest_with_timeout): Likewise.
4969 * nss/test-netdb.c (test_network): Likewise.
4970 * resolv/inet_neta.c (inet_neta): Likewise.
4971 * resolv/ns_date.c (ns_datetosecs): Likewise.
4972 (SECS_PER_DAY): Likewise.
4973 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
4974 Likewise.
4975 * resolv/res_comp.c (__putlong): Likewise.
4976 (__putshort): Likewise.
4977 (_getlong): Likewise.
4978 (_getshort): Likewise.
4979 * resolv/res_debug.c (p_time): Likewise.
4980 (precsize_ntoa): Likewise.
4981 (precsize_aton): Likewise.
4982 (latlon2ul): Likewise.
4983 (loc_aton): Likewise.
4984 (loc_ntoa): Likewise.
4985 * resolv/res_hconf.c (struct netaddr): Likewise.
4986 (_res_hconf_reorder_addrs): Likewise.
4987 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4988 (clnttcp_control): Likewise.
4989 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4990 (clntudp_control): Likewise.
4991 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4992 (clntunix_control): Likewise.
4993 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4994 * sunrpc/rpc/auth.h (union des_block): Likewise.
4995 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
4996 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
4997 (xdrrec_create): Likewise.
4998 (xdrrec_endofrecord): Likewise.
4999 (flush_out): Likewise.
5000 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
5001 (xdrstdio_putlong): Likewise.
5002 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
5003 Likewise.
5004
5005 * misc/sys/cdefs.h (__long_double_t): Remove.
5006 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
5007 instead of __long_double_t,
5008 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
5009
5010 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
5011
5012 * benchtests/scripts/compare_strings.py: Avoid display error when
5013 running on a text terminal.
5014
5015 * benchtests/scripts/compare_strings.py (main): Add an
5016 optional -base option.
5017 (process_results): New argument base_func.
5018
5019 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
5020 hardcoding memcpy.
5021 * benchtests/bench-memcpy-large.c (test_name): Likewise.
5022 * benchtests/bench-memcpy-random.c (test_name): Likewise.
5023
5024 2017-08-07 Andreas Schwab <schwab@suse.de>
5025
5026 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
5027 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5028 * intl/Makefile ($(objpfx)tst-gettext.out)
5029 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
5030 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
5031 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5032 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5033 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
5034 * posix/Makefile ($(objpfx)globtest.out)
5035 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
5036 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
5037 ($(objpfx)tst-printf.out): Likewise.
5038 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
5039 ($(objpfx)tst-setcontext3.out): Likewise.
5040
5041 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
5042
5043 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5044 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
5045 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
5046 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
5047 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
5048 and mptan-fma.
5049 (CFLAGS-doasin-fma.c): New.
5050 (CFLAGS-dosincos-fma.c): Likewise.
5051 (CFLAGS-e_asin-fma.c): Likewise.
5052 (CFLAGS-e_atan2-fma.c): Likewise.
5053 (CFLAGS-e_exp-fma.c): Likewise.
5054 (CFLAGS-e_log-fma.c): Likewise.
5055 (CFLAGS-e_pow-fma.c): Likewise.
5056 (CFLAGS-halfulp-fma.c): Likewise.
5057 (CFLAGS-mpa-fma.c): Likewise.
5058 (CFLAGS-mpatan-fma.c): Likewise.
5059 (CFLAGS-mpatan2-fma.c): Likewise.
5060 (CFLAGS-mpexp-fma.c): Likewise.
5061 (CFLAGS-mplog-fma.c): Likewise.
5062 (CFLAGS-mpsqrt-fma.c): Likewise.
5063 (CFLAGS-mptan-fma.c): Likewise.
5064 (CFLAGS-s_atan-fma.c): Likewise.
5065 (CFLAGS-sincos32-fma.c): Likewise.
5066 (CFLAGS-slowexp-fma.c): Likewise.
5067 (CFLAGS-slowpow-fma.c): Likewise.
5068 (CFLAGS-s_sin-fma.c): Likewise.
5069 (CFLAGS-s_tan-fma.c): Likewise.
5070 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
5071 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
5072 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
5073 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
5074 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
5075 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
5076 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
5077 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
5078 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
5079 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
5080 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
5081 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
5082 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
5083 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
5084 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
5085 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
5086 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
5087 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
5088 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
5089 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
5090 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
5091 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
5092 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
5093 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
5094 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5095 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5096 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5097 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
5098 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5099 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5100 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5101
5102 2017-08-04 Joseph Myers <joseph@codesourcery.com>
5103
5104 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
5105 (min_of_type_f): New macro.
5106 (min_of_type_): Likewise.
5107 (min_of_type_l): Likewise.
5108 (min_of_type_f128): Likewise.
5109 (min_of_type): Define using __MATH_TG and taking an expression
5110 argument.
5111 (math_check_force_underflow): Pass expression instead of type to
5112 min_of_type.
5113 (math_check_force_underflow_nonneg): Likewise.
5114
5115 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5116
5117 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
5118 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
5119 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
5120
5121 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5122
5123 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5124 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
5125 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
5126 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
5127 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
5128 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
5129 memcpy_chk-nonshared, mempcpy_chk-nonshared,
5130 memmove_chk-nonshared and memset_chk-nonshared
5131 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
5132 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
5133 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
5134 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
5135 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
5136 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
5137 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
5138 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
5139 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
5140 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
5141 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
5142 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
5143 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
5144 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
5145 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
5146 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
5147 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
5148 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
5149 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
5150 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
5151 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
5152 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
5153 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
5154 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
5155 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
5156 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
5157 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
5158 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
5159 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
5160 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
5161 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
5162 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
5163 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
5164 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
5165 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
5166 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
5167 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
5168 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
5169 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
5170 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
5171 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
5172 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
5173 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
5174 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
5175 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
5176 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
5177 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
5178 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
5179 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
5180 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
5181 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
5182 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
5183 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
5184 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
5185 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
5186 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
5187 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
5188 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
5189 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
5190 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
5191 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
5192 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
5193 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
5194 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
5195 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
5196 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
5197 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
5198 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
5199 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
5200 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
5201 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
5202 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5203 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5204 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5205 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5206 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5207 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5208 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5209 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5210 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5211 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5212 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5213 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5214 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5215 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5216 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5217 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5218 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5219 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5220 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5221 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5222 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5223 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5224 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5225 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5226 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5227 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5228 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5229 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5230 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5231 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5232 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5233 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5234 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5235 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5236 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5237 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5238 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5239
5240 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5241
5242 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
5243 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
5244 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
5245 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
5246 svml_d_log2_core-sse2, svml_d_log4_core-sse,
5247 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
5248 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
5249 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
5250 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
5251 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
5252 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
5253 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
5254 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
5255 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
5256 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
5257 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
5258 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
5259 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
5260 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
5261 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
5262 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
5263 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
5264 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
5265 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
5266 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
5267 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
5268 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
5269 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
5270 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
5271 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
5272 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
5273 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
5274 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
5275 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
5276 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
5277 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
5278 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
5279 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
5280 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
5281 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
5282 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
5283 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
5284 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
5285 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
5286 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
5287 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
5288 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
5289 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
5290 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
5291 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
5292 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
5293 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
5294 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
5295 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
5296 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
5297 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
5298 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
5299 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
5300 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
5301 ...
5302 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
5303 Don't include <sysdep.h> nor <init-arch.h>.
5304 (_ZGVbN2v_cos): Removed.
5305 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
5306 ...
5307 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
5308 Don't include <sysdep.h> nor <init-arch.h>.
5309 (_ZGVdN4v_cos): Removed.
5310 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
5311 ...
5312 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
5313 Don't include <sysdep.h> nor <init-arch.h>.
5314 (_ZGVeN8v_cos): Removed.
5315 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
5316 ...
5317 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
5318 Don't include <sysdep.h> nor <init-arch.h>.
5319 (_ZGVbN2v_exp): Removed.
5320 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
5321 ...
5322 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
5323 Don't include <sysdep.h> nor <init-arch.h>.
5324 (_ZGVdN4v_exp): Removed.
5325 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
5326 ...
5327 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
5328 Don't include <sysdep.h> nor <init-arch.h>.
5329 (_ZGVeN8v_exp): Removed.
5330 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
5331 ...
5332 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
5333 Don't include <sysdep.h> nor <init-arch.h>.
5334 (_ZGVbN2v_log): Removed.
5335 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
5336 ...
5337 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
5338 Don't include <sysdep.h> nor <init-arch.h>.
5339 (_ZGVdN4v_log): Removed.
5340 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
5341 ...
5342 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
5343 Don't include <sysdep.h> nor <init-arch.h>.
5344 (_ZGVeN8v_log): Removed.
5345 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
5346 ...
5347 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
5348 Don't include <sysdep.h> nor <init-arch.h>.
5349 (_ZGVbN2vv_pow): Removed.
5350 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
5351 ...
5352 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
5353 Don't include <sysdep.h> nor <init-arch.h>.
5354 (_ZGVdN4vv_pow): Removed.
5355 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
5356 ...
5357 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
5358 Don't include <sysdep.h> nor <init-arch.h>.
5359 (_ZGVeN8vv_pow): Removed.
5360 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
5361 ...
5362 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
5363 Don't include <sysdep.h> nor <init-arch.h>.
5364 (_ZGVbN2v_sin): Removed.
5365 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
5366 ...
5367 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
5368 Don't include <sysdep.h> nor <init-arch.h>.
5369 (_ZGVbN4v_sin): Removed.
5370 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
5371 ...
5372 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
5373 Don't include <sysdep.h> nor <init-arch.h>.
5374 (_ZGVbN8v_sin): Removed.
5375 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
5376 ...
5377 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
5378 Don't include <sysdep.h> nor <init-arch.h>.
5379 (_ZGVbN2vvv_sincos): Removed.
5380 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
5381 ...
5382 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
5383 Don't include <sysdep.h> nor <init-arch.h>.
5384 (_ZGVdN4vvv_sincos): Removed.
5385 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
5386 ...
5387 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
5388 Don't include <sysdep.h> nor <init-arch.h>.
5389 (_ZGVeN8vvv_sincos): Removed.
5390 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
5391 ...
5392 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
5393 Don't include <sysdep.h> nor <init-arch.h>.
5394 (_ZGVeN16v_cosf): Removed.
5395 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
5396 ...
5397 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
5398 Don't include <sysdep.h> nor <init-arch.h>.
5399 (_ZGVbN4v_cosf): Removed.
5400 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
5401 ...
5402 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
5403 Don't include <sysdep.h> nor <init-arch.h>.
5404 (_ZGVdN8v_cosf): Removed.
5405 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
5406 ...
5407 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
5408 Don't include <sysdep.h> nor <init-arch.h>.
5409 (_ZGVeN16v_expf): Removed.
5410 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
5411 ...
5412 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
5413 Don't include <sysdep.h> nor <init-arch.h>.
5414 (_ZGVbN4v_expf): Removed.
5415 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
5416 ...
5417 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
5418 Don't include <sysdep.h> nor <init-arch.h>.
5419 (_ZGVdN8v_expf): Removed.
5420 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
5421 ...
5422 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
5423 Don't include <sysdep.h> nor <init-arch.h>.
5424 (_ZGVeN16v_logf): Removed.
5425 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
5426 ...
5427 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
5428 Don't include <sysdep.h> nor <init-arch.h>.
5429 (_ZGVbN4v_logf): Removed.
5430 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
5431 ...
5432 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
5433 Don't include <sysdep.h> nor <init-arch.h>.
5434 (_ZGVdN8v_logf): Removed.
5435 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
5436 ...
5437 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
5438 Don't include <sysdep.h> nor <init-arch.h>.
5439 (_ZGVeN16vv_powf): Removed.
5440 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
5441 ...
5442 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
5443 Don't include <sysdep.h> nor <init-arch.h>.
5444 (_ZGVbN4vv_powf): Removed.
5445 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
5446 ...
5447 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
5448 Don't include <sysdep.h> nor <init-arch.h>.
5449 (_ZGVdN8vv_powf): Removed.
5450 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
5451 ...
5452 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
5453 Don't include <sysdep.h> nor <init-arch.h>.
5454 (_ZGVeN16vvv_sincosf): Removed.
5455 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
5456 ...
5457 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
5458 Don't include <sysdep.h> nor <init-arch.h>.
5459 (_ZGVbN4vvv_sincosf): Removed.
5460 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
5461 ...
5462 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
5463 Don't include <sysdep.h> nor <init-arch.h>.
5464 (_ZGVdN8vvv_sincosf): Removed.
5465 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
5466 ...
5467 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
5468 Don't include <sysdep.h> nor <init-arch.h>.
5469 (_ZGVeN16v_sinf): Removed.
5470 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
5471 ...
5472 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
5473 Don't include <sysdep.h> nor <init-arch.h>.
5474 (_ZGVbN4v_sinf): Removed.
5475 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
5476 ...
5477 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
5478 Don't include <sysdep.h> nor <init-arch.h>.
5479 (_ZGVdN8v_sinf): Removed.
5480
5481 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5482
5483 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5484 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
5485 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
5486 s_rint-sse4_1 and s_rintf-sse4_1.
5487 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
5488 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
5489 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
5490 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
5491 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
5492 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
5493 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
5494 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
5495 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
5496 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
5497 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
5498 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5499 (__ceil): Removed.
5500 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
5501 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
5502 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5503 (__ceilf): Removed.
5504 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
5505 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
5506 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5507 (__floor): Removed.
5508 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
5509 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
5510 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5511 (__floorf): Removed.
5512 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
5513 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
5514 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5515 (__nearbyint): Removed.
5516 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
5517 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
5518 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5519 (__nearbyintf): Removed.
5520 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
5521 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
5522 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5523 (__rint): Removed.
5524 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
5525 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
5526 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
5527 (__rintf): Removed.
5528
5529 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5530
5531 * sysdeps/i386/start.S (_start): Check Check PIC instead of
5532 SHARED. Avoid dynamic relocation against main in static PIE.
5533
5534 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5535
5536 [BZ #21815]
5537 * elf/Makefile (CFLAGS-tst-prelink.c): New.
5538 (LDFLAGS-tst-prelink): Likewise.
5539
5540 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5541
5542 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
5543 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
5544 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
5545 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
5546 (INTERNAL_SYSCALL_NCS): Likewise.
5547 (LOADARGS_1): Likewise.
5548 (LOADARGS_5): Likewise.
5549 (RESTOREARGS_1): Likewise.
5550 (RESTOREARGS_5): Likewise.
5551
5552 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5553
5554 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
5555 (MEMPCPY_SYMBOL): Likewise.
5556 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5557 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
5558 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
5559 in libc.a.
5560 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5561 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5562 Likewise.
5563 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
5564 (__hidden_ver1): Don't use in libc.a.
5565 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
5566 (__mempcpy): Don't create a weak alias in libc.a.
5567 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
5568 libc.a.
5569 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
5570 (__hidden_ver1): Don't use in libc.a.
5571
5572 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5573
5574 * config.make.in (have-insert): New.
5575 * configure.ac (libc_cv_insert): New. Set to yes if linker
5576 supports INSERT in linker script.
5577 (AC_SUBST(libc_cv_insert): New.
5578 * configure: Regenerated.
5579 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
5580 if $(have-insert) == yes.
5581
5582 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5583
5584 * elf/Makefile (tests): Add vismain only if
5585 $(have-protected-data) == yes.
5586 (tests-pie): Likewise.
5587
5588 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5589
5590 [BZ #21871]
5591 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5592 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
5593
5594 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
5595
5596 [BZ #21790]
5597 * sysdeps/i386/i586/memset.S
5598 (__memset_zero_constant_len_parameter): Removed.
5599 * sysdeps/i386/i686/memset.S
5600 (__memset_zero_constant_len_parameter): Likewise.
5601 * sysdeps/i386/i686/multiarch/memset_chk.S
5602 (__memset_zero_constant_len_parameter): Likewise.
5603 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
5604 Likewise.
5605
5606 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
5607
5608 * stdlib/getentropy.c (getentropy): Change return type to int.
5609
5610 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
5611
5612 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5613
5614 2017-08-03 Joseph Myers <joseph@codesourcery.com>
5615
5616 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
5617 u_intN_t.
5618 * math/s_nexttowardf.c (__nexttowardf): Likewise.
5619 * sysdeps/generic/math_private.h (ieee_double_shape_type):
5620 Likewise.
5621 (ieee_float_shape_type): Likewise.
5622 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
5623 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
5624 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5625 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5626 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5627 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
5628 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
5629 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5630 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5631 Likewise.
5632 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5633 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5634 (__ieee754_yn): Likewise.
5635 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5636 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5637 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
5638 Likewise.
5639 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5640 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
5641 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
5642 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
5643 (__erfc): Likewise.
5644 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
5645 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
5646 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
5647 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
5648 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
5649 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
5650 Likewise.
5651 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
5652 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
5653 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
5654 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
5655 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5656 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
5657 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
5658 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
5659 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
5660 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5661 (__issignaling): Likewise.
5662 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
5663 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
5664 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5665 Likewise.
5666 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5667 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
5668 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
5669 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
5670 Likewise.
5671 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
5672 Likewise.
5673 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
5674 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
5675 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
5676 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
5677 (__erfcf): Likewise.
5678 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
5679 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
5680 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
5681 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
5682 Likewise.
5683 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
5684 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
5685 Likewise.
5686 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
5687 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
5688 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
5689 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
5690 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
5691 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5692 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
5693 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
5694 Likewise.
5695 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
5696 Likewise.
5697 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
5698 Likewise.
5699 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
5700 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5701 Likewise.
5702 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5703 Likewise.
5704 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5705 (__ieee754_ynl): Likewise.
5706 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5707 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
5708 Likewise.
5709 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
5710 Likewise.
5711 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
5712 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
5713 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5714 Likewise.
5715 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
5716 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
5717 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
5718 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
5719 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
5720 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
5721 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
5722 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
5723 Likewise.
5724 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
5725 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
5726 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
5727 Likewise.
5728 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
5729 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
5730 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
5731 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
5732 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
5733 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5734 Likewise.
5735 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5736 Likewise.
5737 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5738 Likewise.
5739 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5740 Likewise.
5741 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
5742 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5743 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5744 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
5745 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
5746 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
5747 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
5748 Likewise.
5749 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5750 Likewise.
5751 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5752 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5753 Likewise.
5754 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5755 (__ieee754_remainderl): Likewise.
5756 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5757 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5758 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5759 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5760 Likewise.
5761 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5762 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5763 Likewise.
5764 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5765 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
5766 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
5767 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
5768 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5769 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5770 Likewise.
5771 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5772 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
5773 (__ieee754_y0l): Likewise.
5774 (pzero): Likewise.
5775 (qzero): Likewise.
5776 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5777 (__ieee754_y1l): Likewise.
5778 (pone): Likewise.
5779 (qone): Likewise.
5780 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5781 (__ieee754_ynl): Likewise.
5782 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
5783 (__ieee754_lgammal_r): Likewise.
5784 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
5785 Likewise.
5786 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
5787 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
5788 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
5789 (__erfcl): Likewise.
5790 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
5791 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
5792 Likewise.
5793 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
5794 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
5795 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
5796 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
5797 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
5798 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5799 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5800 Likewise.
5801 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
5802 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5803 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
5804 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
5805 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5806 Likewise.
5807 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
5808 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
5809 Likewise.
5810 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
5811 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
5812 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
5813 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5814 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5815
5816 2017-08-03 Florian Weimer <fweimer@redhat.com>
5817
5818 [BZ #21885]
5819 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
5820 on memory allocation failure.
5821
5822 2017-08-03 Alan Modra <amodra@gmail.com>
5823
5824 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
5825 tst-tlsopt-powerpc.c with function name change and no test harness.
5826 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
5827 Call tls_get_addr_opt_test.
5828 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
5829 (modules-names): Add mod-tlsopt-powerpc.
5830 (mod-tlsopt-powerpc.so-no-z-defs): Define.
5831 (tst-tlsopt-powerpc): Depend on .so.
5832 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
5833 define. Expand use in TLS_GD and TLS_LD.
5834
5835 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5836
5837 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
5838 function.
5839 * sysdeps/posix/shm_open.c: Include <pthread.h>.
5840
5841 2017-08-02 Joseph Myers <joseph@codesourcery.com>
5842
5843 [BZ #21686]
5844 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
5845 comparing size with that of double.
5846 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
5847 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
5848 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
5849 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
5850 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5851 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
5852 unsigned __int128 types.
5853
5854 2017-08-02 Steve Ellcey <sellcey@cavium.com>
5855
5856 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
5857 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
5858 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
5859 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
5860 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
5861
5862 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
5863
5864 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
5865
5866 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
5867
5868 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
5869 of SHARED.
5870 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5871 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5872 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5873 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5874 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5875 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5876 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5877
5878 2017-08-02 Joseph Myers <joseph@codesourcery.com>
5879
5880 [BZ #21685]
5881 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
5882 bit-field expressions passed to sizeof or typeof.
5883 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5884 (__TGMATH_F128): Likewise.
5885 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5886 (__TGMATH_CF128): Likewise.
5887 (__TGMATH_UNARY_REAL_ONLY): Likewise.
5888 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
5889 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
5890 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
5891 (__TGMATH_BINARY_REAL_ONLY): Likewise.
5892 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
5893 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
5894 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
5895 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
5896 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
5897 (__TGMATH_UNARY_REAL_IMAG): Likewise.
5898 (__TGMATH_UNARY_IMAG): Likewise.
5899 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
5900 (__TGMATH_BINARY_REAL_IMAG): Likewise.
5901 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
5902 type.
5903 (define_vars_for_type): Handle bit_field type specially.
5904 (Tests.__init__): Declare structure with bit-field element.
5905
5906 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
5907
5908 [BZ #21791]
5909 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
5910 (MEMCPY_CHK): Define only if SHARED is defined.
5911 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
5912 Likewise.
5913 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
5914 Likewise.
5915
5916 See ChangeLog.18 for earlier changes.